Skip to content
gist.link ↗

calendars

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

The calendars query on the Calendar API.

calendar:query:calendars

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 {
calendars: [Calendar!]!
}

This query takes no arguments.

[Calendar!]! — 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 Calendars { calendars { id name color timezone isDefault conflictCheck myRole ownerId } }",
"variables": {}
}
JSON