Find a Log by ID
GET/logs/:id
Find a log by ID.
Permissions
The API token must include the following scopes: Messaging.
Request
Path Parameters
id uuidrequired
Unique ID of the log
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id uuid
A unique identifier for the log
from string
The origin phone number.
to string
The destination phone number.
status string
The status of the message.
direction string
The direction of the message.
kind string
The kind of message.
source string
Source of this log entry.
type string
Type of this log entry.
url string
URL for the resource associated with this log entry (if available)
number_of_segments integer
The number of segments.
charge number
The charge in dollars.
charge_details
object[]
Details on charges associated with this log.
description string
Description for this charge.
charge number
Charged amount.
created_at date-time
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"from": "+12065551212",
"to": "+12065553434",
"status": "sent",
"direction": "inbound",
"kind": "sms",
"source": "laml",
"type": "laml_message",
"url": "string",
"number_of_segments": 1,
"charge": "0.01",
"charge_details": [],
"created_at": "2024-07-29T15:51:28.071Z"
}
Loading...