# testmail.app API

Category: [Testing and mock data](https://free-web-services.com/web-services/web-development/testing/)  
Page: https://free-web-services.com/web-services/web-development/testing/testmail-app-api.html  
Documentation: https://testmail.app/docs/

testmail.app receives e-mail for automated tests: send a message to any address in your namespace and read it back through the API, for example to check sign-up confirmations or password resets in a CI run. It offers a JSON API over GET and a GraphQL API. Free plan with 100 e-mails a month and 1 day of retention; new accounts start with a 14-day trial and then move to this plan. An official MCP server at https://api.testmail.app/mcp lets AI agents create test addresses and read the mail.

- API key: Needed, free
- Pricing: Free plan with 100 e-mails a month and 1 day of retention; new accounts start with a 14-day trial and then move to this plan.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET, GraphQL, MCP
- Provider: testmail.app

Example request:

```sh
curl 'https://api.testmail.app/api/json?apikey=YOUR_API_KEY&namespace=YOUR_NAMESPACE'
```

Replace YOUR_API_KEY and YOUR_NAMESPACE with your own values from your account. The JavaScript works in a web page as well as in Node.js 18 or newer.

