User Organization Notification Methods Create

POST handler with superadmin-only field protection.

Strips superadmin-only fields from non-superadmin requests before delegating to OrganizationInjectionMixin.post() for org injection.

Authentication

AuthorizationBearer
JWT access token or Respan API key

Request

This endpoint expects an object.
notification_configobjectRequired
projectstring or nullOptional>=1 character
unique_organization_idstringOptional<=255 characters
notification_typeenumOptional
  • email - Email
  • slack - Slack
  • microsoft_teams - Microsoft Teams
  • pagerduty - Pagerduty
  • webhook - Webhook
  • sms - Sms
  • custom - Custom
  • none - None
organizationintegerOptional
updated_byinteger or nullOptional

Response

idstringRead-only
notification_configobject
updated_atdatetimeRead-only
created_atdatetimeRead-only
projectstring or null
unique_organization_idstring<=255 characters
notification_typeenum
  • email - Email
  • slack - Slack
  • microsoft_teams - Microsoft Teams
  • pagerduty - Pagerduty
  • webhook - Webhook
  • sms - Sms
  • custom - Custom
  • none - None
organizationinteger
updated_byinteger or null