API reference · Onboarding

Issue a device-bound mDL for the current interview

POST/omni/credentials/mdl

Base URL: https://demo-api.incodesmile.com — Incode demo environment

Builds credential claims from the interview identified by the access token and issues a device-bound ISO/IEC 18013-5 mDL bound to the supplied device public key.

Path & query parameters

Name In Type Required Description
api-version header string yes

Request body

Field Type Required Description
devicePublicKey string Holder device public key as Base64 (standard) X.509 SubjectPublicKeyInfo DER, EC P-256.

Responses

200

OK

Response body (application/json):

Field Type Required Description
docType string mdoc docType, e.g. org.iso.18013.5.1.mDL.
issuerSigned string Base64 (standard) of the CBOR-encoded IssuerSigned (nameSpaces + issuerAuth).
expiresAt string (date-time) When the mDL stops being valid (MSO validityInfo.validUntil).

400

Bad Request

Response body (application/json):

Field Type Required Description
timestamp integer (int64) UTC timestamp in milliseconds
status integer (int32) Custom error code or HTTP status code
error string HTTP status error
message string Custom error message
path string Endpoint path
details object Custom error details
Was this page helpful?