---
title: "Retrieve a topic"
method: GET
path: "/email/topics/{id}"
tags: ["Topics"]
---

# Retrieve a topic

`GET /email/topics/{id}`

## Request

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

Retrieve a single topic by `id`, including its name and `default_opt_in` setting. Change it with [Update a topic](#patch-email-topics-id), or list every topic with [List topics](#get-email-topics). Requires the `topics:read` capability.

## Response `200`

The topic.

- Topic
  - `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.
- `404`: Topic not found.

---

[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)
