Create a pipeline

Pipelines allow you to group opportunity statuses into categories.

 

Request Path Parameters
Parameter Type Required Description
org_id number Yes The unique identifier of your organization

 

Request Body Parameter
Attribute Type Required Description
name string Yes The name of the pipeline

Example Request & Response


$ curl https://api.custerem.com/<org_id>/opportunities/pipelines/ \
-X POST \
-H 'Authorization: X-API-KEY <Your API Key>' \
-H 'Content-Type: application/json' \
-d '{
    "name": "Sales Pipeline"
}'

 

200 OK

{
    "name": "Sales Pipeline"
}

 

400 Bad Request

{
    "name": [
        "This field is required."
    ]
}