Skip to main content
GET
Get bot flow

Authorizations

Authorization
string
header
required

All of WotNot's APIs use Bearer token authentication. Send your account token as Bearer <token>. You can find it in Settings > Account Settings > Developer. Keep it on your server: anyone who has it can call the API as your account.

Headers

Content-Type
enum<string>
required

Always set this to application/json.

Available options:
application/json

Path Parameters

bot_id
string
required

The ID of the bot whose flow you want.

Response

Returns ok set to true, the bot's flow JSON in data, and whether the bot is deployed.

ok
boolean
required

true when the request worked. Errors return false.

Example:

true

data
string
required

The bot's flow JSON. In the example, BOT_FLOW_JSON stands in for that JSON.

Example:

"BOT_FLOW_JSON"

is_deployed
boolean
required

Whether the bot is deployed. true after a successful deploy.

Example:

true

last_deployed_at
string
required

When the bot was last deployed, in the format YYYY-MM-DD HH:MM:SS.ffffff, for example 2025-05-05 10:37:43.128000.

Example:

"2025-05-05 10:37:43.128000"

Last modified on October 23, 2026