Quote Letter
quote_letterCreate a saved 30-minute standard-letter or Express-postcard quote and exact PDF proof without charging or sending. Review artwork, sender, every recipient, options, expiry and total. send_letter requires this quoteId, confirmed:true, matching approvedTotalCents and one idempotencyKey. Changed content requires a new quote and fresh approval. Full-profile guest quote IDs are private bearer capabilities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Plain-text letter body when not uploading a PDF | |
| from | Yes | ||
| color | No | Color letter printing adds $0.49 per printed page per recipient. Express postcards default to included full color: true preserves color; false converts the mailed PDF to grayscale. | |
| filename | No | ||
| certified | No | ||
| mailClass | No | first_class | |
| pageCount | No | Actual inspected PDF page count determines the send price; this field cannot override it. | |
| pdfBase64 | No | Print-ready PDF as base64, maximum 25 MiB decoded. Embedded fonts are preserved. Express postcard: exactly one unrotated 5.5 × 4.25 inch (396 × 306 point) page, matching page boxes, no added bleed or crop marks. No raw image files. | |
| couponCode | No | Server-validated catalog code (case-insensitive). Applied to charged/quoted cents only — staging keys still never buy postage. Unknown codes are rejected. | |
| recipients | Yes | ||
| doubleSided | No | ||
| electronicReturnReceipt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | ||
| error | No | ||
| quote | No | ||
| filename | No | ||
| mimeType | No | ||
| operation | Yes | ||
| sizeBytes | No |