Skip to main content
POST
Add a destination: a Slack incoming webhook or a signed webhook (owners, admins)

Authorizations

apsio_session
string
cookie
required

The console session, set by /v1/auth/callback (__Host-apsio_session when host-only).

Path Parameters

orgId
string
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"0192f3a4-0000-7000-8000-00000000a001"

Body

application/json
kind
enum<string>
required
Available options:
slack,
webhook
name
string
required
Required string length: 1 - 100
url
string
required

https only. Slack: an incoming webhook URL (https://hooks.slack.com/services/...). Checked when saved (it must resolve to public addresses only) and before every delivery. Never returned.

Required string length: 1 - 2048
Example:

"https://alerts.example.com/apsio"

Response

201

The destination, and for a webhook its signing secret