v7

latestOpenAPI 3.0.0raw.githubusercontent.com2026-06-121372601.5 MB
Postcards

Create Postcard Create Postcard

Create a postcard. Note that you can supply one of the following:

  • HTML content for the front and back of the postcard
  • A template ID for the front and back of the postcard
  • A URL for a 2 page PDF where the first page is the front of the postcard and the second page is the back Create a postcard via a multipart/form-data request. Accepts the same fields as the JSON create body (nested objects are bracket-encoded form fields, e.g. to[firstName]); use this content type to upload the PDF file directly.
post/print-mail/v1/postcards

Headers

idempotency-keystring

Request body

OR
OR
OR

Response

the created Postcard.

OR