POST Test Send an Email Campaign Activity
Changed onUse this method to send a test email to specific email addresses. Test emails allow you to verify how the email campaign activity will look before you send it to contacts. This method uses the email_addresses array in the request body to determine the recipients of the test email. The test email does not process any dynamic content in the email campaign activity. Dynamic content includes contact and custom field variables.
You can send up to 50 test emails each day. Each recipient you add to the email_addresses array in the request body counts towards this limit. Successfully sending a test email returns a 204 response code without a response body.
Request
- Base URLhttps://api.cc.email/v3
- URLhttps://api.cc.email/v3/emails/activities/{campaign_activity_id}/tests
- 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
The unique ID for an email campaign activity. You can only test send email campaign activities that have the primary_email role.
Request body
Example request
{
"email_addresses": [
"dlang@example.com"
],
"personal_message": "This is a test send of the email campaign activity."
}Response
Test email campaign activity successfully sent. No response body returned.
Changes
- info
the endpoint scheme security
api_keywas removed from the API
- info
- info
endpoint added
- info