---
title: "PATCH (Update) an Email Campaign Name"
method: PATCH
path: "/emails/{campaign_id}"
tags: ["Email Campaigns"]
---

# PATCH (Update) an Email Campaign Name

`PATCH /emails/{campaign_id}`

Use this method to rename an email campaign. The name is not visible to contacts. The name must be unique and cannot exceed 80 characters. You cannot rename email campaigns that have a `Removed` status.

## Path parameters

- `campaign_id` string, required

## Request body

- EmailCampaignName
  - `name` string, required — The updated email campaign name. The email campaign name must be unique.

## Response `200`

Request successful.

- EmailCampaign
  - `campaign_activities` ActivityReference[] — Lists the role and unique activity ID of each campaign activity that is associated with an Email Campaign.
    - `campaign_activity_id` string — The ID (UUID) that uniquely identifies a campaign activity.
    - `role` string — The purpose of the individual campaign activity in the larger email campaign effort. Valid values are: <ul> <li>primary_email — The main email marketing campaign that you send to contacts. The <code>primary_email</code> contains the complete email content.</li> <li>permalink — A permanent link to a web accessible version of the <code>primary_email</code> content without any personalized email information. For example, permalinks do not contain any of the contact details that you add to the <code>primary_email</code> email content. </li> <li>resend — An email campaign that you resend to contacts that did not open the email campaign.</li> </ul> Constant Contact creates a <code>primary_email</code> and a <code>permalink</code> role campaign activity when you create an email campaign.
    - `document_id` string — Identifies the email document used in an email editor (format_type 4) email campaign.
  - `campaign_id` string — The unique ID used to identify the email campaign (UUID format).
  - `created_at` string, date-time — The system generated date and time that this email campaign was created. This string is readonly and is in ISO-8601 format.
  - `current_status` string — The current status of the email campaign. Valid values are: <ul> <li>Draft — An email campaign that you have created but have not sent to contacts.</li> <li>Scheduled — An email campaign that you have scheduled for Constant Contact to send to contacts.</li> <li>Executing — An email campaign that Constant Contact is currently sending to contacts. Email campaign activities are only in this status briefly.</li> <li>Done — An email campaign that you successfully sent to contacts.</li> <li>Error — An email campaign activity that encountered an error.</li> <li>Removed — An email campaign that a user deleted. Users can view and restore deleted emails through the UI.</li> </ul>
  - `name` string — The descriptive name the user provides to identify this campaign. Campaign names must be unique for each account ID.
  - `type` string — Identifies the type of campaign that you select when creating the campaign. Newsletter and Custom Code email campaigns are the primary types.
  - `type_code` integer — The code used to identify the email campaign `type`. <ul> <li> 1 (Default) </li> <li> 2 (Bulk Email) </li> <li> 10 (Newsletter) </li> <li> 11 (Announcement) </li> <li> 12 (Product/Service News) </li> <li> 14 (Business Letter) </li> <li> 15 (Card) </li> <li> 16 (Press release)</li> <li> 17 (Flyer) </li> <li> 18 (Feedback Request) </li> <li> 19 (Ratings and Reviews) </li> <li> 20 (Event Announcement) </li> <li> 21 (Simple Coupon) </li> <li> 22 (Sale Promotion) </li> <li> 23 (Product Promotion) </li> <li> 24 (Membership Drive) </li> <li> 25 (Fundraiser) </li> <li> 26 (Custom Code Email)</li> <li> 57 (A/B Test)</li> </ul>
  - `updated_at` string, date-time — The system generated date and time showing when the campaign was last updated. This string is read only and is in ISO-8601 format.

## Other responses

- `400` — Bad request. Either the JSON was malformed or there was a data validation error.
- `401` — The Access Token used is invalid.
- `403` — Forbidden request. You lack the necessary scopes, you lack the necessary user privileges, or the application is deactivated.
- `404` — The requested resource was not found.
- `409` — Conflict. The resource you are creating or updating conflicts with an existing resource.
- `415` — Unsupported Media Type.
- `429` — Too many requests. You exceeded the request rate limit.
- `500` — There was a problem with our internal service.

---

[API](https://skmtc.net/cc/apis/appconnect-v3.md) · [All operations](https://skmtc.net/cc/apis/appconnect-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cc/appconnect-v3/revisions/4b4a534c818d/schema)
