conversationId | Yes | Unique identifier of the conversation. |
botId | Yes | Unique identifier of the bot. |
events | Yes | List of events to trigger. |
events[].name | Yes | Name of the event. For example, "END_OF_CONVERSATION". |
events[].reason | Yes | Reason for ending the conversation. For example, agent_initiated. |
events[].language | Yes | Language of the conversation. For example, en. |
events[].experience | Yes | Interaction type. For example, voice or chat. |
events[].participant | Yes | Participant details associated with the event. |
events[].participant.identity | Yes | Unique participant identifier. |
events[].participant.name | Yes | Display name of the participant. |
events[].participant.type | Yes | Participant type. For example, agent. |
events[].participant.customFields | No | Custom metadata associated with the participant. |
events[].participant.customFields.agentEmail | No | Agent email identifier. |
events[].participant.customFields.queueId | No | Queue identifier. |
events[].participant.customFields.queueName | No | Queue name. |