Skip to main content
POST
/
topics
Create a topic
curl --request POST \
  --url https://api.sendrealm.com/topics \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>"
}
'
{
  "status": 123,
  "error": {
    "code": "<string>",
    "message": "<string>",
    "details": null
  }
}

Endpoints

  • GET /topics
  • POST /topics

Create request

{
  "name": "weekly-digest",
  "description": "Long-form weekly product and marketing updates."
}

List example

GET /topics?search=digest

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
description
string | null

Response

Topic created