Get Gmail OAuth connect URL

GET/api/v1/gmail/connect-url

Generate a URL to redirect the user to Google for authorization. Personal connection: links the signed-in user's own mailbox.

Operation ID: get_connect_url_api_v1_gmail_connect_url_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.

Responses

200Successful Response

successboolean
messagestring
codestring
dataGmailConnectUrlResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

422Validation Error

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