Overview
Mailjet lets you send transactional and marketing emails via a simple REST API using MJML or HTML templates. It includes real-time delivery tracking and contact list management.
Beginner Tip
Authentication uses HTTP Basic Auth with your API key as username and secret key as password — not a Bearer token. Find both keys in the Mailjet dashboard under Account > API Keys.
Available Data
Example Response
{
"message_id": "msg_abc123def456",
"status": "delivered",
"to": "[email protected]",
"subject": "Welcome!",
"timestamp": "2025-01-15T10:30:00Z"
} Field Reference
Messages Array of send result objects, one per message in the request. Messages[].Status "success" if the message was accepted for delivery, "error" if it was rejected. Messages[].To List of recipient objects, each containing their MessageID and MessageUUID. Messages[].To[].MessageID Numeric ID assigned to the sent message — use this for delivery tracking lookups. Messages[].To[].MessageUUID UUID string uniquely identifying this delivery attempt. Messages[].Errors Present only on failure; contains error codes and descriptions for each rejection reason. Implementation Example
const url = "https://www.mailjet.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Similar APIs
View All →Apache Superset
Apache Superset's REST API lets you programmatically manage dashboards, charts, datasets, and database connections in your Superset instance.
Charity Search
Charity Search lets you look up verified US non-profit organizations by name, EIN, or keyword.
Clearbit Logo
⭐ Beginner's PickClearbit Logo returns a company logo image by domain name — no scraping required.
Instatus
Instatus API lets you programmatically create and update incidents and maintenance windows on your public status page.
Mailchimp
Mailchimp API lets you manage email lists, create campaigns, and track subscriber activity.