{
"status": "queued",
"sender": {
"address": {
"addressLine1": "1900 Reston Metro Plz",
"addressLine2": "Ste 600"
},
"individual": {
"fullName": "TODO",
"prefix": "TODO",
"firstName": "TODO",
"middleName": "TODO",
"lastName": "TODO",
"postfix": "TODO",
"title": "TODO"
},
"organization": "Veezla, Inc.",
"addressComponents": {
"cassType": "none",
"urbanization": "TODO",
"city": "TODO",
"state": "TODO",
"zipCode": "TODO",
"plus4Code": "TODO"
},
"addressAnalysis": {
"dpvMatchCode": "TODO",
"dpvFootnotes": [
"TODO"
],
"dpvCmra": "TODO",
"dpvVacant": "TODO",
"dpvNoStat": "TODO",
"dpvActive": "TODO",
"dpvInactiveReason": "TODO",
"dpvThrowback": "TODO",
"dpvNonDeliveryDayIndicator": "TODO",
"dpvNonDeliveryDayValues": "TODO",
"dpvNoSecureLocation": "TODO",
"dpvDoorNotAccessible": "TODO",
"lacslinkCode": "TODO",
"lacslinkIndicator": "TODO",
"suitelinkIndicator": "TODO",
"ewsIndicator": true
},
"addressMetadata": {
"recordType": "TODO",
"addressType": "TODO",
"zipCodeType": "TODO",
"county": "TODO",
"countyFips": "TODO",
"carrierRoute": "TODO",
"carrierRouteType": "TODO",
"congressionalDistrict": "TODO",
"defaultBuildingAddress": true,
"elotSequence": "TODO",
"elotSort": "TODO",
"latitude": 0,
"longitude": 0,
"precision": "TODO",
"uspsFinanceNumber": "TODO",
"timeZone": "TODO"
}
},
"recipient": {
"address": {
"addressLine1": "1900 Reston Metro Plz",
"addressLine2": "Ste 600"
},
"nonAddressData": "<string>",
"individual": {
"fullName": "TODO",
"prefix": "TODO",
"firstName": "TODO",
"middleName": "TODO",
"lastName": "TODO",
"postfix": "TODO",
"title": "TODO"
},
"organization": "Posta Customer, Inc.",
"addressComponents": {
"cassType": "none",
"urbanization": "TODO",
"city": "TODO",
"state": "TODO",
"zipCode": "TODO",
"plus4Code": "TODO"
},
"addressAnalysis": {
"dpvMatchCode": "TODO",
"dpvFootnotes": [
"TODO"
],
"dpvCmra": "TODO",
"dpvVacant": "TODO",
"dpvNoStat": "TODO",
"dpvActive": "TODO",
"dpvInactiveReason": "TODO",
"dpvThrowback": "TODO",
"dpvNonDeliveryDayIndicator": "TODO",
"dpvNonDeliveryDayValues": "TODO",
"dpvNoSecureLocation": "TODO",
"dpvDoorNotAccessible": "TODO",
"lacslinkCode": "TODO",
"lacslinkIndicator": "TODO",
"suitelinkIndicator": "TODO",
"ewsIndicator": true
},
"addressMetadata": {
"recordType": "TODO",
"addressType": "TODO",
"zipCodeType": "TODO",
"county": "TODO",
"countyFips": "TODO",
"carrierRoute": "TODO",
"carrierRouteType": "TODO",
"congressionalDistrict": "TODO",
"defaultBuildingAddress": true,
"elotSequence": "TODO",
"elotSort": "TODO",
"latitude": 0,
"longitude": 0,
"precision": "TODO",
"uspsFinanceNumber": "TODO",
"timeZone": "TODO"
}
},
"content": {
"type": "asset",
"assetId": "ast_1234567890abcdef"
},
"useType": "marketing",
"externalId": "0013i00002YyVvSAAV",
"sendDate": "2023-12-25",
"description": "Compliance notice",
"variables": [
{
"name": "customerName",
"value": "John Doe"
}
],
"options": {
"print": {
"color": true
},
"mail": {
"service": "firstClass",
"extraServices": [
"acs"
]
},
"variableHandling": {
"validationScope": "asset"
},
"addressProcessing": {
"cassSender": {
"type": "basic",
"casing": "proper"
},
"cassRecipient": {
"type": "basic",
"casing": "proper"
},
"ncoaRecipient": "newAddress"
},
"deliverabilityThreshold": "normal",
"deliverabilityValues": [
"deliverable"
]
},
"metadata": [
{
"key": "salesforceId",
"value": "0013i00002YyVvSAAV"
}
]
}A letter.
Represents the current status of a letter in the mailing process:
queued: Awaiting processingready: Processed and ready for printinginProduction: Being printed and prepared for mailingmailed: Handed off to postal service for deliveryissue: Problem that needs addressingcanceled: Letter will not be mailedqueued, ready, inProduction, mailed, issue, canceled "queued"
An object containing the sender's information for the letter. It must include:
Either an individual object, an organization string, or both.
individual is provided, it can contain either a fullName string or name components (at minimum firstName and lastName).fullName and name components are provided, fullName will be used for addressing.An address object with the sender's complete address details.
This information is used to populate the return address on the letter. Ensure all provided details are accurate to facilitate any potential return mail handling.
Show child attributes
Recipient information for the letter. Either individual or organization is required; both can be provided. For accurate NCOA processing, provide name components when available.
Show child attributes
Content of the letter.
Show child attributes
Indicates the letter's purpose: 'marketing' or 'transactional'. Affects eligibility for USPS promotions and sales tax compliance.
marketing, transactional "marketing"
Optional client-defined identifier for referencing this letter in external systems. Not used by Posta for processing.
99999"0013i00002YyVvSAAV"
Specifies the Send Date in ISO 8601 format (YYYY-MM-DD). Time portion, if provided, is ignored.
If omitted:
If specified:
Daily cutoff: 10 am ET on production days (Monday - Friday, exluding national holidays)
Note: All letters are cancelable on or before the Send Date's daily cutoff.
Example: 2023-08-15
Optional description for internal reference. Does not affect processing or delievery.
99999"Compliance notice"
Key-value pairs for personalizing letter content when using handlebars in HTML content.
128Show child attributes
Customization options for letter production and delivery, including:
Defaults apply if not specified. See Option documentation for details.
Note: Some options may affect pricing or production time.
Show child attributes
A key-value store for custom metadata.
Limitations:
Show child attributes