# listCrmPipelines

Source: <https://telegafirst.com/docs/api-op-listcrmpipelines>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: fb1a019aa2440ba481f09b8ef94580c6c62fbc0cf514f8e1f5d263016f8f3df1
Version: 2

# listCrmPipelines

`GET /api/v1/tools/integrations/{crm_type}/pipelines`

List pipelines and stages of the connected CRM

## Авторизация и права

Scopes: ALL. Auth alternatives: OR; scopes внутри альтернативы: ALL.

| Поле | Значение |
| - | - |
| security.0.hubApiKey | \[] |
| security.1.hubBearer | \[] |
| securitySchemes.hubApiKey.in | "header" |
| securitySchemes.hubApiKey.name | "X-Api-Key" |
| securitySchemes.hubApiKey.type | "apiKey" |
| securitySchemes.hubBearer.scheme | "bearer" |
| securitySchemes.hubBearer.type | "http" |
| x-required-scopes | \["integrations:read"] |

## Параметры запроса

| Поле | Значение |
| - | - |
| 0.in | "path" |
| 0.name | "crm\_type" |
| 0.required | true |
| 0.schema | [0.schema](https://telegafirst.com/docs/schema-acabc3f4602e467a6bbcd673db093b2d37bfec47792efa5dfb98b245d230f48d) |

## Тело запроса

| Поле | Значение |
| - | - |
| Тело запроса | null |

## Ответы

| Поле | Значение |
| - | - |
| 200.content.application/json.schema | [CrmPipelineList](https://telegafirst.com/docs/schema-28457479f0fe056b13a9438df124da3d1108ea65a19d6bd08a0ce9887960efcb) |
| 200.description | "Pipelines and stages of the connected CRM" |
| 200.headers.X-Bot-Username.description | "Authenticated active public bot username when available" |
| 200.headers.X-Bot-Username.schema | [200.headers.X-Bot-Username.schema](https://telegafirst.com/docs/schema-00404e686415370f1711c4d7acfa2905444d3cf23cef2e10c47d445ebe690f96) |
| 200.headers.X-Client-Slug.description | "Authenticated active tenant slug when available" |
| 200.headers.X-Client-Slug.schema | [200.headers.X-Client-Slug.schema](https://telegafirst.com/docs/schema-00404e686415370f1711c4d7acfa2905444d3cf23cef2e10c47d445ebe690f96) |
| 200.headers.X-RateLimit-Limit.description | "Effective per-minute limit" |
| 200.headers.X-RateLimit-Limit.schema | [200.headers.X-RateLimit-Limit.schema](https://telegafirst.com/docs/schema-00404e686415370f1711c4d7acfa2905444d3cf23cef2e10c47d445ebe690f96) |
| 200.headers.X-RateLimit-Remaining.description | "Remaining requests, or unknown" |
| 200.headers.X-RateLimit-Remaining.schema | [200.headers.X-RateLimit-Remaining.schema](https://telegafirst.com/docs/schema-00404e686415370f1711c4d7acfa2905444d3cf23cef2e10c47d445ebe690f96) |
| 200.headers.X-RateLimit-Reset.description | "Window reset epoch seconds" |
| 200.headers.X-RateLimit-Reset.schema | [200.headers.X-RateLimit-Reset.schema](https://telegafirst.com/docs/schema-00404e686415370f1711c4d7acfa2905444d3cf23cef2e10c47d445ebe690f96) |

## Ошибки

| Поле | Значение |
| - | - |
| 401.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-47fdf0d8395ef5a30fe38dcbde38e65bcdd30fe0fcf5d639ae3a647e01aef684) |
| 401.description | "INVALID\_API\_KEY: missing, conflicting, invalid, expired or revoked credential; surface JWT unsupported" |
| 403.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-47fdf0d8395ef5a30fe38dcbde38e65bcdd30fe0fcf5d639ae3a647e01aef684) |
| 403.description | "INSUFFICIENT\_SCOPE, PUBLISHABLE\_KEY\_NOT\_ALLOWED or NO\_ACTIVE\_BOT" |
| 404.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-47fdf0d8395ef5a30fe38dcbde38e65bcdd30fe0fcf5d639ae3a647e01aef684) |
| 404.description | "NOT\_FOUND: this CRM is not connected" |
| 413.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-47fdf0d8395ef5a30fe38dcbde38e65bcdd30fe0fcf5d639ae3a647e01aef684) |
| 413.description | "PAYLOAD\_TOO\_LARGE or ITEM\_COUNT\_EXCEEDED" |
| 422.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-47fdf0d8395ef5a30fe38dcbde38e65bcdd30fe0fcf5d639ae3a647e01aef684) |
| 422.description | "CRM\_CONNECTION\_FAILED: the CRM did not answer" |
| 429.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-47fdf0d8395ef5a30fe38dcbde38e65bcdd30fe0fcf5d639ae3a647e01aef684) |
| 429.description | "RATE\_LIMIT\_EXCEEDED or RATE\_LIMIT\_UNAVAILABLE: fail-closed resource limit" |
| 429.headers.Retry-After.description | "Retry delay in seconds when supplied by resource policy" |
| 429.headers.Retry-After.schema | [429.headers.Retry-After.schema](https://telegafirst.com/docs/schema-f0765dbf409c74f001806c446f2cf171d8c46b5b15779d54423dde921a4b0670) |

## Дополнительные условия

| Поле | Значение |
| - | - |
| description | "Owner-authorized live read of the tenant CRM (bitrix24 / amocrm): pipelines with stages by the CRM own ids, the values configure settings take as pipeline\_id, default\_stage\_id and paid\_stage\_id. getcourse has no list and returns an empty pipelines array; its optional board is set by gc\_funnel\_id and gc\_funnel\_stage\_id. 404 when that CRM is not connected, 422 CRM\_CONNECTION\_FAILED when it does not answer. Bearer accepts tgf\_\* credentials, not surface JWT." |
| operationId | "listCrmPipelines" |
| summary | "List pipelines and stages of the connected CRM" |
| tags | \["integrations"] |
