During the past year we received numerous requests for an API.
Today, we are proud to announce Mailtrap RESTful API!
Right now it provides 3 basic endpoints:
- Inbox messages (paginated, 100 emails per page)
- Message details (includes email source)
You can get either JSON or XML by specifying extension (JSON by default).
To access your dummy mail server API you have to generate a secret token on your Mailtrap profile page.
Feel free to try it and shoot us an email in case any problems!