Create a letter as a draft or send it immediately.
Documentation Index
Fetch the complete documentation index at: https://docs.thepostalcompany.com/llms.txt
Use this file to discover all available pages before exploring further.
send to false to create a draft you can review and send later.
\n) are preserved for formatting.false to create a draft. Drafts can be updated with PATCH /api/v1/letters/:id and sent with POST /api/v1/letters/:id/send."processing" when sent immediately, "draft" when created as a draft.send is true.| Status | Description |
|---|---|
400 | Invalid request body — missing or invalid fields |
401 | Missing, invalid, or revoked API key |
402 | Insufficient balance to send the letter (only when send is true) |
500 | Internal server error |