For the complete documentation index, see llms.txt.

POST /v1/calendars/google/link

Link Google Calendar from sign-in tokens (unified auth)

Store a Google calendar connection from tokens already obtained by the app's sign-in grant (unified auth: one Google consent covers identity and calendar). The connection and the selected primary calendar are set to the token's own account, replacing any stale selection — which is what makes a wrong-account attach impossible. JWT user session only (an API key can't represent a user's Google grant). Stores for the authenticated user.

Auth required: Yes

Request Body

Responses

Authentication

Requires authentication. Pass a Bearer token (Supabase JWT) or an API key (`Authorization: Bearer vennio_sk_live_*`) in the request headers.

Base URL: https://api.vennio.app