Bot API
The Bot API allows you to retrieve information about your bot and its flows
Get bot
{
"id": "06e63f93-2e1a-4f76-b174-9c4aa6e31401",
"organization_id": "0b50ddf9-052b-4dd6-9901-459caa15ed33",
"name": "MyBot",
"description": "This is my bot",
"default_flow": "fd2e74e5-1305-4650-a300-8097d71df01f",
"created_at": "2019-12-11T18:59:39.391Z",
"updated_at": "2019-12-13T01:27:38.653Z",
"env": {
"MY_VAR": "somevalue"
},
"flows": [
{
"id": "fd2e74e5-1305-4650-a300-8097d71df01f",
"bot_id": "06e63f93-2e1a-4f76-b174-9c4aa6e31401",
"organization_id": "0b50ddf9-052b-4dd6-9901-459caa15ed33",
"name": "Default",
"description": "Default custom flow",
"commands": [
"/default"
],
"content": "start:\n\tsay \"hello!\"\n\tgoto end",
"created_at": "2019-12-11T18:59:39.610Z",
"updated_at": "2019-12-13T01:31:51.507Z",
},
...
]
}Update bot
Request Body
Name
Type
Description
Get bot flows
Create Flow
Request Body
Name
Type
Description
Get flow
Path Parameters
Name
Type
Description
Update flow
Path Parameters
Name
Type
Description
Request Body
Name
Type
Description
Bot usage
Validate bot
Request Body
Name
Type
Description
Build bot
Get bot build version
Query Parameters
Name
Type
Description
Last updated
Was this helpful?