Get all pipeline stages
get/api/v1/pipelines/{pipelineId}/stagesRetrieves all stages for a pipeline, including name, order, group, and pipeline details.
Code snippet
curl -X 'GET' \
'https://{yourdomain}/api/v1/pipelines/{pipelineId}/stages' \
-H 'accept: text/plain; x-api-version=1.0' \
-H 'x-api-key: {your API key}'
Path parameters
| pipelineIdintegerRequired | The unique identifier of the pipeline for which to retrieve the associated stage details. |
Example response
200 Success
{
"data": [
{
"stageId": 101,
"name": "Qualification",
"sortOrder": 1,
"group": {
"id": 1,
"name": "Open"
},
"pipeline": {
"id": 1,
"name": "Enterprise Sales",
"singularName": "Deal",
"pluralName": "Deals"
},
"createdOn": "2024-10-15T09:30:22.492Z",
"updatedOn": "2024-11-17T09:30:22.492Z"
},
{
"stageId": 102,
"name": "Contract Signed",
"sortOrder": 2,
"group": {
"id": 2,
"name": "Closed won"
},
"pipeline": {
"id": 1,
"name": "Enterprise Sales",
"singularName": "Deal",
"pluralName": "Deals"
},
"createdOn": "2024-10-15T09:30:22.492Z",
"updatedOn": "2024-11-17T09:30:22.492Z"
},
{
"stageId": 103,
"name": "Contract denied",
"sortOrder": 3,
"group": {
"id": 3,
"name": "Closed lost"
},
"pipeline": {
"id": 1,
"name": "Enterprise Sales",
"singularName": "Deal",
"pluralName": "Deals"
},
"createdOn": "2024-10-15T09:30:22.492Z",
"updatedOn": "2024-11-17T09:30:22.492Z"
}
]
}