Skip to main content
GET
/
v1
/
emails
/
previews
/
{previewId}
Get Preview Status and Results
curl --request GET \
  --url https://api.migma.ai/v1/emails/previews/{previewId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "previewId": "<string>",
    "status": "<string>",
    "previewData": {
      "previews": [
        {
          "deviceKey": "<string>",
          "deviceName": "<string>",
          "imageUrl": "<string>",
          "thumbnailUrl": "<string>"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use 'Authorization: Bearer ' where the JWT token is obtained from the login endpoint.

Path Parameters

previewId
string
required

Preview ID returned from create endpoint

Response

Preview retrieved successfully

success
boolean
data
object