light-mode-image
Learn
MATTR VII PlatformCWT PDF templates

Retrieve all PDF templates

Retrieves a list of all CWT credentials PDF templates available on the tenant.

Analytics Events

CREDENTIAL_COMPACT_PDF_TEMPLATE_RETRIEVE_LIST_STARTCREDENTIAL_COMPACT_PDF_TEMPLATE_RETRIEVE_LIST_SUCCESSCREDENTIAL_COMPACT_PDF_TEMPLATE_RETRIEVE_LIST_FAIL

Roles

adminissuer
GET/v2/credentials/compact/pdf/templates
AuthorizationBearer <token>

In: header

Query Parameters

limit?number

Range size of returned list.

Default100
Range1 <= value <= 1000
cursor?string

Starting point for the list of entries.

Response Body

curl -X GET "https://example.vii.au01.mattr.global/v2/credentials/compact/pdf/templates?limit=2&cursor=Y3JlYXRlZEF0PTIwMjAtMDgtMjVUMDY6NDY6MDkuNTEwWiZpZD1h"
{
  "nextCursor": "0ecdcb57-ef2b-4aa1-be34-695c2d9d9486",
  "data": [
    {
      "id": "4eea7654-d4c5-4eba-bd7a-5ca334d54725",
      "name": "Certificate of participation",
      "fileName": "certificate_of_participation",
      "fonts": [
        {
          "name": "PublicSans-Regular",
          "fileName": "fonts/PublicSans-Regular.ttf"
        }
      ],
      "metadata": {
        "title": ""
      },
      "fields": [
        {
          "key": "familyName",
          "value": "{{payload.sub_claims.familyName}}",
          "isRequired": true,
          "alternativeText": "{{payload.sub_claims.familyName}}",
          "fontName": "PublicSans-Regular"
        }
      ]
    }
  ]
}
{
  "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?