Get topic

Get a topic by its topic key

GET/v1/topics/{topicKey}

Authorization

Authorization<token>

API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".

In: header

Path Parameters

topicKeyRequiredstring

The topic key

Header Parameters

idempotency-keystring

A header for idempotency purposes

curl -X GET "https://api.novu.co/v1/topics/<string>" \
  -H "idempotency-key: <string>" \
  -H "Authorization: <token>"

OK

{
  "_id": "string",
  "_organizationId": "string",
  "_environmentId": "string",
  "key": "string",
  "name": "string",
  "subscribers": [
    "string"
  ]
}