Topics
Topic creation
Create a topic
POST
/
v1
/
topics
Authorization
Body
curl --request POST \
--url https://api.novu.co/v1/topics \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"key": "<key>",
"name": "<name>"
}'
{
"data": "object"
}
Enter your API key in the Authorization
field like the example shown below:
E.g ApiKey 18d2e625f05d80e
Authorizations
Authorizationheaderrequired
string
Body
application/json
keyrequired
string
User defined custom key and provided by the user that will be an unique identifier for the Topic created.
namerequired
string
User defined custom name and provided by the user that will name the Topic created.
Response
201 - application/json
data
object
Was this page helpful?
curl --request POST \
--url https://api.novu.co/v1/topics \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"key": "<key>",
"name": "<name>"
}'
{
"data": "object"
}