Core API Documentation
Staff Availability
The hours staff members are scheduled to work and the times they have blocked off, expanded into individual time windows across all of the business's locations. To find bookable start times for a specific appointment service, use Appointment Availability Slots instead.
Desk Only
GET /api/v2/desk/available_times
Returns the open time remaining in each staff member's scheduled availability: their working hours minus their booked event occurrences, their blocked-off times, and location blackouts. Only staff members who are active and not hidden are included. Requires permission to view staff availability.
REQUEST
$ curl "https://mybiz.pike13.com/api/v2/desk/available_times?from=2026-10-14T00:00:00Z&to=2026-10-21T00:00:00Z" \
-H "Authorization: Bearer XXXXXXXXXXXXXXX"
RESPONSE
{
"available_times": [
{
"id": "14:1791993600",
"name": "Jane Smith (Open)",
"start_at": "2026-10-14T16:00:00Z",
"end_at": "2026-10-14T19:00:00Z",
"availability_id": 14,
"location_id": 1,
"staff_member_id": 2,
"services": [
{
"id": 5,
"name": "Private Lesson"
}
]
},
{
"id": "14:1792008000",
"name": "Jane Smith (Open)",
"start_at": "2026-10-14T20:00:00Z",
"end_at": "2026-10-15T00:00:00Z",
"availability_id": 14,
"location_id": 1,
"staff_member_id": 2,
"services": [
{
"id": 5,
"name": "Private Lesson"
}
]
}
]
}
Parameters
| from | timestamp | Start of the time range. Defaults to the start of today in the business's time zone. |
|---|---|---|
| to | timestamp | End of the time range. Must be after from and less than 45 days later. Defaults to the end of the day of from. |
Attributes
| id | string | An identifier for the time window, unique within the response. |
|---|---|---|
| name | string | The staff member's name followed by "(Open)". |
| start_at | timestamp | When the open time window starts. |
| end_at | timestamp | When the open time window ends. |
| availability_id | integer | The id of the availability schedule the window comes from. |
| staff_member_id | integer | The id of the staff member. |
| location_id | integer | The id of the location. |
| services | array | The services ( |
GET /api/v2/desk/unavailable_times
Returns the times staff members have blocked off, such as time off or appointments outside the business. Requires permission to view staff unavailability.
REQUEST
$ curl "https://mybiz.pike13.com/api/v2/desk/unavailable_times?from=2026-10-14T00:00:00Z&to=2026-10-21T00:00:00Z" \
-H "Authorization: Bearer XXXXXXXXXXXXXXX"
RESPONSE
{
"unavailable_times": [
{
"id": "21:1792004400",
"start_at": "2026-10-14T19:00:00Z",
"end_at": "2026-10-14T20:00:00Z",
"availability_id": 21,
"staff_member_id": 2,
"location_id": 1,
"note": "Dentist appointment"
}
]
}
Parameters
| from | timestamp | Start of the time range. Defaults to the start of today in the business's time zone. |
|---|---|---|
| to | timestamp | End of the time range. Must be after from and less than 45 days later. Defaults to the end of the day of from. |
Attributes
| id | string | An identifier for the time window, unique within the response. |
|---|---|---|
| start_at | timestamp | When the blocked-off time starts. |
| end_at | timestamp | When the blocked-off time ends. |
| availability_id | integer | The id of the blocked-off schedule the window comes from. |
| staff_member_id | integer | The id of the staff member. |
| location_id | integer | The id of the location. |
| note | string | The note entered for the blocked-off time, or null. |