Sorvel REST API Reference

Programmatic sending, inbox querying, and webhook verification for Pro and Team workspaces.

Authentication

Pass a Pro or Team API key (sv_live_...) in the Authorization: Bearer header.

Endpoints

  • POST /api/v1/emails/send (scope: mail:send)
  • GET /api/v1/emails (scope: mail:read)
  • GET /api/v1/emails/:id (scope: mail:read)
  • GET / POST /api/v1/domains (scope: domains:manage)
  • GET / PATCH / DELETE /api/v1/domains/:id (scope: domains:manage)
  • GET / POST /api/v1/mailboxes (scope: mailboxes:manage)
  • PATCH / DELETE /api/v1/mailboxes/:id (scope: mailboxes:manage)
  • GET / POST /api/v1/forwarding-rules (scope: mailboxes:manage)
  • PATCH / DELETE /api/v1/forwarding-rules/:id (scope: mailboxes:manage)

Webhook Verification

Verify X-Sorvel-Signature using HMAC-SHA256 over <X-Sorvel-Timestamp>.<rawBody>.

Sorvel — Email for your own domain