Skip to main content
PUT
/
notifications
/
forwarding
Update notification forwarding settings
curl --request PUT \
  --url https://api.closebot.com/notifications/forwarding \
  --header 'Content-Type: application/json' \
  --header 'X-CB-KEY: <api-key>' \
  --data '
{
  "enabled": true,
  "channelsEnabled": [
    "<string>"
  ],
  "webhookEndpoint": "<string>"
}
'
{
  "type": "<string>",
  "title": "<string>",
  "status": 123,
  "detail": "<string>",
  "instance": "<string>"
}

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Body

The notification forwarding settings.

enabled
boolean

Whether notification forwarding is enabled

channelsEnabled
string[] | null

The channels enabled for notification forwarding

webhookEndpoint
string | null

The webhook endpoint for notification forwarding

Response

Success