How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Mailtrap Messages API

Inspect captured messages

Mailtrap Messages API is one of 3 APIs that Mailtrap publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Message. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a getting-started guide.

This API exposes 12 operations across 10 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against 2 base URLs: https://send.api.mailtrap.io, https://bulk.api.mailtrap.io.

12 operations 10 paths 1 schemas 1 DELETE9 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://send.api.mailtrap.io
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Mailtrap Messages API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuth). By default, every request must be authenticated.

Paths & Operations 12

Across 10 paths, the API surfaces 12 operations — 1 DELETE, 9 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Messages 12

Inspect captured messages

GET
/api/accounts/{account_id}/inboxes/{inbox_id}/messages
List captured messages in an inbox
listMessages 3 params → 200
GET
/api/accounts/{account_id}/inboxes/{inbox_id}/messages/{message_id}
Get a captured message
getMessage 3 params → 200
PATCH
/api/accounts/{account_id}/inboxes/{inbox_id}/messages/{message_id}
Update message attributes (e.g. mark read)
updateMessage 3 params body → 200
DELETE
/api/accounts/{account_id}/inboxes/{inbox_id}/messages/{message_id}
Delete a captured message
deleteMessage 3 params → 204
POST
/api/accounts/{account_id}/inboxes/{inbox_id}/messages/{message_id}/forward
Forward a captured message to a confirmed recipient
forwardMessage 3 params body → 200
GET
/api/accounts/{account_id}/inboxes/{inbox_id}/messages/{message_id}/spam_report
Get spam analysis for a message
getSpamReport 3 params → 200
GET
/api/accounts/{account_id}/inboxes/{inbox_id}/messages/{message_id}/analyze
Get HTML validation and compatibility report
getHtmlAnalyze 3 params → 200
GET
/api/accounts/{account_id}/inboxes/{inbox_id}/messages/{message_id}/body.txt
Get plain text body of a message
getMessageBodyText 3 params → 200
GET
/api/accounts/{account_id}/inboxes/{inbox_id}/messages/{message_id}/body.html
Get HTML body of a message
getMessageBodyHtml 3 params → 200
GET
/api/accounts/{account_id}/inboxes/{inbox_id}/messages/{message_id}/body.raw
Get raw message body
getMessageBodyRaw 3 params → 200
GET
/api/accounts/{account_id}/inboxes/{inbox_id}/messages/{message_id}/body.eml
Download message in standard .eml format
getMessageEml 3 params → 200
GET
/api/accounts/{account_id}/inboxes/{inbox_id}/messages/{message_id}/mail_headers
Get email headers for a message
getMessageHeaders 3 params → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is Message (11 properties). Each schema is shown below with its type and property counts.

Message
object
11 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mailtrap-messages-api-openapi.yml Raw ↑

Other APIs Mailtrap publishes across the network.

Mailtrap Inboxes API
Mailtrap Send API
Where this information came from

This is an independent, third-party profile of Mailtrap Messages API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.