Bots API

Overview

This section of the API allows clients to retrieve and look up different bots in the system. These bots can then be used when creating interactions with customers.


Get Bots

Endpoint

GET https://api.rdentify.com/v1/workspaces/<workspace-id>/bots

Retrieve all available bots within a specific workspace.

Response Example

{
    "success": true,
    "code": 200,
    "detail": "Request completed successfully",
    "data": [
        {
            "id": "57a9fa6a-f04b-ee11-9937-6045bdf21413",
            "name": "RG",
            "context": [
                "property_1",
                "property_2"
            ]
        }
    ],
    "meta": null
}

Get Bot

Endpoint

GET https://api.rdentify.com/v1/workspaces/<workspace-id>/bots/<bot-id>

Retrieve details of a specific bot by its ID within a specific workspace.

Response Example

{
    "success": true,
    "code": 200,
    "detail": "Request completed successfully",
    "data": {
        "id": "57a9fa6a-f04b-ee11-9937-6045bdf21413",
        "name": "RG",
        "context": [
            "property_1",
            "property_2"
        ]
    },
    "meta": null
}