Skip to main content
GET
/
api
/
event-logs
/
{id}
Get a single event log by ID
curl --request GET \
  --url https://your-instance.example.com/api/event-logs/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "_id": "65e0a0b0c0d0e0f0a0b0c0d0",
    "organizationId": "65a0e0e0e0e0e0e0e0e0e0e0",
    "userId": "65b1f0a2c3d4e5f6a7b8c9d0",
    "eventType": "message.received",
    "payload": {
      "channelType": "sms",
      "body": "Yes please!"
    },
    "createdAt": "2026-05-18T14:30:00.000Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

Event log returned

Response from GET /api/event-logs/{id}.

success
enum<boolean>
required
Available options:
true
data
object
required

A persisted EventLog record. Most fields come straight from the EventLog model; contactFirstName/contactLastName are joined in by the controller for the list view.

Example:
{
"_id": "65e0a0b0c0d0e0f0a0b0c0d0",
"organizationId": "65a0e0e0e0e0e0e0e0e0e0e0",
"userId": "65b1f0a2c3d4e5f6a7b8c9d0",
"contactId": "65c2d0e0f0a0b0c0d0e0f0a0",
"conversationId": "65d3e0f0a0b0c0d0e0f0a0b0",
"direction": "inbound",
"automationTriggered": true,
"eventType": "message.received",
"payload": {
"channelType": "sms",
"body": "Yes please!"
},
"contactFirstName": "Jane",
"contactLastName": "Doe",
"createdAt": "2026-05-18T14:30:00.000Z",
"updatedAt": "2026-05-18T14:30:00.000Z"
}