Create an Apple Pass template
Creates an Apple Pass template based on the provided .zip
file. Refer to our Design an Apple Pass template guide for more information on how to design the template and how to structure the .zip
file.
The Apple Pass template uses the official Apple Pass bundle structure.
Analytic events
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_CREATE_START
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_CREATE_SUCCESS
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_CREATE_FAIL
Request Body schema: multipart/form-datarequired
template required | string <binary> Includes your template files. |
name required | string [ 1 .. 1024 ] characters Insert a name to identify this Apple digital pass template. |
fileName required | string [ 1 .. 100 ] characters Insert the file name that will be assigned to Apple digital passes created from this template. Must only include alphanumeric characters, ''_'', or ''-'', and end with |
teamIdentifier required | string The Team ID for the Apple Developer Program account that registered the pass type identifier. |
passTypeIdentifier required | string The pass type identifier that’s registered with Apple. The value must be the same as the distribution certificate used to sign the pass. |
wwdr required | string Apple G1 or G4 worldwide developer relations intermediate certificate. |
signerCert required | string Apple pass signer certificate. |
signerKey required | string The encrypted key of the Apple pass signer certificate. |
signerKeyPassphrase required | string Passphrase for the encrypted key. |
Apple Pass template created
Bad Request
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 201
- 400
{- "id": "3812166c-ac9f-4e4e-96dd-c1336b5be378",
- "passType": "apple",
- "name": "Certificate of participation",
- "metadata": {
- "fileName": "certificate_of_participation.pkpass",
- "teamIdentifier": "GH5P43ABC",
- "passTypeIdentifier": "pass.myproject.participation.pk"
}
}
Retrieve all Apple Pass templates
Retrieves a list of all Apple Pass template available on the tenant.
Analytic events
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_RETRIEVE_LIST_START
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_RETRIEVE_LIST_SUCCESS
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_RETRIEVE_LIST_FAIL
Apple Pass templates retrieved
Bad Request
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
- 400
{- "nextCursor": "Y3JlYXRlZEF0PTIwMjAtMDgtMjVUMDY6NDY6MDkuNTEwWiZpZD1h",
- "data": [
- {
- "id": "3812166c-ac9f-4e4e-96dd-c1336b5be378",
- "passType": "apple",
- "name": "Certificate of participation",
- "metadata": {
- "fileName": "certificate_of_participation.pkpass",
- "teamIdentifier": "GH5P43ABC",
- "passTypeIdentifier": "pass.myproject.participation.pk"
}
}
]
}
Update an Apple Pass template
Updates an existing Apple Pass template by providing its ID and a .zip
file. Refer to our Design an Apple Pass template guide for more information on how to design the template and how to structure the .zip
file.
Analytic events
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_UPDATE_START
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_UPDATE_SUCCESS
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_UPDATE_FAIL
Request Body schema: multipart/form-datarequired
template required | string <binary> Includes your template files. |
name required | string [ 1 .. 1024 ] characters Insert a name to identify this Apple digital pass template. |
fileName required | string [ 1 .. 100 ] characters Insert the file name that will be assigned to Apple digital passes created from this template. Must only include alphanumeric characters, ''_'', or ''-'', and end with |
teamIdentifier required | string The Team ID for the Apple Developer Program account that registered the pass type identifier. |
passTypeIdentifier required | string The pass type identifier that’s registered with Apple. The value must be the same as the distribution certificate used to sign the pass. |
wwdr required | string Apple G1 or G4 worldwide developer relations intermediate certificate. |
signerCert required | string Apple pass signer certificate. |
signerKey required | string The encrypted key of the Apple pass signer certificate. |
signerKeyPassphrase required | string Passphrase for the encrypted key. |
Apple Pass template updated
Bad Request
Not Found
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
- 400
- 404
{- "id": "3812166c-ac9f-4e4e-96dd-c1336b5be378",
- "passType": "apple",
- "name": "Certificate of participation",
- "metadata": {
- "fileName": "certificate_of_participation.pkpass",
- "teamIdentifier": "GH5P43ABC",
- "passTypeIdentifier": "pass.myproject.participation.pk"
}
}
Retrieve an Apple Pass template
Retrieves an existing Apple Pass template by providing its ID.
Analytic events
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_RETRIEVE_START
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_RETRIEVE_SUCCESS
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_RETRIEVE_FAIL
Apple Pass template retrieved
Bad Request
Not Found
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
- 400
- 404
{- "id": "3812166c-ac9f-4e4e-96dd-c1336b5be378",
- "passType": "apple",
- "name": "Certificate of participation",
- "metadata": {
- "fileName": "certificate_of_participation.pkpass",
- "teamIdentifier": "GH5P43ABC",
- "passTypeIdentifier": "pass.myproject.participation.pk"
}
}
Delete an Apple Pass template
Deletes an existing Apple Pass template by providing its ID.
Analytic events
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_DELETE_START
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_DELETE_SUCCESS
- CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_DELETE_FAIL
Apple Pass template deleted
Bad Request
Not Found
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 400
- 404
{- "code": "string",
- "message": "string",
- "details": [
- {
- "value": "string",
- "msg": "Invalid value",
- "param": "id",
- "location": "body"
}
]
}