---
title: "Get topic by ID"
method: GET
path: "/topics/{id}"
tags: ["Topics"]
---

# Get topic by ID

`GET /topics/{id}`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/topics/{id}`
- Auth: HTTP bearer

Get a single topic by its ID

## Path parameters

- `id` string, uuid, required

## Response `200`

Topic retrieved successfully

- object
  - `success` boolean
  - `data` Topic
    - `id` string, uuid: Unique identifier
    - `name` string: Topic name
    - `description` string, nullable: Description of the topic
    - `display_order` integer, nullable: Optional custom sort order
    - `is_active` boolean: Whether the topic is active
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `401`: Unauthorized
- `404`: Topic not found

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
