AgentBots
Inbox API
Conversations API
Contact Labels
CSAT Survey Page
Account AgentBots
Agents
Canned Responses
Canned Response
Custom Attributes
Contacts
Automation Rule
Help Center
Conversations
Conversation Assignment
Conversation Labels
Inboxes
Integrations
Profile
Teams
Custom Filters
Inboxes
Add or remove agent bot
Inboxes
Add or remove agent bot
To add an agent bot pass agent_bot id, to remove agent bot from an inbox pass null
POST
/
api
/
v1
/
accounts
/
{account_id}
/
inboxes
/
{id}
/
set_agent_bot
curl --request POST \
--url https://app.chatwoot.com/api/v1/accounts/{account_id}/inboxes/{id}/set_agent_bot \
--header 'Content-Type: application/json' \
--data '{
"agent_bot": 123
}'
This response does not have an example.
Path Parameters
The numeric ID of the account
ID of the inbox
Body
application/json
Response
204
Success
curl --request POST \
--url https://app.chatwoot.com/api/v1/accounts/{account_id}/inboxes/{id}/set_agent_bot \
--header 'Content-Type: application/json' \
--data '{
"agent_bot": 123
}'
This response does not have an example.