POST
/
v1
/
channels
/
topic
Create topic
curl --request POST \
  --url https://dovetail.com/api/v1/channels/topic \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "description": "<string>",
  "channel_id": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "title": "<string>",
    "description": "<string>",
    "channel": {
      "id": "<string>"
    },
    "created_at": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Body

title
string
required

The topic's title.

Required string length: 1 - 300
description
string
required

The topic's description.

Required string length: 1 - 2500
channel_id
string
required

Unique identifier of the channel.

Response

201

data
object
required