Learn about the callback used with the Bot API
When a Care agent closes a conversation that was handed over to the agent from a bot, the API invokes a callback. The callback communicates the "close" action to the bot and provides the bot with the ID of the conversation. The API makes the callback using a GET call to the URL provided by the
callbackUrl query parameter provided during bot registration.
If using the Facebook Handover Protocol, Care sends the callback to the bot via Facebook. Khoros Care will not send the callback via the
callbackUrlquery parameter provided upon bot registration.
The callback passes the following parameters:
Here is an example:
If your network restricts incoming requests, whitelist the following IP addresses to ensure that callbacks invoked by the Bot API are not blocked:
- For EU customers: 22.214.171.124, 126.96.36.199, and 188.8.131.52
- For all other customers: 184.108.40.206, 220.127.116.11, and 18.104.22.168