Skip to content
gist.link ↗

event

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

The event query on the Calendar API.

calendar:query:event

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 {
event(id: ID!): Event!
}
Argument Type Required Description
id ID! Yes —

Event! — 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 Event($id: ID!) { event(id: $id) { id title status } }",
"variables": {
"id": "01a01234-abcd-7000-9000-0123456789ab"
}
}
JSON