Skip to main content
POST
Add or remove agent bot

Authorizations

api_access_token
string
header
required

Path Parameters

id
string<uuid>
required

ID of the inbox

Body

application/json
agent_bot
number | null
required

Agent bot ID (pass null to remove)

Example:

1

Response

Agent bot updated successfully

success
boolean
required
Example:

true

data
object | null
required

Updated agent bot data or null if removed

meta
object
required
message
string
required

Success message

Example:

"Agent bot updated successfully"