> ## Documentation Index
> Fetch the complete documentation index at: https://docs.burki.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get SMS Status

> Get the status of a queued SMS message.

Use this endpoint to check if a queued SMS has been delivered,
is still pending, or has failed.

Args:
    message_id: The unique message ID returned when queueing the SMS

Returns:
    SMSStatusResponse: Current status of the message

Check the current status of a queued SMS message.

Use the `message_id` returned by [Send SMS](/api-reference/messaging/send-sms). For queued sends, this is Burki's internal queue UUID. When the provider returns its own ID, it appears as `provider_message_id`.

### Path Parameters

* `message_id` (string, **required**): The Burki message ID returned by `POST /sms/send`.

### Response

```json Response theme={null}
{
  "message_id": "8ad70ee5-3d47-4fa4-a6ab-c9f2238d5f54",
  "status": "sent",
  "provider_message_id": "SM1234567890abcdef",
  "error": null,
  "updated_at": "2026-04-30T10:15:00Z"
}
```

### Status Values

| Status      | Description                                  |
| ----------- | -------------------------------------------- |
| `queued`    | Message is waiting in Burki's provider queue |
| `sending`   | Message is currently being sent              |
| `sent`      | Provider accepted or delivered the message   |
| `failed`    | Sending failed; inspect `error`              |
| `cancelled` | Message was cancelled before delivery        |

### Error Responses

```json 404 theme={null}
{
  "detail": "Message 8ad70ee5-3d47-4fa4-a6ab-c9f2238d5f54 not found"
}
```


## OpenAPI

````yaml GET /sms/{message_id}/status
openapi: 3.1.0
info:
  title: Burki
  description: A system that uses AI to answer customer Calls.
  version: 0.1.0
servers: []
security: []
paths:
  /sms/{message_id}/status:
    get:
      summary: Get Sms Status
      description: |-
        Get the status of a queued SMS message.

        Use this endpoint to check if a queued SMS has been delivered,
        is still pending, or has failed.

        Args:
            message_id: The unique message ID returned when queueing the SMS

        Returns:
            SMSStatusResponse: Current status of the message
      operationId: get_sms_status_sms__message_id__status_get
      parameters:
        - name: message_id
          in: path
          required: true
          schema:
            type: string
            title: Message Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SMSStatusResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    SMSStatusResponse:
      properties:
        message_id:
          type: string
          title: Message Id
        status:
          type: string
          title: Status
          description: 'Message status: ''queued'', ''sending'', ''sent'', ''failed'', ''cancelled'''
        provider_message_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Provider Message Id
          description: Provider's message ID after delivery
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
          description: Error message if failed
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
          description: Last status update timestamp
      type: object
      required:
        - message_id
        - status
      title: SMSStatusResponse
      description: Response model for SMS status endpoint.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````