Human handoff requested

Incoming webhook deliveries are authenticated with HMAC signature headers (X-Chatway-Signature and X-Chatway-Timestamp), not your Chatway API key.

A conversation was flagged for human assistance.

requested_at is when Chatway accepted the handoff request. It equals occurred_at.

conversation.status is the actual conversation status (open or resolved), not a handoff state.

There is no agent object: a handoff request does not assign anyone.

Receive this event when Chatway accepts a new request for human assistance. Use data.conversation.id to identify the conversation and data.requested_at to record when help was requested. This event reports the request; it does not mean a teammate has been assigned or has replied. Subscribe to Agent assigned if you also need assignment updates.

A successful REST Request Human Handoff call with changed: true generates this event. A repeated call within the existing five-minute cooldown returns changed: false and generates no new event. A later accepted request can generate another event with a different event ID. Webhook delivery retries retain the original event ID.

The event is also sent when Chatway's built-in AI agent or an external AI using the MCP handoff-to-human tool hands a conversation to your team. For these, it is sent once while the conversation waits for a human agent: repeated handoffs send no new event until the conversation is handed back to the AI assistant.

For signature verification and retries, see Webhooks overview.

POST webhook: conversation.human_handoff_requested

Parameters

NameInRequiredTypeDescription
X-Chatway-EventheaderYesstringEvent name for this delivery. Example: conversation.human_handoff_requested
X-Chatway-Webhook-IdheaderYesstring (uuid)Unique webhook subscription ID. Example: 9f3c2a1b-4d5e-4f70-8a9b-0c1d2e3f4a5b
X-Chatway-Delivery-IdheaderYesstringUnique ID for this HTTP delivery attempt (`del_` + 32 hex characters). A new value is sent on each retry. Example: del_1b0279b1f28f12c0b9f2a2fdbf3758ee
X-Chatway-Delivery-AttemptheaderYesstringAttempt number for this event (`1` on first try). Sent as a decimal string in the header. Example: 1
X-Chatway-TimestampheaderYesstringUnix timestamp in seconds when the request was signed. Sent as a decimal string in the header. Example: 1770201901
X-Chatway-SignatureheaderYesstring`sha256=` followed by the lowercase hex HMAC SHA256 of `{X-Chatway-Timestamp}.{raw request body}`, keyed with your webhook secret. The example is computed for the example body serialized as compact JSON, the example timestamp, and the placeholder secret `whsec_exampleSecretForDocsOnly00000000`. Example: sha256=3ed6511e49bb582d89dc8db5007822549e563e5d02b28109c0e7e1fa040ba752

Request body

Signed JSON envelope for this event.

application/json

Responses

200

Return any 2xx status to acknowledge receipt.

410

Optional HTTP 410 Gone to signal the endpoint is permanently unavailable. Like every non-2xx response below 500 (including 408 and 429), it is not retried. It does not disable the subscription; turn the webhook off in Chatway Settings if you want deliveries to stop.

Examples

Request body example

{
    "id": "evt_1234567890abcdef1234567890abcdef",
    "event": "conversation.human_handoff_requested",
    "data": {
        "conversation": {
            "id": "0f46c0a1-8938-40e3-b2b5-bb56f569fcab",
            "channel": "website",
            "status": "open",
            "widget_name": "Main site widget",
            "identifier": "eouqtiupanm6uvglwshy"
        },
        "visitor": {
            "id": "9b0c5fe6-35ad-459d-b6ba-4288191f84f1",
            "name": "John Doe",
            "email": "[email protected]",
            "phone": null
        },
        "requested_at": "2026-02-04T10:45:00Z"
    },
    "occurred_at": "2026-02-04T10:45:00Z",
    "version": "2026-09"
}