v18

latestOpenAPI 3.0.3raw.githubusercontent.com2026-07-111422448.7 KB
Notification Preferences

Upsert Notification Preference Workspace Rule

Create or update a workspace notification rule

put/notification-preferences/workspaces/{workspaceId}

Path parameters

workspaceIdstring required

Request body

isActiveboolean required
emailEnabledboolean required
ntfyEnabledboolean required
gotifyEnabledboolean required
webhookEnabledboolean required
projectMode'all' | 'selected' required
selectedProjectIdsstring[]

Response

Updated notification preferences

emailAddressstring nullable required
emailEnabledboolean required
ntfyEnabledboolean required
ntfyConfiguredboolean required
ntfyServerUrlstring nullable required
ntfyTopicstring nullable required
ntfyTokenConfiguredboolean required
maskedNtfyTokenstring nullable required
gotifyEnabledboolean required
gotifyConfiguredboolean required
gotifyServerUrlstring nullable required
gotifyTokenConfiguredboolean required
maskedGotifyTokenstring nullable required
webhookEnabledboolean required
webhookConfiguredboolean required
webhookUrlstring nullable required
webhookSecretConfiguredboolean required
maskedWebhookSecretstring nullable required
{"stackTrail":"paths:/notification-preferences/workspaces/{workspaceId}:put:responses:200:content:application/json:schema:properties:createdAt","oasType":"schema","type":"unknown","nullable":true}
{"stackTrail":"paths:/notification-preferences/workspaces/{workspaceId}:put:responses:200:content:application/json:schema:properties:updatedAt","oasType":"schema","type":"unknown","nullable":true}