whatsapp
whatsapp

Whatsapp Oauth Callback Redirect

Server-side OAuth callback — Meta redirects the browser here directly (no JWT). Exchanges + saves token, auto-connects numbers, then redirects to the FE page.

redirect_uri is rebuilt from the actual request (public host/scheme via proxy headers) so the token exchange matches the dialog's redirect_uri on any host.

get/api/v1/whatsapp/oauth/callback

Query parameters

codestring
statestring

Response

Successful Response

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

Changes

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