List pipelines
Pipelines with their stages, and the loss reasons of your workspace.
GET https://cotlet.dev/api/v1/copper-crm/pipelines
read
Returns every pipeline you can see with its stages in board order, and the loss reasons set under Settings > Loss Reasons. Use pipeline and stage names as the filters of list_opportunities and as the values for create_opportunity and update_opportunity. Use a loss reason name with update_opportunity when you mark a deal Lost.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/copper-crm/pipelines \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("copper-crm", "list_pipelines") const result = await cotlet.call('copper-crm', 'list_pipelines'); cotlet call copper-crm list_pipelines Example response
{
"pipelines": [
{
"pipeline_id": "1042",
"name": "Sales",
"stages": [
"Discovery",
"Proposal",
"Negotiation"
]
},
{
"pipeline_id": "1043",
"name": "Renewals",
"stages": [
"Upcoming",
"Contacted",
"Confirmed"
]
}
],
"loss_reasons": [
"Competitor",
"Features",
"Price"
]
}