Skip to main content
POST
Create an alert.

Authorizations

Authorization
string
header
required

WorkOS session access token (human dashboard sessions) on the control plane.

Headers

X-Spillway-Org
string<uuid>
Example:

"601c5d19-0b88-42f7-acda-d1d31abd100d"

Body

application/json
name
string
required
Required string length: 1 - 120
kind
string
required
Required string length: 1 - 60
scopeType
string | null
Maximum string length: 30
scopeId
string<uuid> | null
config
object
channels
object[]
Maximum array length: 20

Response

OK

Resource object.

{key}
any