| city | No | | |
| state | No | Two-letter U.S. state code. | |
| service | No | CERTIFIED_ERR adds the Electronic Return Receipt (proof of who signed). | |
| subject | No | The "Re:" line of the letter, in a few words. | |
| page_count | No | Only with person_has_pdf: number of pages in the PDF the person will attach, used for the price estimate. | |
| letter_date | No | Date to print on the letter, e.g. "September 5, 2026". Defaults to today. | |
| letter_text | No | The complete, final letter body exactly as it should print: salutation, paragraphs separated by blank lines, and closing. Do not include the addresses or date; they are laid out from the other fields. Up to 60,000 characters. | |
| postal_code | No | Five-digit ZIP code. | |
| sender_city | No | | |
| sender_name | No | Name of the person sending the letter (printed as the return address and used for the envelope). | |
| sender_state | No | Two-letter U.S. state code. | |
| address_line1 | No | Street address of the recipient. | |
| address_line2 | No | Suite, unit or floor. | |
| person_has_pdf | No | Only when the person already has a finished PDF that you cannot read and they will attach it on the review page themselves. Set true to prepare without letter_text or document_base64. | |
| recipient_name | Yes | Name of the person or company receiving the letter. | |
| sender_company | No | Sender company or entity, if any. | |
| signature_name | No | Name printed under the closing. | |
| document_base64 | No | The finished PDF, base64-encoded (standard or URL-safe alphabet), up to 4 MB decoded. Use ONLY when you have read the actual file bytes; a filename or an attachment reference is not a document. Mutually exclusive with letter_text. The file is kept exactly as sent. | |
| document_sha256 | No | Optional with document_base64: the SHA-256 (hex) of the PDF bytes. If given and it does not match what arrived, the call is refused rather than preparing the wrong file. | |
| document_filename | No | With document_base64: the original file name, e.g. "Demand letter.pdf". | |
| recipient_company | No | Company name, if the letter goes to an organization. | |
| sender_postal_code | No | Five-digit ZIP code. | |
| document_description | No | What the document is, in a few words. | |
| sender_address_line1 | No | Sender street address. | |
| sender_address_line2 | No | | |