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

# Whatsapp Oauth Callback Redirect

`GET /api/v1/whatsapp/oauth/callback`

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/fastapi.md) · [All operations](https://skmtc.dev/brandbooster/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brandbooster/fastapi/revisions/ff7f2b621b41/schema)
