Skip to main content
POST/stages/

Create stage

You can create a stage.

Attributes

Optional unless marked required

descriptionstringrequired
A stage description.
namestringrequired
A stage name.
pipelineintegerrequired
A unique identifier for the pipeline which is given by User automatically.

Request​

curl -X POST "https://<your_app_subdomain>.user.com/api/public/stages/" \
-H "Authorization: Token <your_64_char_api_key>" \
-H "Accept: */*; version=2" \
-H "Content-Type: application/json" \
-d '{
"pipeline": 20,
"name": "Proposal sent",
"description": "Proposal sent stage."
}'

Response examples​

{
"id": 36584,
"name": "New stage",
"description": "your description",
"pipeline": 6179,
"order": 0
}

Response fields​

Fields returned in the 201 Created response body.

idinteger
A unique identifier for the stage which is given by User automatically.
namestring
A stage name.
descriptionstring
A stage description.
pipelineinteger
A unique identifier for the pipeline which is given by User automatically.
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.