Skip to content
API PlatformDevelopers
GET/v1/conversations/{conversation_id}/botbeta

See whether the bot answers a conversation

Needs
Read your data (mcp:read)
Plan
Any plan with API access
Limits
300 a minute per key
Undo
Nothing to undo: this only reads.

Tells you, for one conversation, whether a chatbot will answer the customer's next message and why, in plain words (will_answer, why, why_code).

A bot answers only when chatbots are on for the workspace, for the channel and for this conversation (enabled is this conversation's own switch), and there is a bot to run: the one already running in the conversation (running_bot), else the default bot (default_bot, with where it comes from: conversation, channel or workspace; none when no default is set anywhere). will_answer is null when it cannot be told for sure: the workspace and channel switches cannot be read yet, or the bot service cannot be asked with this key whether a bot is running or whether the default bot is switched on (then why says which bot would answer).

running_bot and pending_timeouts (timed bot steps still waiting to run) are null when the bot service cannot be asked with this key. Change the switch with Turn the bot off or on for a conversation.

Try it

Path

The conversation id.

This only reads. It uses your real data and changes nothing.

Code and response

curl -X GET 'https://api.wa-api.cloud/v1/conversations/77410/bot' \
  -H "Authorization: Bearer $API_KEY"

The code reads your key from $API_KEY.

Parameters

Parameters
FieldTypeWhat it is
conversation_idrequiredstring · pathThe conversation id.pattern ^\d{1,10}$Signed in? Pick one from your data with “My data”.

Headers

Headers
FieldTypeWhat it is
AuthorizationrequiredheaderBearer $API_KEY — your API key.
Api-VersionheaderThe API version to use, e.g. 2026-10-01. Default: the version your key is pinned to.one of: 2026-10-01 · pattern ^\d{4}-\d{2}-\d{2}$

Response 200

Whether a bot answers this conversation and why, the conversation's own switch, the running and default bots, and pending timed steps.

Response fields
FieldTypeWhat it is
conversation_idrequiredstring
enabledrequiredbooleanThe conversation's own bot switch: on = new customer messages may reach the bot.
will_answerrequiredboolean or nullWill a bot answer the customer's next message? Needs the workspace, channel and conversation switches on and a bot to run. null = cannot tell here yet (see why).
whyrequiredstringIn plain words: why the bot will or will not answer.
why_coderequiredstringone of: answers, conversation_off, workspace_off, channel_off, settings_off, no_bot, bot_inactive, unknown
running_botrequiredobject or nullThe bot running in this conversation now (null: none, or not readable).
idrequiredstring
namerequiredstring or null
default_botrequiredobjectThe bot that starts when none is running.
idrequiredstring or null
namerequiredstring or null
sourcerequiredstringWhere the default comes from: conversation (set for this conversation), channel, workspace; none = no default anywhere; unknown = cannot tell here yet.one of: conversation, channel, workspace, none, unknown
pending_timeoutsrequiredarray of object or nullTimed bot steps still waiting to run (null: not readable).
botrequiredobject or null
idrequiredstring
namerequiredstring or null
atrequiredstring or null
notesrequiredarray of string

Errors

Errors are application/problem+json. Branch on code.

StatusCodeWhen
400invalid_input

A field is missing or has the wrong format. errors[] points at each field.

401unauthenticated

The Authorization header is missing, the key is unknown, expired or revoked, or the request came from an address outside the key's IP allowlist (checked on every operation, before anything runs).

403entitlement_required

The workspace's plan does not include API access (api_access).

403insufficient_scope

The key does not have the permission this operation needs. Checked before the body and headers: without the permission, this is the answer whatever was sent.

404not_found

No conversation with this id, or your key cannot see it (another workspace, or a channel you have no access to).

429rate_limited

The key or workspace went over its rate limit, or a service behind the API asked to slow down. Wait for Retry-After seconds (always sent).

503upstream_unavailable

A service behind the API is briefly unavailable. Safe to retry with backoff.

Examples

Chatbots are on; the workspace's default bot would answer

Response 200

{
  "conversation_id": "77410",
  "enabled": true,
  "will_answer": null,
  "why": "A bot answers only if it is switched on: the one already running here if any, else \"b1f0c2\" (the workspace's default). Whether it is switched on cannot be checked here.",
  "why_code": "unknown",
  "running_bot": null,
  "default_bot": {
    "id": "b1f0c2",
    "name": null,
    "source": "workspace"
  },
  "pending_timeouts": null,
  "notes": []
}
Chatbots are switched off for the channel

Response 200

{
  "conversation_id": "77411",
  "enabled": true,
  "will_answer": false,
  "why": "Chatbots are switched off for this channel in Settings, so no bot answers here even though this conversation allows it.",
  "why_code": "channel_off",
  "running_bot": null,
  "default_bot": {
    "id": "b1f0c2",
    "name": null,
    "source": "workspace"
  },
  "pending_timeouts": null,
  "notes": []
}

Operation path

The same operation is also at POST /v1/ops/inbox_get_conversation_bot, with every field in the JSON body.