Update a campaign step
Partially updates a campaign step.
Partially updates a campaign step.
Authorization
apiKey In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/steps/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"campaign_id": "78614b6c-fe7c-41e2-8e25-c9b3a3c91904",
"step_number": 0,
"step_type": "message",
"channel": "email",
"content_type": "ai_generated",
"body_format": "html",
"email_thread_mode": "new_thread",
"content": "string",
"ai_prompt": "string",
"hybrid_config": null,
"subject_template": "string",
"delay_minutes": 0,
"target_campaign_id": "cb9903d4-aeac-4c5f-9c18-fdb4a1672efa",
"parent_connect_step_id": "8ca6059c-b7f8-4cdd-9a2e-a0131fac8cf2",
"task_assignee": "mailbox_owner",
"attachments": [
null
],
"created_at": "string",
"updated_at": "string"
}
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}Send a campaign step as a test POST
Renders a saved email step for the given contact exactly as a real send would (template variables, AI content, tracking and unsubscribe settings) and delivers it to `recipientEmail` instead of the contact. `recipientEmail` must belong to an active user in your organization. Works on draft campaigns. Nothing is recorded against the contact. Uses one of the campaign's sending inboxes, so it counts toward that inbox's daily limit.
Update a campaign PATCH
Partially updates an existing campaign.