Appearance
Appointments
Endpoints of the public API tagged Appointments, generated from the API's OpenAPI document. Base URL: your API origin, for example https://api.example.com. See API overview and API keys and scopes.
Appointments starting in a window (from/to, ISO), soonest first
text
GET /api/v1/rest/appointments- Operation id:
listAppointments - Scope:
bookings:read
Parameters
| Name | In | Required | Type |
|---|---|---|---|
from | query | no | string |
to | query | no | string |
calendarId | query | no | string |
status | query | no | string |
limit | query | no | integer |
Response (200): { success: true, data: { items, nextCursor } }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
calendarId | string | yes | |
calendarName | string | yes | |
contactId | string | yes | |
startsAt | string | yes | |
endsAt | string | yes | |
status | string | yes | |
timezone | string | yes | |
notes | string | yes | |
createdAt | string | yes | |
updatedAt | string | yes |
Book a free slot for a contact (confirmations, reminders and calendar sync run as for staff bookings)
text
POST /api/v1/rest/appointments- Operation id:
bookAppointment - Scope:
bookings:write
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
calendarId | string | yes | |
contactId | string | yes | |
startsAt | string | yes | |
timezone | string | no | |
notes | string | no | |
durationMinutes | integer | no |
Response (201): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
calendarId | string | yes | |
calendarName | string | yes | |
contactId | string | yes | |
startsAt | string | yes | |
endsAt | string | yes | |
status | string | yes | |
timezone | string | yes | |
notes | string | yes | |
createdAt | string | yes | |
updatedAt | string | yes |
Get an appointment
text
GET /api/v1/rest/appointments/{appointmentId}- Operation id:
getAppointment - Scope:
bookings:read
Parameters
| Name | In | Required | Type |
|---|---|---|---|
appointmentId | path | yes | string |
Response (200): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
calendarId | string | yes | |
calendarName | string | yes | |
contactId | string | yes | |
startsAt | string | yes | |
endsAt | string | yes | |
status | string | yes | |
timezone | string | yes | |
notes | string | yes | |
createdAt | string | yes | |
updatedAt | string | yes |
Cancel an appointment (the contact is told, like a staff cancel)
text
POST /api/v1/rest/appointments/{appointmentId}/cancel- Operation id:
cancelAppointment - Scope:
bookings:write
Parameters
| Name | In | Required | Type |
|---|---|---|---|
appointmentId | path | yes | string |
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
reason | string | no |
Response (200): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
calendarId | string | yes | |
calendarName | string | yes | |
contactId | string | yes | |
startsAt | string | yes | |
endsAt | string | yes | |
status | string | yes | |
timezone | string | yes | |
notes | string | yes | |
createdAt | string | yes | |
updatedAt | string | yes |
List calendars (booking types)
text
GET /api/v1/rest/calendars- Operation id:
listCalendars - Scope:
bookings:read
Response (200): { success: true, data: { items, nextCursor } }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
name | string | yes | |
slug | string | yes | |
description | string | yes | |
kind | string | yes | |
timezone | string | yes | |
durationMinutes | number | yes | |
active | boolean | yes | |
location | object | yes | |
createdAt | string | yes | |
updatedAt | string | yes |
Create a calendar (booking type) hosted by team members (default: whoever made the key or installed the app)
text
POST /api/v1/rest/calendars- Operation id:
createCalendar - Scope:
calendars:write
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | yes | |
slug | string | yes | |
durationMinutes | integer | yes | |
description | string | no | |
timezone | string | no | |
location | object | no | |
active | boolean | no | |
minNoticeMinutes | integer | no | |
maxDaysAhead | integer | no | |
bufferBeforeMinutes | integer | no | |
bufferAfterMinutes | integer | no | |
capacity | integer | no | |
hostUserIds | array | no |
Response (201): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
name | string | yes | |
slug | string | yes | |
description | string | yes | |
kind | string | yes | |
timezone | string | yes | |
durationMinutes | number | yes | |
active | boolean | yes | |
location | object | yes | |
createdAt | string | yes | |
updatedAt | string | yes |
A calendar's free slots between two dates (book one with POST /rest/appointments)
text
GET /api/v1/rest/calendars/{calendarId}/free-slots- Operation id:
listFreeSlots - Scope:
bookings:read
Parameters
| Name | In | Required | Type |
|---|---|---|---|
calendarId | path | yes | string |
from | query | yes | string |
to | query | yes | string |
timezone | query | no | string |
duration | query | no | integer |
Response (200): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
calendarTimezone | string | yes | |
timezone | string | yes | |
durationMinutes | number | yes | |
slots | array | yes |
Change a calendar's name, length, notice, buffers, location, hosts or whether it takes bookings
text
PATCH /api/v1/rest/calendars/{calendarId}- Operation id:
updateCalendar - Scope:
calendars:write
Parameters
| Name | In | Required | Type |
|---|---|---|---|
calendarId | path | yes | string |
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | no | |
slug | string | no | |
description | string | no | |
durationMinutes | integer | no | |
timezone | string | no | |
location | object | no | |
active | boolean | no | |
minNoticeMinutes | integer | no | |
maxDaysAhead | integer | no | |
bufferBeforeMinutes | integer | no | |
bufferAfterMinutes | integer | no | |
capacity | integer | no | |
hostUserIds | array | no |
Response (200): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
name | string | yes | |
slug | string | yes | |
description | string | yes | |
kind | string | yes | |
timezone | string | yes | |
durationMinutes | number | yes | |
active | boolean | yes | |
location | object | yes | |
createdAt | string | yes | |
updatedAt | string | yes |
Move an appointment to another free slot
text
POST /api/v1/rest/appointments/{appointmentId}/reschedule- Operation id:
rescheduleAppointment - Scope:
bookings:write
Parameters
| Name | In | Required | Type |
|---|---|---|---|
appointmentId | path | yes | string |
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
startsAt | string | yes | |
timezone | string | no |
Response (200): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
calendarId | string | yes | |
calendarName | string | yes | |
contactId | string | yes | |
startsAt | string | yes | |
endsAt | string | yes | |
status | string | yes | |
timezone | string | yes | |
notes | string | yes | |
createdAt | string | yes | |
updatedAt | string | yes |
Mark an appointment completed (it showed up)
text
POST /api/v1/rest/appointments/{appointmentId}/complete- Operation id:
completeAppointment - Scope:
bookings:write
Parameters
| Name | In | Required | Type |
|---|---|---|---|
appointmentId | path | yes | string |
Response (200): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
calendarId | string | yes | |
calendarName | string | yes | |
contactId | string | yes | |
startsAt | string | yes | |
endsAt | string | yes | |
status | string | yes | |
timezone | string | yes | |
notes | string | yes | |
createdAt | string | yes | |
updatedAt | string | yes |
Mark an appointment as a no-show
text
POST /api/v1/rest/appointments/{appointmentId}/no-show- Operation id:
markAppointmentNoShow - Scope:
bookings:write
Parameters
| Name | In | Required | Type |
|---|---|---|---|
appointmentId | path | yes | string |
Response (200): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
calendarId | string | yes | |
calendarName | string | yes | |
contactId | string | yes | |
startsAt | string | yes | |
endsAt | string | yes | |
status | string | yes | |
timezone | string | yes | |
notes | string | yes | |
createdAt | string | yes | |
updatedAt | string | yes |