Get a single event log by ID
curl --request GET \
--url https://your-instance.example.com/api/event-logs/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://your-instance.example.com/api/event-logs/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://your-instance.example.com/api/event-logs/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://your-instance.example.com/api/event-logs/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://your-instance.example.com/api/event-logs/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://your-instance.example.com/api/event-logs/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://your-instance.example.com/api/event-logs/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"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"
}
}{
"success": false,
"message": "Event log not found",
"error": "NOT_FOUND"
}{
"success": false,
"message": "Event log not found",
"error": "NOT_FOUND"
}{
"success": false,
"message": "Event log not found",
"error": "NOT_FOUND"
}{
"success": false,
"message": "Event log not found",
"error": "NOT_FOUND"
}Event Logs
Get a single event log by ID
Fetch a single EventLog by _id. Used by the audit drawer to render the full payload of a row clicked from the list view. Cross-org access is denied for non-SUPERADMIN callers.
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>'import requests
url = "https://your-instance.example.com/api/event-logs/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://your-instance.example.com/api/event-logs/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://your-instance.example.com/api/event-logs/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://your-instance.example.com/api/event-logs/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://your-instance.example.com/api/event-logs/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://your-instance.example.com/api/event-logs/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"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"
}
}{
"success": false,
"message": "Event log not found",
"error": "NOT_FOUND"
}{
"success": false,
"message": "Event log not found",
"error": "NOT_FOUND"
}{
"success": false,
"message": "Event log not found",
"error": "NOT_FOUND"
}{
"success": false,
"message": "Event log not found",
"error": "NOT_FOUND"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Event log returned
Response from GET /api/event-logs/{id}.
Available options:
true A persisted EventLog record. Most fields come straight from the EventLog model; contactFirstName/contactLastName are joined in by the controller for the list view.
Show child attributes
Show child attributes
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"
}
⌘I