OutreachOAuth

Oauth Callback

Receive OAuth auth code from Google after Zapmail completes consent.

state carries the mailbox_id so we know which mailbox to store tokens for. Google redirects here after the user (automated by Zapmail) clicks "Allow" on the consent screen.

get/api/outreach/oauth/callback

Query parameters

codestring required
statestring

Response

Successful Response

{"stackTrail":"paths:/api/outreach/oauth/callback:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes