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

Example response

JSON

{
  "pipelines": [
    {
      "pipeline_id": "1042",
      "name": "Sales",
      "stages": [
        "Discovery",
        "Proposal",
        "Negotiation"
      ]
    },
    {
      "pipeline_id": "1043",
      "name": "Renewals",
      "stages": [
        "Upcoming",
        "Contacted",
        "Confirmed"
      ]
    }
  ],
  "loss_reasons": [
    "Competitor",
    "Features",
    "Price"
  ]
}

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.