---
title: "Update the Campaign"
method: PUT
path: "/campaigns/{campaign_uid}/template"
tags: ["Campaigns"]
---

# Update the Campaign

`PUT /campaigns/{campaign_uid}/template`

## Request body

- object
  - `campaign` CampaignTemplateRequestData
    - `template` object
      - `content` string — Campaign content that has been converted to Base64
      - `template_uid` string — Content will be overrided by the template
      - `only_plain_text` 'yes' | 'no'
      - `auto_plain_text` 'yes' | 'no' — Default is yes
      - `plain_text` string — The plain text that has been converted to Base64

## Response `200`

Request success

- object
  - `status` 'success' | 'error'

## Other responses

- `404` — The resource is not exist
- `422` — Invalid data
- `429` — Too many request

---

[API](https://skmtc.net/blastable/apis/blastable-api-info.md) · [All operations](https://skmtc.net/blastable/apis/blastable-api-info/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blastable/blastable-api-info/versions/cc4674aae0eb/schema)
