Create Letter Create Letter
Create a letter. Note that you can supply one of the following:
- HTML content for the letter
- A template ID for the letter
- A URL for a PDF for the letter Create a letter 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 Letter.
Changes
Changed in 4 of the 7 revisions of this API.282248
- ▲
removed
subschema #1subschema #2from theanyOf[LetterCreateWithHTML]/attachedPDF/allOf[AttachedPDF]/filerequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from theanyOf[LetterCreateWithHTML]/plasticCard/allOf[PlasticCard]/doubleSided/allOf[PlasticCardDoubleSided]/pdfrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from theanyOf[LetterCreateWithHTML]/plasticCard/allOf[PlasticCard]/singleSided/allOf[PlasticCardSingleSided]/pdfrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from theanyOf[LetterCreateWithPDF]/attachedPDF/allOf[AttachedPDF]/filerequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from theanyOf[LetterCreateWithPDF]/pdfrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from theanyOf[LetterCreateWithPDF]/plasticCard/allOf[PlasticCard]/doubleSided/allOf[PlasticCardDoubleSided]/pdfrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from theanyOf[LetterCreateWithPDF]/plasticCard/allOf[PlasticCard]/singleSided/allOf[PlasticCardSingleSided]/pdfrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from theanyOf[LetterCreateWithTemplate]/attachedPDF/allOf[AttachedPDF]/filerequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from theanyOf[LetterCreateWithTemplate]/plasticCard/allOf[PlasticCard]/doubleSided/allOf[PlasticCardDoubleSided]/pdfrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from theanyOf[LetterCreateWithTemplate]/plasticCard/allOf[PlasticCard]/singleSided/allOf[PlasticCardSingleSided]/pdfrequest propertyanyOflistrequest-property-any-of-removed
- ▲
the response's body type/format changed from
object/to/for status201response-body-type-changed
- ▲
removed the required property
addressPlacementfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
colorfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
createdAtfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
doubleSidedfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
envelopefrom 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
attachedPDFfrom the response with the201statusresponse-optional-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
htmlfrom 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
paperfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
pdfWorkflowRunfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
perforatedPagefrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
plasticCardfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
returnEnvelopefrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
templatefrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
trackingNumberfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
uploadedPDFfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
urlfrom the response with the201statusresponse-optional-property-removed
- ○
api operation id
Letters_createremoved and replaced withLetters_createJSON_Letters_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
BinaryFilesubschema #1to theanyOf[LetterCreateWithHTML]/attachedPDF/allOf[AttachedPDF]/filerequest propertyoneOflistrequest-property-one-of-added
- ○
added
BinaryFilesubschema #1to theanyOf[LetterCreateWithHTML]/plasticCard/allOf[PlasticCard]/doubleSided/allOf[PlasticCardDoubleSided]/pdfrequest propertyoneOflistrequest-property-one-of-added
- ○
added
BinaryFilesubschema #1to theanyOf[LetterCreateWithHTML]/plasticCard/allOf[PlasticCard]/singleSided/allOf[PlasticCardSingleSided]/pdfrequest propertyoneOflistrequest-property-one-of-added
- ○
added
BinaryFilesubschema #1to theanyOf[LetterCreateWithPDF]/attachedPDF/allOf[AttachedPDF]/filerequest propertyoneOflistrequest-property-one-of-added
- ○
added
BinaryFilesubschema #1to theanyOf[LetterCreateWithPDF]/pdfrequest propertyoneOflistrequest-property-one-of-added
- ○
added
BinaryFilesubschema #1to theanyOf[LetterCreateWithPDF]/plasticCard/allOf[PlasticCard]/doubleSided/allOf[PlasticCardDoubleSided]/pdfrequest propertyoneOflistrequest-property-one-of-added
- ○
added
BinaryFilesubschema #1to theanyOf[LetterCreateWithPDF]/plasticCard/allOf[PlasticCard]/singleSided/allOf[PlasticCardSingleSided]/pdfrequest propertyoneOflistrequest-property-one-of-added
- ○
added
BinaryFilesubschema #1to theanyOf[LetterCreateWithTemplate]/attachedPDF/allOf[AttachedPDF]/filerequest propertyoneOflistrequest-property-one-of-added
- ○
added
BinaryFilesubschema #1to theanyOf[LetterCreateWithTemplate]/plasticCard/allOf[PlasticCard]/doubleSided/allOf[PlasticCardDoubleSided]/pdfrequest propertyoneOflistrequest-property-one-of-added
- ○
added
BinaryFilesubschema #1to theanyOf[LetterCreateWithTemplate]/plasticCard/allOf[PlasticCard]/singleSided/allOf[PlasticCardSingleSided]/pdfrequest propertyoneOflistrequest-property-one-of-added
- ○
added
LetterLetterto the response bodyanyOflist for the response status201response-body-any-of-added
- ▲
- ○
added the new optional request property
anyOf[LetterCreateWithHTML]/from/anyOf[ContactCreate]/oneOf[ContactCreateWithCompanyName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithHTML]/from/anyOf[ContactCreate]/oneOf[ContactCreateWithFirstName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithHTML]/to/anyOf[ContactCreate]/oneOf[ContactCreateWithCompanyName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithHTML]/to/anyOf[ContactCreate]/oneOf[ContactCreateWithFirstName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithPDF]/from/anyOf[ContactCreate]/oneOf[ContactCreateWithCompanyName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithPDF]/from/anyOf[ContactCreate]/oneOf[ContactCreateWithFirstName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithPDF]/to/anyOf[ContactCreate]/oneOf[ContactCreateWithCompanyName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithPDF]/to/anyOf[ContactCreate]/oneOf[ContactCreateWithFirstName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/from/anyOf[ContactCreate]/oneOf[ContactCreateWithCompanyName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/from/anyOf[ContactCreate]/oneOf[ContactCreateWithFirstName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/to/anyOf[ContactCreate]/oneOf[ContactCreateWithCompanyName]/secretnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/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[LetterCreateWithTemplate]/fromnew-required-request-property
- ▲
added the new required request property
anyOf[LetterCreateWithTemplate]/tonew-required-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithHTML]/papernew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithPDF]/papernew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/addressPlacementnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/attachedPDFnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/colornew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/descriptionnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/doubleSidednew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/envelopenew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/mailingClassnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/mergeVariablesnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/metadatanew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/papernew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/perforatedPagenew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/plasticCardnew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/returnEnvelopenew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/sendDatenew-optional-request-property
- ○
added the new optional request property
anyOf[LetterCreateWithTemplate]/sizenew-optional-request-property
- ○
added the optional property
paperto the response with the201statusresponse-optional-property-added
- ▲
- ●
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
- ●