К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/api-op-listcrmpipelines.mdиндекс документации — /llms.txt

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.requiredtrue
0.schema0.schema

Тело запроса

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

Ответы

ПолеЗначение
200.content.application/json.schemaCrmPipelineList
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.schema200.headers.X-Bot-Username.schema
200.headers.X-Client-Slug.description"Authenticated active tenant slug when available"
200.headers.X-Client-Slug.schema200.headers.X-Client-Slug.schema
200.headers.X-RateLimit-Limit.description"Effective per-minute limit"
200.headers.X-RateLimit-Limit.schema200.headers.X-RateLimit-Limit.schema
200.headers.X-RateLimit-Remaining.description"Remaining requests, or unknown"
200.headers.X-RateLimit-Remaining.schema200.headers.X-RateLimit-Remaining.schema
200.headers.X-RateLimit-Reset.description"Window reset epoch seconds"
200.headers.X-RateLimit-Reset.schema200.headers.X-RateLimit-Reset.schema

Ошибки

ПолеЗначение
401.content.application/problem+json.schemaProblemDetails
401.description"INVALID_API_KEY: missing, conflicting, invalid, expired or revoked credential; surface JWT unsupported"
403.content.application/problem+json.schemaProblemDetails
403.description"INSUFFICIENT_SCOPE, PUBLISHABLE_KEY_NOT_ALLOWED or NO_ACTIVE_BOT"
404.content.application/problem+json.schemaProblemDetails
404.description"NOT_FOUND: this CRM is not connected"
413.content.application/problem+json.schemaProblemDetails
413.description"PAYLOAD_TOO_LARGE or ITEM_COUNT_EXCEEDED"
422.content.application/problem+json.schemaProblemDetails
422.description"CRM_CONNECTION_FAILED: the CRM did not answer"
429.content.application/problem+json.schemaProblemDetails
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.schema429.headers.Retry-After.schema

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

ПолеЗначение
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"]