v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Case Management

Create a notification rule

Create a notification rule for a project.

post/api/v2/cases/projects/{project_id}/notification_rules

Path parameters

project_idstring required

Project UUID

Request body

Example request

{
  "data": {
    "attributes": {
      "recipients": [
        {
          "type": "EMAIL"
        }
      ],
      "triggers": [
        {
          "type": "CASE_CREATED"
        }
      ]
    },
    "type": "notification_rule"
  }
}

Response

CREATED

Example response

{
  "data": {
    "attributes": {
      "recipients": [
        {
          "type": "EMAIL"
        }
      ],
      "triggers": [
        {
          "type": "CASE_CREATED"
        }
      ]
    },
    "id": "aeadc05e-98a8-11ec-ac2c-da7ad0900001",
    "type": "notification_rule"
  }
}