---
title: "List SMS topics"
method: GET
path: "/sms/topics"
tags: ["SMS topics"]
---

# List SMS topics

`GET /sms/topics`

## Request

- Base URL: `https://www.unitpost.com/api/v1`
- URL: `https://www.unitpost.com/api/v1/sms/topics`
- Auth: HTTP bearer

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](#post-sms-topics). Requires the `topics:read` capability.

## Query parameters

- `limit` integer
- `after` string
- `before` string
- `archived` boolean

## Response `200`

A page of SMS topics.

- object
  - `object` 'list', required
  - `has_more` boolean, required
  - `data` Topic[], required
    - `object` 'topic', required
    - `id` string, required
    - `name` string, required
    - `description` string, nullable, required
    - `channel` 'email' | 'sms', required: Which channel the topic belongs to. Email topics are managed under `/email/topics`, SMS topics under `/sms/topics`.
    - `default_opt_in` boolean, required
    - `created_at` string, required
    - `updated_at` string, required

## Other responses

- `401`: Missing or invalid API key.
- `403`: Insufficient scope.
- `404`: SMS is not enabled for this workspace.
- `422`: Invalid pagination params.

---

[API](https://skmtc.dev/unitpost/apis/unitpost-api.md) · [All operations](https://skmtc.dev/unitpost/apis/unitpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/unitpost/apis/unitpost-api/revisions/86ff7c890967?raw)
