Skip to main content
POST
Deploy bot

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.

Path Parameters

bot_id
string
required

The ID of the bot you want to deploy.

Body

application/json

The flow JSON to deploy.

flow_diagram
string
required

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

Example:

"BOT_FLOW_JSON"

Response

Returns ok set to true, the deployed flow JSON in data, and when the bot was deployed.

ok
boolean
required

true when the request worked. Errors return false.

Example:

true

data
string
required

The bot's flow JSON as deployed. 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