Credentials
Issue credential
Creating an Example Payload
Zero Knowledge Proofs (ZKP)
Credential distribution
Revocation
Expiration
Attaching files
Creates and issues a verifiable credential with supplied data. More info about Issue a Credential
Whether to store an encrypted version of this credential with us. Defaults to false, if true you must supply password. When choosing to persist a credential containing Personally Identifiable Information (PII), consider the implications for data storage regulatory compliance.
falseExample: falsePassword used to encrypt the credential if you choose to store it. The same password must be used to retrieve the credential contents. Truvera does not store this password.
Anchor the credential on the blockchain or not
falseExample: falseThe credential template UUID, only required for PDF and web rendering customization
The holder's DID for DID distribution, optional. Not required for OpenID flows.
The holder's email for email distribution, optional. Not required for OpenID flows.
Optional. Specifies which signing algorithm to use to sign the issued credential. Defaults to ed25519, for ZKP credendials use dockbbs.
ed25519Example: dockbbsWhether to distribute the credential or not based on subject DID or email address. Not required for OpenID flows.
falseExample: falseSpecifies the output format of the credential, either jsonld or jwt. Defaults to jsonld.
jsonldPossible values: Whether the credential can be revoked or not. If true the revocation registry will be automatically provisioned.
falseExample: trueThe request was successful and returns the created Verifiable Credential.
Verifiable (signed) Credential returned by API. The current set of properties is almost complete
JSON-LD context array of strings or single string
https://docknetwork.github.io/vc-schemas/basic-credential.json-ldDID as fully qualified, typically. did:cheqd:
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59Revocation registry id or user supplied status object
The request was unsuccessful, because of invalid/insufficient credential params.
The request was unsuccessful, either because the authorization token was missing/invalid or you don't own the DID.
Transaction limit reached or upgrade required to proceed.
Resource was not found.
List credentials
Get all credential metadata
How many items to offset by for pagination
0How many items to return at one time (max 100)
64Filter by specific Credential ID, Subject Ref, Issuer, Type, Created Date or Issue Date
The request was successful and will return the credential metadata.
Represents metadata related to a verifiable credential. This includes information about the credential's issuer, issuance and expiration dates, revocation status, and additional properties such as size and subject reference.
The unique identifier for the credential, typically a URL pointing to its location or a hash value.
https://creds.truvera.io/521bb7...The DID and key identifier of the issuer that signed the credential. This key is used to verify the authenticity of the credential.
did:key:z6Mk...dsmKThe profile name of the issuer that signed the credential.
Truvera IssuerThe type of credential.
VerifiableCredentialThe registry identifier for revocation information associated with the credential.
e6d3...59d1Indicates whether the credential has been revoked. If true, the credential is no longer valid
falseThe date and time when the credential metadata was created.
2024-09-20T11:13:03.445ZThe expiration date of the credential.
2024-09-20T11:13:03.445ZAlternative field for the expiration date of the credential.
2024-09-20T11:13:03.445ZThe date and time when the credential was issued.
2024-09-20T11:13:02.648ZThe size of the credential in bytes.
1003Indicates whether the credential is persisted in storage.
falseA unique index or identifier within a collection of credentials.
1004A reference to the subject of the credential, typically used to identify the entity to which the credential pertains.
Truvera RefIndicates if the credential is associated with a specific whitelabel or brand.
The algorithm used for creating or signing the credential.
dockbbsApplication error
Get credentials metadata and contents
Get credential metadata and contents if persistent
Valid URI
https://credentials.truvera.io/1234The encryption password used when issuing/storing the credential
The request was successful and will return the credential metadata and its JSON contents (if password was supplied).
Represents metadata related to a verifiable credential. This includes information about the credential's issuer, issuance and expiration dates, revocation status, and additional properties such as size and subject reference.
The unique identifier for the credential, typically a URL pointing to its location or a hash value.
https://creds.truvera.io/521bb7...The DID and key identifier of the issuer that signed the credential. This key is used to verify the authenticity of the credential.
did:key:z6Mk...dsmKThe profile name of the issuer that signed the credential.
Truvera IssuerThe type of credential.
VerifiableCredentialThe registry identifier for revocation information associated with the credential.
e6d3...59d1Indicates whether the credential has been revoked. If true, the credential is no longer valid
falseThe date and time when the credential metadata was created.
2024-09-20T11:13:03.445ZThe expiration date of the credential.
2024-09-20T11:13:03.445ZAlternative field for the expiration date of the credential.
2024-09-20T11:13:03.445ZThe date and time when the credential was issued.
2024-09-20T11:13:02.648ZThe size of the credential in bytes.
1003Indicates whether the credential is persisted in storage.
falseA unique index or identifier within a collection of credentials.
1004A reference to the subject of the credential, typically used to identify the entity to which the credential pertains.
Truvera RefIndicates if the credential is associated with a specific whitelabel or brand.
The algorithm used for creating or signing the credential.
dockbbsError retrieving the credential
Credential was not found.
Create request claims
Creates and issues a verifiable credential with supplied data + claims from the user.
truehttps://docknetwork.github.io/vc-schemas/basic-credential.jsonnameOpenID issuer and claim request created
Represents the configuration and options for an OpenID issuer, including credential options, authentication provider details, and claim mappings.
Key/value pair mapping for OpenID claims to JSON-LD terms
{"name":"name"}falsedefaultThe request was unsuccessful, because of invalid/insufficient credential parameters.
Transaction limit reached or upgrade required to proceed
Get request claims
Get all credential metadata
How many items to offset by for pagination
0How many items to return at one time (max 64)
64A paged array of OpenID issuers
Represents the configuration and options for an OpenID issuer, including credential options, authentication provider details, and claim mappings.
Key/value pair mapping for OpenID claims to JSON-LD terms
{"name":"name"}falsedefaultApplication error
Delete credential
Deletes all credential metadata and contents from the client. More info about Delete Credentials
Valid URI
https://credentials.truvera.io/1234The encryption password used when issuing/storing the credential
Credential has been deleted.
Error retrieving the credential
Credential was not found.
Last updated
Was this helpful?