With this variant of the API you can create a Wallet pass with values and images. If you only need to set values, see the simpler variant 1.

NOTE: The request must contain a multipart form data with name values that contain the json for the Wallet pass creation.

You can add additional multipart form data to add images to the Wallet pass. The images you upload here will take precedence over present images from the pass templates. So e.g. if the template has already an thumbnail and you add a thumbnail to the Wallet pass, the pass thumbnail will be used instead of the pass template thumbnail. NOTE: Use this only for images that are unique per pass, otherwise consider adding the image to the pass template.

Supported images names: icon, icon@2x, logo, logo@2x, thumbnail, thumbnail@2x, background, background@2x, footer, footer@2x, strip, strip@2x

Resource URL


Example Request


POST https://api.passslot.com/v1/templates/names/Member%20Card/pass

Content-Disposition: form-data; name="values"; filename="values.json"
Content-Type: application/json

    "firstName": "John",
    "lastName": "Doe",
    "memberSince": "2012"
Content-Disposition: form-data; name="icon"; filename="icon.png"
Content-Type: application/octet-stream

Content-Disposition: form-data; name="icon@2x"; filename="icon@2x.png"
Content-Type: application/octet-stream



    "serialNumber": "a187b8e0-e9ee-4b6f-869a-4dca6e277a91",
    "passTypeIdentifier": "pass.example.id1",
    "url": "https://d.pslot.io/p/J_FF0lcTSo2vZLJp-VreOw?t=D0rLkv4"

Resource Information

API Version 1
Requires Authentication? Yes
Request Format Multipart Form
Request Object Value Object and Image Files
Response Format JSON
Response Object Pass