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: 220.127.116.11, 18.104.22.168, and 22.214.171.124
- For all other customers: 126.96.36.199, 188.8.131.52, and 184.108.40.206