Answer a pending takeover offer
POST/api/widget/handover/respond
PUBLIC endpoint (anonymous visitors, NO staff auth). The visitor answers
the interactive Yes/No takeover offer the bot posted. accept=true
requests the handover and posts a confirmation message; accept=false
dismisses the offer and the bot keeps answering. The conversation is taken
EXCLUSIVELY from the verified session token. Idempotent — a no-op when no
offer is pending. Returns 202 Accepted.
Request
Responses
- 202
- 403
- 404
- 429
Offer answered (handover requested + confirmation when accepted).
Missing / invalid / cross-tenant session token.
Unknown or missing widget_key, or the conversation is gone.
Rate limit exceeded.
Response Headers
X-RateLimit-Limit
Request quota for the current window.
X-RateLimit-Remaining
Remaining requests in the current window.
Retry-After
Seconds to wait before retrying.