Letters

Create Letter Create Letter

Changed on

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.
post/print-mail/v1/letters

Request

  • Base URL
    https://api.postgrid.com
  • URL
    https://api.postgrid.com/print-mail/v1/letters
  • Auth
    API key in header X-API-Key

Headers

idempotency-keystring

Request body

OR
OR

Response

the created Letter.

OR

Changes

    • breaking

      removed subschema #1 subschema #2 from the ///////// request property anyOf list

    • breaking

      removed subschema #1 subschema #2 from the ////////////// request property anyOf list

    • breaking

      removed subschema #1 subschema #2 from the ////////////// request property anyOf list

    • breaking

      removed subschema #1 subschema #2 from the ///////// request property anyOf list

    • breaking

      removed subschema #1 subschema #2 from the //// request property anyOf list

    • breaking

      removed subschema #1 subschema #2 from the ////////////// request property anyOf list

    • breaking

      removed subschema #1 subschema #2 from the ////////////// request property anyOf list

    • breaking

      removed subschema #1 subschema #2 from the ///////// request property anyOf list

    • breaking

      removed subschema #1 subschema #2 from the ////////////// request property anyOf list

    • breaking

      removed subschema #1 subschema #2 from the ////////////// request property anyOf list

    • breaking

      the response's body type changed from object to 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

    • 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

    • 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 Letters_create removed and replaced with Letters_createJSON_Letters_createMultipart

    • info

      added the new optional header request parameter idempotency-key

    • info

      added the media type multipart/form-data to the request body

    • info

      added subschema #1 to the ///////// request property oneOf list

    • info

      added subschema #1 to the ////////////// request property oneOf list

    • info

      added subschema #1 to the ////////////// request property oneOf list

    • info

      added subschema #1 to the ///////// request property oneOf list

    • info

      added subschema #1 to the //// request property oneOf list

    • info

      added subschema #1 to the ////////////// request property oneOf list

    • info

      added subschema #1 to the ////////////// request property oneOf list

    • info

      added subschema #1 to the ///////// request property oneOf list

    • info

      added subschema #1 to the ////////////// request property oneOf list

    • info

      added subschema #1 to the ////////////// request property oneOf list

    • info

      added to the response body anyOf list for the response status

    • 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