Capabilities
handoff.release
Give a conversation back to the chatbot or close it.
Ends your handling of a conversation. Every end sends the handoff.ended webhook.
Available to the operator's own systems. It does not act for a particular person.
Request
Send the capability name and its input to the site's invoke endpoint.
curl https://api.kivex.chat/v1/sites/$SITE/invoke \
-H "Authorization: Bearer $KIVEX_KEY" \
-H "Content-Type: application/json" \
-d '{"capability":"handoff.release","input":{"conversationId":"cnv_01J9Z5","outcome":"return_to_bot"}}'Prop
Type
Response
The answer is an envelope: data in the shape below, and evidence with the source and time of every value that has an evidenceRef.
Prop
Type
Good to know
- Only in a conversation you hold; otherwise
NOT_ALLOWEDwithhandoff_not_active.
Errors
This capability can answer with BAD_REQUEST, NOT_SUPPORTED, NOT_ALLOWED, RATE_LIMITED, UNKNOWN, SOURCE_UNAVAILABLE.
Example: back to the chatbot
{
"conversationId": "cnv_01J9Z5",
"outcome": "return_to_bot"
}