curl --request POST \
--url https://api.novu.co/v1/notification-groups \
--header 'Authorization: ApiKey <NOVU_API_KEY>' \
--header 'Content-Type: application/json' \
--data '{"name": "insert-name"}'
{
"data": {
"_id": "string",
"name": "string",
"_environmentId": "string",
"_organizationId": "string",
"_parentId": "string"
}
}
workflow group was previously named notification group
curl --request POST \
--url https://api.novu.co/v1/notification-groups \
--header 'Authorization: ApiKey <NOVU_API_KEY>' \
--header 'Content-Type: application/json' \
--data '{"name": "insert-name"}'
{
"data": {
"_id": "string",
"name": "string",
"_environmentId": "string",
"_organizationId": "string",
"_parentId": "string"
}
}
Enter your API key in the Authorization
field like the example shown below:
E.g ApiKey 18d2e625f05d80e
curl --request POST \
--url https://api.novu.co/v1/notification-groups \
--header 'Authorization: ApiKey <NOVU_API_KEY>' \
--header 'Content-Type: application/json' \
--data '{"name": "insert-name"}'
{
"data": {
"_id": "string",
"name": "string",
"_environmentId": "string",
"_organizationId": "string",
"_parentId": "string"
}
}
API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
Created
The response is of type object
.
Was this page helpful?