Skip to main content
GET
/
v1
/
emails
/
previews
/
{previewId}
/
devices
/
{deviceKey}
Get Specific Device Preview
curl --request GET \
  --url https://api.migma.ai/v1/emails/previews/{previewId}/devices/{deviceKey} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "device": {
      "deviceKey": "<string>",
      "deviceName": "<string>",
      "status": "<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

deviceKey
string
required

Device key (e.g., gmail_chrome, iphone13)

Response

Device preview retrieved

success
boolean
data
object