curl --request GET \
--url https://api.example.com/v1/campaigns/{id}/steps{
"data": {
"steps": [
{
"id": "<string>",
"index": 123,
"subject": "<string>",
"body": "<string>",
"delay_days": 123,
"delay_hours": 123,
"send_condition": "<string>",
"created_at": "<string>"
}
]
}
}Retrieve all sequence steps for a campaign in order
curl --request GET \
--url https://api.example.com/v1/campaigns/{id}/steps{
"data": {
"steps": [
{
"id": "<string>",
"index": 123,
"subject": "<string>",
"body": "<string>",
"delay_days": 123,
"delay_hours": 123,
"send_condition": "<string>",
"created_at": "<string>"
}
]
}
}Authorization: Bearer wbk_your_api_key_here
campaigns:read permission. Steps are returned in send order (index 0 first).Show properties
Show Step object
{{first_name}})always, if_no_reply, if_no_open, if_opened, if_clickedcurl https://data.leadlex.com/functions/v1/api-gateway/v1/campaigns/cmp_abc123/steps \
-H "Authorization: Bearer wbk_your_api_key_here"
{
"data": {
"steps": [
{
"id": "step_1",
"index": 0,
"subject": "Quick question about {{company_name}}",
"body": "Hi {{first_name}}, ...",
"delay_days": 0,
"delay_hours": 0,
"send_condition": "always",
"created_at": "2026-03-15T09:00:00Z"
},
{
"id": "step_2",
"index": 1,
"subject": "Re: {{company_name}}",
"body": "Just circling back ...",
"delay_days": 3,
"delay_hours": 0,
"send_condition": "if_no_reply",
"created_at": "2026-03-15T09:05:00Z"
}
]
}
}
| Status | Code | Description |
|---|---|---|
| 401 | invalid_key | Invalid or expired API key |
| 403 | insufficient_permissions | Missing campaigns:read permission |
| 404 | campaign_not_found | No campaign with this ID |
| 429 | rate_limited | Rate limit exceeded |