Chat Ended
Sent when an EVI chat ends.
Payload
The payload of this webhook request is an object.
chat_group_id
Unique ID of the Chat Group associated with the Chat session.
chat_id
Unique ID of the Chat session.
duration_seconds
Total duration of the session in seconds.
end_reason
Reason for the session’s termination.
end_time
Unix timestamp (in milliseconds) indicating when the session ended.
caller_number
Phone number of the caller in E.164 format (e.g., +12223333333
). This field is included only if the Chat was created via the Twilio phone calling integration.
config_id
Unique ID of the EVI Config used for the session.
custom_session_id
User-defined session ID. Relevant only when employing a custom language model in the EVI Config.
event_name
Always chat_ended
.
Response
200
any
Return a 200 status to indicate that the data was received successfully.