API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · on_call_schedules

On-Call Schedule Schema

Schema ID
on_call_schedule
Collection
on_call_schedules
Permissions
  • Readescalation_schedule_view
  • Createescalation_schedule_manage
  • Editescalation_schedule_manage
  • Deleteescalation_schedule_manage

Fields

On-Call Schedule Schema

on_call_schedules4 permissions

Schema for validating on-call schedule entities with rotation layers

namestringrequired

Schedule name

1–200 characters
descriptionstringoptional

Schedule description

nullable
teamIduuidoptional

Linked team UUID

nullable
escalationPolicyIduuidoptional

Linked escalation policy UUID

nullable
rotationobjectrequired

Rotation configuration

typestringrequired

Rotation frequency

WEEKLYBIWEEKLYMONTHLYCUSTOM
startDatedaterequired

Rotation start date (ISO 8601 date)

handoffTimestringrequired

Time of day for handoff (HH:mm)

Pattern
handoffDayintegeroptional

Day of week for handoff (0=Sun, 6=Sat)

0 – 6nullable
layersobject[]required

On-call layers with escalation levels

_idstringoptional

UUIDv7 layer ID

read-only
namestringrequired

Layer name

levelintegerrequired

Escalation level (1 = primary)

≥ 1
participantsobject[]required

Participants in rotation order

userIduuidrequired

Participant user UUID

sortOrderintegerrequired

Rotation order within the layer

businessHoursProfileIduuidoptional

Business hours profile UUID for coverage windows

nullable
inboundPhoneNumberstringoptional

Inbound phone number in E.164 format

nullable
afterHoursRouteTypestringoptional

Routing behaviour outside business hours

ON_CALLVOICEMAILIVR
nullable
isActivebooleanrequired

Whether this schedule is active

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/on_call_schedules — List, paginated + filterable
  • GET /api/v1/on_call_schedules/<id> — Single entity
  • POST /api/v1/on_call_schedules — Create
  • PATCH /api/v1/on_call_schedules/<id> — Partial update
  • DELETE /api/v1/on_call_schedules/<id> — Soft delete
  • GET /api/v1/on_call_schedules/<id>/timeline — Audit + activities

Search