---
title: "Wechat Oa Webhook"
method: POST
path: "/api/channels/wechat-oa/webhook/{account_id}"
tags: ["channels", "channels", "wechat-oa"]
---

# Wechat Oa Webhook

`POST /api/channels/wechat-oa/webhook/{account_id}`

## 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/webhook/{account_id}`
- Auth: none declared

Receive one message or event from Tencent.

All three console modes arrive here. Plaintext carries the XML as is;
compatible and safe mode carry it (also, or only) inside an AES envelope
under <Encrypt>, signed a second time with `msg_signature`. Whenever an
envelope is present it is the one that is read — in compatible mode the
plaintext copy beside it is not covered by any signature.

## Path parameters

- `account_id` integer, required

## Response `200`

Successful Response

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