List pipelines and stages
Pipelines with their stages in order, and the Lost reasons.
GET https://cotlet.dev/api/v1/freshsales/pipelines
read
Returns each pipeline with its stages from first to last, and the list of Lost reasons an admin set. Use these exact names in list_deals and update_deal_stage. Several pipelines in one account need the Pro plan, so on a lower plan you get one.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/freshsales/pipelines \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("freshsales", "list_pipelines") const result = await cotlet.call('freshsales', 'list_pipelines'); cotlet call freshsales list_pipelines Example response
{
"pipelines": [
{
"name": "Sales pipeline",
"stages": [
"New",
"Follow-up",
"Under review",
"Demo",
"Negotiation",
"Won",
"Lost"
]
}
],
"lost_reasons": [
"Budget",
"Went with another vendor",
"No response"
]
}