Коммуникации · Изменение
Социальные сети · Настройки · Изменение
social_workspace_settings_update
Попробуйте три запроса
Подготовить
- Вы указываетеОбъект
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Социальные сети / Настройки / Изменение». Для изменения нужны изменяемые поля. Покажи объект и ожидаемый эффект до выполнения.
- values
- Изменяемые поля
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Социальные сети / Настройки / Изменение» с параметром values.dmReplyLanguage = auto. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- values.dmReplyLanguage
- auto
- values.dmAutomationEnabled
- true
- values.commentAutomationEnabled
- true
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Социальные сети / Настройки / Изменение» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.
Описание разработчика
Save only selected native company AI settings at the reviewed hash. Requires native administrator and subscription checks. Enabling automation can cause future real replies; only do so on explicit authorization.
Параметры запроса
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
- expectedHash
- Контрольное значение из предыдущего чтения. обязательно по схеме · string
- values
- Значения для записи. Состав и вложенность указаны в схеме. обязательно по схеме · object
Что вернёт команда
- 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."
},
"expectedHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Native expectedHash value; use the value and type returned by the corresponding service."
},
"values": {
"type": "object",
"properties": {
"businessName": {
"description": "Native businessName value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 120
},
"businessType": {
"description": "Native businessType value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 120
},
"dmConversationPrompt": {
"description": "Native dmConversationPrompt value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 20000
},
"dmKnowledgeBase": {
"description": "Native dmKnowledgeBase value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 20000
},
"dmSalesGoal": {
"description": "Native dmSalesGoal value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 20000
},
"dmPricingPolicy": {
"description": "Native dmPricingPolicy value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 20000
},
"dmReplyLanguage": {
"description": "Native dmReplyLanguage value; use the value and type returned by the corresponding service.",
"type": "string",
"enum": [
"auto",
"ru",
"en",
"es"
]
},
"dmAutomationEnabled": {
"description": "Native dmAutomationEnabled value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"commentAutomationEnabled": {
"description": "Native commentAutomationEnabled value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"dmPauseWhenHumanReplies": {
"description": "Native dmPauseWhenHumanReplies value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"dmPauseWhenUnsure": {
"description": "Native dmPauseWhenUnsure value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"dmRequireApprovalForSensitiveReplies": {
"description": "Native dmRequireApprovalForSensitiveReplies value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"dmQuietHoursEnabled": {
"description": "Native dmQuietHoursEnabled value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"dmQuietHoursStart": {
"description": "Native dmQuietHoursStart value; use the value and type returned by the corresponding service.",
"type": "string",
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$"
},
"dmQuietHoursEnd": {
"description": "Native dmQuietHoursEnd value; use the value and type returned by the corresponding service.",
"type": "string",
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$"
},
"dmQuietHoursTimezone": {
"description": "Native dmQuietHoursTimezone value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 100
},
"dmMinReplyDelaySeconds": {
"description": "Native dmMinReplyDelaySeconds value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 0,
"maximum": 3600
},
"dmMaxReplyDelaySeconds": {
"description": "Native dmMaxReplyDelaySeconds value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 0,
"maximum": 3600
},
"dmDailyReplyLimit": {
"description": "Native dmDailyReplyLimit value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"dmHourlyDmLimit": {
"description": "Native dmHourlyDmLimit value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 0,
"maximum": 1000
}
},
"additionalProperties": false,
"description": "Native values value; use the value and type returned by the corresponding service."
}
},
"required": [
"requestId",
"expectedHash",
"values"
],
"additionalProperties": false
}Выход · 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"
}
}
]
}
}
}