domains

Set Desk Notification Webhook

Save (and enable) the desk's Slack incoming webhook.

Validation is the SSRF gate — https, hooks.slack.com, /services/ path — and its message is written for the customer, so it is returned verbatim as the 400 detail. See agent_desk/webhook_secret.py for why the allowlist is one host wide.

put/api/domains/{domain_id}/notifications/webhook

Request

  • Base URL
    https://api-v1.unusual.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: /auth/login

Path parameters

domain_idstring required

Headers

x-view-asstring nullable

Request body

webhook_urlstring required

Response

Successful Response

completeboolean required
webhook_configuredboolean
webhook_enabledboolean
webhook_hintstring nullable
webhook_unreadableboolean
webhook_failure_countinteger
webhook_disabled_reasonstring nullable
webhook_last_delivered_atstring nullable
support_channel_requestedboolean
digest_fallbackboolean
lane_availableboolean
email_digest_enabledboolean
app_availableboolean
app_connectedboolean
app_team_namestring nullable
app_channel_labelstring nullable
app_token_unreadableboolean

Changes

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