Create Self Mailer Create Self Mailer
Changed onCreate a self-mailer. Note that you can supply one of the following:
- HTML content for the inside and outside of the self-mailer
- A template ID for the inside and outside of the self-mailer
- A URL for a 2 page PDF where the first page is the outside of the self-mailer and the second page is the inside Create a self-mailer 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.
Request
- Base URLhttps://api.postgrid.com
- URLhttps://api.postgrid.com/print-mail/v1/self_mailers
- AuthAPI key in header X-API-Key
Headers
Request body
Response
the created SelfMailer.
Changes
- breaking
added to the
////request propertyallOflist - breaking
the
////request property type changed fromstringto no type, and format frombyteto no format - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
api operation id
SelfMailers_createremoved and replaced withSelfMailers_createJSON_SelfMailers_createMultipart - info
added the new optional
headerrequest parameteridempotency-key - info
added the media type
multipart/form-datato the request body - info
added to the response body
anyOflist for the response status
- breaking
- info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status
- info