Skip to main content
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.comProduction
  • https://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.

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 | null
  • personEmail string
  • personExternalId string | null
  • personDateOfBirth string (date) | null
  • personFamilyName string
  • personGivenName string
  • personHonorificPrefix string | null
  • activityDates 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

  • locale string | 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 | null
  • personEmail string
  • personExternalId string | null
  • personDateOfBirth string (date) | null
  • personFamilyName string
  • personGivenName string
  • personHonorificPrefix string | null
  • activityDates 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 string
  • limit 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 stringrequired
  • errorCode stringrequired
  • correlationId stringrequired

AuditEventResponse

  • id string (uuid)required
  • occurredAt string (date-time)required
  • category stringrequired
  • action stringrequired
  • entityType string | nullrequired
  • entityId string (uuid) | nullrequired
  • entityTitle string | nullrequired
  • details string | nullrequired
  • relatedEntityType string | nullrequired
  • relatedEntityId string (uuid) | nullrequired
  • actorType stringrequired
  • actorId string (uuid) | nullrequired
  • actorName string | nullrequired
  • actorEmail string | nullrequired
  • ipAddress string | nullrequired
  • userAgent string | nullrequired

AuditEventsResponse

BatchStatusRequest

  • issueRequestIds string (uuid)[]

BatchStatusResponse

BatchStatusResponseItem

  • issueRequestId string (uuid)required
  • status stringrequired
  • credentialId string (uuid) | nullrequired
  • issuedAt string (date-time) | nullrequired
  • claimedAt string (date-time) | nullrequired

ClaimLinkRequest

  • locale string | null

ClaimLinkResponse

  • actionType stringrequired
  • claimUrl string | nullrequired
  • expiresAt string (date-time) | nullrequired

CredentialIssuanceModel

  • credentialTemplateId string (uuid)
  • grade string | null
  • personEmail string
  • personExternalId string | null
  • personDateOfBirth string (date) | null
  • personFamilyName string
  • personGivenName string
  • personHonorificPrefix string | null
  • activityDates ActivityDateOverrideModel[] | null

CredentialTemplateClaimResponse

  • id string (uuid)required
  • title stringrequired
  • type stringrequired
  • startDate string (date-time) | nullrequired
  • endDate string (date-time) | nullrequired

CredentialTemplateSummaryResponse

  • id string (uuid)required
  • title stringrequired
  • requiresGrade booleanrequired

IssueAcceptedResponse

  • status stringrequired
  • issueRequestId string (uuid)required
  • personExternalId string | nullrequired
  • acceptedAt string (date-time)required
  • correlationId stringrequired

IssueRequestStatusResponse

  • issueRequestId string (uuid)required
  • personExternalId string | nullrequired
  • personEmail string | nullrequired
  • status stringrequired
  • submittedAt string (date-time)required
  • issuedAt string (date-time) | nullrequired
  • claimedAt string (date-time) | nullrequired
  • credentialId string (uuid) | nullrequired
  • failureReason string | nullrequired
  • failureCode string | null

ProblemDetails

  • type string | null
  • title string | null
  • status integer (int32) | null
  • detail string | null
  • instance string | null
An error has occurred. This application may no longer respond until reloaded.Reload 🗙