---
title: "GET the HTML Preview of an Email Campaign Activity"
method: GET
path: "/emails/activities/{campaign_activity_id}/previews"
tags: ["Email Scheduling"]
---

# GET the HTML Preview of an Email Campaign Activity

`GET /emails/activities/{campaign_activity_id}/previews`

Use this method to get the HTML preview of an email campaign activity. The HTML preview allows you to verify how the email campaign activity will look before you send it to contacts.

Custom code emails (`format_type` 5) use the Constant Contact account owner's contact information to process contact, custom field, and account variables in the preview.

This method returns the HTML preview encoded as a JSON string. You will need to decode the string before you can use it as valid HTML.

## Path parameters

- `campaign_activity_id` string, uuid, required

## Response `200`

Request successful.

- EmailCampaignActivityPreview
  - `campaign_activity_id` string — The unique ID for an email campaign activity.
  - `from_email` string — The "from email" email header for the email campaign activity.
  - `from_name` string — The "from name" email header for the email campaign activity.
  - `preheader` string — The email preheader for the email campaign activity. Only <code>format_type</code> 3, 4, and 5 email campaign activities use the preheader property.
  - `preview_html_content` string — An HTML preview of the email campaign activity.
  - `preview_text_content` string — A plain text preview of the email campaign activity.
  - `reply_to_email` string — The email "Reply To Email" field for the email campaign activity.
  - `subject` string — The email "Subject" field for the email campaign activity.

## 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.
- `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)
