List calendars
const url = 'https://digize.com/api/v1/calendars';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/calendars \ --header 'x-api-key: <x-api-key>'Every calendar customers can book (a class, a tasting, a consultation), with its team, rules, price and deposit.
Needs the crm:read permission.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Done
object
object
Its booking page’s address after the workspace’s.
In minutes.
Per person, in minor units.
Per person, taken through Stripe when a customer books.
The most people one booking can bring.
Kept free after each appointment.
How soon before it starts a time can be booked.
How far ahead customers can book.
object
The team member’s user id.
Each booking goes to whoever’s free and least booked.
Whether its booking page takes bookings.
Example
{ "rows": [ { "color": "violet" } ]}What was sent isn’t valid (invalid).
object
object
object
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
object
object
object
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
object
object
object
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}