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

Request

  • Base URL
    https://api.brandbooster.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.brandbooster.ai/api/v1/whatsapp/oauth/callback
  • Auth
    none declared

Query parameters

codestring
statestring

Response

Successful Response

unknown required

Changes