Endpoint
Authentication
All requests require your API key in thex-api-key header.
Query Parameters
number
default:"50"
The maximum number of appointment records to return per page. Accepted values are between
1 and 100.string
An opaque pagination cursor returned in the previous response’s
pagination.next_cursor field. Pass this value to retrieve the next page of results. Omit to start from the beginning.string
default:"asc"
The sort order for results, based on
created_date. Accepted values are asc (oldest first) or desc (newest first).string
Return only appointments created on or after this date and time. Must be an ISO-8601 formatted string (e.g.,
2030-01-01T00:00:00Z).string
Return only appointments created on or before this date and time. Must be an ISO-8601 formatted string (e.g.,
2030-12-31T23:59:59Z).string
Filter appointments by the associated user. Accepts a prefix-qualified identifier in one of three formats:
id:{uuid}— Shilo user UUIDexternal_user_id:{value}— your external user ID{uuid}— bare Shilo user UUID (shorthand)
string
Filter appointments by the associated contact. Accepts a prefix-qualified identifier in one of three formats:
id:{uuid}— Shilo contact UUIDexternal_contact_id:{value}— your external contact ID{uuid}— bare Shilo contact UUID (shorthand)
Response
A successful request returns HTTP200 with an AppointmentsResponseDto object.
Appointment[]
An array of Appointment objects matching the query filters.
object
required
Metadata for paginating through additional results.