The on-call scheduling API lets you programmatically assign team members to coverage windows and query those assignments. Use it to automate schedule generation, integrate with HR systems, or build custom dashboards that surface who is on call at any given moment. All requests require a Bearer token in theDocumentation Index
Fetch the complete documentation index at: https://docs.scrubbe.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header.
Assign a member
The
date field follows ISO 8601 format (YYYY-MM-DD). Times are in 24-hour format (HH:MM) and are interpreted in UTC unless your account has a default timezone configured.POST https://your-api-domain.com/api/v1/assign-member
Assigns a single team member to an on-call shift on the given date between startTime and endTime.
Request body
The unique identifier of the team member to assign.
The calendar date for the shift in
YYYY-MM-DD format.Shift start time in 24-hour
HH:MM format.Shift end time in 24-hour
HH:MM format. Must be after startTime.Response fields
Unique identifier for the newly created assignment.
The user ID that was assigned.
The scheduled date in
YYYY-MM-DD format.The shift start time.
The shift end time.
ISO 8601 timestamp of when the assignment was created.
List all assignments
GET https://your-api-domain.com/api/v1/get-all-assign
Returns a list of every on-call assignment in the system, ordered by date descending.
Response fields
Array of assignment objects.
Get a single assignment
GET https://your-api-domain.com/api/v1/get-assign/:id
Returns the details of a single on-call assignment by its ID.
Path parameters
The unique identifier of the assignment to retrieve.
Response fields
Unique identifier for the assignment.
The assigned team member’s user ID.
Scheduled date in
YYYY-MM-DD format.Shift start time.
Shift end time.
ISO 8601 timestamp of when the assignment was created.