Send email
Send an email to one or more recipients. Each recipient is processed independently in parallel.
The allowed from address depends on the key type. Tenant-scoped keys must send from {slug}@mail.nautilus.co (default {Tenant Name} <{slug}@mail.nautilus.co>); platform keys must use @mail.nautilus.co (default Nautilus <contact@mail.nautilus.co>).
Sender address
Thefrom field is optional. The allowed values depend on the type of API key you use (see Key types).
Tenant-scoped keys — the default sender is {Tenant Name} <{slug}@mail.nautilus.co>, where {slug} is your organization’s slug. If you provide from explicitly, the email address must be exactly {slug}@mail.nautilus.co; you may customize the display name:
422 response.
Platform keys — the default sender is Nautilus <contact@mail.nautilus.co>. If you provide from explicitly, the address must use the @mail.nautilus.co domain.
Attachments
Add files to an email with theattachments array. Each attachment requires a filename and either:
path— a publicly accessible URL to the filecontent— the file as a base64-encoded string
| Field | Type | Required | Description |
|---|---|---|---|
| filename | string | Yes | Filename with extension (e.g. report.pdf) |
| path | string | No | Public URL to the file |
| content | string | No | Base64-encoded file content |
path or content, but not both.Multi-send behavior
When sending to multiple recipients, each email is dispatched in parallel. The response includes per-recipient results:- 200 — All recipients succeeded
- 207 — At least one recipient failed (check
resultsfor details)
id field for tracking.
Errors
- 400 — Validation error, including a
fromaddress that doesn’t match the rules for your key type - 401 — Missing or invalid Bearer token
- 422 — Your tenant is not configured for email sending. Contact Nautilus support.
- 500 — Internal server error
Authorizations
API key provided by Nautilus. Pass as Authorization: Bearer <token>. Two key types are accepted: tenant-scoped keys (bound to a specific organization, used by most integrations) and legacy platform keys (send as the Nautilus brand). See the Introduction for details.
Body
Recipient email address(es). Accepts a single address or an array.
"customer@example.com"
The email subject line.
1The email body as HTML.
1Sender address. Allowed values depend on key type. Tenant-scoped keys: the email address part must be exactly {slug}@mail.nautilus.co where {slug} is the organization's slug; the display name is free-form. Default: {Tenant Name} <{slug}@mail.nautilus.co>. Platform keys: must use the @mail.nautilus.co domain. Default: Nautilus <contact@mail.nautilus.co>.
Optional reply-to email address.
Optional file attachments. Each must include a filename and either a path (public URL) or content (base64-encoded string).

