Email Campaigns
PATCH (Update) an Email Campaign Name
Changed onUse 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.
patch/emails/{campaign_id}
Request
- Base URLhttps://api.cc.email/v3
- URLhttps://api.cc.email/v3/emails/{campaign_id}
- Auth
- OAuth 2Implicit: https://authz.constantcontact.com/oauth2/default/v1/authorizeScopes: campaign_data
- or OAuth 2Authorization code: https://authz.constantcontact.com/oauth2/default/v1/authorizeToken URL: https://authz.constantcontact.com/oauth2/default/v1/token scopes: campaign_data
Path parameters
campaign_idstring required
The unique identifier for an email campaign.
Request body
Example request
{
"name": "December Newsletter for Dog Lovers"
}Response
Request successful.
Example response
{
"campaign_activities": [
{
"campaign_activity_id": "0e3feddd-c8da-4d53-a507-aae5082b8b75",
"role": "primary_email",
"document_id": "21babb03-8385-4739-b9cc-n6cce44633a7"
}
],
"campaign_id": "8987dc1a-48ef-433a-b836-7ca4f9aa3481",
"created_at": "2018-02-06T22:09:15.000Z",
"current_status": "Draft",
"name": "December Newsletter for Dog Lovers",
"type": "NEWSLETTER",
"type_code": 10,
"updated_at": "2018-06-27T10:28:09.000Z"
}Changes
- info
the endpoint scheme security
api_keywas removed from the API
- info