light-mode-image
Learn
API Reference

Apple Pass templates

Create a Semantic CWT credential Apple Pass template

POST/v2/credentials/compact-semantic/digital-pass/apple/templates

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v2/credentials/compact-semantic/digital-pass/apple/templates" \  -F template="string" \  -F name="string" \  -F fileName="string" \  -F teamIdentifier="string" \  -F passTypeIdentifier="string" \  -F wwdr="string" \  -F signerCert="string" \  -F signerKey="string" \  -F signerKeyPassphrase="string"
{  "id": "string",  "passType": "apple",  "name": "string",  "metadata": {    "fileName": "string",    "teamIdentifier": "string",    "passTypeIdentifier": "string"  }}

Retrieve all Semantic CWT credential Apple Pass templates

GET/v2/credentials/compact-semantic/digital-pass/apple/templates

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

limit?number

Range size of returned list.

Range1 <= value <= 1000
Default100
cursor?string

Starting point for the list of entries.

Response Body

application/json

application/json

curl -X GET "https://example.com/v2/credentials/compact-semantic/digital-pass/apple/templates"
{  "nextCursor": "string",  "data": [    {      "id": "string",      "passType": "apple",      "name": "string",      "metadata": {        "fileName": "string",        "teamIdentifier": "string",        "passTypeIdentifier": "string"      }    }  ]}

Retrieve a Semantic CWT credential Apple Pass template

GET/v2/credentials/compact-semantic/digital-pass/apple/templates/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Apple Pass template ID

Formatuuid
id*string

Template ID

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v2/credentials/compact-semantic/digital-pass/apple/templates/string"
{  "id": "string",  "passType": "apple",  "name": "string",  "metadata": {    "fileName": "string",    "teamIdentifier": "string",    "passTypeIdentifier": "string"  }}

Update a Semantic CWT credential Apple Pass template

PUT/v2/credentials/compact-semantic/digital-pass/apple/templates/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Apple Pass template ID

id*string

Template ID

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v2/credentials/compact-semantic/digital-pass/apple/templates/string" \  -F template="string" \  -F name="string" \  -F fileName="string" \  -F teamIdentifier="string" \  -F passTypeIdentifier="string" \  -F wwdr="string" \  -F signerCert="string" \  -F signerKey="string" \  -F signerKeyPassphrase="string"
{  "id": "string",  "passType": "apple",  "name": "string",  "metadata": {    "fileName": "string",    "teamIdentifier": "string",    "passTypeIdentifier": "string"  }}

Delete a Semantic CWT credential Apple Pass template

DELETE/v2/credentials/compact-semantic/digital-pass/apple/templates/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Apple Pass template ID

Formatuuid
id*string

Template ID

Response Body

application/json

application/json

curl -X DELETE "https://example.com/v2/credentials/compact-semantic/digital-pass/apple/templates/string"
Empty

How would you rate this page?

Last updated on

On this page