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
string
required
The unique identifier of the team member to assign.
string
required
The calendar date for the shift in
YYYY-MM-DD format.string
required
Shift start time in 24-hour
HH:MM format.string
required
Shift end time in 24-hour
HH:MM format. Must be after startTime.Response fields
string
required
Unique identifier for the newly created assignment.
string
required
The user ID that was assigned.
string
required
The scheduled date in
YYYY-MM-DD format.string
required
The shift start time.
string
required
The shift end time.
string
required
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
object[]
required
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
string
required
The unique identifier of the assignment to retrieve.
Response fields
string
required
Unique identifier for the assignment.
string
required
The assigned team member’s user ID.
string
required
Scheduled date in
YYYY-MM-DD format.string
required
Shift start time.
string
required
Shift end time.
string
required
ISO 8601 timestamp of when the assignment was created.