Skip to main content
Most integrations don’t need this page. If you can verify using a published preset, do that. See Create a presentation request. Custom presentation templates are for cases where you need to verify a credential shape that no preset covers, or layer on your own trusted-issuer rules.

Overview

A presentation template specifies what credentials and attributes you want to verify, and which issuers’ credentials count as proof. The type field in the template must match the type from a credential template that was used during issuance; this is how the system knows which credentials to request from the user’s wallet. Use a custom template when:
  • You’re verifying a credential type that isn’t in the public preset catalogue.
  • You need a trust list specific to your tenant (issuers you’ve onboarded yourself, not visible to anyone else).
  • You want to combine multiple credential types in one request in a way no preset offers.

Trust works one level lower than in presets

In a preset, trustedIssuers is described in real-world terms (DIDs, x509 certificates) and the platform resolves them to your tenant’s records when you use the preset. In a custom template, you reference your tenant’s trusted-entity records by id. These are the same records the preset path would create for you, but you create and manage them explicitly. Before authoring the template, register the entities you’ll reference; the response includes the tenant-scoped record ids that go into trustedIssuers.

Endpoint

Request

Request body

The type field must be the full URI from the issuer’s credential template response (e.g. https://didx.co.za/vct/didx/basic-identity), not the short name used during template creation.
Empty or omitted trustedIssuers means any issuer is trusted. Without an explicit list, a valid signature from any issuer of this credential type will verify. Always populate trustedIssuers with the entity ids you actually trust before going to production. To get those ids, see Trusted entities.

Response

HTTP 200 OK

Key response fields

Presentation templates are reusable. Create one template and use it for multiple verification requests; save the id for Create a presentation request.