---
title: "Amocrm Webhook"
method: POST
path: "/api/channels/amocrm/webhook/{scope_id}"
tags: ["channels", "channels", "amocrm"]
---

# Amocrm Webhook

`POST /api/channels/amocrm/webhook/{scope_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/amocrm/webhook/{scope_id}`
- Auth: none declared

Receive operator messages from amoJo webhook.

Steps:
1. Look up channel credentials by scope_id (from encrypted secrets)
2. Verify webhook signature
3. Extract operator message, dedup by msgid
4. Resolve DialogBrain thread_id from amocrm_chat_links
5. Deliver to channel via adapter_manager
6. Publish to WebSocket

## Path parameters

- `scope_id` string, required

## 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/77bef09a9209?raw)
