On-call
Create an on-call configuration
POST/v1/on-call/configurationsrequires on_call:write
Creates an empty configuration with paging off. Add responders, schedules and escalation policies, then run a drill and activate paging in the dashboard. Only live keys may create configurations.
Requestcurl -X POST https://api.transmit.dev/v1/on-call/configurations \
-H "Authorization: Bearer tr_v2_…" \
-H "Content-Type: application/json" \
-d '{
"name": "…"
}'Body
| Field | Type | Notes |
|---|---|---|
name required | string | 1–120 characters |
Responses
| Status | Meaning |
|---|---|
201 | Configuration |
401 | The API key is missing, malformed, expired or revoked |
403 | The API key lacks the on_call:write scope |
404 | Configuration or resource not found in this workspace |
409 | The change conflicts with existing definitions, or the resource is still referenced |
415 | Use application/json |
422 | Invalid definition; details.issues names the fields |
Every response body is described in the OpenAPI spec, which this page is generated from.