Skip to main content
POST
Create destinations in a batch

Authorizations

Authorization
string
header
required

Organization API key (sl_…).

Headers

x-tenant-id
string
required

The organization ID the request is scoped to.

Body

application/json

Create a batch of destinations in one all-or-nothing request.

Every entry is checked before anything is saved: if any entry is rejected, no destinations are created and the error names the entry that caused it. The created destinations are returned in the same order as items.

items
(SlackAlertDestinationCreate · object | EmailAlertDestinationCreate · object | MsTeamsWebhookAlertDestinationCreate · object)[]
required

The destinations to create. Each entry has the same fields as a single create request, and entries may be of different types.

Required array length: 1 - 100 elements

Request body to create a Slack alert destination.

Response

Successful Response

One page of alert destinations.

items
(SlackAlertDestination · object | EmailAlertDestination · object | MsTeamsWebhookAlertDestination · object)[]
required

An alert destination that posts to a Slack channel.

page_token
string | null

Opaque cursor for the next page; empty/absent on the last page.

row_count
integer | null

Best-effort total for the filtered result set; may be null when expensive.