Campaigns

Update a draft campaign

Updates only the fields present in the body: fixing a draft does not require recreating it. After scheduling the content is frozen and the change is rejected. Required scope: campaigns:write.

patch/campaigns/{id}

Request

  • Base URL: https://sending.dev/api/v1
  • URL: https://sending.dev/api/v1/campaigns/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Campaign ID.

Request body

namestring
fromAddressstring email
listIdstring uuid nullable
segmentIdstring uuid nullable
templateIdstring uuid nullable
subjectstring
htmlstring
disableTrackingboolean
disableClickTrackingboolean
disableUtmboolean

Response

Campaign updated.

warningsstring[]

Non-blocking warnings: present only when there is something to report, e.g. {{...}} variables that match no contact field.

Example response

{
  "campaign": {
    "scheduledAt": "2026-06-30T12:00:00.000Z",
    "completedAt": "2026-06-30T12:00:00.000Z",
    "createdAt": "2026-06-30T12:00:00.000Z"
  }
}

Changes

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