Skip to main content

AgentChannelCreate

Binds an agent to a channel, with per-binding config controlling how the agent uses that channel (for example whether inbound messages on it create leads). Identified by the (agent_id, channel_id) pair rather than a surrogate id.

agent_idAgent Idrequired

ID of the agent (a configured AI assistant / bot persona) this record belongs to.

channel_idChannel Idrequired

ID of the messaging channel this record relates to.

config object

Per-binding configuration governing how the agent uses the channel (e.g. inbound handling).

inbound_enabledInbound Enabled
Default value: false
crm_fields_conditions object
anyOf
operatorCRMFieldsConditionsOperator

Possible values: [AND, OR]

Default value: AND
conditions object[]
  • Array [
  • fieldFieldrequired
    operatorCRMFieldConditionOperatorrequired

    Possible values: [EQUALS, NOT_EQUALS, IN, NOT_IN, STARTS_WITH, ENDS_WITH, CONTAINS, EXISTS, NOT_EXISTS, IS_EMPTY, IS_NOT_EMPTY]

    valueValue
  • ]
  • wazzup24_universal_waba_template_enabledWazzup24 Universal Waba Template Enabled
    Default value: false
    wazzup24_universal_waba_template_id object
    anyOf
    string
    allowed_platformsstring[]

    Possible values: [telegram, whatsapp, waba, max, viber, instagram, fasttrack, usedesk, salebot, avito, vk, yandex_messenger, email, sms, pinbox, linkedin, amocrm_salesbot, bitrix24_openlines, sip, webrtc, bothelp]

    allow_phone_contactsAllow Phone Contacts
    Default value: false
    AgentChannelCreate
    {
    "agent_id": 0,
    "channel_id": 0,
    "config": {
    "inbound_enabled": false,
    "crm_fields_conditions": {
    "operator": "AND",
    "conditions": [
    {
    "field": "string",
    "operator": "EQUALS"
    }
    ]
    },
    "wazzup24_universal_waba_template_enabled": false,
    "wazzup24_universal_waba_template_id": "string",
    "allowed_platforms": [
    "telegram"
    ],
    "allow_phone_contacts": false
    }
    }