Skip to main content

Create a notification rule

POST 

/api/notification_rules

Create a new notification rule.

The scope_id must be a GUID, never a name. The rule name is generated from scope and trigger, qualified with the project.

Every field is validated before the rule is stored. Returns 422 with clear error messages on failure.

When the rule's scope names a project, workflow, or node, the caller's access to that project is checked by this route itself.

Request

Responses

Successful Response