Get Transactional SMS
Retrieve the full message and delivery information for a transactional SMS in the API key's workspace. Logs and message content are kept for 90 days.
Endpoint
GET https://api.campaignlark.com/v1/sms/:id
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | required | Tracking ID returned by Send Transactional SMS, not a contact, campaign, or job ID. |
Sample Request
GET https://api.campaignlark.com/v1/sms/69b27e24be03b743d4b9b7b3
Authorization: Bearer YOUR_API_KEY
Response
Success — 200 OK
{
"data": {
"id": "69b27e24be03b743d4b9b7b3",
"status": "DELIVERED",
"to": "+14155552671",
"parts": 1,
"charge": "0.01250",
"reference": "lead-123",
"created_at": "2026-03-12T08:49:00Z",
"message": "Your verification code is 482691. It expires in 10 minutes.",
"queued_at": "2026-03-12T08:49:00Z",
"sent_at": "2026-03-12T08:49:02Z",
"delivered_at": "2026-03-12T08:49:40Z",
"failed_at": null,
"failure_reason": ""
}
}
Message Detail Object
Includes every field in the list message object, plus:
| Field | Type | Description |
|---|---|---|
message | string | Full message body supplied to the send endpoint. |
queued_at | string | null | RFC3339 queuing timestamp; also exposed as created_at. |
sent_at | string | null | RFC3339 timestamp when the provider accepted the message. |
delivered_at | string | null | RFC3339 delivery timestamp, if recorded. |
failed_at | string | null | RFC3339 final failure timestamp, if recorded. |
failure_reason | string | Recorded failure reason, or "" when none is recorded. |
Timestamps for events that have not occurred are null, not omitted. SENT means provider acceptance, not confirmed delivery. A message can fail before it is sent, so a failed message need not have a sent_at timestamp.
Errors
| Status | Message | Cause |
|---|---|---|
400 | This SMS message wasn't found. Check the ID; messages are kept for 90 days. | The tracking ID is unknown, belongs to another workspace/type, or the record has expired. |
400 | We couldn't load this SMS message. Please try again shortly. | The message lookup failed. |
The authentication, rate-limit, and error-envelope rules also apply. A missing record returns 400, not 404.