---
title: "Tiktok Business Oauth Callback"
method: GET
path: "/api/channels/tiktok/business/oauth/callback"
tags: ["channels", "channels", "tiktok"]
---

# Tiktok Business Oauth Callback

`GET /api/channels/tiktok/business/oauth/callback`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/channels/tiktok/business/oauth/callback`
- Auth: none declared

Redirect target for the Business Messaging app (business-api.tiktok.com).

A DIFFERENT app from the one `/oauth/callback` above serves: that one is
Login Kit (publishing), this one is Business Messaging (direct messages
and leads). The URL is registered with TikTok as the app's Advertiser
redirect URL, so it has to answer even before the Messaging scope is
granted — a 404 here would look like a broken integration to a reviewer
opening it.

The token exchange is deliberately NOT wired up yet: the Messaging scope
is still in review, so the request shape has never been executed against
the live API and writing it blind would be a guess pretending to be an
implementation. Until then this endpoint validates what it can, records
what TikTok sent, and says plainly that the integration is not live.

## Query parameters

- `auth_code` string, nullable
- `code` string, nullable
- `state` string, nullable
- `error` string, nullable
- `error_description` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/d84e7dc9977d?raw)
