Skip to main content
POST
/
api
/
v1
/
on-call
/
policies
Create an on-call policy
curl --request POST \
  --url https://api.example.com/api/v1/on-call/policies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "thresholdMinutes": 123,
  "config": {},
  "teamId": "<string>"
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
thresholdMinutes
number
required
channelType
enum<string>
Available options:
email,
sms,
whatsapp,
webhook,
slack,
discord,
telegram,
teams
config
object
teamId
string

Response

201 - undefined