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.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| body | body | VerifiableCredential or VerifiablePresentation | true | Provide as the body a verifiable credential or verifiable presentation JSON-LD document. |
{% openapi-operation spec="dock-labs-api" path="/verify" method="post" %} OpenAPI dock-labs-api {% endopenapi-operation %}