List appointments
GET
/api/v1/appointments
const url = 'https://digize.com/api/v1/appointments';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://digize.com/api/v1/appointments \ --header 'x-api-key: <x-api-key>'Appointments from since (12 weeks ago by default) on, the earliest first, up to 1,000, and how many there are.
Needs the crm:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”since
string format: date-time
until
string format: date-time
calendarId
string
Responses
Section titled “Responses”Done
Media typeapplication/json
object
rows
required
Array<object>
object
id
required
string
calendarId
required
string
service
required
The calendar’s name when it was booked.
string
customer
required
object
id
required
The contact’s id.
string
name
required
string
email
required
string
phone
required
string
staff
required
object
id
required
The team member’s user id.
string
name
required
string
partySize
required
number
startsAt
required
string format: date-time
endsAt
required
string format: date-time
status
required
string
total
required
The price for the whole party.
integer
deposit
required
The deposit for the whole party.
integer
depositRefunded
required
boolean
paymentId
required
The Stripe PaymentIntent that took the deposit.
string | null
notes
required
string | null
bookedVia
required
string
bookedAt
required
string format: date-time
total
required
number
Example
{ "rows": [ { "status": "confirmed", "bookedVia": "site" } ]}What was sent isn’t valid (invalid).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}