API referenceCampaigns
Update Campaign Step
PUT
Update a campaign step
Required scope: campaigns:write
header
AuthorizationBearer <luso8_sk_live_<40 characters>>A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.
campaign_id*Campaign Idstep_id*Step Idapplication/json- body
Schema for updating a campaign step
name?string|nulldescription?string|nullstep_type?|nullorder?integer|nullchannel?|nullsubject?string|nullcontent?string|nullcontent_html?string|nulltemplate_id?string|nullagent_id?string|nullagent_config?|nullai_message_config?|nullwait_duration?integer|nullwait_unit?string|nullwait_until?|nullcondition_type?|nullcondition_config?|nullcondition_timeout?integer|nullnext_step_id?string|nulltrue_branch_step_id?string|nullfalse_branch_step_id?string|nullaction_config?|nullwebhook_url?string|nullwebhook_method?string|nullwebhook_headers?|nullwebhook_payload?|nullis_active?boolean|nullskip_if_contacted?boolean|nullretry_on_failure?boolean|nullmax_retries?integer|nullinclude_signature?boolean|nulltrigger_workflow_id?string|nullab_test_enabled?boolean|nullab_variants?array<>|nullreview_status?|nullSuccessful Response
application/json- response
Schema for campaign step response
name*Namedescription?string|nullstep_type*StepTypeValue in
"message""ai_message""wait""condition""ai_agent""webhook""update_contact""add_to_list""remove_from_list""end"order*Orderchannel?|nullsubject?string|nullcontent?string|nullcontent_html?string|nulltemplate_id?string|nullagent_id?string|nullagent_config?|nullai_message_config?|nullwait_duration?integer|nullwait_unit?string|nullwait_until?|nullcondition_type?|nullcondition_config?|nullcondition_timeout?integer|nullnext_step_id?string|nulltrue_branch_step_id?string|nullfalse_branch_step_id?string|nullaction_config?|nullwebhook_url?string|nullwebhook_method?|Default
"POST"webhook_headers?|nullwebhook_payload?|nullis_active?Is ActiveDefault
trueskip_if_contacted?Skip If ContactedDefault
falseretry_on_failure?Retry On FailureDefault
truemax_retries?Max RetriesDefault
3include_signature?Include SignatureDefault
truetrigger_workflow_id?string|nullab_test_enabled?Ab Test EnabledDefault
falseab_variants?array<>|nullid*Idcampaign_id*Campaign Idtotal_executed?Total ExecutedDefault
0total_success?Total SuccessDefault
0total_failed?Total FailedDefault
0review_status?StepReviewStatusPer-step review state for the generate-copy → review → launch flow.
Default
"pending"Value in
"pending""generated""reviewed""edited"reviewed_by?string|nullreviewed_at?|nullgenerated_at?|nullgeneration_job_id?string|nullcreated_at*Created AtFormat
date-timeupdated_at?|nullcurl -X PUT 'https://api.luso8.rexplore.ai/api/v1/campaigns/string/steps/string' \ -H 'Content-Type: application/json' \ -d '{}'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"}