Get Credential
Retrieve a credential by its identifier, including the full W3C Verifiable Credential, and the latest status of all grantor decisions.
The credentialId must be a credential URN (urn:via:credential:<uuid>); a malformed URN returns 400.
Headers
Pin request, response, and webhook shapes to a specific dated API version (YYYY-MM-DD). Omit to use the version pinned to your API key (set when the key is created; new keys default to the latest version). New integrations should target the latest version.
^\d{4}-\d{2}-\d{2}$"2026-07-06"
Path Parameters
URN of the credential to retrieve
"urn:via:credential:550e8400-e29b-41d4-a716-446655440000"
Response
The credential, including its W3C Verifiable Credential and the latest grantor decisions.
URN of the credential.
"urn:via:credential:550e8400-e29b-41d4-a716-446655440000"
The type of resource for this credential (e.g., DOCUMENT, CONSENT, FORM)
"DOCUMENT"
The status of the credential
DRAFT, ACTIVE, REJECTED, CANCELED, REVOKED, EXPIRED "DRAFT"
The W3C Verifiable Credential following the VIA protocol specification.
While the credential is in DRAFT status, this object is in building mode:
evidences, proofs, and other fields may still be attached or modified as
grantors review and decide. The proofs array will be empty at this stage.
Once all grantors have accepted (or the request window expires), the status transitions out of DRAFT and cryptographic signature proofs are attached. At that point the credential is fully sealed and can be passed for verification as defined by the VIA protocol.
Whether each grantor accepted or rejected the credential and information about the grantor contact. The id field carries the grantor's DID. Always an array (empty when there are no decisions yet).
Human-readable name of the credential; null when unset.
"Credential Name"
Free-text description of the credential; null when unset.
"Document to be requested on onboarding"
Identifier to help you identify the credential in your own system. We recommend using a unique value.
"internal-12345"
Free-form labels attached to the credential.