---
title: "Create a topic"
method: POST
path: "/topics"
tags: ["topics"]
---

# Create a topic

`POST /topics`

## Request

- Base URL: `https://preview.api.upcontent.com`
- URL: `https://preview.api.upcontent.com/topics`
- Auth: OAuth 2
  - Authorization code: `https://accounts.upcontent.com/authorize`
  - Token URL: `https://accounts.upcontent.com/token` scopes: `upcontent.write`, `client.write`

## Request body

- object
  - `name` string, required: Topic name
  - `queries` string[], required

## Response `201`

Created

- Topic: Topic object
  - `id` string, required: UUID for the topic
  - `name` string, required: Topic name
  - `queries` string[], required
  - `next_poll` string: Date of next poll
  - `created` string, required: Date topic was created, ISO format
  - `updated` string: Date topic was updated, ISO format
  - `suggestions` string: URL for the collection of suggestions in this topic

## Other responses

- `400`: Bad request
- `401`: Not authenticated
- `403`: Forbidden
- `404`: Not found

---

[API](https://skmtc.dev/upcontent/apis/upcontent-platform-api.md) - [All operations](https://skmtc.dev/upcontent/apis/upcontent-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upcontent/apis/upcontent-platform-api/revisions/2f89c14d62a9?raw)
