Get message status

Retrieves the current status and details of a message by ID. Includes delivery status, timestamps, and error information if applicable.

GET
/v3/messages/{id}

Path Parameters

id*string

Message ID

Formatuuid

Header Parameters

x-profile-id?string

Profile UUID to scope the request to a child profile. Only organization API keys can use this header. The profile must belong to the calling organization.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api-dev.sent.dm/v3/messages/8ba7b830-9dad-11d1-80b4-00c04fd430c8"
{
  "success": true,
  "data": {
    "id": "8ba7b830-9dad-11d1-80b4-00c04fd430c8",
    "customer_id": "550e8400-e29b-41d4-a716-446655440000",
    "contact_id": "550e8400-e29b-41d4-a716-446655440002",
    "phone": "+14155551234",
    "phone_international": "+1 415-555-1234",
    "region_code": "US",
    "template_id": "7ba7b820-9dad-11d1-80b4-00c04fd430c8",
    "template_name": "Welcome Message",
    "template_category": "UTILITY",
    "channel": "sms",
    "message_body": {
      "header": null,
      "content": "Welcome to our service, John! We're excited to have you.",
      "footer": null,
      "buttons": null
    },
    "status": "DELIVERED",
    "created_at": "2026-03-25T08:43:34.6836283+00:00",
    "price": 0.0055,
    "active_contact_price": 0.015,
    "events": [
      {
        "status": "QUEUED",
        "timestamp": "2026-03-25T08:43:34.6840171+00:00",
        "description": "Message queued for sending"
      },
      {
        "status": "SENT",
        "timestamp": "2026-03-25T08:43:39.6840846+00:00",
        "description": "Message sent via SMS"
      },
      {
        "status": "DELIVERED",
        "timestamp": "2026-03-25T08:43:44.6840917+00:00",
        "description": "Message delivered to recipient"
      }
    ]
  },
  "error": null,
  "meta": {
    "request_id": "req_7X9zKp2jDw",
    "timestamp": "2026-03-25T10:43:34.6841252+00:00",
    "version": "v3"
  }
}
{
  "success": false,
  "data": null,
  "error": {
    "code": "VALIDATION_001",
    "message": "Invalid message ID format.",
    "details": null,
    "doc_url": "https://docs.sent.dm/docs/reference/api/error-catalog"
  },
  "meta": {
    "request_id": "req_7X9zKp2jDw",
    "timestamp": "2026-03-25T10:43:34.6841313+00:00",
    "version": "v3"
  }
}
Empty
Empty
{
  "success": false,
  "data": null,
  "error": {
    "code": "RESOURCE_003",
    "message": "Message not found",
    "details": null,
    "doc_url": "https://docs.sent.dm/docs/reference/api/error-catalog"
  },
  "meta": {
    "request_id": "req_7X9zKp2jDw",
    "timestamp": "2026-03-25T10:43:34.684132+00:00",
    "version": "v3"
  }
}
{
  "success": false,
  "data": null,
  "error": {
    "code": "INTERNAL_001",
    "message": "An unexpected error occurred while retrieving the message.",
    "details": null,
    "doc_url": "https://docs.sent.dm/docs/reference/api/error-catalog"
  },
  "meta": {
    "request_id": "req_7X9zKp2jDw",
    "timestamp": "2026-03-25T10:43:34.6841326+00:00",
    "version": "v3"
  }
}