Skip to content
gist.link ↗

rsvp

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

The rsvp mutation on the Calendar API.

calendar:mutation:rsvp

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

type Mutation {
rsvp(token: String!, response: ResponseStatus!): RsvpResult!
}
Argument Type Required Description
token String! Yes —
response ResponseStatus! Yes —

RsvpResult! — 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": "mutation Rsvp($token: String!, $response: ResponseStatus!) { rsvp(token: $token, response: $response) { ok responseStatus eventTitle start end } }",
"variables": {
"token": "example",
"response": "NEEDS_ACTION"
}
}
JSON