Documentation Index
Fetch the complete documentation index at: https://docs.dokstamp.com/llms.txt
Use this file to discover all available pages before exploring further.
Certificate Lifecycle
Every certificate in DokStamp has astatus field that governs what actions can be performed on it and how it appears to the public. Status transitions are managed internally by the platform.
Status values
| Status | Description |
|---|---|
draft | Certificate is being prepared. Not yet publicly verifiable. |
issued | Certificate has been officially issued. The verification URL is active. |
revoked | Certificate was revoked after issuance. The verification URL shows a revocation notice. |
expired | Certificate has passed its validity date (if one was set). |
State transitions
Issuing a certificate
To transition a certificate fromdraft to issued, pass finish: true when creating it. This triggers the full issuance pipeline: file signing, academic transcript generation, and student notification.
finish (or passing false) creates the certificate as a draft, allowing review before official publication.
Revoking a certificate
CallPUT /certificates/{uuid}/revoke with an optional reason:
Public verification
When a certificate is inissued status, the public_verification_url field is populated:
Credential Subject Snapshot
At the time a certificate is issued, DokStamp captures a snapshot of the student’s identity data (name, email, document ID, date of birth, country). This snapshot is stored immutably alongside the certificate so that the credential remains verifiable even if the student’s profile is later updated.Blockchain anchoring
Certificates include optionalblockchain_tx_hash and blockchain_tx_url fields for blockchain anchoring. When set, these provide tamper-evident proof that the certificate was recorded on a public ledger at a specific point in time.