Basic send
202 Accepted — delivery is asynchronous.
The from field
Accepts two formats:
myapp.com) must be verified in your workspace. If you use a domain-scoped API key, the from domain must also match the key’s domain.
For best deliverability and trust, prefer a monitored sender like hello@ or support@ instead of no-reply@ whenever possible.
html and text
Provide html, text, or both. If you send only html, Torpedo generates a plain-text version automatically.
Plain text is useful for:
- Email clients that don’t render HTML
- Spam filters that check text vs HTML ratio
- Accessibility tools
text explicitly:
text to an empty string.
Email status lifecycle
GET /api/v1/emails/{id} to check status, or use webhooks for real-time updates.
Idempotency
Pass anIdempotency-Key header to prevent duplicate sends if your request is retried:
202 response without sending again. Keys are scoped to your workspace.
Reply-to
Set a different address for replies:Quota limits
Sending fails with402 if you exceed your plan’s monthly or daily quota:
GET /api/v1/workspace/usage.