---
title: "List topics"
method: GET
path: "/email/topics"
tags: ["Topics"]
---

# List topics

`GET /email/topics`

## Request

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

Retrieve a list of your subscription topics, cursor-paginated. A topic is a category of email (e.g. Product updates, Promotions) that recipients can opt out of without leaving your list entirely. Pass `?archived=true` to list archived topics instead. Create one with [Create a topic](#post-email-topics), or check a contact's preferences with [List a contact's topic subscriptions](#get-contacts-id-topics). Requires the `topics:read` capability.

## Query parameters

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

## Response `200`

A page of 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.
- `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)
