Topics
Subscribers addition
Add subscribers to a topic by key
POST
/
v1
/
topics
/
{topicKey}
/
subscribers
Authorization
Path
Body
curl --request POST \
--url https://api.novu.co/v1/topics/{topicKey}/subscribers \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"subscribers": []
}'
Enter your API key in the Authorization
field like the example shown below:
E.g ApiKey 18d2e625f05d80e
Authorizations
Authorizationheaderrequired
string
Path Parameters
topicKeyrequired
string
Body
application/json
subscribersrequired
string[]
List of subscriber identifiers that will be associated to the topic
Response
200
Was this page helpful?
curl --request POST \
--url https://api.novu.co/v1/topics/{topicKey}/subscribers \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"subscribers": []
}'