Chatbot Operations
Pause or resume the bot in a conversation
Toggle or set the bot control state for a conversation. When bot control is -1, the bot does not respond to user messages. When bot control is 1, the bot responds to user messages. This endpoint only works for conversations originating from WhatsApp, Instagram, Messenger, WhatsApp Web API, Telegram or LINE.
post/bot-control
Request
- Base URL: https://api.chat-data.com/api/v2
- URL: https://api.chat-data.com/api/v2/bot-control
- Auth: HTTP bearer
Request body
Example request
{
"botControl": -1,
"botOffMins": 30
}Response
Successful response.
Example response
{
"payload": {
"botControl": -1,
"botOffMins": 30
}
}Changes
No recorded changes to this operation across all 1 revision of this API.