Scheduling
Public API
Get Shift
Changed onRetrieves a single shift by its UUID. Returns the full shift object including recurrence settings, assigned employee IDs, and status. Returns 404 if the shift does not exist or has been deleted.
OAuth Scopes: scheduling:shifts, time_tracking
get/api/v1/scheduling/shifts/{id}
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesscheduling:shifts
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopestime_tracking
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
The shift uuid
Response
Successfully fetched a shift
Example response
{
"id": "019aa09f-0712-74cb-9186-8ad0eb6038dc_20240101T093000",
"scheduleId": "0199de9b-6bcb-77e7-941d-3caf74b9a372",
"name": "Morning Shift",
"color": "00FFAA",
"capacity": 1,
"claimsRequireApproval": true,
"start": "2025-01-01T06:00:00Z",
"end": "2025-01-01T14:00:00Z",
"timezone": "America/Denver",
"recurrenceRule": "FREQ=WEEKLY;INTERVAL=1",
"recurrenceId": "20240101T090000",
"recurrenceDtstart": "2024-01-01T09:00:00Z",
"recurrenceDtend": "2024-12-31T23:59:59Z",
"recurrenceUntil": "2024-12-31T23:59:59Z",
"employeeIds": [
10,
20
],
"createdAt": "2025-01-01T06:00:00Z",
"updatedAt": "2025-01-01T06:00:00Z",
"deletedAt": "2025-01-01T06:00:00Z"
}Changes
- info
the security scope
scheduling:shiftswas added to the endpoint's security schemeoauth - info
the security scope
time_trackingwas removed from the endpoint's security schemeoauth - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info