Message Logs
Get message log
Find a log by ID.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Messaging.
Learn more about API scopes.
get/api/messaging/logs/{id}
Path parameters
idstring uuid required
Universal Unique Identifier.
Unique ID of the log.
Response
The request has succeeded.
Example response
{
"from": "+12077447397",
"to": "+12029921413",
"status": "failed",
"direction": "inbound",
"kind": "sms",
"source": "laml",
"type": "relay_message",
"url": "https://example.signalwire.com/api/laml/2010-04-01/Accounts/c38dacad-2f6c-4de1-93d6-cc732e0c70c5/Messages/9ee38635-899a-490a-bfd1-9e72f5eea53c",
"number_of_segments": 1,
"charge_details": [
{
"description": "Inbound SMS",
"charge": 0.00415
}
],
"created_at": "2024-05-06T12:20:00Z",
"error_message": "From number is not a SMS-capable phone number.",
"error_code": "21601"
}