---
title: "Public Update Campaign Step"
method: PATCH
path: "/campaigns/steps/{step_id}"
tags: ["Campaigns"]
---

# Public Update Campaign Step

`PATCH /campaigns/steps/{step_id}`

## Request

- Base URL: `https://public.outreach2day.com`
- URL: `https://public.outreach2day.com/campaigns/steps/{step_id}`
- Auth: HTTP bearer

Campaigns endpoint for PATCH /campaigns/steps/{step_id}.

## Path parameters

- `step_id` string, required

## Query parameters

- `workspaceId` integer, required

## Request body

- CampaignStepUpdateIn
  - `order` integer, nullable
  - `delaySeconds` integer, nullable: Delay AFTER this step before the next step can be sent.
  - `delayDays` integer, nullable: Delay AFTER this step before the next step can be sent (in days).
  - `subject` string, nullable
  - `body` string, nullable
  - `bodyText` string, nullable
  - `bodyHtml` string, nullable
  - `variants` CampaignStepVariantIn[], nullable
    - `subject` string, nullable
    - `body` string, nullable
    - `bodyText` string, nullable
    - `bodyHtml` string, nullable
    - `text_html_validation_override` string, 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.
    - `weight` integer, nullable
    - `share` number, nullable
  - `text_html_validation_override` string, 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.

## Response `200`

Successful Response

- CampaignStepOut
  - `id` string, nullable
  - `campaignId` string, nullable
  - `order` integer, nullable
  - `subject` string, nullable
  - `body` string, nullable
  - `bodyText` string, nullable
  - `bodyHtml` string, nullable
  - `delaySeconds` integer, nullable: Delay AFTER this step before the next step can be sent.
  - `delayDays` integer, nullable: Delay AFTER this step before the next step can be sent (in days).
  - `variants` object[], nullable
  - `createdAt` string, date-time, nullable
  - `updatedAt` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/outreach2day/apis/outreach-today-public-api.md) · [All operations](https://skmtc.dev/outreach2day/apis/outreach-today-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/outreach2day/apis/outreach-today-public-api/revisions/0e5471143371?raw)
