Schedule blocks API
developers-api-schedule-blocksOn this page
2 endpoints for schedule blocks: list schedule blocks; get one schedule block.
List schedule blocks
GET /api/v1/schedule-blocks
Technicians' non-job time on the schedule. type is time_block (leave, lunch, admin; leave imported from V1 is a time block titled Leave) or task (a to-do assigned to the technician). Removed (archived) blocks are left out. Newest first in offset mode (meta.total); updated_since and cursor give sync mode. Unknown query parameters are ignored.
Scope: read:schedule_blocks
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
technician_id | undefined | object | ||
If-None-Match | header | string | The ETag of a copy you already have. When the response would be unchanged you get 304 Not Modified with no body. Tags are per business. | |
type | query | time_block, task | Only blocks of this type. | |
from | query | string (date-time) | Only blocks that end after this instant. With to, the blocks that overlap the window [from, to), half-open like the calendar. An ISO 8601 date-time with a UTC offset. | |
to | query | string (date-time) | Only blocks that start before this instant. Must be after from when both are sent. An ISO 8601 date-time with a UTC offset. | |
per_page | query | integer | Page size. Out-of-range values are clamped to 1..100. | |
page | query | integer | Page number, newest first. Offset mode only; ignored in sync mode. | |
updated_since | query | string | Switches to sync mode: rows changed at or after this date or timestamp (a bare date is midnight UTC), oldest change first. Rows are listed once they have settled (5 seconds). | |
cursor | query | string | The meta.next_cursor of a previous response; continues strictly after the last row received. Switches to sync mode. A value this API did not issue is validation_failed. |
Response: 200 OK
{
"data": [
{
"id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"technician_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"type": "time_block",
"title": "Annual leave",
"start_at": "2026-11-03T01:00:00+00:00",
"end_at": "2026-11-03T01:00:00+00:00",
"is_completed": false,
"notes": "Side gate is unlocked.",
"created_at": "2026-11-03T01:00:00+00:00",
"updated_at": "2026-11-03T01:00:00+00:00"
}
],
"meta": {
"page": 1,
"per_page": 25,
"total": 1
}
}
Errors: 304, 401, 403, 422, 429, 500, 503. See Errors.
Get one schedule block
GET /api/v1/schedule-blocks/{id}
One time block or task. A removed (archived) block is a 404, like every archived record.
Scope: read:schedule_blocks
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | The record id (a ULID). |
If-None-Match | header | string | The ETag of a copy you already have. When the response would be unchanged you get 304 Not Modified with no body. Tags are per business. |
Response: 200 OK
{
"data": {
"id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"technician_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"type": "time_block",
"title": "Annual leave",
"start_at": "2026-11-03T01:00:00+00:00",
"end_at": "2026-11-03T01:00:00+00:00",
"is_completed": false,
"notes": "Side gate is unlocked.",
"created_at": "2026-11-03T01:00:00+00:00",
"updated_at": "2026-11-03T01:00:00+00:00"
}
}
Errors: 304, 401, 403, 404, 429, 500, 503. See Errors.
In this section
- Change a job's status
- Create a job and book a visit from your own system
- Push leads from your website into Skeduler
- Read a job's notes
- Read technicians' leave and time blocks
- Record a payment on an invoice
- API reference
- Authentication API
- Contacts API
- Credit Notes API
- Customers API
- Estimates API
- Invoices API
- Jobs API
- Payments API
- Technicians API
- Visits API
- Webhooks API
- Customers or contacts, which endpoint do I use?