Skip to main content
POST

Create a Letter

Create a physical letter by providing recipient details, a validated address, and the letter content. By default, the letter is sent immediately. Set send to false to create a draft you can review and send later.

Request

string
Name of the recipient. Maximum 30 characters.
object
required
The recipient’s postal address.
string
required
The letter body text. Line breaks (\n) are preserved for formatting.
boolean
default:"true"
Whether to send the letter immediately. Set to false to create a draft. Drafts can be updated with PATCH /api/v1/letters/:id and sent with POST /api/v1/letters/:id/send.

Response

string
The unique letter ID.
string
The letter status — "processing" when sent immediately, "draft" when created as a draft.
integer
Your remaining balance in cents after this letter. Only present when send is true.

Examples

Error codes