# Retrieve SMS status and delivery details
URL: /docs/api-reference/transactional-sms/getMessageById

## GET `/api/v1/public/sms/messages/{messageId}`

**Summary:** Retrieve SMS status and delivery details
**Operation ID:** `getMessageById`

Returns current delivery status, carrier report, submission and delivery timestamps, sender ID, and segment metrics for a dispatched message.

**Authentication:** `X-Api-Key: sk_live_...` or `Authorization: Bearer sk_live_...`

### Parameters

| Name | In | Required | Description |
| :--- | :--- | :--- | :--- |
| `messageId` | `path` | Yes | Unique identifier of the SMS message |

### Responses

- **`200`**: Message status and carrier receipt details

```json
{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "example": "success"
    },
    "data": {
      "$ref": "#/components/schemas/SmsMessageDetailDto"
    }
  }
}
```
- **`401`**: Authentication failed or API key missing
- **`404`**: Requested resource was not found