On-call

Create a escalation policy

POST/v1/on-call/configurations/{configurationId}/escalation-policiesrequires on_call:write

Each step pages a responder or whoever a schedule has on call, delaySeconds after the incident opens, until someone acknowledges. Delete is refused while heartbeats point at the policy, and for a policy that has paged incidents, which is kept for their history. Every change bumps the configuration revision, turns paging off until the next drill and activation, and cancels pending escalation, exactly as a dashboard edit does. Only live keys may write; test keys are refused because configuration is shared by live and test incidents.

Requestcurl -X POST https://api.transmit.dev/v1/on-call/configurations/{configurationId}/escalation-policies \
  -H "Authorization: Bearer tr_v2_…" \
  -H "Content-Type: application/json" \
  -d '{
       "name": "…",
       "steps": [
         {}
       ]
     }'

Parameters

NameInNotes
configurationId requiredpathThe on-call configuration id.

Body

FieldTypeNotes
name requiredstring1–120 characters
ownerTeamIdstring or nulldefaults to null
steps requiredobject[]at most 100

Responses

StatusMeaning
201escalation policy
401The API key is missing, malformed, expired or revoked
403The API key lacks the on_call:write scope
404Configuration or resource not found in this workspace
409The change conflicts with existing definitions, or the resource is still referenced
415Use application/json
422Invalid definition; details.issues names the fields

Every response body is described in the OpenAPI spec, which this page is generated from.