Snap Packs

Create Snap Pack Create Snap Pack

Changed on

Create a snap pack. You can supply one of the following:

  • HTML content for the inside and outside of the snap pack
  • Template IDs for the inside and outside of the snap pack
  • A URL for a two-page PDF that matches the snap pack layout Create a snap pack 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/snap_packs

Request

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

Headers

idempotency-keystring

Request body

OR
OR

Response

The created snap pack.

OR

Changes

    • 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

    • 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 SnapPacks_create removed and replaced with SnapPacks_createJSON_SnapPacks_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 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