Skip to main content
GET
/
botVariables
/
{botId}
/
{sourceId}
Get source variables
curl --request GET \
  --url https://api.closebot.com/botVariables/{botId}/{sourceId} \
  --header 'X-CB-KEY: <api-key>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "value": "<string>"
  }
]

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

botId
string
required

The bot ID.

sourceId
string
required

The source ID.

Response

Success

id
string | null
name
string | null
value
string | null