Credentium Public API · 1.0 · OpenAPI 3.1.1
Issuing digital credentials through the API
The REST API for issuing digital credentials from other systems: an LMS, a student information system, HR or CRM. Descriptions of endpoints and data come from the OpenAPI document and are in English.
Issue European Digital Credentials from any external system (LMS, student information system, HR, CRM), poll their status and obtain a Wallet claim link for the recipient. Issuance is asynchronous: a request is accepted with HTTP 202 and its status is then polled. Every request carries an organisation API key in the API-KEY header; each endpoint requires one scope of that key.
Base address
Add the endpoint paths below to one of these addresses.
https://issuer.credentium.comProductionhttps://issuer.sandbox.credentium.comSandbox for integration testing
Authentication
Every request carries the organisation's API key in the API-KEY header. Keys are created by an organisation administrator in the panel: Organisation settings → API Keys.
curl https://issuer.credentium.com/api/credential-template \
-H "API-KEY: <API key>"
Organisation API key created in Organisation Settings → API Keys. Keys are stored only as a hash, expire, can be rotated and revoked, and carry scopes: templates:read, credentials:issue, credentials:read, audit:read.
API key scopes
A key works only with the endpoints of the scopes it was given. In the panel, scopes are chosen as the key's permissions.
audit:readRead the audit log (e.g. for a SIEM)
credentials:issueIssue digital credentials
credentials:readRead issuance status & claim links
templates:readRead digital credential templates
Errors
A rejected request gets a 4xx status code and a JSON body in one of the formats below.
A 401 response (no key, an invalid or expired key, or a key without the required scope) has a short body of its own:
{
"error": "Invalid API key or insufficient permissions",
"required_scope": "credentials:issue"
}Issuance
POST
/api/credential-issue-requests
Request issuance of a credential
Key scope: credentials:issue
Accepts one recipient for one active template of the organisation and returns HTTP 202 with the issue request id. The credential is generated and sealed asynchronously; poll GET /api/credential-issue-requests/{issueRequestId} for its status. The Location header points at that status resource.
Request body
application/json
CredentialIssuanceModelrequired
credentialTemplateId
string (uuid)grade
string | nullpersonEmail
stringpersonExternalId
string | nullpersonDateOfBirth
string (date) | nullpersonFamilyName
stringpersonGivenName
stringpersonHonorificPrefix
string | nullactivityDates
ActivityDateOverrideModel[] | null
Example request
{
"credentialTemplateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"grade": "string",
"personEmail": "name@example.com",
"personExternalId": "string",
"personDateOfBirth": "2026-10-18",
"personFamilyName": "string",
"personGivenName": "string",
"personHonorificPrefix": "string",
"activityDates": [
{
"claimId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"endDate": "2026-10-18T09:30:00Z",
"startDate": "2026-10-18T09:30:00Z"
}
]
}Responses
- 202AcceptedIssueAcceptedResponse
Example response
{
"status": "string",
"issueRequestId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"personExternalId": "string",
"acceptedAt": "2026-10-18T09:30:00Z",
"correlationId": "string"
} - 400Bad RequestApiErrorResponse
Example response
{
"error": "string",
"errorCode": "string",
"correlationId": "string"
} - 401The API-KEY header is missing, the key is invalid, expired or revoked, or it lacks the required scope.
POST
/api/credential-issue-requests/statuses
Get the statuses of many issue requests
Key scope: credentials:read
Batch variant of the status endpoint for up to 500 issue request ids per call. Ids that do not exist or belong to another organisation are omitted from the results.
Request body
application/json
BatchStatusRequestrequired
issueRequestIds
string (uuid)[]
Example request
{
"issueRequestIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}Responses
- 200OKBatchStatusResponse
Example response
{
"results": [
{
"issueRequestId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "string",
"credentialId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"issuedAt": "2026-10-18T09:30:00Z",
"claimedAt": "2026-10-18T09:30:00Z"
}
],
"requestedCount": 0,
"returnedCount": 0
} - 400Bad RequestApiErrorResponse
Example response
{
"error": "string",
"errorCode": "string",
"correlationId": "string"
} - 401The API-KEY header is missing, the key is invalid, expired or revoked, or it lacks the required scope.
GET
/api/credential-issue-requests/{issueRequestId}
Get the status of an issue request
Key scope: credentials:read
Status is one of processing, issued, claimed, failed. Only requests of the organisation that owns the API key are visible.
Parameters
issueRequestId
path
string (uuid)required
Responses
- 200OKIssueRequestStatusResponse
Example response
{
"issueRequestId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"personExternalId": "string",
"personEmail": "name@example.com",
"status": "string",
"submittedAt": "2026-10-18T09:30:00Z",
"issuedAt": "2026-10-18T09:30:00Z",
"claimedAt": "2026-10-18T09:30:00Z",
"credentialId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"failureReason": "string",
"failureCode": "string"
} - 401The API-KEY header is missing, the key is invalid, expired or revoked, or it lacks the required scope.
- 404Not FoundApiErrorResponse
Example response
{
"error": "string",
"errorCode": "string",
"correlationId": "string"
}
POST
/api/credential-issue-requests/{issueRequestId}/claim-link
Get a Wallet claim link for the recipient
Key scope: credentials:read
Returns a single-use link that takes the recipient to the Wallet: to create an account and claim the credential, or to log in and claim it. actionType is one of create_wallet_and_claim, login_and_claim, already_claimed, not_ready.
Parameters
issueRequestId
path
string (uuid)required
Request body
application/json
ClaimLinkRequest | null
Example request
{
"locale": "string"
}Responses
- 200OKClaimLinkResponse
Example response
{
"actionType": "string",
"claimUrl": "string",
"expiresAt": "2026-10-18T09:30:00Z"
} - 401The API-KEY header is missing, the key is invalid, expired or revoked, or it lacks the required scope.
- 404Not FoundApiErrorResponse
Example response
{
"error": "string",
"errorCode": "string",
"correlationId": "string"
}
POST
/api/credential/issue
Issue a credential (legacy)
Key scope: credentials:issue
Kept unchanged for the Moodle plugin 2.0.6 and early integrations: returns the issue request id as a bare JSON string. New integrations should use POST /api/credential-issue-requests, which returns a structured 202 response.
Request body
application/json
CredentialIssuanceModelrequired
credentialTemplateId
string (uuid)grade
string | nullpersonEmail
stringpersonExternalId
string | nullpersonDateOfBirth
string (date) | nullpersonFamilyName
stringpersonGivenName
stringpersonHonorificPrefix
string | nullactivityDates
ActivityDateOverrideModel[] | null
Example request
{
"credentialTemplateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"grade": "string",
"personEmail": "name@example.com",
"personExternalId": "string",
"personDateOfBirth": "2026-10-18",
"personFamilyName": "string",
"personGivenName": "string",
"personHonorificPrefix": "string",
"activityDates": [
{
"claimId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"endDate": "2026-10-18T09:30:00Z",
"startDate": "2026-10-18T09:30:00Z"
}
]
}Responses
- 200OKstring (uuid)
Example response
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
- 400Bad RequestProblemDetails
Example response
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
} - 401The API-KEY header is missing, the key is invalid, expired or revoked, or it lacks the required scope.
Templates
GET
/api/credential-template
List credential templates
Key scope: templates:read
Active templates of the organisation, ordered by title. requiresGrade is true when the template contains an assessment, so an issue request must carry a grade. assessmentsOnly=true returns only such templates.
Parameters
assessmentsOnly
query
boolean
Responses
- 200OKCredentialTemplateSummaryResponse[]
Example response
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"title": "string",
"requiresGrade": true
}
] - 401The API-KEY header is missing, the key is invalid, expired or revoked, or it lacks the required scope.
GET
/api/credential-template/{id}
Get a credential template
Key scope: templates:read
Template with its claims. Learning activities carry their default start and end dates, which an issue request can override per claim.
Parameters
id
path
string (uuid)required
Responses
- 200OKCredentialTemplateDetailResponse
Example response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"title": "string",
"requiresGrade": true,
"claims": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"title": "string",
"type": "string",
"startDate": "2026-10-18T09:30:00Z",
"endDate": "2026-10-18T09:30:00Z"
}
]
} - 401The API-KEY header is missing, the key is invalid, expired or revoked, or it lacks the required scope.
- 404Not FoundProblemDetails
Example response
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Audit
GET
/api/audit-events
Read the audit trail
Key scope: audit:read
Returns the organisation's audit events oldest first: operations (issuance, revocation, exports, templates, users and roles, API keys, two-step verification resets), each attributed to a panel user, an API key or the platform, and sign-in attempts to the panel. Start with from (or nothing, for the whole trail), then pass nextCursor as cursor while hasMore is true. Store the last nextCursor and poll again later from it: it is returned also when hasMore is false. Events become readable two minutes after they happen. A page holds up to limit events, more only when one save wrote a longer run of events with the same timestamp.
Parameters
from
query
string (date-time)to
query
string (date-time)cursor
query
stringlimit
query
integer (int32)category
query
string
Responses
- 200OKAuditEventsResponse
Example response
{
"events": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"occurredAt": "2026-10-18T09:30:00Z",
"category": "string",
"action": "string",
"entityType": "string",
"entityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"entityTitle": "string",
"details": "string",
"relatedEntityType": "string",
"relatedEntityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"actorType": "string",
"actorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"actorName": "string",
"actorEmail": "name@example.com",
"ipAddress": "string",
"userAgent": "string"
}
],
"nextCursor": "string",
"hasMore": true
} - 400Bad RequestApiErrorResponse
Example response
{
"error": "string",
"errorCode": "string",
"correlationId": "string"
} - 401The API-KEY header is missing, the key is invalid, expired or revoked, or it lacks the required scope.
Data models
In a request, “required” means the field must be sent. In a response it means the field is always present — with null where its type allows. The examples are generated from the models.
ActivityDateOverrideModel
claimId
string (uuid)endDate
string (date-time)startDate
string (date-time)
ApiErrorResponse
error
stringrequirederrorCode
stringrequiredcorrelationId
stringrequired
AuditEventResponse
id
string (uuid)requiredoccurredAt
string (date-time)requiredcategory
stringrequiredaction
stringrequiredentityType
string | nullrequiredentityId
string (uuid) | nullrequiredentityTitle
string | nullrequireddetails
string | nullrequiredrelatedEntityType
string | nullrequiredrelatedEntityId
string (uuid) | nullrequiredactorType
stringrequiredactorId
string (uuid) | nullrequiredactorName
string | nullrequiredactorEmail
string | nullrequiredipAddress
string | nullrequireduserAgent
string | nullrequired
AuditEventsResponse
BatchStatusRequest
issueRequestIds
string (uuid)[]
BatchStatusResponse
BatchStatusResponseItem
issueRequestId
string (uuid)requiredstatus
stringrequiredcredentialId
string (uuid) | nullrequiredissuedAt
string (date-time) | nullrequiredclaimedAt
string (date-time) | nullrequired
ClaimLinkRequest
ClaimLinkResponse
actionType
stringrequiredclaimUrl
string | nullrequiredexpiresAt
string (date-time) | nullrequired
CredentialIssuanceModel
credentialTemplateId
string (uuid)grade
string | nullpersonEmail
stringpersonExternalId
string | nullpersonDateOfBirth
string (date) | nullpersonFamilyName
stringpersonGivenName
stringpersonHonorificPrefix
string | nullactivityDates
ActivityDateOverrideModel[] | null
CredentialTemplateClaimResponse
id
string (uuid)requiredtitle
stringrequiredtype
stringrequiredstartDate
string (date-time) | nullrequiredendDate
string (date-time) | nullrequired
CredentialTemplateDetailResponse
CredentialTemplateSummaryResponse
id
string (uuid)requiredtitle
stringrequiredrequiresGrade
booleanrequired
IssueAcceptedResponse
status
stringrequiredissueRequestId
string (uuid)requiredpersonExternalId
string | nullrequiredacceptedAt
string (date-time)requiredcorrelationId
stringrequired
IssueRequestStatusResponse
issueRequestId
string (uuid)requiredpersonExternalId
string | nullrequiredpersonEmail
string | nullrequiredstatus
stringrequiredsubmittedAt
string (date-time)requiredissuedAt
string (date-time) | nullrequiredclaimedAt
string (date-time) | nullrequiredcredentialId
string (uuid) | nullrequiredfailureReason
string | nullrequiredfailureCode
string | null
ProblemDetails
type
string | nulltitle
string | nullstatus
integer (int32) | nulldetail
string | nullinstance
string | null