← Back to API Reference

POST /topics

Create Topic

Compatibility endpoint to create topic data.

Request (cURL)

curl -X POST "http://localhost:8080/v1/topics" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "product-updates",
  "description": "Product announcements and update notices"
}'

Response Example

{
  "id": "id_123"
}

Request Body Example

{
  "name": "product-updates",
  "description": "Product announcements and update notices"
}