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
curl https://cotlet.dev/api/v1/freshsales/pipelines \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("freshsales", "list_pipelines")
Node.js
const result = await cotlet.call('freshsales', 'list_pipelines');
CLI
cotlet call freshsales list_pipelines

Example response

JSON

{
  "pipelines": [
    {
      "name": "Sales pipeline",
      "stages": [
        "New",
        "Follow-up",
        "Under review",
        "Demo",
        "Negotiation",
        "Won",
        "Lost"
      ]
    }
  ],
  "lost_reasons": [
    "Budget",
    "Went with another vendor",
    "No response"
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.