On-call

Create a schedule

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

rotations replaces every rotation. A rotation keeps its id across updates while its name is unchanged, so overrides that cover it survive; an update that would drop a rotation an override still covers is refused. Overrides are managed separately and are untouched by schedule writes. Delete is refused while an escalation policy pages the schedule. 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}/schedules \
  -H "Authorization: Bearer tr_v2_…" \
  -H "Content-Type: application/json" \
  -d '{
       "name": "…",
       "timezone": "…",
       "rotations": [
         {}
       ]
     }'

Parameters

NameInNotes
configurationId requiredpathThe on-call configuration id.

Body

FieldTypeNotes
name requiredstring1–120 characters
timezone requiredstring1–100 characters
enabledbooleandefaults to true
ownerTeamIdstring or nulldefaults to null
rotations requiredobject[]at most 100

Responses

StatusMeaning
201schedule
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.