Back to catalog
📧

Mailtrap

API Key

A service for the safe testing of emails sent from the development and staging environments

📧EmailHTTPS

email_subject

inbox_name

Inbox NameMy Test Inbox
Email SubjectWelcome to the App
From AddressNoreply@example.com
To AddressTester@sandbox.mailtrap.io
Received At2026-02-25T10:34:00Z

Sample Response

response.json
1{
2 "inbox_name": "My Test Inbox",
3 "email_subject": "Welcome to the App",
4 "from_address": "noreply@example.com",
5 "to_address": "tester@sandbox.mailtrap.io",
6 "received_at": "2026-02-25T10: 34: 00Z"
7}

Code Snippets

request.sh
1"color:#c084fc">curl -X "color:#fbbf24">GET "https://mailtrap.docs.apiary.io/#" \
2 "color:#60a5fa">-H "Authorization: Bearer YOUR_API_KEY"
View Documentation

Similar APIs