MATTR VII PlatformSemantic CWT credentials
Format a CWT credential as a PDF
Returns a PDF representation of a provided CWT credential based on an existing PDF template.
The request will fail if the provided credential isn't valid or has expired.
Analytics Events
CREDENTIAL_COMPACT_SEMANTIC_PDF_CREATE_STARTCREDENTIAL_COMPACT_SEMANTIC_PDF_CREATE_SUCCESSCREDENTIAL_COMPACT_SEMANTIC_PDF_CREATE_FAIL
Roles
adminissuer
POST
/v2/credentials/compact-semantic/pdfAuthorizationBearer <token>
In: header
The credential payload
templateId?string
Use the ID element of the PDF template to be used to format this credential.
Length
1 <= lengthpayload?string
String payload representation of the encoded CWT credential.
Length
1 <= length <= 1024Response Body
curl -X POST "https://example.vii.au01.mattr.global/v2/credentials/compact-semantic/pdf" \  -H "Content-Type: application/json" \  -d '{    "templateId": "4eea7654-d4c5-4eba-bd7a-5ca334d54725",    "payload": "{payload}"  }'null{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}How would you rate this page?