API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · certificates

Certificate Schema

Schema ID
certificate
Collection
certificates
Permissions
  • Readcertificate_view
  • Createcertificate_create
  • Editcertificate_edit
  • Deletecertificate_delete
Relationships

Fields

Certificate Schema

certificates4 permissions

Schema for validating completion certificates in the Academy/LMS module

documentLanguagestringoptional

Language the certificate PDF is rendered in. Decided when the certificate is issued and never re-derived. Missing = de.

deenesfrnlnull
nullable
courseIdstringrequired

ID of the completed course

min 1 characters
userIdstringrequired

ID of the student who earned the certificate

min 1 charactersread-only
enrollmentIdstringrequired

ID of the enrollment record

min 1 charactersread-only
certificateNumberstringrequired

Unique certificate number

min 1 charactersread-only
issuedAtdatetimerequired

Date and time when the certificate was issued

validUntildatetimeoptional

Certificate expiration date (if applicable)

nullable
templateIdstringoptional

ID of the certificate template used

nullable
consumerTenantIdstringoptional

Tenant the learner belongs to. Null for MSP-internal certificates; set for cross-tenant.

read-onlynullable
courseTenantIdstringoptional

Platform courses only (ADR 1074, Weg b): tenant holding the course content. The certificate itself lives in the learner tenant.

read-onlynullable
consumerUserIdstringoptional

users._id of the learner in the consumer tenant (ADR 0693). Null for MSP-internal certificates.

read-onlynullable
designobjectoptional

Visual design of the completion certificate. Missing = default design.

read-onlynullable
templatestringoptional
modernclassicminimal
accentColorstringoptional
Patternnullable
titlestringoptional
max 60 charactersnullable
statementstringoptional
max 160 charactersnullable
descriptionstringoptional
max 280 charactersnullable
signerNamestringoptional
max 80 charactersnullable
signerRolestringoptional
max 80 charactersnullable
signatureFileIdstringoptional
Patternnullable
logoFileIdstringoptional
Patternnullable
showGradebooleanoptional
showHoursbooleanoptional
showQrbooleanoptional
validityMonthsintegeroptional
1 – 240nullable
issuerNamestringoptional

Issuer as printed on the certificate, shown on the public verification page.

read-onlynullable
verificationTokenstringoptional

Capability token in the QR code of the certificate. Never returned by generic reads.

read-onlynullable
metadataobjectrequired
courseNamestringrequired

Name of the completed course

min 1 characters
studentNamestringrequired

Name of the student who completed the course

min 1 characters
instructorNamestringoptional

Name of the course instructor

nullable
completionDatedatetimerequired

Date when the course was completed

gradestringoptional

Grade or performance rating

nullable
hoursnumberrequired

Total course hours for certification

≥ 0

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/certificates — List, paginated + filterable
  • GET /api/v1/certificates/<id> — Single entity
  • POST /api/v1/certificates — Create
  • PATCH /api/v1/certificates/<id> — Partial update
  • DELETE /api/v1/certificates/<id> — Soft delete
  • GET /api/v1/certificates/<id>/timeline — Audit + activities

Search