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

Source: <https://telegafirst.com/docs/schema-b1917d0296cd2555924adcdfe17a50b6989c97444817058fd7fc4d2f1438f0b4>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: c4e733ee954c440235f87563e7618ae4672727d75867bdbe84342f6137088cd3
Version: 4

# Схема: 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.webhook\_url.description | "Value for webhook url." |
| properties.credentials.oneOf.0.properties.webhook\_url.format | "uri" |
| properties.credentials.oneOf.0.properties.webhook\_url.maxLength | 2048 |
| properties.credentials.oneOf.0.properties.webhook\_url.type | "string" |
| properties.credentials.oneOf.0.required | \["type","webhook\_url"] |
| 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.api\_key.description | "Value for api key." |
| properties.credentials.oneOf.1.properties.api\_key.maxLength | 512 |
| properties.credentials.oneOf.1.properties.api\_key.minLength | 1 |
| properties.credentials.oneOf.1.properties.api\_key.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","api\_key"] |
| 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.default\_stage\_id.description | "Value for default stage id." |
| properties.settings.properties.default\_stage\_id.maxLength | 64 |
| properties.settings.properties.default\_stage\_id.minLength | 1 |
| properties.settings.properties.default\_stage\_id.type | "string" |
| properties.settings.properties.email\_strategy.description | "Value for email strategy." |
| properties.settings.properties.email\_strategy.enum | \["collect","synthetic","username"] |
| properties.settings.properties.email\_strategy.type | "string" |
| properties.settings.properties.offer\_code.description | "Value for offer code." |
| properties.settings.properties.offer\_code.maxLength | 128 |
| properties.settings.properties.offer\_code.minLength | 1 |
| properties.settings.properties.offer\_code.type | "string" |
| properties.settings.properties.paid\_stage\_id.description | "Value for paid stage id." |
| properties.settings.properties.paid\_stage\_id.maxLength | 64 |
| properties.settings.properties.paid\_stage\_id.minLength | 1 |
| properties.settings.properties.paid\_stage\_id.type | "string" |
| properties.settings.properties.pipeline\_id.description | "Value for pipeline id." |
| properties.settings.properties.pipeline\_id.maxLength | 64 |
| properties.settings.properties.pipeline\_id.minLength | 1 |
| properties.settings.properties.pipeline\_id.type | "string" |
| properties.settings.properties.subscription\_canceled\_stage\_id.description | "Value for subscription canceled stage id." |
| properties.settings.properties.subscription\_canceled\_stage\_id.maxLength | 64 |
| properties.settings.properties.subscription\_canceled\_stage\_id.minLength | 1 |
| properties.settings.properties.subscription\_canceled\_stage\_id.type | "string" |
| properties.settings.properties.subscription\_expired\_status\_id.description | "Value for subscription expired status id." |
| properties.settings.properties.subscription\_expired\_status\_id.maxLength | 64 |
| properties.settings.properties.subscription\_expired\_status\_id.minLength | 1 |
| properties.settings.properties.subscription\_expired\_status\_id.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.enum | \["order.created","payment.succeeded","payment.refunded","subscription.updated"] |
| properties.subscribed\_events.items.type | "string" |
| properties.subscribed\_events.maxItems | 4 |
| properties.subscribed\_events.type | "array" |
| required | \["credentials"] |
| type | "object" |
