Skip to main content

Certificate Lifecycle

Every certificate in DokStamp has a status 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


State transitions

State transitions are one-way. A revoked certificate cannot be reinstated. If a certificate was revoked in error, you must issue a new one.

Issuing a certificate

To transition a certificate from draft to issued, pass finish: true when creating it. This triggers the full issuance pipeline: file signing, academic transcript generation, and student notification.
Omitting finish (or passing false) creates the certificate as a draft, allowing review before official publication.

Revoking a certificate

Call PUT /certificates/{uuid}/revoke with an optional reason:
After revocation, the public verification URL remains accessible but displays a clear revocation notice with the reason and timestamp. → Full revocation reference

Public verification

When a certificate is in issued status, the public_verification_url field is populated:
This URL can be shared with employers, other institutions, or included in the printed certificate as a QR code. No authentication is required to access it.

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 optional blockchain_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.