Skip to main content

Overview

Once you’ve picked a preset (see Browse presentation presets), create the request by passing its id. The response carries the URIs you’ll deliver to the user. This guide uses didx:basic-identity-request, which asks for firstName and lastName from a basic identity credential, accepting issuers such as the South African Reserve Bank and the Department of Home Affairs.
Need to verify something no preset covers? See Custom presentation template. For everything else, use a preset.

Endpoint

Request

Request body

Reference kinds

reference splits on the first colon only, so the value may itself contain colons, as preset ids do. Unlike issuance, presentation requests do not accept the credentialType kind.
The older top-level presetId and presentationTemplateId fields still work but are deprecated. Pass exactly one of reference, presetId, or presentationTemplateId. Supplying more than one returns a 400. New integrations should use reference.

Response

HTTP 200 OK

Key response fields

15 minutes is short. Create the request at the point you’re ready to put it in front of the user, not ahead of time. A request generated during a batch job will usually be dead before anyone scans it. You cannot revive an expired request, so create a new one.

Deliver the request

Save the id so you can read the user’s response later, then deliver the request to the user. Two options:
  1. By email, username, or other identifier: Deliver via identifier.
  2. As a QR code or deeplink rendered in your own UI: Deliver out of band.