Create Self Mailer Create Self Mailer
Create 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.
Headers
Request body
Response
the created SelfMailer.
Changes
Changed in 4 of the 7 revisions of this API.171329
- ▲
added
BinaryFileto theanyOf[SelfMailerCreateWithPDFFile]/pdfrequest propertyallOflistrequest-property-all-of-added
- ▲
the
anyOf[SelfMailerCreateWithPDFFile]/pdfrequest property type/format changed fromstring/byteto/request-property-type-changed
- ▲
the response's body type/format changed from
object/to/for status201response-body-type-changed
- ▲
removed the required property
createdAtfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
fromfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
idfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
livefrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
mailingClassfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
objectfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
sendDatefrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
sizefrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
statusfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
tofrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
updatedAtfrom the response with the201statusresponse-required-property-removed
- ●
removed the optional property
cancellationfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
descriptionfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
imbDatefrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
imbStatusfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
imbZIPCodefrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
mergeVariablesfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
metadatafrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
trackingNumberfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
urlfrom the response with the201statusresponse-optional-property-removed
- ○
api operation id
SelfMailers_createremoved and replaced withSelfMailers_createJSON_SelfMailers_createMultipartapi-operation-id-removed
- ○
added the new optional
headerrequest parameteridempotency-keynew-optional-request-parameter
- ○
added the media type
multipart/form-datato the request bodyrequest-body-media-type-added
- ○
added
SelfMailerSelfMailerto the response bodyanyOflist for the response status201response-body-any-of-added
- ▲
- ○
added the new optional request property
anyOf[SelfMailerCreateWithHTML]/from/anyOf[ContactCreate]/oneOf[ContactCreateWithCompanyName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithHTML]/from/anyOf[ContactCreate]/oneOf[ContactCreateWithFirstName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithHTML]/to/anyOf[ContactCreate]/oneOf[ContactCreateWithCompanyName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithHTML]/to/anyOf[ContactCreate]/oneOf[ContactCreateWithFirstName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithPDFFile]/from/anyOf[ContactCreate]/oneOf[ContactCreateWithCompanyName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithPDFFile]/from/anyOf[ContactCreate]/oneOf[ContactCreateWithFirstName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithPDFFile]/to/anyOf[ContactCreate]/oneOf[ContactCreateWithCompanyName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithPDFFile]/to/anyOf[ContactCreate]/oneOf[ContactCreateWithFirstName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithPDFURL]/from/anyOf[ContactCreate]/oneOf[ContactCreateWithCompanyName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithPDFURL]/from/anyOf[ContactCreate]/oneOf[ContactCreateWithFirstName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithPDFURL]/to/anyOf[ContactCreate]/oneOf[ContactCreateWithCompanyName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithPDFURL]/to/anyOf[ContactCreate]/oneOf[ContactCreateWithFirstName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithTemplate]/from/anyOf[ContactCreate]/oneOf[ContactCreateWithCompanyName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithTemplate]/from/anyOf[ContactCreate]/oneOf[ContactCreateWithFirstName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithTemplate]/to/anyOf[ContactCreate]/oneOf[ContactCreateWithCompanyName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithTemplate]/to/anyOf[ContactCreate]/oneOf[ContactCreateWithFirstName]/secretnew-optional-request-property
- ○
added the optional property
from/allOf[Contact]/secretto the response with the201statusresponse-optional-property-added
- ○
added the optional property
to/allOf[Contact]/secretto the response with the201statusresponse-optional-property-added
- ○
- ▲
added the new required request property
anyOf[SelfMailerCreateWithTemplate]/fromnew-required-request-property
- ▲
added the new required request property
anyOf[SelfMailerCreateWithTemplate]/sizenew-required-request-property
- ▲
added the new required request property
anyOf[SelfMailerCreateWithTemplate]/tonew-required-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithTemplate]/descriptionnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithTemplate]/mailingClassnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithTemplate]/mergeVariablesnew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithTemplate]/metadatanew-optional-request-property
- ○
added the new optional request property
anyOf[SelfMailerCreateWithTemplate]/sendDatenew-optional-request-property
- ▲
- ●
added the new
internal_server_errorenum value to theerror/typeresponse property for the response status500response-property-enum-value-added
- ●
added the new
not_found_errorenum value to theerror/typeresponse property for the response status404response-property-enum-value-added
- ●
added the new
rate_limit_exceeded_errorenum value to theerror/typeresponse property for the response status429response-property-enum-value-added
- ●
added the new
validation_errorenum value to theerror/typeresponse property for the response status400response-property-enum-value-added
- ○
added
subschema #1subschema #2to the response bodyanyOflist for the response status401response-body-any-of-added
- ○
removed
subschema #1subschema #2from the response bodyanyOflist for the response status401response-body-any-of-removed
This revision also has 21 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●