POST
/
v1
/
topics
/
{topicKey}
/
subscribers
curl --request POST \
  --url https://api.novu.co/v1/topics/{topicKey}/subscribers \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "subscribers": [
    "<string>"
  ]
}'
This response has no body data.

Enter your API key in the Authorization field like the example shown below:

E.g ApiKey 18d2e625f05d80e

Authorizations

Authorization
string
headerrequired

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

Path Parameters

topicKey
string
required

The topic key

Body

application/json
subscribers
string[]
required

List of subscriber identifiers that will be associated to the topic