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).
| Setting | Value |
|---|---|
| Method | GET |
| Path | /api/v1/accounts/{account_id}/conversations/{conversation_id}/conversation_events (list, oldest first) and /conversation_events/{event_id} (one event) |
| Authorization | User token. |
Permissions:
- User token: any agent who can see the conversation — see Who can see a conversation.
- Agent-bot token: not allowed.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id | integer | Yes | Account ID. |
conversation_id | integer | Yes | Conversation display ID. |
event_id | integer | Yes | The event's ID, as returned by List Conversation Events. |
Event fields
| Field | Description |
|---|---|
event_type | agent, 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_by | system, agent_create (an agent or API user), agent_bot, user (the contact). |
type_old_status, type_new_status | For status, bot_mode and human_mode events. |
type_agent + type_agent_old_value / type_agent_new_value | add_agent / remove_agent / change_agent and the agent IDs. |
type_team + team_type_old_value / team_type_new_value | add_team / remove_team / change_team and the team IDs. |
type_label + type_label_value | add_label / remove_label and the labels. |
type_priority, type_sla_event, type_custom_attribute, type_additional_attributes, type_agent_mentions | Details of the other event types. |
account_id, contact_id, conversation_id, inbox_id, ticket_id | Related IDs (conversation_id is the internal ID, not the display ID used in paths). |
created_at, updated_at | Unix 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
- 200
- 401
- 403
- 404
The event.
The access token is missing or wrong, or its user does not belong to this account.
The token's role does not have the permission this endpoint needs, or the endpoint is not open to agent-bot tokens. See Authorization.
The resource does not exist in this account.