POST
/
v1
/
notification-groups
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"
  }
}

Body

application/json
name
string
required

Response

201 - application/json
data
object