Gmail OAuth callback
GET
/api/v1/gmail/oauth/callbackHandle the Google OAuth redirect. Called by Google, not the frontend.
Authentication
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Parameters
Query
codestringAuthorization code from Google
statestringOAuth state nonce
errorstringSet by Google when the user denies consent
Responses
422Validation Error
Schema: HTTPValidationError
detailarray · ValidationErrorValidationError5 fields
locarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject