Skip to content
gist.link ↗

bookingPage

Query Calendar API — POST https://calendar.api.gist.link/graphql

The bookingPage query on the Calendar API.

calendar:query:bookingPage

The calling IAM key must hold this permission (or a wildcard that covers it: calendar:query:* or calendar:*) and the access token must have been minted with audience=calendar. See Permissions.

type Query {
bookingPage(id: ID!): BookingPage!
}
Argument Type Required Description
id ID! Yes —

BookingPage! — see the Calendar types reference.

Terminal window
curl https://calendar.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query BookingPage($id: ID!) { bookingPage(id: $id) { id calendarId slug title description durationMinutes bufferBeforeMinutes bufferAfterMinutes } }",
"variables": {
"id": "01a01234-abcd-7000-9000-0123456789ab"
}
}
JSON