Creates a mailing with PDF attachment to be delivered to a recipient address. Accepts a multipart form with mailing parameters and PDF file. Requires postal.mail.sender permission.
access token
JSON-encoded object containing mailing parameters
"{\"mailType\":\"certified\",\"mailingConfig\":{},\"idempotencyKey\":\"2720f109-0caf-4c62-af22-5d08c853711c\",\"recipient\":{\"name\":\"John Doe\",\"address\":\"123 Main St\",\"city\":\"New York\",\"state\":\"NY\",\"zipcode\":\"10001\"}}"
PDF file to be mailed (maximum 10 MiB)
Mailing successfully queued for delivery
Unique identifier for the created mailing
"a79f3a6b-3fa8-4007-b9b7-824cb8ca7031"