What the composer's **Save draft** does: `POST /api/v1/drafts` saves a new draft in the mailbox's Drafts folder (201), `PATCH /api/v1/drafts/{id}` updates that draft (200). Nothing is sent; recipients are verified for display only. Without `from` the credential's first mailbox is used.
draft | queued | scheduled | sent | received | failed …
subject
string | null
thread_id
string | null
to
[string]
verification
object | null
Recipient address → verification result
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 No such mailbox in this account, or no such draft
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
409 Problem details (409)
422 `invalid`: the draft couldn't be saved
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
429 Problem details (429)
PATCH/api/v1/drafts/{id}
Save a draft
What the composer's **Save draft** does: `POST /api/v1/drafts` saves a new draft in the mailbox's Drafts folder (201), `PATCH /api/v1/drafts/{id}` updates that draft (200). Nothing is sent; recipients are verified for display only. Without `from` the credential's first mailbox is used.
Scope: mail:send · messages.draft_patch
Parameter
In
Type
Description
id *
path
string (uuid)
Request body application/json
bcc
[string (email)] | string
cc
[string (email)] | string
from
string
Mailbox address or id (default: the first mailbox)
html_body
string
subject
string
text_body
string
to
[string (email)] | string
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429
200 Success
message *
MailMessage
fields
MailMessage
cc
[string]
channel
string | null
direction
"inbound" | "outbound" | "internal"
flagged
boolean
from_address
string (email)
from_name
string | null
id *
string (uuid)
message_id
string
The RFC 5322 Message-ID
received_at
string | null
scheduled_at
string | null
seen
boolean
sent_at
string | null
snippet
string
The start of the text body
status
string
draft | queued | scheduled | sent | received | failed …
subject
string | null
thread_id
string | null
to
[string]
verification
object | null
Recipient address → verification result
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 No such mailbox in this account, or no such draft
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 `invalid`: the draft couldn't be saved
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
429 Problem details (429)
GET/api/v1/messages
List or search a mailbox's messages
The newest 100 messages of a folder (Inbox by default), or the 100 best matches of `q`. Without `mailbox` the credential's first mailbox is read. A personal mailbox is its owner's only. An API key never reads the Security folder (sign-in codes): it answers an empty list.
Scope: mail:read · paginated · messages.index
Parameter
In
Type
Description
mailbox
query
string
Mailbox address or id (default: the first mailbox)
folder
query
string
Folder role or name: inbox (default), sent, drafts, archive, trash, spam, security …
q
query
string
Search query; when given, `folder` is ignored
cursor
query
string
The `next_cursor` of the previous page
limit
query
integer
Page size
Responses 200 · 401 · 403 · 429
200 Success
has_more
boolean
mailbox
string (email)
messages *
[MailMessage]
fields
MailMessage
cc
[string]
channel
string | null
direction
"inbound" | "outbound" | "internal"
flagged
boolean
from_address
string (email)
from_name
string | null
id *
string (uuid)
message_id
string
The RFC 5322 Message-ID
received_at
string | null
scheduled_at
string | null
seen
boolean
sent_at
string | null
snippet
string
The start of the text body
status
string
draft | queued | scheduled | sent | received | failed …
subject
string | null
thread_id
string | null
to
[string]
verification
object | null
Recipient address → verification result
next_cursor
string | null
Pass as `cursor` for the next page; null on the last
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
POST/api/v1/messages
Send a message
Accepted for delivery (202). Every recipient is checked by email verification first: a blocked recipient refuses the whole send (422 `recipient_blocked` with `blocked`). `Idempotency-Key` (or `client_ref`) makes retries safe: a repeat answers the message already sent. A personal mailbox sends for its owner and the delegates they chose. Deliverability limits answer 422 `sending_limit`, `warmup_limit`, `marketing_throttled` or `marketing_paused`; a shared-mailbox reply someone else beat answers 422 `collision` (resend with `send_anyway`).
🔒 We use essential cookies to run Record Sender and, only with your
consent, optional cookies to improve it. Read our
Cookie Policy
and
Privacy Policy.