MATTR VII PlatformCWT credentials
Format a CWT credential as an Apple Pass
Returns an Apple Pass representation of a provided CWT credential based on an existing Apple Pass template.
The request will fail if the provided credential isn't valid or has expired.
Analytic events
- CREDENTIAL_COMPACT_APPLE_PASS_CREATE_START
- CREDENTIAL_COMPACT_APPLE_PASS_CREATE_SUCCESS
- CREDENTIAL_COMPACT_APPLE_PASS_CREATE_FAIL
POST
/v2/credentials/compact/digital-pass/appleAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
body*unknown
Format
objectResponse Body
application/vnd.apple.pkpass
application/json
curl -X POST "https://example.vii.au01.mattr.global/v2/credentials/compact/digital-pass/apple" \ -H "Content-Type: application/json" \ -d '{ "templateId": "3812166c-ac9f-4e4e-96dd-c1336b5be378", "payload": "{payload}" }'"string"{
"code": "string",
"message": "string",
"details": [
{
"value": "string",
"msg": "Invalid value",
"param": "id",
"location": "body"
}
]
}How would you rate this page?