---
title: "Threads Setup"
method: POST
path: "/api/channels/threads/setup"
tags: ["channels", "channels", "threads"]
---

# Threads Setup

`POST /api/channels/threads/setup`

## 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/threads/setup`
- Auth: none declared

Start the OAuth flow. Returns `{auth_url, state, redirect_uri, scopes}`.

Frontend opens `auth_url` in a popup; Meta redirects back to
`threads_redirect_uri()` with `?code=...&state=...`.

## Response `200`

Successful Response

- unknown

---

[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)
