---
title: "List SMS topics"
description: "Retrieve your SMS subscription topics, cursor-paginated. `GET /api/v1/sms/topics`"
url: https://www.unitpost.com/docs/sms/get-sms-topics
section: "SMS API reference"
updated: 2026-10-13
---
# List SMS topics

`GET /api/v1/sms/topics`

Retrieve your SMS subscription topics, cursor-paginated. An SMS topic is a category of marketing SMS (e.g. Flash sales) recipients can opt out of while still receiving your other texts. SMS and email topics are separate: a contact's email preference never changes their SMS one, and STOP still opts a number out of every SMS. Pass `?archived=true` to list archived topics instead. Create one with [Create an SMS topic](https://www.unitpost.com/docs/sms/post-sms-topics). Requires the `topics:read` capability.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer | no | Max rows to return (default 20, max 100). |
| `after` | query | string | no | Return rows after this id (forward paging). |
| `before` | query | string | no | Return rows before this id (backward paging). |
| `archived` | query | boolean | no | When true, list only archived SMS topics instead of active ones. |

## Response fields (200)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `object` | string | yes | — |
| `id` | string | yes | — |
| `name` | string | yes | — |
| `description` | string \| null | yes | — |
| `channel` | enum | yes | Which channel the topic belongs to. Email topics are managed under `/email/topics`, SMS topics under `/sms/topics`. One of: `email`, `sms`. |
| `default_opt_in` | boolean | yes | — |
| `created_at` | string | yes | — |
| `updated_at` | string | yes | — |

## Responses

| Status | Description |
| --- | --- |
| 200 | A page of SMS topics. |
| 401 | Missing or invalid API key. |
| 403 | Insufficient scope. |
| 404 | SMS is not enabled for this workspace. |
| 422 | Invalid pagination params. |

## Example request

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

## Example response (200)

```json
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "object": "topic",
      "id": "id_123",
      "name": "Example",
      "description": "string",
      "channel": "email",
      "default_opt_in": false,
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z"
    }
  ]
}
```

## Links

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