---
title: "Mailercloud Email Review API - Help Guide"
description: "The Mailercloud Email Review API helps you check and validate your email content before sending. It ensures your emails are properly formatted, free of broken links, and compliant with email standards to improve deliverability."
url: https://help.mailercloud.com/en/articles/156-mailercloud-email-review-api-help-guide
collection: "API Platform"
updated: 2026-06-23
language: en
---

# Mailercloud Email Review API - Help Guide

The Mailercloud Email Review API helps you check and validate your email content before sending. It ensures your emails are properly formatted, free of broken links, and compliant with email standards to improve deliverability.

## **What is the Email Review API?**

This API allows you to review emails before sending them to identify potential issues such as:

-   **AMP validation errors** (Ensures your AMP emails follow proper formatting)
    
-   **Broken links** (Checks for incorrect or dead links in your email)
    
-   **Blacklisted domains** (Alerts you if any domain used in your email is blacklisted)
    
-   **Email size compliance** (Ensures your email meets size limitations for better performance)
    

By using this API, you can enhance email deliverability and prevent sending emails with errors that could affect engagement or inbox placement.

## **How to Use the Email Review API?**

### **API Endpoint**

This is the URL where you need to send your request:

```javascript
POST https://email-api.mailercloud.com/email/review
```

### **Authentication**

To use this API, you must include your API key in the request headers.

**Headers:**

```javascript
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY
```

### **Required Information**

<table data-id="edfd1096-e3e9-48a6-bfb0-e7f49f1d7f9d" style="min-width: 186px;"><colgroup><col style="min-width: 25px;"><col style="width: 136px;"><col style="min-width: 25px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><p data-id="8a16b968-e9da-4936-ab9f-7ef1bbb5bdf2" style="text-align: left;"><span><strong>Parameter</strong></span></p></td><td colspan="1" rowspan="1"><p data-id="4b1f4a1e-dcaa-4c4a-ab1f-500adf5b1ca1" style="text-align: left;"><span><strong>Type</strong></span></p></td><td colspan="1" rowspan="1"><p data-id="4601ca72-19f4-45c2-875c-93b09e158d9c" style="text-align: left;"><span><strong>Description</strong></span></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="0956b940-ce69-4b79-88cd-43aaf6e18652" style="text-align: left;"><span style="color: #014f86;">text_content</span></p></td><td colspan="1" rowspan="1"><p data-id="dfbadfd0-0aa3-425e-a347-6c924cd3ff96" style="text-align: left;"><span>String</span></p></td><td colspan="1" rowspan="1"><p data-id="295525c0-b9dd-42b9-8f14-6a0ff9453652" style="text-align: left;"><span>The plain text version of the email</span></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="b8634a6c-323f-43c2-80e3-a13eadbdb0a3" style="text-align: left;"><span style="color: #014f86;">html_content</span></p></td><td colspan="1" rowspan="1"><p data-id="29b0a6ef-6ea4-41d4-8553-4528483f7e1d" style="text-align: left;"><span>String</span></p></td><td colspan="1" rowspan="1"><p data-id="3a6ccb5a-47f4-4952-bcc1-c55ffeadda92" style="text-align: left;"><span>The HTML version of the email</span></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="aa9ab919-a358-4fc0-a9c2-b830074c9c63" style="text-align: left;"><span style="color: #014f86;">amp_content</span></p></td><td colspan="1" rowspan="1"><p data-id="73bd4a43-dce0-426f-86b0-379026501ed7" style="text-align: left;"><span>String</span></p></td><td colspan="1" rowspan="1"><p data-id="71c1aaf1-b006-44c8-933a-6fb90a633d63" style="text-align: left;"><span>The AMP version of the email (if applicable)</span></p></td></tr></tbody></table>

### **Example Request**

```javascript
{
  "text_content": "Welcome to our platform!",
  "html_content": "<h1>Welcome!</h1><p>We are excited to have you.</p>",
  "amp_content": "<amp-img src='logo.png'></amp-img>"
}
```

### **Understanding API Responses**

Once you submit your email content for review, the API will return details about any detected issues.

**Success Response Example:**

```javascript
{
  "broken_links": ["example.com"],
  "blacklist_domains": [
    {
      "target_domain": "example.com",
      "target_ip": "160.0.232.217",
      "results": [
        {
          "blacklist": "blacklist.net",
          "status": "listed",
          "details": "addresses: [127.0.0.2]"
        }
      ]
    }
  ],
  "template": {
    "total_size": "809 bytes",
    "html_template_size": "500 bytes",
    "text_template_size": "309 bytes"
  }
}
```

### **Handling AMP Validation Errors**

If the API detects AMP validation errors, the response will include detailed error messages explaining what needs to be corrected.

**Example AMP Error Response:**

```javascript
{
  "error": "AMP validation errors",
  "validation_errors": [
    {
      "line": 1,
      "position": 15,
      "message": "The mandatory attribute '⚡4email' is missing in tag 'html'."
    },
    {
      "line": 1,
      "position": 49,
      "message": "The attribute 'http-equiv' may not appear in tag 'meta'."
    }
  ]
}
```

### **Response Fields Explained**

<table data-id="08471700-3f17-453e-90fb-cfd5ca4db664" style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><p data-id="3bbb1e1b-2528-49df-9085-a170ae25067c" style="text-align: left;"><span><strong>Field</strong></span></p></td><td colspan="1" rowspan="1"><p data-id="36e8f450-4119-4ef2-a9d5-2aa43357f3a3" style="text-align: left;"><span><strong>Description</strong></span></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="0b64fbe4-8ea4-4cdb-bfda-58eb9f708113" style="text-align: left;"><span style="color: #014f86;">broken_links</span></p></td><td colspan="1" rowspan="1"><p data-id="73a2719f-88ec-472a-babd-7bc6a5856774" style="text-align: left;"><span>A list of broken links found in the email content</span></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="5f0b5fb1-1302-4138-be83-f7bb9dfea87a" style="text-align: left;"><span style="color: #014f86;">blacklist_domains</span></p></td><td colspan="1" rowspan="1"><p data-id="d9087f40-d03a-404e-9e12-cea0b14d8fe5" style="text-align: left;"><span>Information about blacklisted domains present in the email</span></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="e2b63f25-a1ae-4463-a65e-73fce7d9762a" style="text-align: left;"><span style="color: #014f86;">template</span></p></td><td colspan="1" rowspan="1"><p data-id="31a88190-febe-469d-8628-ebdd185978a7" style="text-align: left;"><span>Provides size details for different parts of the email</span></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="2b61e95c-7fa8-441a-bba4-23f7edaeaec3" style="text-align: left;"><span style="color: #014f86;">error</span></p></td><td colspan="1" rowspan="1"><p data-id="41756ab4-98ae-44c3-b477-837912ab67e1" style="text-align: left;"><span>Displays an error message if the email content has validation issues</span></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="521d25b5-0174-48ed-a8e7-ed48f90c5792" style="text-align: left;"><span style="color: #014f86;">validation_errors</span></p></td><td colspan="1" rowspan="1"><p data-id="1453ee91-9cf2-4a97-897f-1ab64985ecda" style="text-align: left;"><span>Detailed AMP validation errors including the line number, position, and issue description</span></p></td></tr></tbody></table>

## **Best Practices for Using the Email Review API**

✅ **Ensure AMP Compliance**: If you're using AMP emails, make sure all required AMP tags and attributes are correctly implemented.

✅ **Fix Broken Links**: Regularly check your email content for outdated or non-working links.

✅ **Monitor Blacklisted Domains**: Avoid sending emails containing links to domains flagged by spam filters.

✅ **Optimize Email Size**: Keep email size within recommended limits to improve deliverability and loading speed.

## **Need More Help?**

If you have any questions or need assistance, feel free to reach out to our support team.
