Skip to main content
GET
/
v1
/
stats
/
pipeline
Pipeline Stats
curl --request GET \
  --url https://api.example.com/v1/stats/pipeline
{
  "data": {
    "stages": {},
    "total": 123
  }
}

Request

Query Parameters

pipeline
string
Filter by pipeline name
tags
string
Filter by tag

Headers

Authorization: Bearer wbk_your_api_key_here

Response

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

Example Response

{
  "data": {
    "stages": {
      "Lead": 15,
      "Proposal": 8,
      "Negotiation": 4,
      "Won": 12,
      "Lost": 6
    },
    "total": 45
  }
}

Errors

StatusCodeDescription
403insufficient_permissionsMissing deals:read permission