Skip to main content
GET
/
v1
/
pipelines
List Pipelines
curl --request GET \
  --url https://api.example.com/v1/pipelines
{
  "data": {
    "pipelines": [
      {
        "id": "<string>",
        "name": "<string>",
        "color": "<string>",
        "stages": [
          {
            "id": "<string>",
            "name": "<string>",
            "stage_type": "<string>",
            "sort_order": 123,
            "probability": 123
          }
        ]
      }
    ]
  }
}

Request

Headers

Authorization: Bearer wbk_your_api_key_here

Response

data
object
curl https://data.leadlex.com/functions/v1/api-gateway/v1/pipelines \
  -H "Authorization: Bearer wbk_your_api_key_here"

Example Response

{
  "data": {
    "pipelines": [
      {
        "id": "pipe-001",
        "name": "Sales Pipeline",
        "color": "#4CAF50",
        "stages": [
          { "id": "stage-001", "name": "Lead", "stage_type": "open", "sort_order": 1, "probability": 10 },
          { "id": "stage-002", "name": "Proposal", "stage_type": "open", "sort_order": 2, "probability": 40 },
          { "id": "stage-003", "name": "Won", "stage_type": "won", "sort_order": 3, "probability": 100 }
        ]
      }
    ]
  }
}

Errors

StatusCodeDescription
403insufficient_permissionsMissing deals:read permission