API reference · Organization

Client templates

Materialize monitors, pages and alert plans for a new client in one step.

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 /client-templates

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/client-templates \
  -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 /client-templates

stable returns 201

curl -s -X POST https://app.upfour.io/v1/client-templates \
  -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 /client-templates/{templateID}

stable returns 200

ParameterInTypeNotes
templateIDrequired path uuid
curl -s https://app.upfour.io/v1/client-templates/<templateID> \
  -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 /client-templates/{templateID}

stable returns 200

ParameterInTypeNotes
templateIDrequired path uuid
curl -s -X PUT https://app.upfour.io/v1/client-templates/<templateID> \
  -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 /client-templates/{templateID}

stable returns 204

ParameterInTypeNotes
templateIDrequired path uuid
curl -s -X DELETE https://app.upfour.io/v1/client-templates/<templateID> \
  -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.