curl --request GET \
--url https://api.example.com/v1/deals{
"data": {
"deals": [
{
"id": "<string>",
"name": "<string>",
"stage": "<string>",
"status": "<string>",
"pipeline": "<string>",
"estimated_value": 123,
"main_contact_id": "<string>",
"owner_user_id": "<string>",
"priority": "<string>",
"matter_type": "<string>",
"tags": [
{}
],
"related_company_id": "<string>",
"high_level_description": "<string>",
"next_follow_up_date": "<string>",
"fee_model": "<string>",
"probability": 123,
"currency": "<string>",
"closed_date": "<string>",
"created_date": "<string>",
"updated_date": "<string>"
}
]
},
"meta": {
"page": 123,
"per_page": 123,
"total": 123
}
}Retrieve a paginated list of deals in your workspace
curl --request GET \
--url https://api.example.com/v1/deals{
"data": {
"deals": [
{
"id": "<string>",
"name": "<string>",
"stage": "<string>",
"status": "<string>",
"pipeline": "<string>",
"estimated_value": 123,
"main_contact_id": "<string>",
"owner_user_id": "<string>",
"priority": "<string>",
"matter_type": "<string>",
"tags": [
{}
],
"related_company_id": "<string>",
"high_level_description": "<string>",
"next_follow_up_date": "<string>",
"fee_model": "<string>",
"probability": 123,
"currency": "<string>",
"closed_date": "<string>",
"created_date": "<string>",
"updated_date": "<string>"
}
]
},
"meta": {
"page": 123,
"per_page": 123,
"total": 123
}
}active, won, lost)Authorization: Bearer wbk_your_api_key_here
Show properties
Show Deal object
curl https://data.leadlex.com/functions/v1/api-gateway/v1/deals \
-H "Authorization: Bearer wbk_your_api_key_here"
{
"data": {
"deals": [
{
"id": "deal-001",
"name": "Acme Corp Partnership",
"stage": "Proposal",
"status": "active",
"pipeline": "Sales",
"estimated_value": 50000,
"main_contact_id": "contact-001",
"owner_user_id": "user-001",
"priority": "high",
"matter_type": "partnership",
"tags": ["enterprise"],
"probability": 60,
"currency": "USD",
"created_date": "2026-03-01T10:00:00Z",
"updated_date": "2026-03-05T14:00:00Z"
}
]
},
"meta": { "page": 1, "per_page": 50, "total": 23 }
}
| Status | Code | Description |
|---|---|---|
| 401 | invalid_key | Invalid or expired API key |
| 403 | insufficient_permissions | Missing deals:read permission |
| 429 | rate_limited | Rate limit exceeded |