Gmail OAuth callback

GET/api/v1/gmail/oauth/callback

Handle the Google OAuth redirect. Called by Google, not the frontend.

Operation ID: gmail_oauth_callback_api_v1_gmail_oauth_callback_get·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

codestring

Authorization code from Google

statestring

OAuth state nonce

errorstring

Set by Google when the user denies consent

Responses

200Successful Response

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject