Campaigns

Public Create Campaign Step

Campaigns endpoint for POST /campaigns/{campaign_id}/steps.

post/campaigns/{campaign_id}/steps

Request

  • Base URL: https://public.outreach2day.com
  • URL: https://public.outreach2day.com/campaigns/{campaign_id}/steps
  • Auth: HTTP bearer

Path parameters

campaign_idstring required

Query parameters

workspaceIdinteger required

Request body

orderinteger required
delaySecondsinteger nullable

Delay AFTER this step before the next step can be sent.

delayDaysinteger nullable

Delay AFTER this step before the next step can be sent (in days).

subjectstring nullable
bodystring nullable
bodyTextstring nullable
bodyHtmlstring nullable
text_html_validation_overridestring nullable

A reason to save a plain-text body that contains HTML tags anyway. Without it such a body is refused with 422 TEXT_BODY_LOOKS_LIKE_HTML. The reason is logged and never stored.

Example request

{
  "bodyText": "Hi {{first_name}}, sharing quick context.",
  "delaySeconds": 0,
  "order": 1,
  "subject": "Quick intro"
}

Response

Successful Response

idstring nullable
campaignIdstring nullable
orderinteger nullable
subjectstring nullable
bodystring nullable
bodyTextstring nullable
bodyHtmlstring nullable
delaySecondsinteger nullable

Delay AFTER this step before the next step can be sent.

delayDaysinteger nullable

Delay AFTER this step before the next step can be sent (in days).

variantsobject[] nullable
createdAtstring date-time nullable
updatedAtstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.