API Reference
Presentation sessions
Retrieve a presentation session result
GET
/v2/presentations/sessions/{sessionId}/resultAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
sessionId*string
Session ID
Format
uuidResponse Body
application/json
application/json
curl -X GET "https://example.com/v2/presentations/sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08/result"Holder successfully presented a valid mDL with all requested claims verified
{ "sessionId": "550e8400-e29b-41d4-a716-446655440000", "challenge": "c5a27e4c-85b6-4b3c-9f1a-2d8e5f3a4b7c", "credentialQuery": [ { "profile": "mobile", "docType": "org.iso.18013.5.1.mDL", "nameSpaces": { "org.iso.18013.5.1": { "family_name": { "intentToRetain": false }, "given_name": { "intentToRetain": false }, "birth_date": { "intentToRetain": false }, "address": { "intentToRetain": false } } } } ], "credentials": [ { "docType": "org.iso.18013.5.1.mDL", "claims": { "org.iso.18013.5.1": { "family_name": { "value": "Smith" }, "given_name": { "value": "Jane" }, "birth_date": { "value": "1990-05-15" }, "address": { "value": "123 Main Street, Springfield" } } }, "validityInfo": { "signed": "2024-01-15T10:00:00Z", "validFrom": "2024-01-15T10:00:00Z", "validUntil": "2027-01-15T10:00:00Z", "expectedUpdate": "2028-01-15T10:00:00Z" }, "verificationResult": { "verified": true }, "issuerInfo": { "commonName": "State Department of Motor Vehicles", "trustedIssuerId": "d4a6e9f2-3b1c-4d8e-a5f7-9c2b0e8d1a3f" }, "branding": { "name": "Driver License", "description": "State-issued driver license", "backgroundColor": "#1E3A8A" } } ]}How would you rate this page?
Last updated on