Resend mock API
Stateful Resend replica: emails (send, batch, schedule, cancel, delivery events), domains with DNS verification, API keys, audiences, contacts and signed webhooks.
At a glance
- Operations
- 144
- Stateful operations
- 28
- Stateful resources
- 6
- Webhook events
- 4
- Vendor API version
- 1.5.1
- Verification
- Spec-verified
How it works
Use Resend without calling Resend, Inc.
- Install the mock from the library into a workspace. It runs as a virtual service.
- Point your client's base URL at the virtual service instead of the vendor.
- Authenticate the way you already do. The mock accepts the same credential shape:
Authorization: Bearer re_MockApiKey State
Resources that remember
Writes persist per caller, so a create followed by a read returns what you created.
| Resource | Operations |
|---|---|
| Emails | 6 |
| Domains | 5 |
| API keys | 3 |
| Audiences | 4 |
| Contacts | 5 |
| Webhooks | 5 |
Webhooks
Events your handlers can receive
- email.sent
- email.delivered
- email.bounced
- email.complained
Deliveries are signed with the svix scheme, so your verification code runs unchanged.
Coverage
144 operations
28 of them are stateful. The largest groups:
| Group | Operations |
|---|---|
| Other operations | 116 |
| Emails | 6 |
| Contacts | 5 |
| Domains | 5 |
| Webhooks | 5 |
| Audiences | 4 |
Verification
Spec-verified
Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.
Source and limits
License, source and limits
- Generated from the Resend, Inc. API description, licensed under MIT.
- Resend, Inc. API documentation
- Source specification
Each collection holds up to 1 MiB of objects per API key; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Real Resend rate-limits at 2 requests per second; the mock does not. Delivery events follow the recipient: delivered@resend.dev (and any other address) is delivered, bounced@resend.dev bounces, complained@resend.dev complains; the emails list endpoints are paginated with limit/after/before like the vendor spec.
MaxoPerf is not affiliated with, endorsed by, or sponsored by Resend, Inc. Resend is a trademark of its owner.