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.