Email Previews

Create Email Preview

Generate email previews from HTML rendered on real devices and email clients (Gmail, Outlook, Apple Mail, mobile apps, and other supported platforms).

💳 Credit Cost: Each preview request costs 2 credits.

post/v1/emails/previews

Request

  • Base URL
    https://api.migma.ai
  • URL
    https://api.migma.ai/v1/emails/previews
  • Auth
    API key in header Authorization

Request body

htmlstring required

Email HTML content to preview

subjectstring

Email subject line (for display purposes)

devicesstring[] required

Specific devices to render on

namestring

Custom name for the preview

Response

Preview creation started

successboolean

Changes

No recorded changes to this operation across all 16 revisions of this API.