Upload an address and PDF to create a mailing. Send the JSON parameters first, then the PDF. The whole request must be under 10 MiB.
JSON string with mailing details. This field must be the first part in the multipart body.
"{\n \"mailType\": \"pressureSealed\",\n \"idempotencyKey\": \"6b2cf4b8-40e9-4f2a-9f15-2d1e8b0d9b4e\",\n \"recipient\": {\n \"name\": \"Jane Doe\",\n \"address\": \"123 Main St Apt 4B\",\n \"city\": \"Springfield\",\n \"state\": \"IL\",\n \"zipcode\": \"62704\"\n }\n}\n"
PDF file to mail. Must be content-type application/pdf.
"document.pdf"
Mailing queued successfully.
ID of the created mailing.
"c17c3433-81b3-4096-90e0-9fbb32c06204"