Pike13 For Developers
Get Started
Authentication
Core API
Reporting API
Webhooks API
Announcements

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.

Show curl example

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

fromtimestampStart of the time range. Defaults to the start of today in the business's time zone.
totimestampEnd of the time range. Must be after from and less than 45 days later. Defaults to the end of the day of from.

Attributes

idstringAn identifier for the time window, unique within the response.
namestringThe staff member's name followed by "(Open)".
start_attimestampWhen the open time window starts.
end_attimestampWhen the open time window ends.
availability_idintegerThe id of the availability schedule the window comes from.
staff_member_idintegerThe id of the staff member.
location_idintegerThe id of the location.
servicesarrayThe services (id and name) the staff member can be booked for during this window.
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.

Show curl example

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

fromtimestampStart of the time range. Defaults to the start of today in the business's time zone.
totimestampEnd of the time range. Must be after from and less than 45 days later. Defaults to the end of the day of from.

Attributes

idstringAn identifier for the time window, unique within the response.
start_attimestampWhen the blocked-off time starts.
end_attimestampWhen the blocked-off time ends.
availability_idintegerThe id of the blocked-off schedule the window comes from.
staff_member_idintegerThe id of the staff member.
location_idintegerThe id of the location.
notestringThe note entered for the blocked-off time, or null.