---
title: "Check Email Compatibility"
method: POST
path: "/v1/emails/validate/compatibility"
tags: ["Email Validation"]
---

# Check Email Compatibility

`POST /v1/emails/validate/compatibility`

Test email HTML on major webmail, desktop, and mobile clients and return a compatibility report. Flags rendering issues in Gmail, Outlook, Apple Mail, and other supported clients.

## Request body

- object
  - `html` string, required — Email HTML content to validate
  - `clients` string[] — Specific email client IDs to test (optional; defaults to the standard client set)

## Response `200`

Compatibility check completed

- object
  - `success` boolean
  - `data` object
    - `clientIssues` object[] — Issues found for each email client
      - `client` string
      - `issues` object[]
      - `warnings` object[]
    - `summary` object
      - `totalErrors` integer
      - `totalWarnings` integer
      - `compatibilityScore` integer — Overall compatibility score (0-100)
    - `supportedClients` string[]
    - `metadata` object
      - `processingTime` integer
      - `clientsTested` integer

## Other responses

- `400` — Bad request
- `401` — Unauthorized

---

[API](https://skmtc.net/migma/apis/migma-ai-api-v1.md) · [All operations](https://skmtc.net/migma/apis/migma-ai-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/migma/migma-ai-api-v1/revisions/3f3dba69574b/schema)
