Preview: SendMock has no stable release yet. These docs follow develop.

API reference

SendMock's REST API at http://127.0.0.1:8025: JSON in and out, snake_case fields, errors as { error: { code, message } } and paged lists with an opaque next_cursor. Generated from docs/api/openapi.yaml (244 operations). Download openapi.yaml, also attached to every release and served by the binary at /api/openapi.json.

Every operation has Try it in Demo mode: requests are answered in your browser by the same mock API as the live demo. The playground adds an event stream and multi-step scenarios.

System

Seed

Logs

Test helpers

Automation

Email

Inbound routes

Tag rules

Forward rules

SMS

Outcome rules

Verify

Numbers

Email providers

SMS providers

HTTP Catcher

Payments

Checkout

Payment flows

Payment gateways

Payment methods

Webhook endpoints

Webhook rules

Webhook deliveries

Saved deliveries

Webhook templates

Webhook variables

Projects

Push