Developers can integrate email marketing operations into external applications using Email Marketing V2 Public APIs. These integrations can automate campaign preparation, testing, delivery, and performance reporting.


TABLE OF CONTENTS


What are Email V2 Public APIs?


Email V2 Public APIs provide programmatic access to email marketing tools, including campaigns, reusable templates, recipient selection, and analytics.


Key Benefits of Email V2 Public APIs

  • Automation: Reduce repetitive campaign management tasks.

  • Content reuse: Build campaigns from existing email designs.

  • Quality assurance: Review and test messages before delivery.

  • Audience planning: Determine potential recipients before sending.

  • Reporting: Integrate campaign performance data into external reporting tools.


How to Get Started with Email V2 Public APIs


Configure authenticated API access with the appropriate permissions. Prepare your email content and audience, validate the campaign, configure delivery, and retrieve performance results.


Campaign Management APIs (V2)


Manage campaign creation, modification, duplication, deletion, and archival through an integration. Sending information can also be modified when the campaign status permits it.


Templates V2 API


Manage reusable email designs independently of campaign delivery, including creating, retrieving, modifying, duplicating, and testing templates.


Email Previews, Testing, and Validation


Check saved content and personalization before sending live campaigns.


A/B Testing and Campaign Variations


Manage and validate individual versions of an A/B test programmatically.


Audience Selection and Recipient Estimation


Estimate the size of your intended audience using Smart Lists, custom segments, or eligible contacts across your contact database.


Sending Domains


Retrieve existing sending domains through the API. Domain setup and verification are separate operations.


Campaign Scheduling and Sending Controls


Manage scheduled delivery, including batch scheduling and applicable pause, resume, cancellation, and archival operations.


Email Content and Editor Type Protection


Use allowEditorTypeChange: true when intentionally changing editor formats. This parameter does not bypass Design Editor 2.0 design JSON protections.


Audience Pagination and Safe Request Retries


Use pagination when retrieving large audience collections. Consult the relevant endpoint requirements before retrying requests to prevent duplicate operations.


Statistics V2 API


Retrieve campaign performance information for custom analytics and reporting integrations.


Legacy APIs vs V2 APIs


Review the current endpoint documentation when maintaining existing integrations or developing new ones.


Email Public APIs and MCP


The Model Context Protocol (MCP) enables compatible AI clients to interact with supported account tools. Available actions depend on the client's permissions and supported functionality.


Frequently Asked Questions


Q: Can I send test emails outside my campaign audience?

Yes. Test recipients do not need to belong to the campaign audience.


Q: Does validation guarantee email delivery?

No. Validation and deliverability are separate considerations.


Q: Does duplicating a campaign schedule it?

No. Configure scheduling separately.


Q: Can I resume a canceled campaign?

No. Changing its sender information does not restore resumability.


Q: Can I use the Email Marketing interface alongside the Public API?

Yes. Both provide ways to manage email marketing operations.