Get a pipeline
GET
/api/v1/pipelines/{id}Returns a pipeline by id, with its stages.
The API key needs the scopeConfigure pipelines and stages
pipelines.manageParameters
| Name | In | Description |
|---|---|---|
idrequiredstring (uuid) | path | Pipeline id. |
Responses
200The pipeline.
application/json
{
"id": "fd6d3028-390a-4a5f-a30a-96cd98da840b",
"businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
"name": "Pipeline de negócios",
"color": null,
"icon": null,
"isDefault": true,
"order": 0,
"type": "Deal",
"createdAt": "2026-11-17T14:57:14.441771Z",
"updatedAt": null,
"stages": [
{
"businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
"id": "88f89ad0-dd68-4f84-9b9b-337950ff949b",
"pipelineId": "fd6d3028-390a-4a5f-a30a-96cd98da840b",
"name": "Aberto",
"color": "#94A3B8",
"order": 0,
"isWon": false,
"isLost": false,
"slaDays": null,
"targetConversionRate": null,
"createdAt": "2026-11-17T14:57:14.441771Z",
"updatedAt": null
},
{
"businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
"id": "72abe4d8-8ecb-4daa-8ae0-e8418a006488",
"pipelineId": "fd6d3028-390a-4a5f-a30a-96cd98da840b",
"name": "Proposta",
"color": "#3B82F6",
"order": 1,
"isWon": false,
"isLost": false,
"slaDays": null,
"targetConversionRate": null,
"createdAt": "2026-11-17T14:57:14.441771Z",
"updatedAt": null
},
{
"businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
"id": "0c0bef33-7db7-42b7-9944-fd19da3851eb",
"pipelineId": "fd6d3028-390a-4a5f-a30a-96cd98da840b",
"name": "Negociação",
"color": "#8B5CF6",
"order": 2,
"isWon": false,
"isLost": false,
"slaDays": null,
"targetConversionRate": null,
"createdAt": "2026-11-17T14:57:14.441771Z",
"updatedAt": null
},
{
"businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
"id": "63b3eae9-a9a8-46a1-81fc-807d25733798",
"pipelineId": "fd6d3028-390a-4a5f-a30a-96cd98da840b",
"name": "Fechado",
"color": "#10B981",
"order": 3,
"isWon": true,
"isLost": false,
"slaDays": null,
"targetConversionRate": null,
"createdAt": "2026-11-17T14:57:14.441771Z",
"updatedAt": null
},
{
"businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
"id": "5f28b219-a697-41d6-9313-6ff7cde48dd6",
"pipelineId": "fd6d3028-390a-4a5f-a30a-96cd98da840b",
"name": "Perdido",
"color": "#EF4444",
"order": 4,
"isWon": false,
"isLost": true,
"slaDays": null,
"targetConversionRate": null,
"createdAt": "2026-11-17T14:57:14.441771Z",
"updatedAt": null
}
]
}401Missing or invalid credentials. The response is the same for a key that does not exist and for a wrong secret; without the X-API-KEY header, it comes with no body.
application/json
{
"error": "unauthorized",
"message": "Credenciais de API inválidas."
}403The key authenticated, but it lacks the scope the route requires, or the plan does not include the feature.
application/json
{
"error": "forbidden",
"message": "A chave de API não tem acesso a esta rota: falta o escopo exigido, ou a rota não aceita chave de API."
}404The record does not exist in this company.
application/json
{
"error": "not_found",
"message": "Registro não encontrado."
}429The requests-per-minute limit was reached. Wait for the time given in the Retry-After header.
application/json
{
"error": "too_many_requests",
"message": "Muitas requisições com esta chave de API. Aguarde o fim da janela e tente novamente."
}