Коммуникации · Изменение
Социальные сети · Каналы · Настройки · Изменение
social_workspace_channel_settings_update
Попробуйте три запроса
Подготовить
- Вы указываетеIntegrationid
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Социальные сети / Каналы / Настройки / Изменение». Для изменения нужны integrationId, изменяемые поля. Покажи объект и ожидаемый эффект до выполнения.
- integrationId
- Параметр
- values
- Изменяемые поля
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Социальные сети / Каналы / Настройки / Изменение» с параметром integrationId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- integrationId
- DEMO-101
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Социальные сети / Каналы / Настройки / Изменение» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.
Описание разработчика
Save native non-secret provider settings. Channex: use integrationId channex, including initial setup; set isActive, ariEnabled, bookingsEnabled, webhooksEnabled, environment or certificationMode. Channex messages are configured per property through Booking messages actions. Hospitable: messagesEnabled and autoReplyEnabled. Apple Messages and Twilio: company/contact fields. Enabling automation may cause future provider activity; this does not prove provider approval.
Параметры запроса
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
- integrationId
- Native integrationId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- values
- Значения для записи. Состав и вложенность указаны в схеме. обязательно по схеме
Что вернёт команда
- companyId
- Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- result
- Native result value; use the value and type returned by the corresponding service. обязательно по схеме · object
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$",
"description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
},
"integrationId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native integrationId value; use the value and type returned by the corresponding service."
},
"values": {
"oneOf": [
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "channex",
"description": "Native provider value; use the value and type returned by the corresponding service."
},
"isActive": {
"description": "Native isActive value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"ariEnabled": {
"description": "Native ariEnabled value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"bookingsEnabled": {
"description": "Native bookingsEnabled value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"webhooksEnabled": {
"description": "Native webhooksEnabled value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"environment": {
"description": "Native environment value; use the value and type returned by the corresponding service.",
"type": "string",
"enum": [
"staging",
"production"
]
},
"certificationMode": {
"description": "Native certificationMode value; use the value and type returned by the corresponding service.",
"type": "string",
"enum": [
"vacation_rental",
"standard"
]
}
},
"required": [
"provider"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "hospitable",
"description": "Native provider value; use the value and type returned by the corresponding service."
},
"messagesEnabled": {
"type": "boolean",
"description": "Native messagesEnabled value; use the value and type returned by the corresponding service."
},
"autoReplyEnabled": {
"type": "boolean",
"description": "Native autoReplyEnabled value; use the value and type returned by the corresponding service."
}
},
"required": [
"provider",
"messagesEnabled",
"autoReplyEnabled"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "apple_messages",
"description": "Native provider value; use the value and type returned by the corresponding service."
},
"businessName": {
"type": "string",
"maxLength": 200,
"description": "Native businessName value; use the value and type returned by the corresponding service."
},
"contactEmail": {
"$ref": "#/$defs/_mcp0"
},
"appleBusinessId": {
"type": "string",
"maxLength": 200,
"description": "Native appleBusinessId value; use the value and type returned by the corresponding service."
}
},
"required": [
"provider",
"businessName",
"contactEmail",
"appleBusinessId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"const": "twilio",
"description": "Native provider value; use the value and type returned by the corresponding service."
},
"legalName": {
"type": "string",
"maxLength": 200,
"description": "Native legalName value; use the value and type returned by the corresponding service."
},
"contactEmail": {
"$ref": "#/$defs/_mcp0"
},
"contactPhone": {
"type": "string",
"maxLength": 50,
"description": "Native contactPhone value; use the value and type returned by the corresponding service."
},
"website": {
"type": "string",
"maxLength": 500,
"description": "Native website value; use the value and type returned by the corresponding service."
},
"country": {
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "Native country value; use the value and type returned by the corresponding service."
},
"city": {
"type": "string",
"maxLength": 200,
"description": "Native city value; use the value and type returned by the corresponding service."
},
"address": {
"type": "string",
"maxLength": 500,
"description": "Native address value; use the value and type returned by the corresponding service."
},
"postalCode": {
"type": "string",
"maxLength": 50,
"description": "Native postalCode value; use the value and type returned by the corresponding service."
}
},
"required": [
"provider",
"legalName",
"contactEmail",
"contactPhone",
"website",
"country",
"city",
"address",
"postalCode"
],
"additionalProperties": false
}
],
"description": "Native values value; use the value and type returned by the corresponding service."
}
},
"required": [
"requestId",
"integrationId",
"values"
],
"additionalProperties": false,
"$defs": {
"_mcp0": {
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Native contactEmail value; use the value and type returned by the corresponding service."
}
}
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"companyId": {
"type": "string",
"description": "Native companyId value; use the value and type returned by the corresponding service."
},
"result": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Native result value; use the value and type returned by the corresponding service."
}
},
"required": [
"companyId",
"result"
],
"additionalProperties": false,
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
}
]
}
}
}