mailfixture API
API by mailfixture · rest
REST API for mailfixture: create inboxes, trigger your app's email flow, then read messages back and assert on extracted OTPs, links, SPF/DKIM/DMARC verdicts, and a SpamAssassin score. Paid plans add dedicated US phone numbers with the same loop for SMS. Conventions: - Every request needs Authorization: Bearer mfx_<key>. - Errors are RFC 7807 application/problem+json ({type, title, status, detail}); type is always about:blank. 404 uniformly covers both missing and not-owned resources. - Rate limiting is a per-key token bucket: 2 requests/second sustained, burst 60 (policy requests). Refusals are 429 with a Retry-After header (integer seconds). Inbox, phone-number, and capture-hook creation draw on a shared second per-key bucket (burst 10, refills 10/minute; policy creates). - Every authenticated response carries rate-limit headers: RateLimit-Policy: "requests";q=60;w=30 and RateLimit: "requests";r=<remaining>;t=<seconds until full>…
Endpoint: https://api.mailfixture.com/
Verification: observed. Source: crawl.
Capabilities (37)
- List domains
- Add a custom domain
- Delete a custom domain
- Run domain verification now
- Get a captured request
- List capture hooks
- Create a capture hook
- Delete a capture hook
- Clear captured requests
- List or long-poll captured requests
- List inboxes
- Create an inbox
- Delete an inbox
- Clear an inbox
- List or long-poll messages
- List API keys
- Create an API key
- Revoke an API key
- Get a message
- Download an attachment
- Get the extracted links
- Follow an extracted link server-side
- Get the extracted OTP
- List phone numbers
- Provision a phone number