Verifiable Credential
Last updated
Last updated
Please generate access token before proceeding. Once you generated the access_token
, you can pass this token as bearer authorization token in the header for all APIs.
An issuer may issue a verifiable credential to a subject using this API. The credential document is signed by issuer's identity key and its status is registered on the blockchain.
Entity Studio SSI API base URL: https://api.entity.hypersign.id
NOTE: A developer may choose to store the verifiable credential in application's data vault securely or they may not to. Pass true
for request body property persist
to store the credential document, false
otherwise.
A signed verifiable credential must has signature of the issuer. Any one may verify an issued credential document. The verification result state the following facts:
This document was issued by intended issuer
This document have not been tampered
This document have not been revoked
NOTE: Verifying a credential document is different than verifying a verifiable presentation. Verification result of later, also states that "Only intended subject holds this document and not one else".
Pass false
value to parameter retrieveCredential
to only retrieve status of the credential
/api/v1/credential/verify
Bearer <access_token>
Origin as you set in application cors
credential document
/api/v1/credential/{credentialId}
Bearer <access_token>
Origin as you set in application cors
/api/v1/credential
Page value
Fetch limited list of data
Bearer <access_token>
Origin as you set in application cors
/api/v1/credential/status/{credentialId}
Bearer <access_token>
Origin as you set in application cors
Namespace to be added in vcId.
testnet
Credential status
LIVE / SUSPEND / REVOKE
Credential status Reason
Reason
issuerDid of the credential
Verification Method id for did updation
did:hid:testnet:........#key-${idx}
/api/v1/credential/issue
Bearer <access_token>
Origin as you set in application cors
schemaId for credential Schema
holder did of the credential
issuerDid of the credential
Date in ISOString format
2027-12-10T18:30:00.000Z
Namespace to be added in vcId.
testnet
Verification Method id for did updation
did:hid:testnet:........#key-${idx}
Persist in edv
true
Credential Data fields
{"name":"Random name"}