Skip to main content
GET/stages/

Get stages

You can return a list of all your stages.

Returns up to 100 stages per page. To get the rest, follow next (see Response pagination).

Request​

curl -X GET "https://<your_app_subdomain>.user.com/api/public/stages/" \
-H "Authorization: Token <your_64_char_api_key>" \
-H "Accept: */*; version=2"

Response examples​

{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 201,
"name": "Proposal sent",
"description": "Proposal sent stage.",
"pipeline": 20,
"order": 0
}
]
}

Response fields​

Fields returned in the 200 OK response body.

countinteger
Number of results across all pages. It can lag behind recent changes; see Response pagination.
nextstring (URL)nullable
URL of the next page of results. null on the last page.
previousstring (URL)nullable
URL of the previous page of results. null on the first page.
resultsarray of objects
Results on this page.
results[].idinteger
A unique identifier for the stage which is given by User automatically.
results[].namestring
A stage name.
results[].descriptionstring
A stage description.
results[].pipelineinteger
A unique identifier for the pipeline which is given by User automatically.
results[].orderinteger
Position of the stage in its pipeline, from 0. A stage created without order goes to the end.
note

Errors that can come from any endpoint (401, 429, 500, 502, 504) are described in HTTP response codes.