Skip to main content
PUT
Needs notifications:update. Anyone in the workspace can set their own boxes. Changing a channel also needs a role that can manage notifications (owners and managers), in its workspace and in every workspace it also sends events from. See Permissions.
  • preferences: your own boxes, each an event, a channel (in_app, email, telegram or push) and enabled.
  • destinations: changes to the workspace’s Slack, Discord and Telegram channels, each with its id and the fields to change: events, active, name, approve_buttons, account_ids, workspace_ids, or for Slack channel_id. Fields you leave out stay as they are.
It is all or nothing. Every change is checked before any is saved, and an error names the one that failed, like destinations.0.events. The answer is the settings after the change, as Get notification settings gives them. Webhook endpoints are refused here: change them with Update a webhook.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
workspace_id
integer
required

The workspace. It must be one the key can reach.

preferences
object[]

Your own boxes to set.

Maximum array length: 200
destinations
object[]

Changes to the workspace's Slack, Discord and Telegram channels. Only the fields you send change.

Maximum array length: 50

Response

Your settings, after the change.

Your notification settings in a workspace.

workspace_id
integer
required
preferences
object[]
required

Your own boxes, one row per event.

destinations
object[]
required

The workspace's Slack, Discord and Telegram channels. Webhook endpoints are under Webhooks.

slack_installations
object[]
required

The Slack workspaces connected to this workspace.

team_chat_events
object[]
required

The events a Slack, Discord or Telegram channel can get.