Capabilities
handoff.list
List conversations waiting for a person or being handled by one.
Returns the conversations the chatbot handed over: those still waiting for someone, oldest first, and those someone is handling. A helpdesk uses it to show the queue; to hear about a new one at once, subscribe to the handoff.requested 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.list","input":{"state":"waiting"}}'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
Errors
This capability can answer with BAD_REQUEST, NOT_SUPPORTED, NOT_ALLOWED, RATE_LIMITED, UNKNOWN, SOURCE_UNAVAILABLE.
Example: the queue
{
"state": "waiting"
}