Docs
Get Department Schedule Roll Up
GET /Organizations/{organizationId}/departments/{departmentId}/schedule
GET
/Organizations/{organizationId}/departments/{departmentId}/scheduleRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
Returns activities across all non-archived events in the organization that include at least one crew member belonging to the specified department. User names are hydrated from the Organization API. Use this for department-scoped calendar and schedule views.
Requires OrganizationBasicAccess permission.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| organizationId | Guid | Required | The organization to roll up the schedule for. |
| departmentId | Guid | Required | The department to filter activities by. |
Response
Returns an array of activities filtered to the specified department across all events.
| Field | Type | Description |
|---|---|---|
| id | Guid | Unique activity ID. |
| eventId | Guid | The event this activity belongs to. |
| type | string | Activity type (`Activity` or `TimeFrame`). |
| name | string | Activity name. |
| startDateTime | DateTime | Activity start. |
| endDateTime | DateTime | Activity end. |
| isAllDay | bool | Whether this is an all-day activity. |
| recurrenceRules | RecurrenceRule | Recurrence configuration, if the activity repeats. |
| crew | Participant[] | Crew members participating in this activity. |
RecurrenceRule
| Field | Type | Description |
|---|---|---|
| frequency | string | Recurrence frequency (e.g. `Daily`, `Weekly`). |
| interval | int | How often the frequency repeats. |
| daysOfWeek | string[] | Days the recurrence applies to. |
| endDate | DateTime | When the recurrence ends. |
Participant
| Field | Type | Description |
|---|---|---|
| id | Guid | Crew member ID. |
| name | string | Display name. |
| connectedUserId | Guid| null | Linked organization user ID, if connected. |