Staff Endpoint
Staff API access is read-only
Note: API Access is limited to Enterprise accounts and available upon request
Overview
The Staff API allows Enterprise accounts to retrieve a list of active staff offered at their business location, including service details like name, contact information, and general staff work hours.
Authentication
You must include a valid Authorization header using your SimpleSpa API Key:
Replace YOUR_API_KEY with your SimpleSpa Enterprise API Key.
Appointments API
Endpoint
Authentication
You must include a valid Authorization header using your SimpleSpa API Key:
Header Name
Header Value
Authorization
Bearer YOUR_API_KEY
Content-Type
application/json
Replace YOUR_API_KEY with your SimpleSpa Enterprise API Key.
Request Body
The API expects a JSON body with optional parameters to control pagination and filtering.
Example Request Body
Field
Type
Required
Description
page
integer
No
Page number to retrieve (default = 1)
per_page
integer
No
Number of results per page (maximum 1000)
Example CURL Request
Response Format
The API responds with a JSON object containing the list of staff members and pagination information.
Example Response
Response Fields
Field
Description
success
Always true if the request was successful
staff
List of staff records
staff_id
Unique ID of the staff member
first_name
Staff member’s first name
last_name
Staff member’s last name
Staff member’s email address
phone
Staff member’s phone number
gender
Gender of the staff member (if provided)
color_code
Assigned color code for calendar views
labels
Skills or categories associated with the staff
label_ids
IDs of the labels (category)
working_hours
Weekly working hours array (day: 0 = Monday, 6 = Sunday)
staff_image_url
Public URL of the staff member’s avatar image (if uploaded)
deleted
If true, this staff is currently inactive/deleted
page
Current page number
per_page
Number of results per page
total_results
Total number of staff available
Notes
Working Hours:
Only the first time range per day is returned. Days without hours are skipped.
Pagination:
Default per_page is 100 if not specified. Maximum allowed is 1000.
Filtering Inactive Staff:
Only staff with active = 1 are returned (deleted staff are flagged with "deleted": true).
Rate Limiting:
It is recommended to query no faster than once per minute
Last updated