fbId). When the bot is disabled for a user, it stops responding to their messages — useful for handing a conversation off to a live agent or pausing automation for a specific user. Changing the status takes effect immediately.
Request
string
required
Your bot’s API key. Alternatively, pass the same value as the
X-Api-Key request header instead of including it in the body.string
required
The unique identifier of the end-user whose bot activation status you want to change. Typically a Facebook Messenger user ID or your own custom session identifier.
string
required
The target activation status to set for the user. Use your platform’s supported status values (e.g.
active to enable the bot, inactive to disable it).Example
Disable the bot for a specific user (e.g. to hand off to a live agent):Response
A successful200 OK response confirms the status change for the specified user.
