# Схема: configure\_integration: inputSchema

Source: <https://telegafirst.com/docs/schema-e48b8b96110946ff727975c0dc1293fb1beb8c607c49f2c1fdc884a1d3cad796>
Locale: ru
releaseGitSha: ea133cd4ad87fe549ef000b139be145be9bd1717
sourceContentDigest: d11f7914633fde6f9dcbe7e5b7ae8dcf79e7256e97da0b3407f6a089677e3c06
Version: 2

# Схема: configure\_integration: inputSchema

| Поле | Значение |
| - | - |
| $schema | "<https://json-schema.org/draft/2020-12/schema>" |
| additionalProperties | false |
| properties.bot.description | "Optional slug of the bot you expect to act on (get\_active\_bot). If the active bot differs, the call is refused with ACTIVE\_BOT\_CHANGED and nothing runs." |
| properties.bot.maxLength | 128 |
| properties.bot.minLength | 1 |
| properties.bot.type | "string" |
| properties.credentials.description | "Value for credentials." |
| properties.credentials.oneOf.0.additionalProperties | false |
| properties.credentials.oneOf.0.description | "Value for credentials option." |
| properties.credentials.oneOf.0.properties.type.const | "bitrix24" |
| properties.credentials.oneOf.0.properties.type.description | "Value for type." |
| properties.credentials.oneOf.0.properties.type.type | "string" |
| properties.credentials.oneOf.0.properties.webhookUrl.description | "Value for webhook Url." |
| properties.credentials.oneOf.0.properties.webhookUrl.format | "uri" |
| properties.credentials.oneOf.0.properties.webhookUrl.maxLength | 2048 |
| properties.credentials.oneOf.0.properties.webhookUrl.type | "string" |
| properties.credentials.oneOf.0.required | \["type","webhookUrl"] |
| properties.credentials.oneOf.0.type | "object" |
| properties.credentials.oneOf.1.additionalProperties | false |
| properties.credentials.oneOf.1.description | "Value for credentials option." |
| properties.credentials.oneOf.1.properties.account.description | "Value for account." |
| properties.credentials.oneOf.1.properties.account.maxLength | 128 |
| properties.credentials.oneOf.1.properties.account.minLength | 1 |
| properties.credentials.oneOf.1.properties.account.type | "string" |
| properties.credentials.oneOf.1.properties.apiKey.description | "Value for api Key." |
| properties.credentials.oneOf.1.properties.apiKey.maxLength | 512 |
| properties.credentials.oneOf.1.properties.apiKey.minLength | 1 |
| properties.credentials.oneOf.1.properties.apiKey.type | "string" |
| properties.credentials.oneOf.1.properties.type.const | "getcourse" |
| properties.credentials.oneOf.1.properties.type.description | "Value for type." |
| properties.credentials.oneOf.1.properties.type.type | "string" |
| properties.credentials.oneOf.1.required | \["type","account","apiKey"] |
| properties.credentials.oneOf.1.type | "object" |
| properties.is\_active.description | "Value for is active." |
| properties.is\_active.type | "boolean" |
| properties.settings.additionalProperties | false |
| properties.settings.description | "Value for settings." |
| properties.settings.properties.defaultStageId.description | "Value for default Stage Id." |
| properties.settings.properties.defaultStageId.maxLength | 64 |
| properties.settings.properties.defaultStageId.type | "string" |
| properties.settings.properties.emailStrategy.description | "Value for email Strategy." |
| properties.settings.properties.emailStrategy.enum | \["collect","synthetic","username"] |
| properties.settings.properties.emailStrategy.type | "string" |
| properties.settings.properties.offerCode.description | "Value for offer Code." |
| properties.settings.properties.offerCode.maxLength | 128 |
| properties.settings.properties.offerCode.type | "string" |
| properties.settings.properties.paidStageId.description | "Value for paid Stage Id." |
| properties.settings.properties.paidStageId.maxLength | 64 |
| properties.settings.properties.paidStageId.type | "string" |
| properties.settings.properties.pipelineId.description | "Value for pipeline Id." |
| properties.settings.properties.pipelineId.maxLength | 64 |
| properties.settings.properties.pipelineId.type | "string" |
| properties.settings.properties.subscriptionCanceledStageId.description | "Value for subscription Canceled Stage Id." |
| properties.settings.properties.subscriptionCanceledStageId.maxLength | 64 |
| properties.settings.properties.subscriptionCanceledStageId.type | "string" |
| properties.settings.properties.subscriptionExpiredStatusId.description | "Value for subscription Expired Status Id." |
| properties.settings.properties.subscriptionExpiredStatusId.maxLength | 64 |
| properties.settings.properties.subscriptionExpiredStatusId.type | "string" |
| properties.settings.type | "object" |
| properties.subscribed\_events.description | "Value for subscribed events." |
| properties.subscribed\_events.items.description | "Value for subscribed events item." |
| properties.subscribed\_events.items.maxLength | 100 |
| properties.subscribed\_events.items.type | "string" |
| properties.subscribed\_events.maxItems | 50 |
| properties.subscribed\_events.type | "array" |
| required | \["credentials"] |
| type | "object" |
