Update Slack notification preferences

PUT/api/v1/businesses/slack/{webhook_id}/preferences

Toggle which notification categories are sent to Slack.

Operation ID: update_slack_notification_preferences_api_v1_businesses_slack__webhook_id__preferences_put·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

webhook_idstringrequired

Request body

preferencesobjectrequired

Map of category key to enabled flag, e.g. {'workflow_completions': false}. Unknown keys are silently ignored.

Responses

200Successful Response

successboolean
messagestring
codestring
dataSlackIntegrationStatus

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject