conversation.started
This event is triggered when a new conversation is started, regardless of the channel.
conversation.closed
This event is triggered when a conversation is closed, a conversation can be marked as resolved or not resolved, and can be closed by a human or an AI.
conversation.handoff_to_human
This event is triggered when a conversation is handed off to a human agent. Note that a handoff event can happen for multiple reasons; for example, a human agent might decide to take over the conversation, or the AI might decide to hand off the conversation to a human agent.
conversation.contact_response
When a contact sends a message to your inbox.
conversation.ai_response
When an AI responds to a contact message,
conversation.agent_response
When a human agent responds from the Open inbox,
conversation.third_party_agent_response
When a third-party software agent responds to a previously handed-off conversation, Open will notify you. In some configurations, Open might also initiate the handoff to a third-party agent, such as Zendesk or Intercom. Even while the third-party agent handles the conversation, Open continues to monitor and send events to your webhooks.
conversation.handoff_to_third_party_failed
Triggered when a handoff to a third-party platform (e.g. Zendesk, Intercom) fails.
workflow.run.succeeded
Triggered when a workflow run completes successfully.
workflow.run.failed
Triggered when a workflow run fails.
csat.requested
Triggered when a CSAT survey is sent to a contact (via email, SMS, WhatsApp, Slack, or shown in the web widget).
csat.score_submitted
Triggered when a customer submits or updates a CSAT score for a conversation.
Phone Call Events
These events are fired for phone calls handled by AI phone agents (LiveKit). They apply to both inbound and outbound calls. When a phone call starts, aconversation.started event is co-fired alongside phone_call.started. Phone calls do not emit conversation.closed — its chat-centric shape (closed_by, is_from_third_party, contact_reason, …) doesn’t map cleanly to a phone interaction. Listen on phone_call.ended instead, which carries the equivalent resolution and context fields below.
phone_call.started
Triggered when a phone call is initiated — either an inbound call is received or an outbound call is placed.
Also co-fires a conversation.started event.
phone_call.answered
Triggered when the remote party picks up the call (SIP participant joined).
phone_call.ended
Triggered when a phone call ends normally. This event carries all end-of-call context — resolution status, who hung up, the resolved contact, the agent’s configured languages, and the session’s custom_data (SIP X-headers + call metadata) — so listeners do not need a separate conversation.closed event for phone calls.
| Field | Description |
|---|---|
call_ended_by | Who hung up: user (contact), agent (AI agent, including transfers), system (e.g. inactivity timeout), or null when unknown (e.g. outbound calls that never connected). |
ai_resolution_status | Mirrors the persisted chat_sessions.ai_closure_type: resolved for completed calls, handed_off for transfers, or null for unanswered/failed calls. |
human_resolution_status | Always null for phone calls — there is no human-resolve path on a call. |
contact_id | The resolved contact’s id, or null if no contact was matched. |
contact | Full contact record (id, name, email, phone, custom_data) when contact_id is set. |
language | The phone agent’s configured language list (e.g. ["en"], ["es","en"]), or null if no agent is attached. |
custom_data | The session’s custom_data jsonb at end-of-call: incoming SIP X-headers (with the X- prefix stripped), values from the X-OPENCX-SESSION-CUSTOM-DATA header, plus call metadata (duration_seconds, participant_count, is_outbound, recording_available, agent_version, call_status, optional knowledge_snapshot). |
phone_call.transferred
Triggered when the AI agent transfers a call to another destination (phone number, SIP URI, or graceful hangup).
phone_call.failed
Triggered when a phone call fails to connect. The failure_category field indicates the type of failure.
| Category | Description |
|---|---|
no_answer | Contact didn’t pick up |
rejected | Call was actively rejected |
busy | Line was busy |
trunk_error | SIP trunk failure |
failed | Generic failure (timeout, SIP error, etc.) |