curl --request GET \
--url https://api.example.com/v1/campaigns{
"data": {
"campaigns": [
{
"id": "<string>",
"name": "<string>",
"status": "<string>",
"list_id": "<string>",
"created_at": "<string>",
"stats": {
"sent": 123,
"opened": 123,
"replied": 123
}
}
]
}
}Retrieve all campaigns in your workspace
curl --request GET \
--url https://api.example.com/v1/campaigns{
"data": {
"campaigns": [
{
"id": "<string>",
"name": "<string>",
"status": "<string>",
"list_id": "<string>",
"created_at": "<string>",
"stats": {
"sent": 123,
"opened": 123,
"replied": 123
}
}
]
}
}Authorization: Bearer wbk_your_api_key_here
Show properties
Show Campaign object
draft, pending_approval, active, paused, completedcurl https://data.leadlex.com/functions/v1/api-gateway/v1/campaigns \
-H "Authorization: Bearer wbk_your_api_key_here"
{
"data": {
"campaigns": [
{
"id": "campaign-uuid-1",
"name": "Q1 Outreach",
"status": "active",
"list_id": "list-uuid-1",
"created_at": "2026-02-01T10:00:00Z",
"stats": {
"sent": 120,
"opened": 45,
"replied": 12
}
},
{
"id": "campaign-uuid-2",
"name": "Legal Tech Demo",
"status": "draft",
"list_id": "list-uuid-2",
"created_at": "2026-02-20T14:30:00Z",
"stats": {
"sent": 0,
"opened": 0,
"replied": 0
}
}
]
}
}
| Status | Description |
|---|---|
draft | Campaign created but not started |
pending_approval | Sent to Lexi AI for review |
active | Currently sending emails |
paused | Temporarily stopped |
completed | All emails sent |
| Status | Code | Description |
|---|---|---|
| 401 | invalid_key | Invalid API key |
| 403 | insufficient_permissions | Missing read permission |
| 429 | rate_limited | Rate limit exceeded |