Skip to content
mailsink
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Menu
Getting started
Guides
End-to-end testing
TypeScript SDK
Vitest and Jest
Command line
AI agents (MCP)
HTTP API and OpenAPI
API reference
Overview
Native ingestion
Overview
Send one email (any connection kind)
POST
Send a batch, items validated one by one (D33)
POST
Resend
Overview
Resend: send an email (`resend` connection)
POST
Resend: send a batch (`strict` all or nothing, or `permissive`)
POST
Resend: a message of the workspace by its id
GET
Brevo
Overview
Brevo: send a transactional email (`brevo` connection)
POST
Brevo: the transactional emails sent by the connection
GET
Brevo: the suppression list of the workspace as blocked contacts
GET
Brevo: remove an address from the suppression list
DELETE
Admin
Overview
List workspaces
GET
Create a workspace and its connections
POST
Workspace detail
GET
Delete a workspace and everything it owns
DELETE
Edit a workspace (name, retention, rate limit, quota, simulation)
PATCH
New workspace key, the previous ones revoked (D207)
POST
Add a connection (secrets answered once)
POST
Delete a connection
DELETE
Rename, disable or enable a connection
PATCH
New connection secret, the previous one revoked
POST
List the Brevo templates of a workspace
GET
Create a Brevo template
POST
Brevo template detail
GET
Delete a Brevo template
DELETE
Edit a Brevo template
PATCH
API log rows without workspace (failed authentication, Admin calls)
GET
One API log row without workspace
GET
Capture: messages
Overview
Search captured messages
GET
Purge messages (and logs unless includeLogs=false)
DELETE
Message detail: recipients, events, attachments
GET
MIME source of a message
GET
Attachment bytes, with their type and disposition
GET
Force opened, clicked or a simulated status
POST
Seed the workspace with demo messages (#62)
POST
Server-Sent Events of the workspace
GET
Capture: settings
Overview
Active overrides and effective settings per connection
GET
Replace the active override of a scope (optional TTL)
POST
Back to the settings for a scope (idempotent)
POST
Suppression list
GET
Remove one address, or the whole list
DELETE
Capture: webhooks
Overview
Webhook endpoints of a scope and of the workspace
GET
Create a webhook endpoint (secret answered once)
POST
Webhook endpoint detail
GET
Delete a webhook endpoint
DELETE
Edit a webhook endpoint (`secret` set when rotated)
PATCH
Sample payload and headers of a format, secret masked
POST
Send one signed sample event (logged as a delivery)
POST
Webhook delivery log, newest first
GET
Delivery body and every attempt with its exact headers
GET
Replay a delivery (`exact` or `resign`)
POST
Capture: logs
Overview
API request log of the workspace
GET
One logged request, headers and bodies
GET
SMTP sessions of the workspace
GET
One SMTP session with its transcript
GET
System
Overview
Liveness and readiness (database answers within 2 s)
GET
This OpenAPI document
GET
Webhooks
Unified format (`payloadFormat: unified`)
POST
Resend format, signed as Svix (`payloadFormat: resend`)
POST
Brevo format (`payloadFormat: brevo`), with the endpoint auth and custom headers
POST
Architecture
Overview
1. Project tree
2. Database schema (Drizzle ORM)
3. Contracts and critical routes (Zod)
4. End-to-end sequence
5. Incremental roadmap
Contributing
Contributing
Translations
GitHub
Select theme
Dark
Light
Auto
This site documents the
main
branch, which may hold changes not yet released. Latest release:
v0.3.0
(
changelog
).
Overview
Capture: settings
Section titled “Capture: settings”
Override (simulation, rate limit, chaos) and suppression list.
Operations
Section titled “Operations”
GET
/capture/override
POST
/capture/override
POST
/capture/override/reset
GET
/capture/suppressions
DELETE
/capture/suppressions