gcal-addon

Mint Auth Code

Mint a one-time authorization code for the Apps Script callback.

Called by the /app/connect/addon page after the logged-in user clicks Approve. The page then redirects to redirect_uri?code=...&state=... (state round-trips client-side; the Apps Script OAuth2 library validates it).

post/api/addon/oauth/code

Headers

authorizationstring nullable

Request body

redirect_uristring required

Response

Successful Response

{"stackTrail":"paths:/api/addon/oauth/code:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 2 revisions of this API.