cURL
curl --request POST \ --url https://api.novu.co/v1/topics/{topicKey}/subscribers \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "subscribers": [ "<string>" ] }'
{ "succeeded": [ "<string>" ], "failed": { "notFound": [ "<string>" ] } }
Add subscribers to a topic by key
Authorization
ApiKey 18d2e625f05d80e
API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
The topic key
The response is of type object.
object
Was this page helpful?