---
title: "List organization attendance schedules"
method: GET
path: "/v2/organizations/{organization_id}/attendance_schedules"
tags: ["attendance_schedules"]
---

# List organization attendance schedules

`GET /v2/organizations/{organization_id}/attendance_schedules`

## Request

- Base URL: `https://api.hubstaff.com`
- URL: `https://api.hubstaff.com/v2/organizations/{organization_id}/attendance_schedules`
- Auth: OAuth 2
  - Authorization code: `https://account.hubstaff.com/authorizations/new`
  - Token URL: `https://account.hubstaff.com/access_tokens` scopes: `hubstaff:read`, `hubstaff:write`
- TypeScript: <https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/docs/v2/organizations/:organization_id/attendance_schedules/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a collection of attendance schedules (expected work shifts) for the given organization.

Use date[start] and date[stop] to filter schedules that cover the specified date range. Repeating schedules are included if any occurrence falls within the range.

## Path parameters

- `organization_id` integer, required

## Query parameters

- `page_start_id` integer
- `page_limit` integer
- `date[start]` string, date, required
- `date[stop]` string, date, required
- `include` string[]

## Response `200`

A list of attendance schedules

- object
  - `attendance_schedules` AttendanceSchedule[]
    - `id` integer, required: Attendance schedule ID
    - `user_id` integer, required: User ID
    - `organization_id` integer, required: Organization ID
    - `created_at` string, date-time, required: When the record was created
    - `updated_at` string, date-time, required: When the record was last updated
    - `start_date` string, date, required: Shift start date
    - `use_time_zone` string, required: What time zone to use
    - `start_time` string, date-time, required: Shift start time (only hh:mm:ss
    - `duration` integer, required: Shift duration
    - `minimum_time` integer, required: Minimum shift time
    - `repeat_schedule` string, required: Shift repetition schedule
    - `repeat_until` string, date: Shift end date
    - `weekdays` string[]: Shift repetition week days
    - `excluded_dates` string[]: Excluded dates from the repetition schedule

## Other responses

- `400`: Invalid parameters
- `401`: Unauthorized
- `403`: API access is only for organizations on an active plan
- `404`: Could not find record
- `429`: Rate limit exceeded

## Changes

- **2026-11-06** `c6b90e4e4bdc`: 1 info
  - added the new optional `query` request parameter `include`

[Operation history](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/changes/v2/organizations/:organization_id/attendance_schedules/get.md)

---

[API](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api.md) - [All operations](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/revisions/c6b90e4e4bdc?raw)
