---
title: "Update Campaign"
method: PATCH
path: "/v1.0/campaigns/{campaignId}/update"
tags: ["Campaigns"]
---

# Update Campaign

`PATCH /v1.0/campaigns/{campaignId}/update`

## Request

- Base URL: `https://api.seamailer.app`
- URL: `https://api.seamailer.app/v1.0/campaigns/{campaignId}/update`
- Auth: API key in header `Authorization`

## Request body

- object
  - `name` string
  - `subject` string
  - `senderId` integer
  - `templateId` integer
  - `groupId` integer
  - `isPublished` boolean
  - `status` string
  - `isArchived` boolean

## Response `200`

OK

- object
  - `code` integer
  - `data` object
    - `campaign` Campaign
      - `id` integer
      - `userId` integer
      - `name` string, nullable
      - `subject` string, nullable
      - `senderId` number, nullable
      - `templateId` number, nullable
      - `groupId` number, nullable
      - `isPublished` boolean
      - `status` string
      - `trackType` string
      - `isArchived` boolean
      - `createdAt` string
      - `updatedAt` string
      - `deletedAt` unknown
  - `message` string
  - `devMessage` string
  - `success` boolean

---

[API](https://skmtc.dev/seamailer/apis/seemailer.md) - [All operations](https://skmtc.dev/seamailer/apis/seemailer/llms.txt) - [OpenAPI document](https://skmtc.dev/seamailer/apis/seemailer/revisions/82e3f24bb269?raw)
