---
title: "Connect Wechat Oa Account"
method: POST
path: "/api/channels/wechat-oa/accounts/connect"
tags: ["channels", "channels", "wechat-oa"]
---

# Connect Wechat Oa Account

`POST /api/channels/wechat-oa/accounts/connect`

## 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/wechat-oa/accounts/connect`
- Auth: none declared

Connect a WeChat Official Account from the form.

The ONE connect path, shared with channels.connect: billing gate →
WeChatOAAdapter.connect_account → wechat_oa_connect_service → billing hook
(perform_connect). The answer's `metadata` carries the webhook URL, Token
and EncodingAESKey the person pastes into the console.

## Request body

- WeChatOAConnectRequest: Request body for connecting a WeChat Official Account.
  - `app_id` string, required: AppID from the Official Account console
  - `app_secret` string, required: AppSecret from the Official Account console
  - `display_name` 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)
