Save Slack webhook URL

PUT/api/v1/businesses/slack

Configure a Slack Incoming Webhook URL for this business.

Operation ID: save_business_slack_webhook_api_v1_businesses_slack_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.

Request body

slack_webhook_urlstring

Slack Incoming Webhook URL, or empty/null to disconnect

channel_namestring

Optional name for the channel or webhook

preferencesobject

Optional per-category enabled flags for the new webhook. Omitted categories default to enabled.

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