Verify

VCDM verification

VCDM verification is usually done in context of a presentation request as documented with the presentations endpoint. You probably do not want to call the verify endpoint directly.

This route allows manual verification of issued/received credentials and presentations. Verification will check that the JSON-LD document's cryptographic proof is correct and that it has not been revoked. It will return a verification status with a boolean verified result.

A verifier upon receiving a verifiable presentation verifies the validity of each credential in the presentation. This includes checking the correctness of the data model of the credential, the authenticity by verifying the issuer's signature and revocation status if the credential is revocable. It then checks whether the presentation contains the signature from the holder on the presentation, including the given challenge.

Parameters

Name
In
Type
Required
Description

body

body

true

Provide as the body a verifiable credential or verifiable presentation JSON-LD document.

Verify a credential or presentation

post
/verify

Verifies a VCDM credential or presentation as JSON or JWT string. More info about Verify Credentials/Presentations

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
objectOptional
Responses
200

The verification result

application/json
post
/verify

Last updated

Was this helpful?