Skip to Content
API referenceCampaigns

List Campaign Steps

GET
/api/v1/campaigns/{campaign_id}/steps

List all steps for a campaign

Required scope: campaigns:read

Authorization

headerAuthorizationBearer <luso8_sk_live_<40 characters>>

A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.

Path Parameters

campaign_id*Campaign Id

Response Body

Successful Response

application/json
  1. response
[index: integer]?

Schema for campaign step response

Example Request
curl -X GET 'https://api.luso8.rexplore.ai/api/v1/campaigns/string/steps'
Example Response
[  {    "name": "string",    "description": "string",    "step_type": "message",    "order": 0,    "channel": "email",    "subject": "string",    "content": "string",    "content_html": "string",    "template_id": "string",    "agent_id": "string",    "agent_config": {},    "ai_message_config": {},    "wait_duration": 0,    "wait_unit": "string",    "wait_until": {},    "condition_type": "email_opened",    "condition_config": {},    "condition_timeout": 0,    "next_step_id": "string",    "true_branch_step_id": "string",    "false_branch_step_id": "string",    "action_config": {},    "webhook_url": "string",    "webhook_method": "POST",    "webhook_headers": {      "property1": "string",      "property2": "string"    },    "webhook_payload": {},    "is_active": true,    "skip_if_contacted": false,    "retry_on_failure": true,    "max_retries": 3,    "include_signature": true,    "trigger_workflow_id": "string",    "ab_test_enabled": false,    "ab_variants": [      {}    ],    "id": "string",    "campaign_id": "string",    "total_executed": 0,    "total_success": 0,    "total_failed": 0,    "review_status": "pending",    "reviewed_by": "string",    "reviewed_at": "2019-08-24T14:15:22Z",    "generated_at": "2019-08-24T14:15:22Z",    "generation_job_id": "string",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }]