Notifications

Create Notification Trigger

Create a notification trigger on the authenticated organization. The request body is a discriminated union on type: each trigger type (see GET /v1/notification-triggers/templates) has its own typed parameters shape in the OpenAPI schema. An invalid type returns a 400 listing all valid types. Use the Nash-Org-Id header to scope creation to a specific org (e.g. a child org).

post/v1/notification-triggers

Request

  • Base URL
    https://api.sandbox.usenash.com
  • Auth
    none declared

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Response

OK

idstring required

Notification trigger ID

typestring required

Trigger type slug, matching a template from GET /v1/notification-triggers/templates, e.g. 'tasks_attempts_exhausted'.

namestring required

Human-readable name of this trigger instance

descriptionstring nullable

Trigger description

enabledboolean required

Whether the trigger is enabled

notificationGroupIdsstring[]

Notification group IDs that receive notifications when this trigger fires.

Changes

No recorded changes to this operation across all 1 revision of this API.