API Documentation
Integrate disposable email into your tests and applications.
Authentication
Include the x-api-key header in all requests.
x-api-key: mailcroc-dev-key
Endpoints
POST
/generateGenerate random email addressesGET
/inbox/:addressGet all emails for a specific addressGET
/emails/:idGet a specific email by IDDELETE
/inbox/:addressDelete all emails for a specific addressCode Examples
# Generate 5 emails
curl -X POST https://mailcroc.qzz.io/api/v1/generate \
-H "x-api-key: mailcroc-dev-key" \
-d '{"count": 5}'
# Get Inbox
curl https://mailcroc.qzz.io/api/v1/inbox/test@mailcroc.qzz.io \
-H "x-api-key: mailcroc-dev-key"