Create a handover action to pause a bot using the Flow REST API.

Details

Triggering a handover will indicate a conversation needs the attention of a human agent. When triggering the handover the bot is automatically paused for a number of seconds. By default, the bot will pause as long as is configured inside the dashboard settings.

POST rest/v1/handover/EXAMPLE63451da6f15f2b50991651|o_21361542-a262-4aaa-8edb-0f8f88e07d89 HTTP/1.1
Host: api.flow.ai
Content-Type: application/json
Authorization: MY_MESSAGING_API_KEY
{
  {
    "secondsToPause": 600
  }
}
Language