---
title: "Whatsapp Oauth Callback Redirect"
method: GET
path: "/api/v1/whatsapp/oauth/callback"
tags: ["whatsapp"]
---

# Whatsapp Oauth Callback Redirect

`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

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.

## Query parameters

- `code` string
- `state` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/brandbooster/apis/brandbooster-api.md) - [All operations](https://skmtc.dev/brandbooster/apis/brandbooster-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brandbooster/apis/brandbooster-api/revisions/02d28bde684c?raw)
