API reference · Alerting & response

Alert channels

Where alerts go: email, Slack, Telegram, PagerDuty and friends.

Base URL https://app.upfour.io/v1 · auth via Authorization: Bearer <key> · “Try it” runs from your browser — the key is kept in this tab only. Use a pls_test_ sandbox key to experiment freely.

GET /notification_channels

scope notification_channel.write stable returns 200

ParameterInTypeNotes
limit query integer default 50
cursor query string
client_id query uuid
all_clients query boolean
q query string
sort query string
curl -s https://app.upfour.io/v1/notification_channels \
  -H "Authorization: Bearer $UP4_API_KEY"
Try it

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key.

POST /notification_channels

scope notification_channel.write stable returns 201

curl -s -X POST https://app.upfour.io/v1/notification_channels \
  -H "Authorization: Bearer $UP4_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
Try it

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key.

GET /notification_channels/{channelID}

scope notification_channel.write stable returns 200

ParameterInTypeNotes
channelIDrequired path uuid
curl -s https://app.upfour.io/v1/notification_channels/<channelID> \
  -H "Authorization: Bearer $UP4_API_KEY"
Try it

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key.

PUT /notification_channels/{channelID}

scope notification_channel.write stable returns 200

ParameterInTypeNotes
channelIDrequired path uuid
curl -s -X PUT https://app.upfour.io/v1/notification_channels/<channelID> \
  -H "Authorization: Bearer $UP4_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
Try it

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key.

DELETE /notification_channels/{channelID}

scope notification_channel.write stable returns 204

ParameterInTypeNotes
channelIDrequired path uuid
curl -s -X DELETE https://app.upfour.io/v1/notification_channels/<channelID> \
  -H "Authorization: Bearer $UP4_API_KEY"
Try it

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key.

POST /notification_channels/{channelID}/test

scope notification_channel.write stable returns 202

ParameterInTypeNotes
channelIDrequired path uuid
curl -s -X POST https://app.upfour.io/v1/notification_channels/<channelID>/test \
  -H "Authorization: Bearer $UP4_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
Try it

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key.