---
title: "Retrieve a brand document"
description: "One current document of the brand. `GET /api/v1/sms/brands/{id}/documents/{documentId}`"
url: https://www.unitpost.com/docs/sms/get-sms-brands-id-documents-documentid
section: "SMS API reference"
updated: 2026-11-11
---
# Retrieve a brand document

`GET /api/v1/sms/brands/{id}/documents/{documentId}`

One current document of the brand. Requires the `sms:read` capability.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | — |
| `documentId` | path | string | yes | — |

## Response fields (200)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `object` | string | yes | — |
| `id` | string | yes | — |
| `brand_id` | string | yes | — |
| `kind` | enum | yes | One of: `registration_certificate`, `letter_of_authorization`, `proof_of_sender_id_connection`, `signatory_id`, `emirates_id`, `signatory_passport`, `establishment_card`, `power_of_attorney`, `business_license`, `tax_document`, `regulatory_license`, `carrier_registration_form`, `opt_in_screenshot`, `business_number`. |
| `carrier` | string \| null | yes | The slot's variant: which carrier or form a letter is addressed to (e.g. `ooredoo`), or null. |
| `country` | string \| null | yes | Set when this is one country's own version of a shared document (ADR-0115): it goes to that country only, in place of the shared file. Null for the shared file. |
| `label` | string | yes | What the document is, in words: "Letter of authorization — Ooredoo (Qatar)". |
| `input` | enum | yes | One of: `file`, `text`. |
| `filename` | string \| null | yes | — |
| `content_type` | string \| null | yes | — |
| `size_bytes` | integer \| null | yes | — |
| `text_value` | string \| null | yes | `business_number` only. |
| `created_at` | string | yes | — |

## Responses

| Status | Description |
| --- | --- |
| 200 | The document. |
| 401 | Missing or invalid API key. |
| 403 | Insufficient scope. |
| 404 | Document not found, or SMS is not enabled. |
| 422 | A query key (this operation takes none). |

## Example request

```bash
curl -X GET 'https://www.unitpost.com/api/v1/sms/brands/sms_123/documents/documentId_123' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'User-Agent: my-app/1.0'
```

## Example response (200)

```json
{
  "object": "sms_brand_document",
  "id": "id_123",
  "brand_id": "brand_123",
  "kind": "registration_certificate",
  "carrier": "string",
  "country": "string",
  "label": "string",
  "input": "file",
  "filename": "string",
  "content_type": "string",
  "size_bytes": 1,
  "text_value": "string",
  "created_at": "2026-01-01T00:00:00.000Z"
}
```

## Links

- HTML reference (with Node.js, Python, Ruby, PHP, Laravel, Go, Java, Rust, .NET and CLI examples): https://www.unitpost.com/docs/sms/get-sms-brands-id-documents-documentid
- OpenAPI 3.1 (full schemas): https://www.unitpost.com/api/v1/openapi.json
