Most integrations don’t need this page. If you can verify using a published preset, do that. See Create a
presentation request. Authoring your own presentation
preset, public or private, covers nearly everything this page does.
Overview
A presentation template specifies what credentials and attributes you want to verify, and which issuers’ credentials count as proof. Thetype 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 need to name the exact trusted-entity records a request accepts. Everything else a custom template can do, a preset can do as well: you author presentation presets yourself, a private one stays invisible to other tenants, and templateCredentials already takes several credential types in one request. See Presentation presets.
Trust by id, not by value
The two paths name issuers differently, and that is the real choice between them.
So a preset describes who you trust and lets the platform find or create the record, while a template points at one record you have already. Reach for a template when that precision matters, such as when you want a specific record and not whatever an identifier resolves to.
The ids come from your tenant’s trusted-entity records, whether you registered them yourself or they arrived by a trust ecosystem subscription. List them to find the ids that go into
trustedIssuers.
Endpoint
Request
Request body
The
type field must be the full URI from the issuer’s credential template response, such as
https://test.didxtech.com/vct/didx/basic-identity. The code shortcut is only accepted when the issuer creates the
credential template; there is no equivalent here.Response
HTTP 200 OK. A template created from a preset returns 201 the first time instead.
trustedIssuers comes back expanded. You send an array of record ids; the response returns the full
trusted-entity records, each with its own dids and certificates. Don’t expect the strings you sent.
