Nexiel Credentials API
Every endpoint, parameter, and response schema for Nexiel Credentials.
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.
/healthLiveness / service-mode check
Parameters
undefined (undefined)stringResponses
/v1/credentials/healthLiveness / 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)stringResponses
/health/purgeBackground 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)stringResponses
/.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)stringrequiredThe issuer profile id in the Credential Issuer Identifier.
undefined (undefined)stringResponses
/.well-known/oauth-authorization-server/v1/credentials/issuers/{issuerProfileId}RFC 8414 Authorization Server metadata of one issuer
Parameters
issuerProfileId (path)stringrequiredThe issuer profile id in the Credential Issuer Identifier.
undefined (undefined)stringResponses
/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)stringrequiredofferToken (path)stringrequiredundefined (undefined)stringResponses
/v1/credentials/issuers/{issuerProfileId}/parPushed 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)stringrequiredThe issuer profile id in the Credential Issuer Identifier.
undefined (undefined)stringResponses
/v1/credentials/issuers/{issuerProfileId}/authorizeAuthorization 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)stringrequiredrequest_uri (query)stringrequiredissuerProfileId (path)stringrequiredThe issuer profile id in the Credential Issuer Identifier.
undefined (undefined)stringResponses
/v1/credentials/issuers/{issuerProfileId}/authorize/resumeReturn point after the issuer authenticated the user; redirects to the wallet with the code
Parameters
handle (query)stringrequiredcompletion (query)stringThe one-time completion secret from the resumeUrl.
issuerProfileId (path)stringrequiredThe issuer profile id in the Credential Issuer Identifier.
undefined (undefined)stringResponses
/v1/credentials/issuers/{issuerProfileId}/tokenToken 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)stringrequiredThe issuer profile id in the Credential Issuer Identifier.
undefined (undefined)stringResponses
/v1/credentials/issuers/{issuerProfileId}/nonceNonce endpoint (OpenID4VCI 1.0 §7): a fresh single-use c_nonce and a DPoP-Nonce header
Parameters
issuerProfileId (path)stringrequiredThe issuer profile id in the Credential Issuer Identifier.
undefined (undefined)stringResponses
/v1/credentials/issuers/{issuerProfileId}/credentialCredential 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)stringrequiredThe issuer profile id in the Credential Issuer Identifier.
undefined (undefined)stringRequest body
credential_identifierstringcredential_configuration_idstringproofsobjectExactly 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_encryptionunknownResponses
/v1/credentials/issuers/{issuerProfileId}/status-listsStatus List Aggregation of one issuer (draft-ietf-oauth-status-list-20 §9)
Parameters
issuerProfileId (path)stringrequiredThe issuer profile id in the Credential Issuer Identifier.
undefined (undefined)stringResponses
/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)stringrequiredundefined (undefined)stringResponses
/v1/credentials/identifier-lists/{listId}A signed mdoc identifier list (application/identifierlist+cwt)
Parameters
listId (path)stringrequiredundefined (undefined)stringResponses
/v1/credentials/eaa/issuerBearer auth (production mode)Your Credential Issuer: identifier, sign-in URL, registration and attestation-level status
Parameters
undefined (undefined)stringResponses
/v1/credentials/eaa/issuerBearer auth (production mode)Set your user sign-in URL (authorization code flow) and your registration certificate
Parameters
undefined (undefined)stringundefined (undefined)stringRequest body
authorizationRedirectUrlstring | nullHTTPS URL of your own user authentication page for the authorization code flow.
registrationCertificatestring | nullYour registration certificate (rc-wrp+jwt) for signed metadata.
Responses
/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)stringHow 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)stringReturn the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.
cursor (query)stringDeprecated alias of `starting_after`; send `starting_after` instead.
created[gt] (query)stringOnly items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[gte] (query)stringOnly items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lt] (query)stringOnly items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lte] (query)stringOnly items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
status (query)stringOnly attestation type versions in this review status.
configurationKey (query)stringOnly the versions of this attestation type.
undefined (undefined)stringResponses
/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)stringundefined (undefined)stringRequest body
configurationKeystringrequiredStable key: the credential configuration ids are <key>_sd_jwt and <key>_mdoc.
formats"dc+sd-jwt" | "mso_mdoc"[]vctstringdoctypestringmdocNamespacestringclaimsSchemaobject<string, unknown>requiredJSON Schema of type "object" describing the claims.
sdJwtDisclosureFrameobject_sdstring[]requiredvaliditySecondsinteger | nullstatusPolicy"REVOCATION" | "REVOCATION_AND_SUSPENSION" | "NONE_SHORT_LIVED"attestationLevel"EAA" | "QEAA" | "PUB_EAA"deviceBindingbooleankeyStorageLevelsstring[]userAuthenticationLevelsstring[]claimDisplayobject<string, unknown>[]displayMetadataobject<string, unknown>[]Responses
/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)stringundefined (undefined)stringResponses
/v1/credentials/eaa/templates/{id}/submitBearer auth (production mode)Submit a draft attestation type for Nexiel review
Parameters
id (path)stringrequiredundefined (undefined)stringundefined (undefined)stringResponses
/v1/credentials/eaa/templates/{id}/retireBearer auth (production mode)Retire an approved attestation type (stops new issuance)
Parameters
id (path)stringrequiredundefined (undefined)stringundefined (undefined)stringResponses
/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)stringundefined (undefined)stringRequest body
credentialTemplateIdstringrequiredformat"dc+sd-jwt" | "mso_mdoc"claimsobject<string, unknown>requiredgrantType"pre-authorized_code" | "authorization_code"txCodeobject | nulllengthintegerinputMode"numeric" | "text"descriptionstringexpiresInSecondsintegerResponses
/v1/credentials/eaa/offers/{offerId}/revokeBearer auth (production mode)Withdraw an offer that has not been collected; its claims are deleted
Parameters
offerId (path)stringrequiredundefined (undefined)stringundefined (undefined)stringResponses
/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)stringrequiredundefined (undefined)stringundefined (undefined)stringRequest body
decision"approve" | "deny"requiredclaimsobject<string, unknown>The authenticated user claims (wallet-initiated flows).
Responses
/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)stringHow 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)stringReturn the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.
cursor (query)stringDeprecated alias of `starting_after`; send `starting_after` instead.
created[gt] (query)stringOnly items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[gte] (query)stringOnly items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lt] (query)stringOnly items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lte] (query)stringOnly items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
offerId (query)stringOnly credentials issued from this offer.
credentialTemplateId (query)stringOnly credentials of this attestation type version.
status (query)stringundefined (undefined)stringResponses
/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)stringHow 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)stringReturn the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.
cursor (query)stringDeprecated alias of `starting_after`; send `starting_after` instead.
created[gt] (query)stringOnly items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[gte] (query)stringOnly items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lt] (query)stringOnly items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lte] (query)stringOnly items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
status (query)stringOnly anchors in this status.
undefined (undefined)stringResponses
/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)stringundefined (undefined)stringRequest body
caChainPemstringYour 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
/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)stringrequiredundefined (undefined)stringundefined (undefined)stringRequest body
reasonstringrequiredResponses
/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)stringrequiredundefined (undefined)stringundefined (undefined)stringResponses
/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)stringrequiredundefined (undefined)stringundefined (undefined)stringResponses
/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)stringrequiredundefined (undefined)stringundefined (undefined)stringResponses
/v1/credentials/issuers/{issuerProfileId}/caAn 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)stringrequiredThe issuer profile id in the Credential Issuer Identifier.
undefined (undefined)stringResponses
/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)stringHow 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)stringReturn the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.
cursor (query)stringDeprecated alias of `starting_after`; send `starting_after` instead.
created[gt] (query)stringOnly items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[gte] (query)stringOnly items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lt] (query)stringOnly items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lte] (query)stringOnly items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
offerId (query)stringOnly credentials issued from this offer.
credentialTemplateId (query)stringOnly credentials of this attestation type version.
status (query)stringundefined (undefined)stringResponses
/v1/credentials/issue/issued-credentials/{id}/revokeBearer auth (production mode)Revoke a credential your institution issued (permanent, idempotent)
Parameters
id (path)stringrequiredundefined (undefined)stringundefined (undefined)stringResponses
/v1/credentials/sandbox/wallet-provider/wallet-attestationsSandbox 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)stringRequest body
walletInstanceJwkobject<string, unknown>requiredclientIdstringrequiredResponses
/v1/credentials/sandbox/wallet-provider/key-attestationsSandbox 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)stringRequest body
attestedKeysobject<string, unknown>[]requirednoncestringkeyStoragestring[]userAuthenticationstring[]Responses
/v1/credentials/sandbox/trust-anchorsSandbox only: the TEST CA roots behind sandbox credentials and sandbox wallet attestations
Parameters
undefined (undefined)stringResponses
/v1/credentials/sandbox/authorizeSandbox only: the consent page standing in for an issuer sign-in (HTML)
Parameters
nexiel_issuance_request (query)stringrequiredissuer (query)stringundefined (undefined)stringResponses
/v1/credentials/sandbox/authorizeSandbox only: approve or deny from the consent page; redirects back into the authorization flow
Parameters
undefined (undefined)stringRequest body
nexiel_issuance_requeststringrequireddecision"approve" | "deny"requiredResponses
/v1/credentials/sandbox/demo-offerSandbox 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)stringRequest 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"txCodebooleanpersona"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
/v1/credentials/sandbox/test-credentialsSandbox 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)stringRequest body
kind"pid" | "age" | "mdl"requiredpid (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).
holderPublicKeyJwkobjectrequiredThe wallet's P-256 public key the credential is bound to (cnf / DeviceKey). Never a private key.
kty"EC"requiredcrv"P-256"requiredxstringrequiredystringrequiredResponses
/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)stringHow 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)stringReturn the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.
cursor (query)stringDeprecated alias of `starting_after`; send `starting_after` instead.
created[gt] (query)stringOnly items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[gte] (query)stringOnly items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lt] (query)stringOnly items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lte] (query)stringOnly items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
academicIssuerId (query)stringstatus (query)stringundefined (undefined)stringResponses
/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)stringundefined (undefined)stringRequest body
academicIssuerIdstringrequiredcredentialType"ENROLMENT" | "MODULE_COMPLETION" | "DEGREE_AWARD"requiredclaimsSchemaunknownrequiredA JSON Schema describing this credential's claims.
sdJwtDisclosureFrameunknownrequiredRFC 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
/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)stringrequiredundefined (undefined)stringResponses
/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)stringResponses
/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)stringHow 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)stringReturn the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.
cursor (query)stringDeprecated alias of `starting_after`; send `starting_after` instead.
created[gt] (query)stringOnly items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[gte] (query)stringOnly items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lt] (query)stringOnly items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lte] (query)stringOnly items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
undefined (undefined)stringResponses
/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)stringundefined (undefined)stringRequest body
urlstringrequiredMust be a public https URL.
descriptionstringeventTypesstring[]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
/v1/credentials/webhook-endpoints/{endpointId}Bearer auth (production mode)Get a webhook endpoint
Parameters
endpointId (path)stringrequiredundefined (undefined)stringResponses
/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)stringrequiredundefined (undefined)stringundefined (undefined)stringRequest body
urlstringdescriptionstring | nulleventTypesstring[]activebooleanResponses
/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)stringrequiredundefined (undefined)stringundefined (undefined)stringResponses
/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)stringrequiredundefined (undefined)stringResponses
/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)stringrequiredundefined (undefined)stringundefined (undefined)stringRequest body
overlapSecondsintegerHow long the previous secret keeps signing alongside the new one. Default 86400 (24 hours); 0 ends it immediately.
Responses
/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)stringrequiredundefined (undefined)stringResponses
/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)stringHow many items to return, 1 to 100. Defaults to 20.
starting_after (query)stringReturn the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.
cursor (query)stringDeprecated alias of `starting_after`; send `starting_after` instead.
created[gt] (query)stringOnly items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[gte] (query)stringOnly items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lt] (query)stringOnly items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lte] (query)stringOnly items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
endpointId (path)stringrequiredundefined (undefined)stringResponses
/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)stringHow many items to return, 1 to 100. Defaults to 20.
starting_after (query)stringReturn the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.
cursor (query)stringDeprecated alias of `starting_after`; send `starting_after` instead.
created[gt] (query)stringOnly items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[gte] (query)stringOnly items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lt] (query)stringOnly items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lte] (query)stringOnly items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
type (query)stringOnly events of these types: comma-separated event types, or families such as `verify.session.*`.
undefined (undefined)stringResponses
/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)stringrequiredundefined (undefined)stringResponses
/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)stringrequiredundefined (undefined)stringundefined (undefined)stringResponses
/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)stringundefined (undefined)stringRequest body
academicIssuerIdstringrequiredcredentialTemplateIdstringrequiredpreparedBySignatoryIdstringrequiredsubmissionMethod"CSV_UPLOAD" | "API"requiredcsvContentstringRequired (and only meaningful) when submissionMethod is "CSV_UPLOAD".
rowsobject[]Required (and only meaningful) when submissionMethod is "API".
studentFullNamestringrequiredstudentEmailstringrequiredstudentDobstringinstitutionStudentIdstringclaimValuesobject<string, unknown>requiredResponses
/v1/credentials/issue/batches/{id}Bearer auth (production mode)Full batch detail, including every item and its sample/recheck status
Parameters
id (path)stringrequiredundefined (undefined)stringResponses
/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)stringrequireditemId (path)stringrequiredundefined (undefined)stringundefined (undefined)stringRequest body
recheckingSignatoryIdstringrequiredclaimValuesobject<string, unknown>requiredResponses
/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)stringrequiredundefined (undefined)stringundefined (undefined)stringRequest body
approvedBySignatoryIdstringrequiredResponses
/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)stringSandbox only: the employer whose sessions to list. Ignored with an API key.
limit (query)stringHow many items to return, 1 to 100. Defaults to 20.
starting_after (query)stringReturn the items after this one: the `nextCursor` of the previous page, or the id of an item in the list.
cursor (query)stringDeprecated alias of `starting_after`; send `starting_after` instead.
created[gt] (query)stringOnly items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[gte] (query)stringOnly items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lt] (query)stringOnly items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
created[lte] (query)stringOnly items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds.
status (query)stringOnly sessions in this status. `expired` includes pending sessions past their expiry.
checkType (query)stringundefined (undefined)stringResponses
/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)stringundefined (undefined)stringRequest body
clientIdstringcheckType"academic-credential" | "academic-enrolment-status"requiredResponses
/v1/credentials/verify/sessions/{sessionId}/responsesWallet'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)stringrequiredundefined (undefined)stringRequest body
statestringrequiredvp_tokenobject<string, string | string[]>requiredResponses
/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)stringAccepted 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)stringrequiredundefined (undefined)stringResponses
/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)stringrequiredundefined (undefined)stringundefined (undefined)string