How Can I View Message Details via API?
If you need to retrieve the full status and metadata of a previously sent SMS message, Cequens provides a dedicated API endpoint to query message details using the message_id
.
This is especially useful for:
Verifying delivery status
Troubleshooting message failures
Integrating reporting into your internal dashboards
Prerequisites
Before calling the API, ensure that:
You have a valid access token generated via the OAuth2 authentication flow
You have the
message_id
returned from the originalPOST /api/sms/v1/messages
response
API Endpoint
Replace {message_id}
with the unique ID you received when the message was submitted.
Required Headers
Sample Request
✅ Sample Success Response
? Field Descriptions
Field | Description |
---|---|
message_id | Unique identifier for the message |
recipient | The recipient's phone number (E.164 format) |
sender | Sender ID used to send the message |
message | The original message content |
status | Overall message status (DELIVRD , FAILED , EXPIRED , etc.) |
submitted_at | Time when the message was submitted |
delivered_at | Time when message was confirmed delivered (if applicable) |
route | Carrier/operator used for message routing |
dlr_status | Final delivery report result |
Official Documentation
For full details and optional query parameters, visit:
Get SMS Details – Cequens Developer Hub