Body
application/json
Response
200
Webhook received successfully
Triggered when a user joins a conversation
{
"eventId": "evt_01234567890abcdef",
"eventType": "conversation.userJoined",
"payload": {
"id": "conv_1234567890abcdef",
"phoneId": "phone_1234567890abcdef",
"agentId": "agent_1234567890abcdef",
"workspaceId": "ws_1234567890abcdef",
"wsUrl": "wss://api.example.com/ws/conv_1234567890abcdef",
"llmUrl": "https://api.example.com/llm/conv_1234567890abcdef",
"callStartTime": "2023-01-01T12:00:00.000Z",
"callEndTime": null,
"userJoinTime": "2023-01-01T12:00:00.000Z",
"userLeaveTime": null,
"customerId": "cust_1234567890abcdef",
"customer": {
"name": "John Doe",
"id": "cust_1234567890abcdef",
"createdAt": "2023-01-01T12:00:00.000Z",
"updatedAt": "2023-01-01T12:00:00.000Z",
"workspaceId": "ws_1234567890abcdef",
"email": "john.doe@example.com",
"phoneNumber": "+1234567890",
"identifier": "john.doe",
"priority": 1,
"sourceFile": null,
"isDoNotDisturbEnabled": false,
"metadata": {
"custom_field": "value"
}
},
"toPhoneNumber": "+1234567890",
"fromPhoneNumber": "+0987654321",
"conversationStatus": "active",
"telephonyType": "inbound",
"telephonyStatus": "active",
"endReason": null,
"recordingStatus": "in_progress",
"postCallNotes": null,
"postCallCategory1": null,
"postCallCategory2": null,
"postCallCategory3": null,
"postCallMetadata": null,
"conversationType": "telephony",
"dynamicVariables": "{\"source\": \"website\", \"referrer\": \"google\"}",
"summary": "",
"campaignId": null,
"campaignRunId": null,
"createdAt": "2023-01-01T12:00:00.000Z",
"updatedAt": "2023-01-01T12:00:00.000Z"
}
}Webhook received successfully
{
"eventId": "evt_01234567890abcdef",
"eventType": "conversation.userJoined",
"payload": {
"id": "conv_1234567890abcdef",
"phoneId": "phone_1234567890abcdef",
"agentId": "agent_1234567890abcdef",
"workspaceId": "ws_1234567890abcdef",
"wsUrl": "wss://api.example.com/ws/conv_1234567890abcdef",
"llmUrl": "https://api.example.com/llm/conv_1234567890abcdef",
"callStartTime": "2023-01-01T12:00:00.000Z",
"callEndTime": null,
"userJoinTime": "2023-01-01T12:00:00.000Z",
"userLeaveTime": null,
"customerId": "cust_1234567890abcdef",
"customer": {
"name": "John Doe",
"id": "cust_1234567890abcdef",
"createdAt": "2023-01-01T12:00:00.000Z",
"updatedAt": "2023-01-01T12:00:00.000Z",
"workspaceId": "ws_1234567890abcdef",
"email": "john.doe@example.com",
"phoneNumber": "+1234567890",
"identifier": "john.doe",
"priority": 1,
"sourceFile": null,
"isDoNotDisturbEnabled": false,
"metadata": {
"custom_field": "value"
}
},
"toPhoneNumber": "+1234567890",
"fromPhoneNumber": "+0987654321",
"conversationStatus": "active",
"telephonyType": "inbound",
"telephonyStatus": "active",
"endReason": null,
"recordingStatus": "in_progress",
"postCallNotes": null,
"postCallCategory1": null,
"postCallCategory2": null,
"postCallCategory3": null,
"postCallMetadata": null,
"conversationType": "telephony",
"dynamicVariables": "{\"source\": \"website\", \"referrer\": \"google\"}",
"summary": "",
"campaignId": null,
"campaignRunId": null,
"createdAt": "2023-01-01T12:00:00.000Z",
"updatedAt": "2023-01-01T12:00:00.000Z"
}
}