Nexiel Credentials API

Every endpoint, parameter, and response schema for Nexiel Credentials.

OpenAPI 3.1.0Version 0.3.0https://compliance.nexiel.io

Requests to a production deployment require a bearer token. Mint one via the standard OAuth2 client-credentials grant against https://auth.nexiel.io/realms/nexiel/protocol/openid-connect/token using the client_id/client_secret pair from your dashboard's API Keys page. See this API's own quickstart for the exact curl command.

GET/health

Liveness / service-mode check

Parameters

undefined (undefined)string

Responses

200
503
GET/v1/credentials/health

Liveness / service-mode check

Unauthenticated. `ok` while this API serves requests, `draining` (503) while an instance is being replaced. `mode` is the deployment mode.

Parameters

undefined (undefined)string

Responses

200
503
GET/health/purge

Background purge worker heartbeat

Reports whether the data-retention purge has run recently: `healthy` and the age in seconds of its latest completed pass. Answers 503 when the latest pass is older than twice the purge interval.

Parameters

undefined (undefined)string

Responses

200
503
GET/.well-known/openid-credential-issuer/v1/credentials/issuers/{issuerProfileId}

Credential Issuer metadata of one issuer (JSON, or signed with Accept: application/jwt)

OpenID4VCI 1.0 §12.2. With Accept: application/jwt the metadata is returned as a JWT of type openidvci-issuer-metadata+jwt, signed with the access certificate of the issuer in x5c and carrying its registration certificate in issuer_info. In production a signed request fails with 409 until both certificates are configured.

Parameters

issuerProfileId (path)stringrequired

The issuer profile id in the Credential Issuer Identifier.

undefined (undefined)string

Responses

200
404
409
503
GET/.well-known/oauth-authorization-server/v1/credentials/issuers/{issuerProfileId}

RFC 8414 Authorization Server metadata of one issuer

Parameters

issuerProfileId (path)stringrequired

The issuer profile id in the Credential Issuer Identifier.

undefined (undefined)string

Responses

200
404
GET/v1/credentials/issuers/{issuerProfileId}/credential-offers/{offerToken}

Credential Offer by reference (credential_offer_uri)

OpenID4VCI 1.0 §4.1.3. Resolves only while the offer is open; an expired, used or withdrawn offer answers 404.

Parameters

issuerProfileId (path)stringrequired
offerToken (path)stringrequired
undefined (undefined)string

Responses

200
404
POST/v1/credentials/issuers/{issuerProfileId}/par

Pushed Authorization Request (RFC 9126) with wallet attestation and DPoP

Requires the OAuth-Client-Attestation and OAuth-Client-Attestation-PoP headers, PKCE S256, a redirect_uri, a scope or authorization_details naming one credential configuration, and a DPoP header or dpop_jkt.

Parameters

issuerProfileId (path)stringrequired

The issuer profile id in the Credential Issuer Identifier.

undefined (undefined)string

Responses

201
400
401
409
429
503
GET/v1/credentials/issuers/{issuerProfileId}/authorize

Authorization endpoint (pushed requests only)

Redirects the browser to the issuer user authentication page and binds the flow to this browser with a cookie.

Parameters

client_id (query)stringrequired
request_uri (query)stringrequired
issuerProfileId (path)stringrequired

The issuer profile id in the Credential Issuer Identifier.

undefined (undefined)string

Responses

303
400
GET/v1/credentials/issuers/{issuerProfileId}/authorize/resume

Return point after the issuer authenticated the user; redirects to the wallet with the code

Parameters

handle (query)stringrequired
completion (query)string

The one-time completion secret from the resumeUrl.

issuerProfileId (path)stringrequired

The issuer profile id in the Credential Issuer Identifier.

undefined (undefined)string

Responses

303
400
POST/v1/credentials/issuers/{issuerProfileId}/token

Token endpoint: authorization_code or pre-authorized_code, wallet attestation and DPoP required

Access tokens are DPoP-bound. A wrong tx_code counts towards a limit of five attempts, after which the offer is locked.

Parameters

issuerProfileId (path)stringrequired

The issuer profile id in the Credential Issuer Identifier.

undefined (undefined)string

Responses

200
400
401
409
429
503
POST/v1/credentials/issuers/{issuerProfileId}/nonce

Nonce endpoint (OpenID4VCI 1.0 §7): a fresh single-use c_nonce and a DPoP-Nonce header

Parameters

issuerProfileId (path)stringrequired

The issuer profile id in the Credential Issuer Identifier.

undefined (undefined)string

Responses

200
404
429
POST/v1/credentials/issuers/{issuerProfileId}/credential

Credential endpoint: Authorization: DPoP, key proofs with key attestation, one credential per attested key

The request is JSON, or a JWE (Content-Type: application/jwt, OpenID4VCI 1.0 §10) encrypted to a key in credential_request_encryption. A request carrying credential_response_encryption must be encrypted, and is answered with a JWE (application/jwt). Error responses are never encrypted.

Parameters

issuerProfileId (path)stringrequired

The issuer profile id in the Credential Issuer Identifier.

undefined (undefined)string

Request body

credential_identifierstring
credential_configuration_idstring
proofsobject

Exactly one proof type: jwt proofs carrying key_attestation (one proof covering every attested key, or one proof per attested key, each naming its key in jwk), or exactly one key attestation (attestation proof type).

jwtstring[]
attestationstring[]
credential_response_encryptionunknown

Responses

200
400
401
403
409
429
503
GET/v1/credentials/issuers/{issuerProfileId}/status-lists

Status List Aggregation of one issuer (draft-ietf-oauth-status-list-20 §9)

Parameters

issuerProfileId (path)stringrequired

The issuer profile id in the Credential Issuer Identifier.

undefined (undefined)string

Responses

200
404
GET/v1/credentials/status-lists/{listId}

A signed Token Status List (application/statuslist+jwt or application/statuslist+cwt)

Public. Cacheable for the ttl of the token; supports If-None-Match.

Parameters

listId (path)stringrequired
undefined (undefined)string

Responses

200
304
404
409
503
GET/v1/credentials/identifier-lists/{listId}

A signed mdoc identifier list (application/identifierlist+cwt)

Parameters

listId (path)stringrequired
undefined (undefined)string

Responses

200
304
404
409
503
GET/v1/credentials/eaa/issuerBearer auth (production mode)

Your Credential Issuer: identifier, sign-in URL, registration and attestation-level status

Parameters

undefined (undefined)string

Responses

200
401
403
429
PATCH/v1/credentials/eaa/issuerBearer auth (production mode)

Set your user sign-in URL (authorization code flow) and your registration certificate

Parameters

undefined (undefined)string
undefined (undefined)string

Request body

authorizationRedirectUrlstring | null

HTTPS URL of your own user authentication page for the authorization code flow.

registrationCertificatestring | null

Your registration certificate (rc-wrp+jwt) for signed metadata.

Responses

200
400
401
403
409
429
GET/v1/credentials/eaa/templatesBearer auth (production mode)

List your attestation types, every version

Your attestation types, every version, newest first, filtered by review `status` or `configurationKey`. Paginated: pass `nextCursor` as `starting_after` for the next page. `templates` is a deprecated copy of `data` and will be removed in a future API version.

Parameters

limit (query)string

How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest.

starting_after (query)string

Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.

cursor (query)string

Deprecated alias of `starting_after`; send `starting_after` instead.

created[gt] (query)string

Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[gte] (query)string

Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lt] (query)string

Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lte] (query)string

Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

status (query)string

Only attestation type versions in this review status.

configurationKey (query)string

Only the versions of this attestation type.

undefined (undefined)string

Responses

200
400
401
403
429
POST/v1/credentials/eaa/templatesBearer auth (production mode)

Define an attestation type (created as a draft)

Submit it for review afterwards; only a type approved by Nexiel review can be issued.

Parameters

undefined (undefined)string
undefined (undefined)string

Request body

configurationKeystringrequired

Stable key: the credential configuration ids are <key>_sd_jwt and <key>_mdoc.

formats"dc+sd-jwt" | "mso_mdoc"[]
vctstring
doctypestring
mdocNamespacestring
claimsSchemaobject<string, unknown>required

JSON Schema of type "object" describing the claims.

sdJwtDisclosureFrameobject
_sdstring[]required
validitySecondsinteger | null
statusPolicy"REVOCATION" | "REVOCATION_AND_SUSPENSION" | "NONE_SHORT_LIVED"
attestationLevel"EAA" | "QEAA" | "PUB_EAA"
deviceBindingboolean
keyStorageLevelsstring[]
userAuthenticationLevelsstring[]
claimDisplayobject<string, unknown>[]
displayMetadataobject<string, unknown>[]

Responses

200
400
401
403
409
429
POST/v1/credentials/eaa/issuer/test-registration-certificateBearer auth (production mode)

Test mode: issue your issuer a test registration certificate

Test-mode keys only. Issues a test registration certificate for your issuer, as a non-qualified attestation provider listing the attestation types approved for it, and sets it on your issuer, so your signed metadata carries `issuer_info` as it will in live mode. Live issuers need a registration certificate from the national provider.

Parameters

undefined (undefined)string
undefined (undefined)string

Responses

200
400
401
403
409
429
503
POST/v1/credentials/eaa/templates/{id}/submitBearer auth (production mode)

Submit a draft attestation type for Nexiel review

Parameters

id (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Responses

200
401
404
409
429
POST/v1/credentials/eaa/templates/{id}/retireBearer auth (production mode)

Retire an approved attestation type (stops new issuance)

Parameters

id (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Responses

200
401
404
409
429
POST/v1/credentials/eaa/offersBearer auth (production mode)

Create a credential offer for one holder (pre-authorized code, optionally with tx_code, or authorization code)

Claims are checked against the approved claims schema and stored encrypted until the wallet collects the credential or the offer ends. The tx_code is returned only in this response: deliver it to the holder over a separate channel.

Parameters

undefined (undefined)string
undefined (undefined)string

Request body

credentialTemplateIdstringrequired
format"dc+sd-jwt" | "mso_mdoc"
claimsobject<string, unknown>required
grantType"pre-authorized_code" | "authorization_code"
txCodeobject | null
lengthinteger
inputMode"numeric" | "text"
descriptionstring
expiresInSecondsinteger

Responses

200
400
401
403
404
409
429
POST/v1/credentials/eaa/offers/{offerId}/revokeBearer auth (production mode)

Withdraw an offer that has not been collected; its claims are deleted

Parameters

offerId (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Responses

200
401
404
409
429
POST/v1/credentials/eaa/authorizations/{handle}/completeBearer auth (production mode)

Complete a wallet authorization after signing the user in on your site

Your sign-in page receives nexiel_issuance_request. After authenticating the user, call this with decision approve and the user's claims (or deny), then redirect the browser to resumeUrl.

Parameters

handle (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Request body

decision"approve" | "deny"required
claimsobject<string, unknown>

The authenticated user claims (wallet-initiated flows).

Responses

200
400
401
404
409
429
GET/v1/credentials/eaa/issued-credentialsBearer auth (production mode)

Credentials you issued, newest first, with their status

The credentials your API key's issuer issued (the test issuer for a test key, the live issuer for a live key), newest first, filtered by `offerId`, `credentialTemplateId` or `status`. Paginated: pass `nextCursor` as `starting_after` (or `cursor`) for the next page. `issuedCredentials` is a deprecated copy of `data` and will be removed in a future API version.

Parameters

limit (query)string

How many items to return, 1 to 100. Defaults to 20. Values up to 200 are accepted and return at most 100 items.

starting_after (query)string

Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.

cursor (query)string

Deprecated alias of `starting_after`; send `starting_after` instead.

created[gt] (query)string

Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[gte] (query)string

Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lt] (query)string

Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lte] (query)string

Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

offerId (query)string

Only credentials issued from this offer.

credentialTemplateId (query)string

Only credentials of this attestation type version.

status (query)string
undefined (undefined)string

Responses

200
400
401
429
GET/v1/credentials/eaa/issuer/ca-anchorsBearer auth (production mode)

Your own CA anchors (non-qualified attestations), newest first

The CA anchors of your API key's issuer (the test issuer for a test key, the live issuer for a live key), newest first, optionally only those in one `status`. Paginated: pass `nextCursor` as `starting_after` for the next page.

Parameters

limit (query)string

How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest.

starting_after (query)string

Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.

cursor (query)string

Deprecated alias of `starting_after`; send `starting_after` instead.

created[gt] (query)string

Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[gte] (query)string

Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lt] (query)string

Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lte] (query)string

Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

status (query)string

Only anchors in this status.

undefined (undefined)string

Responses

200
400
401
429
POST/v1/credentials/eaa/issuer/ca-anchorsBearer auth (production mode)

Upload your own CA chain for non-qualified attestations (also how you rotate it)

The root and the intermediate CAs down to the one that issues your attestation-signing certificates. Every certificate below the root must name a CRL distribution point or an OCSP responder: live issuance checks each one and refuses a revoked or unknown state. The new chain becomes ACTIVE; the previous one is RETIRED and stays published until the last credential issued under it expires. Live mode never accepts a Nexiel TEST certificate. QEAA and Pub-EAA attestations never use this path.

Parameters

undefined (undefined)string
undefined (undefined)string

Request body

caChainPemstring

Your CA chain as PEM: the root and the intermediate CAs down to the one that issues your signing certificates, in any order.

certificatesstring[]

The same chain as base64 DER certificates.

Responses

201
400
401
403
409
429
POST/v1/credentials/eaa/issuer/ca-anchors/{anchorId}/revokeBearer auth (production mode)

Revoke one of your CA anchors: nothing is signed or trusted under it again

Idempotent and permanent. Relying parties reading your CA document see it as revoked at once.

Parameters

anchorId (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Request body

reasonstringrequired

Responses

200
400
401
404
409
429
POST/v1/credentials/eaa/issued-credentials/{id}/revokeBearer auth (production mode)

Revoke an issued credential (permanent)

Idempotent. The published status list reflects the change on its next refresh (at most its ttl).

Parameters

id (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Responses

200
401
403
404
409
429
POST/v1/credentials/eaa/issued-credentials/{id}/suspendBearer auth (production mode)

Suspend an issued credential (non-qualified EAA in SD-JWT VC format with a suspension policy only)

Idempotent. The published status list reflects the change on its next refresh (at most its ttl).

Parameters

id (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Responses

200
401
403
404
409
429
POST/v1/credentials/eaa/issued-credentials/{id}/reinstateBearer auth (production mode)

Lift a suspension

Idempotent. The published status list reflects the change on its next refresh (at most its ttl).

Parameters

id (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Responses

200
401
403
404
409
429
GET/v1/credentials/issuers/{issuerProfileId}/ca

An attestation provider's own CA chain, for relying parties that choose to trust it

Public. The CA chains a non-qualified attestation provider signs its attestations under: the ACTIVE one, and RETIRED ones still covering credentials issued before a rotation. Non-qualified attestations are trusted by relying parties that choose to trust this CA; they are not on any EU trusted list. Revoked anchors are listed by hash so a relying party can drop a copy it pinned.

Parameters

issuerProfileId (path)stringrequired

The issuer profile id in the Credential Issuer Identifier.

undefined (undefined)string

Responses

200
404
429
GET/v1/credentials/issue/issued-credentialsBearer auth (production mode)

Credentials your institution issued, with their revocation status

The credentials your institution's issuer issued (the test issuer for a test key, the live issuer for a live key), newest first, filtered by `offerId`, `credentialTemplateId` or `status`. Paginated: pass `nextCursor` as `starting_after` (or `cursor`) for the next page. `issuedCredentials` is a deprecated copy of `data` and will be removed in a future API version.

Parameters

limit (query)string

How many items to return, 1 to 100. Defaults to 20. Values up to 200 are accepted and return at most 100 items.

starting_after (query)string

Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.

cursor (query)string

Deprecated alias of `starting_after`; send `starting_after` instead.

created[gt] (query)string

Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[gte] (query)string

Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lt] (query)string

Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lte] (query)string

Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

offerId (query)string

Only credentials issued from this offer.

credentialTemplateId (query)string

Only credentials of this attestation type version.

status (query)string
undefined (undefined)string

Responses

200
400
401
429
POST/v1/credentials/issue/issued-credentials/{id}/revokeBearer auth (production mode)

Revoke a credential your institution issued (permanent, idempotent)

Parameters

id (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Responses

200
400
401
404
409
429
POST/v1/credentials/sandbox/wallet-provider/wallet-attestations

Sandbox only: a Wallet Instance Attestation from the TEST wallet provider

Signed under the Wallet Provider TEST CA, which only sandbox issuers trust. Valid for one hour.

Parameters

undefined (undefined)string

Request body

walletInstanceJwkobject<string, unknown>required
clientIdstringrequired

Responses

200
400
404
429
POST/v1/credentials/sandbox/wallet-provider/key-attestations

Sandbox only: a Key Attestation from the TEST wallet provider

Attests the given public keys at iso_18045_high unless other levels are requested (useful to test level mismatches).

Parameters

undefined (undefined)string

Request body

attestedKeysobject<string, unknown>[]required
noncestring
keyStoragestring[]
userAuthenticationstring[]

Responses

200
400
404
429
GET/v1/credentials/sandbox/trust-anchors

Sandbox only: the TEST CA roots behind sandbox credentials and sandbox wallet attestations

Parameters

undefined (undefined)string

Responses

200
404
429
GET/v1/credentials/sandbox/authorize

Sandbox only: the consent page standing in for an issuer sign-in (HTML)

Parameters

nexiel_issuance_request (query)stringrequired
issuer (query)string
undefined (undefined)string

Responses

200
404
POST/v1/credentials/sandbox/authorize

Sandbox only: approve or deny from the consent page; redirects back into the authorization flow

Parameters

undefined (undefined)string

Request body

nexiel_issuance_requeststringrequired
decision"approve" | "deny"required

Responses

303
404
POST/v1/credentials/sandbox/demo-offer

Sandbox only: a fresh HAIP credential offer from a sandbox issuer

kind "academic" (default): a degree from the sandbox university, SD-JWT VC, pre-authorized code. kind "membership": the sandbox tenant demo attestation in either format and grant, optionally with a tx_code (returned in the response here, which a real integration would deliver over a separate channel). kind "pid", "age" or "mdl": a test credential of the sandbox PID provider (the EU PID in SD-JWT VC or mdoc, the EU age verification attestation, an mDL), signed under the Nexiel TEST CA and valid for 24 hours, which test-mode Nexiel Verify sessions accept and live mode refuses. Synthetic data only. Available wherever test mode is.

Parameters

undefined (undefined)string

Request body

kind"academic" | "membership" | "pid" | "age" | "mdl"

academic (default), membership, or a test credential of the sandbox PID provider: pid (the EU PID, SD-JWT VC or mdoc), age (the EU age verification attestation, mdoc) or mdl (an ISO/IEC 18013-5 mobile driving licence, mdoc).

format"dc+sd-jwt" | "mso_mdoc"
grantType"pre-authorized_code" | "authorization_code"
txCodeboolean
persona"adult" | "minor" | "sanctioned" | "pep" | "possible_match"

pid, age and mdl: the synthetic holder, an adult (default) or a 16-year-old (age gates). pid only, for test-mode screening: sanctioned (screens to CONFIRMED_MATCH on a sanctions list), pep (CONFIRMED_MATCH, politically exposed) or possible_match (the sanctioned name with another date of birth: POSSIBLE_MATCH, human review required).

Responses

200
404
429
POST/v1/credentials/sandbox/test-credentials

Sandbox only: a test credential from the sandbox PID provider, in a chosen condition

Issues one synthetic credential bound to `holderPublicKeyJwk`, without an OpenID4VCI offer, so a test wallet can present a valid, revoked, expired or untrusted-issuer credential to a test-mode Nexiel Verify session and see the real outcome. Valid, revoked and expired credentials are signed under the Nexiel TEST CA (test mode accepts their issuer, live mode refuses it); a revoked one carries a real status list entry, already set to revoked. Synthetic data only. Available wherever test mode is.

Parameters

undefined (undefined)string

Request body

kind"pid" | "age" | "mdl"required

pid (the EU PID), age (the EU age verification attestation, mdoc) or mdl (an ISO/IEC 18013-5 mobile driving licence, mdoc).

format"dc+sd-jwt" | "mso_mdoc"
persona"adult" | "minor" | "sanctioned" | "pep" | "possible_match"

pid, age and mdl: the synthetic holder, an adult (default) or a 16-year-old (age gates). pid only, for test-mode screening: sanctioned (screens to CONFIRMED_MATCH on a sanctions list), pep (CONFIRMED_MATCH, politically exposed) or possible_match (the sanctioned name with another date of birth: POSSIBLE_MATCH, human review required).

condition"valid" | "revoked" | "expired" | "untrusted_issuer"

valid (default); revoked (a revocable credential whose status list entry is already set to revoked); expired (its validity ended a day before issuance); untrusted_issuer (signed by a test CA that no verifier trusts).

holderPublicKeyJwkobjectrequired

The wallet's P-256 public key the credential is bound to (cnf / DeviceKey). Never a private key.

kty"EC"required
crv"P-256"required
xstringrequired
ystringrequired

Responses

200
400
404
429
GET/v1/credentials/issue/templatesBearer auth (production mode)

List credential templates, optionally filtered by academicIssuerId/status

In production mode, results are always scoped to the caller's own institution, whatever the academicIssuerId filter says. Passing a different issuer's ID returns 404, exactly like an unknown ID (never a 403, and never a silently ignored filter that could look like "this issuer has no templates"). Omitting the filter lists only the caller's own templates. Sandbox mode performs no such scoping, because there is no per-client identity in sandbox mode. Newest first. Paginated: pass `nextCursor` as `starting_after` for the next page. `templates` is a deprecated copy of `data` and will be removed in a future API version.

Parameters

limit (query)string

How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest.

starting_after (query)string

Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.

cursor (query)string

Deprecated alias of `starting_after`; send `starting_after` instead.

created[gt] (query)string

Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[gte] (query)string

Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lt] (query)string

Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lte] (query)string

Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

academicIssuerId (query)string
status (query)string
undefined (undefined)string

Responses

200
400
401
404
429
POST/v1/credentials/issue/templatesBearer auth (production mode)

Propose a new credential-template draft for the caller's institution

In production mode, academicIssuerId must be the institution the caller's own API key was issued for. Naming a different issuer's ID (even a real, approved one) returns 404, exactly like an unknown ID, never a 403 that would confirm that issuer exists. Sandbox mode performs no such check, because there is no per-client identity in sandbox mode.

Parameters

undefined (undefined)string
undefined (undefined)string

Request body

academicIssuerIdstringrequired
credentialType"ENROLMENT" | "MODULE_COMPLETION" | "DEGREE_AWARD"required
claimsSchemaunknownrequired

A JSON Schema describing this credential's claims.

sdJwtDisclosureFrameunknownrequired

RFC 9901 disclosure-frame shape (for example { "_sd": ["degreeTitle", "awardDate"] }). Claim names here must never include a protected top-level SD-JWT VC claim (iss/vct/iat/exp/nbf/cnf/sub/status).

Responses

200
400
401
404
409
429
POST/v1/credentials/issue/templates/{id}/submitBearer auth (production mode)

Submits a DRAFT template for Nexiel staff review (DRAFT -> PENDING_REVIEW)

In production mode, only the API key of the template's own institution can submit it. A template that exists but belongs to a different institution returns 404, exactly like an unknown template ID, the same convention as every other scoped route in this API. Sandbox mode performs no such check.

Parameters

id (path)stringrequired
undefined (undefined)string

Responses

200
401
404
409
429
GET/v1/credentials/webhook-event-typesBearer auth (production mode)

List the webhook event types

The catalogue of event types you can subscribe an endpoint to.

Parameters

undefined (undefined)string

Responses

200
400
401
403
404
409
GET/v1/credentials/webhook-endpointsBearer auth (production mode)

List webhook endpoints

Every webhook endpoint of your organization in your API key's environment (sandbox for a test key, production for a live key), newest first. Secrets are never listed. Paginated: pass `nextCursor` as `starting_after` for the next page. `endpoints` is a deprecated copy of `data`.

Parameters

limit (query)string

How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest.

starting_after (query)string

Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.

cursor (query)string

Deprecated alias of `starting_after`; send `starting_after` instead.

created[gt] (query)string

Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[gte] (query)string

Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lt] (query)string

Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lte] (query)string

Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

undefined (undefined)string

Responses

200
400
401
403
404
409
POST/v1/credentials/webhook-endpointsBearer auth (production mode)

Create a webhook endpoint

Creates an endpoint and returns its signing secret once. Endpoints belong to your organization, so they keep receiving events across API key rotation and for every product. A test API key manages sandbox endpoints only and a live API key production endpoints only; `environment` defaults to the key's own. Production endpoints need an approved KYB verification. The URL must be a public https URL. Send an `Idempotency-Key` header to make a retry safe: a replay returns the endpoint without the secret (reveal it with the reveal route).

Parameters

undefined (undefined)string
undefined (undefined)string

Request body

urlstringrequired

Must be a public https URL.

descriptionstring
eventTypesstring[]

Event types from the catalogue; omit or leave empty for all.

environment"sandbox" | "production"

`production` endpoints receive live events and need an approved KYB verification. `sandbox` endpoints receive only events produced in sandbox mode.

Responses

201
400
401
403
404
409
GET/v1/credentials/webhook-endpoints/{endpointId}Bearer auth (production mode)

Get a webhook endpoint

Parameters

endpointId (path)stringrequired
undefined (undefined)string

Responses

200
400
401
403
404
409
PATCH/v1/credentials/webhook-endpoints/{endpointId}Bearer auth (production mode)

Update a webhook endpoint

Change the URL, description, subscribed event types, or enable or disable the endpoint. The URL is checked again. Send an `Idempotency-Key` header to make a retry safe.

Parameters

endpointId (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Request body

urlstring
descriptionstring | null
eventTypesstring[]
activeboolean

Responses

200
400
401
403
404
409
DELETE/v1/credentials/webhook-endpoints/{endpointId}Bearer auth (production mode)

Delete a webhook endpoint

Deletes the endpoint and ends its pending deliveries. Its delivery history is kept. Send an `Idempotency-Key` header to make a retry safe: a replay answers 204 again.

Parameters

endpointId (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Responses

204
400
401
403
404
409
POST/v1/credentials/webhook-endpoints/{endpointId}/secret/revealBearer auth (production mode)

Reveal the signing secret

Returns the current signing secret (and the previous one while a rotation overlap is open). Every reveal is audited.

Parameters

endpointId (path)stringrequired
undefined (undefined)string

Responses

200
400
401
403
404
409
POST/v1/credentials/webhook-endpoints/{endpointId}/secret/rotateBearer auth (production mode)

Rotate the signing secret

Mints a new signing secret. The previous secret keeps signing alongside it for `overlapSeconds` (default 24 hours): each delivery then carries one `v1` signature per secret, so you can switch without dropping events. Send an `Idempotency-Key` header to make a retry safe: a replay returns no secret (reveal it with the reveal route).

Parameters

endpointId (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Request body

overlapSecondsinteger

How long the previous secret keeps signing alongside the new one. Default 86400 (24 hours); 0 ends it immediately.

Responses

200
400
401
403
404
409
POST/v1/credentials/webhook-endpoints/{endpointId}/testBearer auth (production mode)

Send a test event

Sends a signed `webhook.test` event to the endpoint at once, with one attempt, and returns what your receiver answered.

Parameters

endpointId (path)stringrequired
undefined (undefined)string

Responses

200
400
401
403
404
409
GET/v1/credentials/webhook-endpoints/{endpointId}/deliveriesBearer auth (production mode)

List recent deliveries

Deliveries to the endpoint, newest first, with status and the last response code. Paginated: pass `nextCursor` as `starting_after` for the next page. `deliveries` is a deprecated copy of `data`.

Parameters

limit (query)string

How many items to return, 1 to 100. Defaults to 20.

starting_after (query)string

Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.

cursor (query)string

Deprecated alias of `starting_after`; send `starting_after` instead.

created[gt] (query)string

Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[gte] (query)string

Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lt] (query)string

Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lte] (query)string

Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

endpointId (path)stringrequired
undefined (undefined)string

Responses

200
400
401
403
404
409
GET/v1/credentials/eventsBearer auth (production mode)

List events

Events of your organization in your API key's environment (test events for a test key, live events for a live key), newest first, for the last 30 days. Each item is the same envelope a webhook delivery carries, so a receiver that missed deliveries can catch up here. Event data holds identifiers, outcomes and hashes only, never personal data, and never an evidence pack: claim or receive the pack through its own delivery. Paginated: pass `nextCursor` as `starting_after` for the next page.

Parameters

limit (query)string

How many items to return, 1 to 100. Defaults to 20.

starting_after (query)string

Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.

cursor (query)string

Deprecated alias of `starting_after`; send `starting_after` instead.

created[gt] (query)string

Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[gte] (query)string

Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lt] (query)string

Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lte] (query)string

Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

type (query)string

Only events of these types: comma-separated event types, or families such as `verify.session.*`.

undefined (undefined)string

Responses

200
400
401
403
404
409
GET/v1/credentials/events/{eventId}Bearer auth (production mode)

Retrieve an event

Events of your organization in your API key's environment (test events for a test key, live events for a live key), newest first, for the last 30 days. Each item is the same envelope a webhook delivery carries, so a receiver that missed deliveries can catch up here. Event data holds identifiers, outcomes and hashes only, never personal data, and never an evidence pack: claim or receive the pack through its own delivery. An event of another organization or environment, or older than 30 days, is answered 404.

Parameters

eventId (path)stringrequired
undefined (undefined)string

Responses

200
400
401
403
404
409
POST/v1/credentials/webhook-deliveries/{deliveryId}/redeliverBearer auth (production mode)

Redeliver a webhook

Queues the delivery for another full round of attempts. The event id is unchanged, so deduplicate on it. Send an `Idempotency-Key` header to make a retry safe.

Parameters

deliveryId (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Responses

202
400
401
403
404
409
POST/v1/credentials/issue/batchesBearer auth (production mode)

Submit a new credential issuance batch (CSV or JSON rows) for maker-checker review

In production mode, academicIssuerId must be the institution the caller's own API key was issued for (the same tenant scoping as the template routes). Naming a different issuer returns 404, exactly like an unknown one. Requires the `credentials-api-issuer` role, not just `credentials-api-client`. Supports the Idempotency-Key request header: repeating a call with the same key and an identical payload returns the batch already created instead of a duplicate, and the same key with a different payload is rejected with 409 idempotency_key_conflict.

Parameters

undefined (undefined)string
undefined (undefined)string

Request body

academicIssuerIdstringrequired
credentialTemplateIdstringrequired
preparedBySignatoryIdstringrequired
submissionMethod"CSV_UPLOAD" | "API"required
csvContentstring

Required (and only meaningful) when submissionMethod is "CSV_UPLOAD".

rowsobject[]

Required (and only meaningful) when submissionMethod is "API".

studentFullNamestringrequired
studentEmailstringrequired
studentDobstring
institutionStudentIdstring
claimValuesobject<string, unknown>required

Responses

200
400
401
404
409
429
GET/v1/credentials/issue/batches/{id}Bearer auth (production mode)

Full batch detail, including every item and its sample/recheck status

Parameters

id (path)stringrequired
undefined (undefined)string

Responses

200
401
404
429
POST/v1/credentials/issue/batches/{id}/items/{itemId}/recheckBearer auth (production mode)

A different signatory (the checker) re-keys a sampled item's claim values for server-side comparison

Supports the Idempotency-Key request header: repeating a call with the same key and an identical payload replays the original comparison result, and the same key with a different payload is rejected with 409 idempotency_key_conflict.

Parameters

id (path)stringrequired
itemId (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Request body

recheckingSignatoryIdstringrequired
claimValuesobject<string, unknown>required

Responses

200
400
401
404
409
429
POST/v1/credentials/issue/batches/{id}/approveBearer auth (production mode)

Step-up-gated maker-checker approval: moves a batch from PENDING_APPROVAL to APPROVED, then starts background issuance

Requires a freshly verified step-up assertion, proving the approving signatory just re-authenticated, in the x-credentials-step-up-assertion header. Its freshness is verified server-side. The assertion is issued only by the Nexiel dashboard, so approve batches from the dashboard's batch approval page. API clients cannot obtain an assertion for this endpoint. Supports the Idempotency-Key request header: repeating a call with the same key and an identical payload returns the already-approved batch instead of approving again, and the same key with a different payload is rejected with 409 idempotency_key_conflict.

Parameters

id (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Request body

approvedBySignatoryIdstringrequired

Responses

200
400
401
404
409
429
GET/v1/credentials/verify/sessionsBearer auth (production mode)

List credential verification sessions for the calling employer

Scoped to the calling employer. In production, that is the bearer token's authenticated identity, and any `clientId` in the query string is ignored. Listing never consumes the one-time disclosedClaims delivery and never re-checks revocation live for each row. Each row reports the decision's last observed revocationStatus instead. To get a live revocation check, read the session individually. Newest first, filtered by `status`, `checkType` or creation time. Paginated: pass `nextCursor` as `starting_after` for the next page. `sessions` is a deprecated copy of `data` and will be removed in a future API version.

Parameters

clientId (query)string

Sandbox only: the employer whose sessions to list. Ignored with an API key.

limit (query)string

How many items to return, 1 to 100. Defaults to 20.

starting_after (query)string

Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.

cursor (query)string

Deprecated alias of `starting_after`; send `starting_after` instead.

created[gt] (query)string

Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[gte] (query)string

Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lt] (query)string

Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

created[lte] (query)string

Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.

status (query)string

Only sessions in this status. `expired` includes pending sessions past their expiry.

checkType (query)string
undefined (undefined)string

Responses

200
400
401
POST/v1/credentials/verify/sessionsBearer auth (production mode)

Initiate an EUDI wallet academic-credential verification session (OpenID4VP)

Requires an API key with the `credentials-api-verifier` role (an ordinary employer verification key, issued after KYB approval). Issuer-side keys (`credentials-api-client` or `credentials-api-issuer`) are always rejected here. Uses the same OpenID4VP session pattern as Nexiel Verify, selected by checkType (academic-credential or academic-enrolment-status).

Parameters

undefined (undefined)string
undefined (undefined)string

Request body

clientIdstring
checkType"academic-credential" | "academic-enrolment-status"required

Responses

200
400
401
409
429
POST/v1/credentials/verify/sessions/{sessionId}/responses

Wallet's direct_post callback for an academic-credential verification session

Authorization for this route is the session's own unguessable state and nonce (OpenID4VP `direct_post`). A wallet holds no Nexiel API key, so no bearer token is required or checked here.

Parameters

sessionId (path)stringrequired
undefined (undefined)string

Request body

statestringrequired
vp_tokenobject<string, string | string[]>required

Responses

200
400
404
409
410
GET/v1/credentials/verify/sessions/{sessionId}Bearer auth (production mode)

Read back a credential verification session's status and (if completed) its decision

Read-only: the encrypted disclosed claims are never handed over by a read (see `decision.disclosedClaimsStatus`); claim them with `POST /v1/credentials/verify/sessions/{sessionId}/disclosed-claims/claim`. revocationStatus is re-checked on every read of this route: the issuer's status list signature is verified each time, and the list itself is refreshed as often as the issuer's own time-to-live allows.

Parameters

claimsDelivery (query)string

Accepted for compatibility and ignored: reading a session never hands over its disclosed claims. Claim them with `POST /v1/credentials/verify/sessions/{sessionId}/disclosed-claims/claim`.

sessionId (path)stringrequired
undefined (undefined)string

Responses

200
401
404
POST/v1/credentials/verify/sessions/{sessionId}/disclosed-claims/claimBearer auth (production mode)

Claim a verification's encrypted disclosed claims (once; retry-safe with the same Idempotency-Key)

Hands over the claims the holder disclosed, encrypted to your evidence-pack public key, once. Reading the session never does. Requires an `Idempotency-Key`: a retry with the same key within 60 minutes returns the same claims; after that Nexiel keeps only their hash. Another key after the claim returns `409 evidence_pack_already_claimed`; claims never claimed within 7 days return `410 evidence_pack_expired`.

Parameters

sessionId (path)stringrequired
undefined (undefined)string
undefined (undefined)string

Responses

200
400
401
403
404
409
410
429