---
title: "Get all topics"
method: GET
path: "/topics"
tags: ["Topics"]
---

# Get all topics

`GET /topics`

## Request

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

Get all active topics, optionally filtered by search term. Results are sorted alphabetically.

## Query parameters

- `search` string

## Response `200`

Topics 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

---

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