Visits API
developers-api-visitsOn this page
5 endpoints for visits: list visits; schedule a visit on a job; get a visit; reschedule, reassign or re-dispatch a visit; cancel (archive) a visit.
List visits
GET /api/v1/visits
Offset mode by default (newest first, meta.total). Pass updated_since or cursor for sync mode (oldest change first, keyset paging, no total). See the pagination guide. Archived records are left out. Unknown query parameters are ignored.
Scope: read:visits
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
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. | |
job_id | query | string | Only visits of this job. | |
status | query | scheduled, completed, failed | Only visits with this status. | |
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",
"job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"technician_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"start_at": "2026-11-03T01:00:00+00:00",
"end_at": "2026-11-03T01:00:00+00:00",
"status": "scheduled",
"dispatched_at": "2026-11-03T01:00:00+00:00",
"archived_at": "2026-11-03T01:00:00+00:00",
"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.
Schedule a visit on a job
POST /api/v1/visits
Schedules a scheduled visit on one of the business's jobs, with the same checks as scheduling in the app. The technician must be a current member of the business and must not have blocked time (such as leave) in that window. Another business's (or an archived) job is not_found. Times are instants and need a UTC offset; they are stored as UTC, and the app shows them in the business's timezone.
Scope: write:visits
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | Optional. Repeat a write with the same key and body to get the first answer back (with Idempotent-Replayed: true) instead of doing it twice. Keys are per app. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
job_id | string | yes | A job of this business (a ULID). |
technician_id | string, nullable | A current team member of this business. Omit to leave the visit unassigned. | |
start_at | string (date-time) | yes | ISO 8601 with a UTC offset or Z, e.g. 2026-12-01T09:00:00+11:00. A time without one is refused. |
end_at | string (date-time) | yes | Same format as start_at, and after it. |
dispatch | boolean | True sends it to the technician's list now (sets dispatched_at). It never changes status. | |
notes | string, nullable |
{
"job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"technician_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"start_at": "2026-11-03T01:00:00+00:00",
"end_at": "2026-11-03T01:00:00+00:00",
"dispatch": true,
"notes": "Side gate is unlocked."
}
Response: 201 Created.
{
"data": {
"id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"technician_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"start_at": "2026-11-03T01:00:00+00:00",
"end_at": "2026-11-03T01:00:00+00:00",
"status": "scheduled",
"dispatched_at": "2026-11-03T01:00:00+00:00",
"archived_at": "2026-11-03T01:00:00+00:00",
"notes": "Side gate is unlocked.",
"created_at": "2026-11-03T01:00:00+00:00",
"updated_at": "2026-11-03T01:00:00+00:00"
}
}
Errors: 401, 403, 404, 409, 422, 429, 500, 503. See Errors.
Get a visit
GET /api/v1/visits/{id}
Scope: read:visits
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",
"job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"technician_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"start_at": "2026-11-03T01:00:00+00:00",
"end_at": "2026-11-03T01:00:00+00:00",
"status": "scheduled",
"dispatched_at": "2026-11-03T01:00:00+00:00",
"archived_at": "2026-11-03T01:00:00+00:00",
"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.
Reschedule, reassign or re-dispatch a visit
PATCH /api/v1/visits/{id}
Changes only the fields sent. A new technician must be a current team member (the one the visit has stays even if removed since), and a new slot must not sit in the technician's blocked time (such as leave), as in the app. Times need a UTC offset. Never the status, which is the visit's outcome, recorded in the app. An archived visit is not_found. An empty body is refused. Fires visit.updated when something moved.
Scope: write:visits
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | The record id (a ULID). |
Idempotency-Key | header | string | Optional. Repeat a write with the same key and body to get the first answer back (with Idempotent-Replayed: true) instead of doing it twice. Keys are per app. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
technician_id | string, nullable | The technician to assign, a current team member of this business. Leave it out to keep the current one; send null to unassign the visit. | |
start_at | string (date-time) | ISO 8601 with a UTC offset or Z, e.g. 2026-12-01T09:00:00+11:00. A time without one is refused. | |
end_at | string (date-time) | Same format as start_at, and after it. | |
dispatch | boolean | True puts it on the technician's list now; false takes it off. Leave it out to keep it as it is. It never changes status. | |
notes | string, nullable |
{
"technician_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"start_at": "2026-11-03T01:00:00+00:00",
"end_at": "2026-11-03T01:00:00+00:00",
"dispatch": true,
"notes": "Side gate is unlocked."
}
Response: 200 OK
{
"data": {
"id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"technician_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"start_at": "2026-11-03T01:00:00+00:00",
"end_at": "2026-11-03T01:00:00+00:00",
"status": "scheduled",
"dispatched_at": "2026-11-03T01:00:00+00:00",
"archived_at": "2026-11-03T01:00:00+00:00",
"notes": "Side gate is unlocked.",
"created_at": "2026-11-03T01:00:00+00:00",
"updated_at": "2026-11-03T01:00:00+00:00"
}
}
Errors: 401, 403, 404, 409, 422, 429, 500, 503. See Errors.
Cancel (archive) a visit
POST /api/v1/visits/{id}/cancel
Cancels a visit the way the app does, by archiving it. It leaves every schedule and the technician's list. A visit that already has an outcome (completed or failed) can't be cancelled (validation_failed). An optional reason is kept on the visit's audit entry. An archived (already cancelled) visit is not_found. Fires visit.cancelled.
Scope: write:visits
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | The record id (a ULID). |
Idempotency-Key | header | string | Optional. Repeat a write with the same key and body to get the first answer back (with Idempotent-Replayed: true) instead of doing it twice. Keys are per app. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
reason | string, nullable | Why the visit was cancelled; kept on its audit entry. |
{
"reason": "Customer rescheduled"
}
Response: 200 OK, the visit as cancelled.
{
"data": {
"id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"technician_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"start_at": "2026-11-03T01:00:00+00:00",
"end_at": "2026-11-03T01:00:00+00:00",
"status": "scheduled",
"dispatched_at": "2026-11-03T01:00:00+00:00",
"archived_at": "2026-11-03T01:00:00+00:00",
"notes": "Side gate is unlocked.",
"created_at": "2026-11-03T01:00:00+00:00",
"updated_at": "2026-11-03T01:00:00+00:00"
}
}
Errors: 401, 403, 404, 409, 422, 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
- Schedule blocks API
- Technicians API
- Webhooks API
- Customers or contacts, which endpoint do I use?