# Create stage

You can create a stage.

POST /stages/

Attributes Type Required Description
description string yes A stage description.
name string yes A stage name.
pipeline integer yes A unique identifier for the pipeline which is given by User.com automatically.

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
curl -X POST -H "Authorization: Token <your_64_char_api_key>" -H "Content-Type: application/json" 
       -H "Accept: */*; version=2" -d '{
      "pipeline": "6179",
      "name": "New stage",
      "description": "your description"
    }' "https://<your_app_subdomain>.user.com/api/public/stages/"

# Response

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