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

Source: <https://telegafirst.com/docs/schema-1e4896a64bb6e430b2abc682e1761c05dc60781e23c47763493a86fae5cc71bb>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: 7f0992389df97219a6cc271370967e341e3443b7a82776eef15c57777fd195db
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.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.credentials.oneOf.2.additionalProperties | false |
| properties.credentials.oneOf.2.description | "Value for credentials option." |
| properties.credentials.oneOf.2.properties.access\_token.description | "Value for access token." |
| properties.credentials.oneOf.2.properties.access\_token.maxLength | 4096 |
| properties.credentials.oneOf.2.properties.access\_token.minLength | 1 |
| properties.credentials.oneOf.2.properties.access\_token.type | "string" |
| properties.credentials.oneOf.2.properties.subdomain.description | "Value for subdomain." |
| properties.credentials.oneOf.2.properties.subdomain.maxLength | 50 |
| properties.credentials.oneOf.2.properties.subdomain.minLength | 1 |
| properties.credentials.oneOf.2.properties.subdomain.pattern | "^\[a-z0-9-]+$" |
| properties.credentials.oneOf.2.properties.subdomain.type | "string" |
| properties.credentials.oneOf.2.properties.type.const | "amocrm" |
| properties.credentials.oneOf.2.properties.type.description | "Value for type." |
| properties.credentials.oneOf.2.properties.type.type | "string" |
| properties.credentials.oneOf.2.required | \["type","subdomain","access\_token"] |
| properties.credentials.oneOf.2.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.gc\_funnel\_id.description | "Value for gc funnel id." |
| properties.settings.properties.gc\_funnel\_id.maxLength | 64 |
| properties.settings.properties.gc\_funnel\_id.minLength | 1 |
| properties.settings.properties.gc\_funnel\_id.type | "string" |
| properties.settings.properties.gc\_funnel\_stage\_id.description | "Value for gc funnel stage id." |
| properties.settings.properties.gc\_funnel\_stage\_id.maxLength | 64 |
| properties.settings.properties.gc\_funnel\_stage\_id.minLength | 1 |
| properties.settings.properties.gc\_funnel\_stage\_id.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" |
