List deal phases

The phases of your deal pipelines, in order, with their IDs.

GET https://cotlet.dev/api/v1/teamleader/deal-phases

read

Returns the phases of one pipeline or of all pipelines. Every pipeline starts with New, Quotation sent, Accepted and Refused, and your account may have more. The phase ID is what move_deal and list_deals take. How many pipelines you have depends on your package.

Parameters

Parameters: list_deal_phases
NameTypeDescription
pipeline_id string string Only the phases of this pipeline. Default: all.

Request

cURL
curl https://cotlet.dev/api/v1/teamleader/deal-phases \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("teamleader", "list_deal_phases")
Node.js
const result = await cotlet.call('teamleader', 'list_deal_phases');
CLI
cotlet call teamleader list_deal_phases

Example response

JSON

{
  "phases": [
    {
      "phase_id": "1758e847-cc1f-04ce-bd17-5a852e8c01b4",
      "name": "New",
      "pipeline": "Sales"
    },
    {
      "phase_id": "3a90b4d2-6e17-4c85-8f23-9d1e5a7c0b46",
      "name": "Quotation sent",
      "pipeline": "Sales"
    },
    {
      "phase_id": "5c12d8f6-0a39-4b71-a4e5-1f6b8d3c9e72",
      "name": "Accepted",
      "pipeline": "Sales"
    }
  ]
}

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.