channels
channels
amocrm

Connect Amocrm Channel

Connect an amoCRM Chat channel (amoJo).

Steps:

  1. Fetch amojo_id from the workspace's amoCRM REST integration
  2. Call AmojoClient.connect_channel() to get scope_id
  3. Store credentials (encrypted) in workspace_secrets
  4. Return scope_id + webhook URL

Either integration_id OR amocrm_account_id must be provided.

post/api/channels/amocrm/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/amocrm/connect
  • Auth: none declared

Request body

integration_idinteger nullable

Workspace's existing amoCRM REST integration ID (for OAuth token + account lookup)

amocrm_account_idstring nullable

amoCRM account ID (e.g. '32866990'). Fetched from REST API if integration_id provided.

channel_idstring required

amoJo channel ID from amoCRM Chat UI

channel_secretstring required

amoJo channel secret (for HMAC signing)

base_domainstring

amoJo domain (amocrm.ru or kommo.com)

titlestring

Title for the channel in amoJo

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 5 revisions of this API.