Skip to main content

Get Conversation Event

GET 

/accounts/:account_id/conversations/:conversation_id/conversation_events/:event_id

Get one event from a conversation's audit trail.

The audit trail of a conversation: status changes, Bot/Manual switches, assignments, team changes, labels, priority, SLA, custom and additional attribute changes, and mentions. Each event carries the ticket_id it belongs to (see Tickets).

SettingValue
MethodGET
Path/api/v1/accounts/{account_id}/conversations/{conversation_id}/conversation_events (list, oldest first) and /conversation_events/{event_id} (one event)
AuthorizationUser token.

Permissions:

Path parameters

NameTypeRequiredDescription
account_idintegerYesAccount ID.
conversation_idintegerYesConversation display ID.
event_idintegerYesThe event's ID, as returned by List Conversation Events.

Event fields

FieldDescription
event_typeagent, team, label, status, sla, custom_attribute, additional_attributes, priority, agent_mentions, bot_mode, human_mode, other. bot_mode / human_mode are switches to open (Bot) / pending (Manual).
created_bysystem, agent_create (an agent or API user), agent_bot, user (the contact).
type_old_status, type_new_statusFor status, bot_mode and human_mode events.
type_agent + type_agent_old_value / type_agent_new_valueadd_agent / remove_agent / change_agent and the agent IDs.
type_team + team_type_old_value / team_type_new_valueadd_team / remove_team / change_team and the team IDs.
type_label + type_label_valueadd_label / remove_label and the labels.
type_priority, type_sla_event, type_custom_attribute, type_additional_attributes, type_agent_mentionsDetails of the other event types.
account_id, contact_id, conversation_id, inbox_id, ticket_idRelated IDs (conversation_id is the internal ID, not the display ID used in paths).
created_at, updated_atUnix timestamps.

The fields that describe the change depend on event_type; the others are null.

Example: one event (an assignment)

curl -X GET 'https://online.99digital.co.il/api/v1/accounts/12/conversations/1501/conversation_events/6101' \
-H 'api_access_token: <YOUR_API_ACCESS_TOKEN>'

Response (200 OK). The event object is not wrapped in payload; null fields are trimmed here.

{
"id": 6101,
"created_by": "agent_create",
"event_type": "agent",
"type_agent": "change_agent",
"type_agent_new_value": 51,
"type_agent_old_value": null,
"created_at": 1794472920,
"updated_at": 1794472920,
"account_id": 12,
"contact_id": 801,
"conversation_id": 2301,
"inbox_id": 31,
"ticket_id": 903
}

Request​

Responses​

The event.