MailSlurp Postman Collections
Documentation navigation
Fork the MailSlurp Postman collection, add your API key, and try inbox, email, SMS, webhook, and testing endpoints before writing integration code.
Check out our official Postman collections:
| Endpoint | URL |
|---|---|
| Run | |
| Swagger Spec | https://swagger.mailslurp.com |
| Get API KEY | https://app.mailslurp.com |
Tutorial
Quick start
- Create a MailSlurp API KEY
- Fork the MailSlurp collection
- Set Authorization header
x-api-keyvalue to your MailSlurp API Key
Choose the email workflow
For signup and login APIs, follow Postman email verification: create an inbox, request the email, submit its code and check the authenticated account. For reports and attachments, use reading email in Postman to match the reply and inspect the downloaded file.
MailSlurp wait endpoints hold a request open until a message arrives or the wait expires. Set Postman's HTTP request timeout above the endpoint's timeout value. Keep the API key on MailSlurp requests only, use a fresh inbox or current-request timestamp, and delete test-owned inboxes after the collection finishes.
Resources
- Developer documentation
- Collections and API specs on GitHub
- Youtube Videos
Running this code needs an API key. Get one free