AgentChannelPartialUpdateRequest
Partial update of an agent-channel binding's config, identified by agent_id and channel_id. Only provided config fields are changed.
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 objectrequired
Subset of the binding config to change.
inbound_enabled object
anyOf
- boolean
- null
boolean
crm_fields_conditions object
anyOf
- CRMFieldsConditionsConfig
- null
operatorCRMFieldsConditionsOperator
Possible values: [AND, OR]
Default value:
ANDconditions 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_enabled object
anyOf
- boolean
- null
boolean
wazzup24_universal_waba_template_id object
anyOf
- string
- null
string
allowed_platforms object
anyOf
- string[]
- null
Array [
string
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_contacts object
anyOf
- boolean
- null
boolean
AgentChannelPartialUpdateRequest
{
"agent_id": 0,
"channel_id": 0,
"config": {
"inbound_enabled": true,
"crm_fields_conditions": {
"operator": "AND",
"conditions": [
{
"field": "string",
"operator": "EQUALS"
}
]
},
"wazzup24_universal_waba_template_enabled": true,
"wazzup24_universal_waba_template_id": "string",
"allowed_platforms": [
"telegram"
],
"allow_phone_contacts": true
}
}