Get message details by ID
Retrieves comprehensive details about a specific message using the message ID. Returns complete message data including delivery status, channel information, template details, contact information, and pricing. The customer ID is extracted from the authentication token to ensure the message belongs to the authenticated customer.
id*stringuuidMessage details retrieved successfully
application/json- response
Represents a sent message with comprehensive delivery and template information (v2)
id?stringThe unique identifier of the message
uuidcustomerId?stringThe unique identifier of the customer who sent the message
uuidcontactId?stringThe unique identifier of the contact who received the message
uuidphoneNumber?stringThe phone number of the recipient (E.164 format)
phoneNumberInternational?stringThe phone number in international format
regionCode?stringThe region code of the phone number (e.g., US, GB, DE)
templateId?|The unique identifier of the template used for this message (null if no template was used)
uuidtemplateName?stringThe display name of the template
templateCategory?stringThe category of the template (e.g., MARKETING, UTILITY, AUTHENTICATION)
channel?stringThe messaging channel used (e.g., SMS, WhatsApp)
messageBody?|The message body content with variables substituted
status?stringThe delivery status of the message. Outbound: SENT, DELIVERED, FAILED, READ, FILTERED (suppressed by a routing DENY rule), BLOCKED (gated by an account precondition such as insufficient balance or an unmet onboarding entitlement), SCHEDULED (held for a later send time), CANCELLED (a scheduled message you called off before it was released). FILTERED, BLOCKED, SCHEDULED and CANCELLED are policy-driven or customer-driven, expected outcomes and are excluded from the deliverability rate. Inbound (from contact): RECEIVED (terminal).
createdAt?stringThe date and time when the message was created
date-timeprice?|The channel price charged for sending this message
decimalactiveContactPrice?|Monthly active-contact markup charged for this message (first message per contact per month)
decimalevents?array<>|A chronological list of status change events for this message. Each event includes a status and timestamp. Events are ordered chronologically from oldest to newest.
curl -X GET 'https://api.sent.dm/v2/messages/7ba7b820-9dad-11d1-80b4-00c04fd430c8'{ "id": "7ba7b820-9dad-11d1-80b4-00c04fd430c8", "customerId": "550e8400-e29b-41d4-a716-446655440000", "contactId": "550e8400-e29b-41d4-a716-446655440002", "phoneNumber": "+1234567890", "phoneNumberInternational": "+1 234-567-8900", "regionCode": "US", "templateId": "550e8400-e29b-41d4-a716-446655440003", "templateName": "Welcome Message", "templateCategory": "UTILITY", "channel": "WhatsApp", "messageBody": { "header": null, "content": "Welcome to our service, John! We're excited to have you.", "footer": null, "buttons": null, "subject": null, "media": null, "headerMedia": null }, "status": "DELIVERED", "createdAt": "2026-11-29T11:49:41.19849+00:00", "price": 0.0055, "activeContactPrice": 0.015, "events": [ { "status": "QUEUED", "timestamp": "2026-11-29T11:49:41.1985507+00:00", "description": "Message queued for sending" }, { "status": "SENT", "timestamp": "2026-11-29T11:49:46.1985699+00:00", "description": "Message sent to WhatsApp" }, { "status": "DELIVERED", "timestamp": "2026-11-29T11:49:51.1985704+00:00", "description": "Message delivered to recipient" }, { "status": "READ", "timestamp": "2026-11-29T11:54:41.1985705+00:00", "description": "Message read by recipient" } ]}Send quick message POST
Sends a message to a phone number using the default template. This endpoint is rate limited to 5 messages per customer per day. The customer ID is extracted from the authentication token.
Get paginated contacts for authenticated customer GET
Retrieves a paginated list of contacts for the authenticated customer. Supports server-side pagination with configurable page size. The customer ID is extracted from the authentication token.