{"openapi":"3.1.0","info":{"title":"Nexiel Credentials API","description":"Nexiel Credentials: verifiable credential issuance to EUDI wallets, built to\nthe OpenID4VC High Assurance Interoperability Profile (HAIP 1.0) and\nOpenID for Verifiable Credential Issuance 1.0, for Nexiel-vetted academic\ninstitutions and for KYB-approved organizations issuing their own electronic\nattestations of attributes, plus the external B2B API an employer or another\ninstitution uses to verify an academic credential.\n\n## Issuance\n\nEvery issuer has its own Credential Issuer Identifier\n(`/v1/credentials/issuers/{issuerProfileId}`), its own signed metadata and\nits own authorization server. Wallets can start issuance themselves or from\nan issuer's credential offer, with either grant:\n\n- **Authorization code**: pushed authorization requests (RFC 9126), PKCE\n  with S256, and the `iss` parameter on the redirect (RFC 9207). The\n  issuer signs the user in on its own page and completes the request\n  through `POST /v1/credentials/eaa/authorizations/{handle}/complete`.\n- **Pre-authorized code**, optionally protected by a transaction code\n  (`tx_code`) the holder receives over a separate channel, with a\n  strict limit on wrong attempts.\n\nWallets authenticate with a wallet attestation and proof of possession\n(OAuth attestation-based client authentication), every token is DPoP-bound\n(RFC 9449), and holder keys are proven with `jwt` or `attestation`\nproofs backed by a key attestation that meets the key storage and user\nauthentication levels the credential type requires. Credentials are issued\nas SD-JWT VC (`dc+sd-jwt`) or ISO 18013-5 mdoc (`mso_mdoc`), signed with\nan X.509 certificate chain, one credential per attested key.\n\nEvery credential valid for more than 24 hours carries a status reference.\nEach issuer publishes signed Token Status Lists, and for mdoc also\nidentifier lists, at stable public URLs with caching headers. Revocation\nis permanent; suspension is available for non-qualified attestations in\nSD-JWT VC format.\n\n## Attestation types\n\nA KYB-approved organization defines its own attestation types\n(`/v1/credentials/eaa/templates`): type identifier, claim schema, display,\nformats, validity and status policy. A Nexiel reviewer approves each type\nbefore it can be issued. Qualified (QEAA) and public-body (Pub-EAA)\nattestation levels are issued only after Nexiel has verified the issuer\nagainst the relevant trusted list and a qualified signing certificate is\nregistered; otherwise those requests are refused.\n\n## Academic credentials and verification\n\nA vetted institution proposes templates for three academic credential\ntypes, and two of its own signatories submit, recheck and approve (with\nstep-up re-authentication) a batch of students at once. Each student\nreceives a credential offer by email and collects the credential in their\nwallet through the same HAIP issuance flow.\n\nAn employer or institution verifies a previously issued academic credential\nwith an OpenID4VP session (`/v1/credentials/verify/*`). The response\nalways carries a fixed `legalWeightNotice`, disclosed claim values are\ndelivered at most once, encrypted to the verifying party's registered key,\nand revocation status is checked live on every read.\n\n## Test and live keys\n\nOne API serves both modes, and your API key picks the mode of every\nrequest. A **test key** (client id `nx-test-...`) is available before your\nKYB or accreditation review is finished and acts as your test issuer:\ncertificates from the Nexiel TEST CA, the Nexiel TEST wallet provider, and\ncredentials that only test-mode verifiers accept. A **live key**\n(`nx-live-...`) needs an approved review and acts as your live issuer.\n`livemode` on your issuer profile says which one a key reaches. The\nsandbox PID provider (`POST /v1/credentials/sandbox/demo-offer` with\n`kind` `pid`, `age` or `mdl`) issues synthetic test credentials for\ntesting Nexiel Verify.\n\n## Sandbox mode (default)\n\nThe service starts in **sandbox mode** unless `CREDENTIALS_API_MODE=production`\nis set. In sandbox mode no API key is required for any Keycloak-gated route,\nissuer certificates come from a Nexiel TEST CA, and the sandbox wallet\nprovider (`/v1/credentials/sandbox/*`) supplies wallet and key\nattestations. TEST certificates are never accepted in production.\n\n## Production status\n\nTemplate review, batch submission and approval, and the B2B verification\nAPI run in production at `compliance.nexiel.io`. Production issuance to\nwallets additionally requires, per issuer, an access certificate and an\nattestation signing certificate from an authorised certificate authority\nand a registration certificate, and, for the service, the Commission list\nof trusted wallet providers. Until those are configured, the affected\nissuance requests are refused with a specific error rather than served\nwith test material.","version":"0.3.0"},"components":{"securitySchemes":{"keycloakBearer":{"type":"oauth2","description":"Keycloak-issued OAuth2 client-credentials token, only enforced in production mode. The specific realm role required depends on the route: `credentials-api-client` for the institution-facing template routes, `credentials-api-issuer` (an additive capability, granted only post-institution-vetting) for the batch-issuance routes, `credentials-api-eaa-issuer` (granted only to a KYB-approved organization) for the attestation issuance routes, and `credentials-api-verifier` (a role kept fully separate from the other two, so a leaked employer key can never submit an issuance batch and a leaked issuer key can never read another employer's verification sessions) for the external B2B verification routes.","flows":{"clientCredentials":{"tokenUrl":"https://auth.nexiel.io/realms/nexiel/protocol/openid-connect/token","scopes":{}}}}},"schemas":{"Error":{"type":"object","description":"The error envelope every Nexiel API returns. Every error Nexiel sends carries `type`, `docUrl` and `requestId`; they are not marked required so that a client never fails to parse an error relayed by an intermediary that lacks them. Every code is documented at https://nexiel.eu/docs/errors.","required":["error","message"],"properties":{"error":{"type":"string","description":"Stable, machine-readable error code."},"message":{"type":"string","description":"Human-readable explanation. May change; never parse it."},"type":{"type":"string","enum":["invalid_request_error","authentication_error","permission_error","rate_limit_error","idempotency_error","configuration_error","wallet_error","api_error"],"description":"The class of error; branch on this first, then on `error`."},"param":{"type":"string","description":"The request field the error is about, as a dotted path, when one can be named."},"docUrl":{"type":"string","format":"uri","description":"Documentation for this error code."},"requestId":{"type":"string","pattern":"^req_[0-9A-HJKMNP-TV-Z]{26}$","description":"The id of this request, also in the Request-Id header."},"retryAfterSeconds":{"type":"number","description":"Present on retryable errors; the same number as the Retry-After header."}},"additionalProperties":true},"RateLimitError":{"allOf":[{"$ref":"#/components/schemas/Error"},{"type":"object","required":["retryAfterSeconds"]}]},"Page":{"type":"object","description":"The envelope of every list. Items are newest first. Pass `nextCursor` as `starting_after` to fetch the next page; it is null on the last page.","required":["data","hasMore","nextCursor"],"properties":{"data":{"type":"array","items":{},"description":"The items of this page."},"hasMore":{"type":"boolean","description":"Whether another page follows this one."},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pass as `starting_after` to fetch the next page. Null on the last page."}}},"WebhookEvent":{"title":"WebhookEvent","description":"A platform event: the body of a webhook delivery, and an item of the Events API.","type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"format":"uuid","description":"Stable, immutable event id: the same id every delivery of this event carries.","type":"string"},"type":{"description":"The event type, from the event catalogue.","type":"string","example":"verify.session.completed"},"apiVersion":{"description":"The API version the event is rendered in.","type":"string","example":"2026-11-19"},"livemode":{"description":"True for a live-mode event, false for test mode.","type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"data":{"additionalProperties":true,"description":"Identifiers, outcomes and hashes only; never personal data.","type":"object","properties":{}}}},"CredentialVerificationSession":{"title":"CredentialVerificationSession","type":"object","required":["sessionId","clientId","checkType","templateVersion","status","createdAt","expiresAt","decision"],"properties":{"sessionId":{"type":"string","example":"7d3c1b9a-2e4f-4a6b-8c0d-1e2f3a4b5c6d"},"clientId":{"type":"string","example":"nx-live-employer-3f2a9c"},"checkType":{"anyOf":[{"type":"string","enum":["academic-credential"]},{"type":"string","enum":["academic-enrolment-status"]}]},"templateVersion":{"type":"string","example":"academic-credential@1"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["failed"]},{"type":"string","enum":["expired"]}],"example":"completed"},"createdAt":{"type":"string","example":"2026-11-19T10:00:00.000Z"},"expiresAt":{"type":"string","example":"2026-11-19T10:10:00.000Z"},"decision":{"anyOf":[{"example":{"issuer":{"academicIssuerId":"1f4b8e2a-7c3d-4a9e-b6f0-8d2c5e1a7b94","verifiedDomain":"registry.example-university.ie","vettingStatus":"nexiel_vetted_eaa","legalWeightNotice":"This credential is a non-qualified Electronic Attestation of Attributes (EAA). Its issuing institution was vetted through Nexiel's own institution-accreditation review, not through a qualified trust service provider -- it does not carry eIDAS 2.0's qualified legal presumption of accuracy. Treat it as strong, verified evidence from a vetted source, and apply your own organization's usual corroboration standard for a non-qualified attestation."},"disclosedClaimsStatus":"available","disclosedClaimsHash":"b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c","revocationStatus":"current","revocationCheckedAt":"2026-11-19T10:02:41.000Z","frozenVerificationArtifact":{"templateVersion":"academic-credential@1","academicIssuerId":"1f4b8e2a-7c3d-4a9e-b6f0-8d2c5e1a7b94","issuerVerifiedDomain":"registry.example-university.ie","kid":"issuer-key-2026-11","vettingStatus":"nexiel_vetted_eaa","vpTokenHash":"7d865e959b2466918c9863afca942d0fb89d7c9ac0c99bafc3749504ded97730","disclosedClaimsHash":"b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c","verifiedAt":"2026-11-19T10:02:41.000Z"},"decidedAt":"2026-11-19T10:02:41.000Z"},"type":"object","required":["issuer","disclosedClaimsStatus","disclosedClaimsHash","revocationStatus","revocationCheckedAt","frozenVerificationArtifact","decidedAt"],"properties":{"issuer":{"type":"object","required":["academicIssuerId","verifiedDomain","vettingStatus","legalWeightNotice"],"properties":{"academicIssuerId":{"type":"string"},"verifiedDomain":{"type":"string"},"vettingStatus":{"anyOf":[{"type":"string","enum":["qeaa"]},{"type":"string","enum":["nexiel_vetted_eaa"]}]},"legalWeightNotice":{"type":"string"}}},"disclosedClaimsStatus":{"description":"Where the encrypted disclosed claims stand. Reading the session never hands them over: claim them with `POST /v1/credentials/verify/sessions/{sessionId}/disclosed-claims/claim` while they are `available`. `no_key_registered`: no evidence-pack key was registered when the decision was made, so nothing was encrypted.","anyOf":[{"type":"string","enum":["no_key_registered"]},{"type":"string","enum":["available"]},{"type":"string","enum":["delivered"]},{"type":"string","enum":["expired"]}]},"disclosedClaimsHash":{"type":"string"},"revocationStatus":{"anyOf":[{"type":"string","enum":["current"]},{"type":"string","enum":["revoked"]},{"type":"string","enum":["suspended"]},{"type":"string","enum":["status_check_unavailable"]}]},"revocationCheckedAt":{"type":"string"},"frozenVerificationArtifact":{"type":"object","required":["templateVersion","academicIssuerId","issuerVerifiedDomain","kid","vettingStatus","vpTokenHash","disclosedClaimsHash","verifiedAt"],"properties":{"templateVersion":{"type":"string"},"academicIssuerId":{"type":"string"},"issuerVerifiedDomain":{"type":"string"},"kid":{"type":"string"},"vettingStatus":{"anyOf":[{"type":"string","enum":["qeaa"]},{"type":"string","enum":["nexiel_vetted_eaa"]}]},"vpTokenHash":{"type":"string"},"disclosedClaimsHash":{"type":"string"},"verifiedAt":{"type":"string"}}},"decidedAt":{"type":"string"}}},{"type":"null"}]}}}},"parameters":{"NexielVersion":{"name":"Nexiel-Version","in":"header","required":false,"description":"The API version this request is written against. Omit it to use the latest (2026-11-19); an unknown version is refused with 400 `invalid_api_version`. Every response states the version it was served in, in the same header.","schema":{"type":"string","enum":["2026-11-19"],"default":"2026-11-19"}},"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":false,"description":"A unique key (8 to 255 characters, a UUID is ideal) that makes a retry safe: a request repeated with the same key returns the first result instead of acting twice. Reusing a key with a different request is refused with 409 `idempotency_key_conflict`.","schema":{"type":"string","minLength":8,"maxLength":255},"example":"4b9e6e2a-df1a-4c3a-9d2a-6a6a6f9e7e10"},"IdempotencyKeyRequired":{"name":"Idempotency-Key","in":"header","required":false,"description":"Required on this operation (8 to 255 characters, a UUID is ideal); a request without it is refused with 400 `idempotency_key_required`. Retrying with the same key returns the same result instead of repeating the action.","schema":{"type":"string","minLength":8,"maxLength":255},"example":"4b9e6e2a-df1a-4c3a-9d2a-6a6a6f9e7e10"}}},"paths":{"/health":{"get":{"operationId":"getHealth","summary":"Liveness / service-mode check","tags":["Health"],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["status","mode"],"properties":{"status":{"anyOf":[{"type":"string","enum":["ok"]},{"type":"string","enum":["draining"]}]},"mode":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]}}},"example":{"status":"ok","mode":"sandbox"}}}},"503":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["status","mode"],"properties":{"status":{"anyOf":[{"type":"string","enum":["ok"]},{"type":"string","enum":["draining"]}]},"mode":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]}}}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/credentials/health":{"get":{"operationId":"getCredentialsHealth","summary":"Liveness / service-mode check","tags":["Health"],"description":"Unauthenticated. `ok` while this API serves requests, `draining` (503) while an instance is being replaced. `mode` is the deployment mode.","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["status","mode"],"properties":{"status":{"anyOf":[{"type":"string","enum":["ok"]},{"type":"string","enum":["draining"]}]},"mode":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]}}},"example":{"status":"ok","mode":"sandbox"}}}},"503":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["status","mode"],"properties":{"status":{"anyOf":[{"type":"string","enum":["ok"]},{"type":"string","enum":["draining"]}]},"mode":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]}}}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/health/purge":{"get":{"operationId":"getPurgeWorkerHealth","summary":"Background purge worker heartbeat","tags":["Health"],"description":"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.","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["healthy","lastRunAgeSeconds"],"properties":{"healthy":{"type":"boolean"},"lastRunAgeSeconds":{"anyOf":[{"type":"number"},{"type":"null"}]}}},"example":{"healthy":false,"lastRunAgeSeconds":1}}}},"503":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["healthy","lastRunAgeSeconds"],"properties":{"healthy":{"type":"boolean"},"lastRunAgeSeconds":{"anyOf":[{"type":"number"},{"type":"null"}]}}}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/.well-known/openid-credential-issuer/v1/credentials/issuers/{issuerProfileId}":{"get":{"operationId":"getIssuerMetadata","summary":"Credential Issuer metadata of one issuer (JSON, or signed with Accept: application/jwt)","tags":["HAIP issuance"],"description":"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":[{"schema":{"type":"string"},"in":"path","name":"issuerProfileId","required":true,"description":"The issuer profile id in the Credential Issuer Identifier."},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"OpenID4VCI 1.0 §12.2.4 Credential Issuer metadata. Send Accept: application/jwt for the signed form (§12.2.3).","content":{"application/json":{"schema":{"additionalProperties":true,"description":"OpenID4VCI 1.0 §12.2.4 Credential Issuer metadata. Send Accept: application/jwt for the signed form (§12.2.3).","type":"object","required":["credential_issuer","credential_endpoint","nonce_endpoint","batch_credential_issuance","display","credential_configurations_supported"],"properties":{"credential_issuer":{"type":"string"},"credential_endpoint":{"type":"string"},"nonce_endpoint":{"type":"string"},"batch_credential_issuance":{"type":"object","required":["batch_size"],"properties":{"batch_size":{"type":"integer"}}},"display":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"locale":{"type":"string"}}}},"credential_configurations_supported":{"type":"object","additionalProperties":{}}}},"example":{"credential_issuer":"credential_issuer","credential_endpoint":"credential_endpoint","nonce_endpoint":"nonce_endpoint","batch_credential_issuance":{"batch_size":1},"display":[{"name":"name","locale":"locale"}],"credential_configurations_supported":{}}}}},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/.well-known/oauth-authorization-server/v1/credentials/issuers/{issuerProfileId}":{"get":{"operationId":"getIssuerAuthorizationServerMetadata","summary":"RFC 8414 Authorization Server metadata of one issuer","tags":["HAIP issuance"],"parameters":[{"schema":{"type":"string"},"in":"path","name":"issuerProfileId","required":true,"description":"The issuer profile id in the Credential Issuer Identifier."},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"RFC 8414 Authorization Server metadata of one Credential Issuer.","content":{"application/json":{"schema":{"additionalProperties":true,"description":"RFC 8414 Authorization Server metadata of one Credential Issuer.","type":"object","required":["issuer","pushed_authorization_request_endpoint","require_pushed_authorization_requests","authorization_endpoint","token_endpoint","grant_types_supported","response_types_supported","code_challenge_methods_supported","token_endpoint_auth_methods_supported","client_attestation_signing_alg_values_supported","client_attestation_pop_signing_alg_values_supported","dpop_signing_alg_values_supported","authorization_response_iss_parameter_supported","pre-authorized_grant_anonymous_access_supported","status_list_aggregation_endpoint"],"properties":{"issuer":{"type":"string"},"pushed_authorization_request_endpoint":{"type":"string"},"require_pushed_authorization_requests":{"type":"boolean"},"authorization_endpoint":{"type":"string"},"token_endpoint":{"type":"string"},"grant_types_supported":{"type":"array","items":{"type":"string"}},"response_types_supported":{"type":"array","items":{"type":"string"}},"code_challenge_methods_supported":{"type":"array","items":{"type":"string"}},"token_endpoint_auth_methods_supported":{"type":"array","items":{"type":"string"}},"client_attestation_signing_alg_values_supported":{"type":"array","items":{"type":"string"}},"client_attestation_pop_signing_alg_values_supported":{"type":"array","items":{"type":"string"}},"dpop_signing_alg_values_supported":{"type":"array","items":{"type":"string"}},"authorization_response_iss_parameter_supported":{"type":"boolean"},"pre-authorized_grant_anonymous_access_supported":{"type":"boolean"},"status_list_aggregation_endpoint":{"type":"string"}}},"example":{"issuer":"issuer","pushed_authorization_request_endpoint":"pushed_authorization_request_endpoint","require_pushed_authorization_requests":false,"authorization_endpoint":"authorization_endpoint","token_endpoint":"token_endpoint","grant_types_supported":["grant_types_supported"],"response_types_supported":["response_types_supported"],"code_challenge_methods_supported":["code_challenge_methods_supported"],"token_endpoint_auth_methods_supported":["token_endpoint_auth_methods_supported"],"client_attestation_signing_alg_values_supported":["client_attestation_signing_alg_values_supported"],"client_attestation_pop_signing_alg_values_supported":["client_attestation_pop_signing_alg_values_supported"],"dpop_signing_alg_values_supported":["dpop_signing_alg_values_supported"],"authorization_response_iss_parameter_supported":false,"pre-authorized_grant_anonymous_access_supported":false,"status_list_aggregation_endpoint":"status_list_aggregation_endpoint"}}}},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/issuers/{issuerProfileId}/credential-offers/{offerToken}":{"get":{"operationId":"getCredentialOffer","summary":"Credential Offer by reference (credential_offer_uri)","tags":["HAIP issuance"],"description":"OpenID4VCI 1.0 §4.1.3. Resolves only while the offer is open; an expired, used or withdrawn offer answers 404.","parameters":[{"schema":{"type":"string"},"in":"path","name":"issuerProfileId","required":true},{"schema":{"type":"string"},"in":"path","name":"offerToken","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"OpenID4VCI 1.0 §4.1.1 Credential Offer.","content":{"application/json":{"schema":{"description":"OpenID4VCI 1.0 §4.1.1 Credential Offer.","type":"object","required":["credential_issuer","credential_configuration_ids","grants"],"properties":{"credential_issuer":{"type":"string"},"credential_configuration_ids":{"type":"array","items":{"type":"string"}},"grants":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{}}}}},"example":{"credential_issuer":"credential_issuer","credential_configuration_ids":["credential_configuration_id"],"grants":{}}}}},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/issuers/{issuerProfileId}/par":{"post":{"operationId":"pushAuthorizationRequest","summary":"Pushed Authorization Request (RFC 9126) with wallet attestation and DPoP","tags":["HAIP issuance"],"description":"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.","requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"application/x-www-form-urlencoded OAuth parameters. Each parameter may appear once (RFC 6749 §3.1).","type":"object","additionalProperties":{"type":"string"}}}},"description":"application/x-www-form-urlencoded OAuth parameters. Each parameter may appear once (RFC 6749 §3.1)."},"parameters":[{"schema":{"type":"string"},"in":"path","name":"issuerProfileId","required":true,"description":"The issuer profile id in the Credential Issuer Identifier."},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["request_uri","expires_in"],"properties":{"request_uri":{"type":"string"},"expires_in":{"type":"integer"}}},"example":{"request_uri":"https://example.com/request_uri","expires_in":1}}}},"400":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","content":{"application/json":{"schema":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","type":"object","required":["error"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"401":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","content":{"application/json":{"schema":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","type":"object","required":["error"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"409":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/issuers/{issuerProfileId}/authorize":{"get":{"operationId":"authorize","summary":"Authorization endpoint (pushed requests only)","tags":["HAIP issuance"],"description":"Redirects the browser to the issuer user authentication page and binds the flow to this browser with a cookie.","parameters":[{"schema":{"type":"string"},"in":"query","name":"client_id","required":true},{"schema":{"type":"string"},"in":"query","name":"request_uri","required":true},{"schema":{"type":"string"},"in":"path","name":"issuerProfileId","required":true,"description":"The issuer profile id in the Credential Issuer Identifier."},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"303":{"description":"Redirect"},"400":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","content":{"application/json":{"schema":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","type":"object","required":["error"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}}}}},"/v1/credentials/issuers/{issuerProfileId}/authorize/resume":{"get":{"operationId":"resumeAuthorization","summary":"Return point after the issuer authenticated the user; redirects to the wallet with the code","tags":["HAIP issuance"],"parameters":[{"schema":{"type":"string"},"in":"query","name":"handle","required":true},{"schema":{"type":"string"},"in":"query","name":"completion","required":false,"description":"The one-time completion secret from the resumeUrl."},{"schema":{"type":"string"},"in":"path","name":"issuerProfileId","required":true,"description":"The issuer profile id in the Credential Issuer Identifier."},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"303":{"description":"Redirect"},"400":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","content":{"application/json":{"schema":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","type":"object","required":["error"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}}}}},"/v1/credentials/issuers/{issuerProfileId}/token":{"post":{"operationId":"tokenRequest","summary":"Token endpoint: authorization_code or pre-authorized_code, wallet attestation and DPoP required","tags":["HAIP issuance"],"description":"Access tokens are DPoP-bound. A wrong tx_code counts towards a limit of five attempts, after which the offer is locked.","requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"application/x-www-form-urlencoded OAuth parameters. Each parameter may appear once (RFC 6749 §3.1).","type":"object","additionalProperties":{"type":"string"}}}},"description":"application/x-www-form-urlencoded OAuth parameters. Each parameter may appear once (RFC 6749 §3.1)."},"parameters":[{"schema":{"type":"string"},"in":"path","name":"issuerProfileId","required":true,"description":"The issuer profile id in the Credential Issuer Identifier."},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["access_token","token_type","expires_in"],"properties":{"access_token":{"type":"string"},"token_type":{"type":"string","enum":["DPoP"]},"expires_in":{"type":"integer"},"authorization_details":{"type":"array","items":{"type":"object","required":["type","credential_configuration_id","credential_identifiers"],"properties":{"type":{"type":"string","enum":["openid_credential"]},"credential_configuration_id":{"type":"string"},"credential_identifiers":{"type":"array","items":{"type":"string"}}}}}}},"example":{"access_token":"mF2xQ8vN1pK7rT4wZ9cB6dJ3","token_type":"DPoP","expires_in":300,"authorization_details":[{"type":"openid_credential","credential_configuration_id":"membership_sd_jwt","credential_identifiers":["0d9c8b7a-6f5e-4d3c-8b2a-1f0e9d8c7b6a"]}]}}}},"400":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","content":{"application/json":{"schema":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","type":"object","required":["error"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"401":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","content":{"application/json":{"schema":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","type":"object","required":["error"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"409":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/issuers/{issuerProfileId}/nonce":{"post":{"operationId":"nonceRequest","summary":"Nonce endpoint (OpenID4VCI 1.0 §7): a fresh single-use c_nonce and a DPoP-Nonce header","tags":["HAIP issuance"],"parameters":[{"schema":{"type":"string"},"in":"path","name":"issuerProfileId","required":true,"description":"The issuer profile id in the Credential Issuer Identifier."},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["c_nonce"],"properties":{"c_nonce":{"type":"string"}}},"example":{"c_nonce":"c_nonce"}}}},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/issuers/{issuerProfileId}/credential":{"post":{"operationId":"credentialRequest","summary":"Credential endpoint: Authorization: DPoP, key proofs with key attestation, one credential per attested key","tags":["HAIP issuance"],"description":"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.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","properties":{"credential_identifier":{"type":"string"},"credential_configuration_id":{"type":"string"},"proofs":{"description":"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).","type":"object","properties":{"jwt":{"type":"array","items":{"type":"string"}},"attestation":{"type":"array","items":{"type":"string"}}}},"credential_response_encryption":{}}},"example":{"credential_identifier":"0d9c8b7a-6f5e-4d3c-8b2a-1f0e9d8c7b6a","proofs":{"attestation":["eyJ0eXAiOiJrZXktYXR0ZXN0YXRpb24rand0IiwiYWxnIjoiRVMyNTYifQ.eyJub25jZSI6Ii4uLiJ9.c2lnbmF0dXJl"]}}},"application/jwt":{"schema":{"description":"Compact JWE (ECDH-ES, A128GCM or A256GCM)","type":"string"}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"issuerProfileId","required":true,"description":"The issuer profile id in the Credential Issuer Identifier."},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["credentials"],"properties":{"credentials":{"type":"array","items":{"type":"object","required":["credential"],"properties":{"credential":{"type":"string"}}}}}},"example":{"credentials":[{"credential":"credential"}]}},"application/jwt":{"schema":{"description":"Compact JWE of the Credential Response","type":"string"}}}},"400":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","content":{"application/json":{"schema":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","type":"object","required":["error"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"401":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","content":{"application/json":{"schema":{"description":"OAuth 2.0 / OpenID4VCI error response (RFC 6749 §5.2, OpenID4VCI 1.0 §8.3.1).","type":"object","required":["error"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"403":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/issuers/{issuerProfileId}/status-lists":{"get":{"operationId":"getStatusListAggregation","summary":"Status List Aggregation of one issuer (draft-ietf-oauth-status-list-20 §9)","tags":["Status lists"],"parameters":[{"schema":{"type":"string"},"in":"path","name":"issuerProfileId","required":true,"description":"The issuer profile id in the Credential Issuer Identifier."},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["status_lists"],"properties":{"status_lists":{"type":"array","items":{"type":"string"}}}},"example":{"status_lists":["status_list"]}}}},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/status-lists/{listId}":{"get":{"operationId":"getStatusList","summary":"A signed Token Status List (application/statuslist+jwt or application/statuslist+cwt)","tags":["Status lists"],"description":"Public. Cacheable for the ttl of the token; supports If-None-Match.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"listId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"The signed status list token","content":{"application/json":{"schema":{"type":"string","description":"The signed status list token"},"example":"string"}}},"304":{"description":"Default Response"},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/identifier-lists/{listId}":{"get":{"operationId":"getIdentifierList","summary":"A signed mdoc identifier list (application/identifierlist+cwt)","tags":["Status lists"],"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"listId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"The signed identifier list","content":{"application/json":{"schema":{"type":"string","description":"The signed identifier list"},"example":"string"}}},"304":{"description":"Default Response"},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/eaa/issuer":{"get":{"operationId":"getEaaIssuerProfile","summary":"Your Credential Issuer: identifier, sign-in URL, registration and attestation-level status","tags":["Attestation issuance"],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["issuerProfileId","credentialIssuer","displayName","authorizationRedirectUrl","registrationCertificateConfigured","qualifiedStatus","publicBodyStatus","status","livemode"],"properties":{"issuerProfileId":{"type":"string"},"credentialIssuer":{"type":"string"},"displayName":{"type":"string"},"authorizationRedirectUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"registrationCertificateConfigured":{"type":"boolean"},"qualifiedStatus":{"anyOf":[{"type":"string","enum":["NONE"]},{"type":"string","enum":["VERIFIED"]}]},"publicBodyStatus":{"anyOf":[{"type":"string","enum":["NONE"]},{"type":"string","enum":["VERIFIED"]}]},"status":{"anyOf":[{"type":"string","enum":["ACTIVE"]},{"type":"string","enum":["SUSPENDED"]}]},"livemode":{"description":"True for your live issuer (a live API key: your production certificate, trusted wallet providers only), false for your test issuer (a test API key: certificates from the Nexiel TEST CA, accepted by test-mode verifiers only).","type":"boolean"}}},"example":{"issuerProfileId":"3f8b6c1e-2d4a-4b7e-9c1f-6a5d8e2b7c40","credentialIssuer":"https://compliance.nexiel.io/v1/credentials/issuers/3f8b6c1e-2d4a-4b7e-9c1f-6a5d8e2b7c40","displayName":"Example Members Club","authorizationRedirectUrl":"https://members.example.org/wallet-sign-in","registrationCertificateConfigured":true,"qualifiedStatus":"NONE","publicBodyStatus":"NONE","status":"ACTIVE","livemode":true}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]},"patch":{"operationId":"updateEaaIssuerProfile","summary":"Set your user sign-in URL (authorization code flow) and your registration certificate","tags":["Attestation issuance"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","properties":{"authorizationRedirectUrl":{"description":"HTTPS URL of your own user authentication page for the authorization code flow.","anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}]},"registrationCertificate":{"description":"Your registration certificate (rc-wrp+jwt) for signed metadata.","anyOf":[{"maxLength":65536,"type":"string"},{"type":"null"}]}}},"example":{"authorizationRedirectUrl":"https://members.example.org/wallet-sign-in"}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["issuerProfileId","credentialIssuer","displayName","authorizationRedirectUrl","registrationCertificateConfigured","qualifiedStatus","publicBodyStatus","status","livemode"],"properties":{"issuerProfileId":{"type":"string"},"credentialIssuer":{"type":"string"},"displayName":{"type":"string"},"authorizationRedirectUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"registrationCertificateConfigured":{"type":"boolean"},"qualifiedStatus":{"anyOf":[{"type":"string","enum":["NONE"]},{"type":"string","enum":["VERIFIED"]}]},"publicBodyStatus":{"anyOf":[{"type":"string","enum":["NONE"]},{"type":"string","enum":["VERIFIED"]}]},"status":{"anyOf":[{"type":"string","enum":["ACTIVE"]},{"type":"string","enum":["SUSPENDED"]}]},"livemode":{"description":"True for your live issuer (a live API key: your production certificate, trusted wallet providers only), false for your test issuer (a test API key: certificates from the Nexiel TEST CA, accepted by test-mode verifiers only).","type":"boolean"}}},"example":{"issuerProfileId":"3f8b6c1e-2d4a-4b7e-9c1f-6a5d8e2b7c40","credentialIssuer":"https://compliance.nexiel.io/v1/credentials/issuers/3f8b6c1e-2d4a-4b7e-9c1f-6a5d8e2b7c40","displayName":"Example Members Club","authorizationRedirectUrl":"https://members.example.org/wallet-sign-in","registrationCertificateConfigured":true,"qualifiedStatus":"NONE","publicBodyStatus":"NONE","status":"ACTIVE","livemode":true}}}},"400":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/eaa/templates":{"post":{"operationId":"proposeEaaTemplate","summary":"Define an attestation type (created as a draft)","tags":["Attestation issuance"],"description":"Submit it for review afterwards; only a type approved by Nexiel review can be issued.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["configurationKey","claimsSchema"],"properties":{"configurationKey":{"minLength":2,"maxLength":63,"description":"Stable key: the credential configuration ids are <key>_sd_jwt and <key>_mdoc.","type":"string"},"formats":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["dc+sd-jwt"]},{"type":"string","enum":["mso_mdoc"]}]}},"vct":{"maxLength":2048,"type":"string"},"doctype":{"maxLength":256,"type":"string"},"mdocNamespace":{"maxLength":256,"type":"string"},"claimsSchema":{"description":"JSON Schema of type \"object\" describing the claims.","type":"object","additionalProperties":{}},"sdJwtDisclosureFrame":{"type":"object","required":["_sd"],"properties":{"_sd":{"type":"array","items":{"type":"string"}}}},"validitySeconds":{"anyOf":[{"minimum":300,"type":"integer"},{"type":"null"}]},"statusPolicy":{"anyOf":[{"type":"string","enum":["REVOCATION"]},{"type":"string","enum":["REVOCATION_AND_SUSPENSION"]},{"type":"string","enum":["NONE_SHORT_LIVED"]}]},"attestationLevel":{"anyOf":[{"type":"string","enum":["EAA"]},{"type":"string","enum":["QEAA"]},{"type":"string","enum":["PUB_EAA"]}]},"deviceBinding":{"type":"boolean"},"keyStorageLevels":{"type":"array","items":{"type":"string"}},"userAuthenticationLevels":{"type":"array","items":{"type":"string"}},"claimDisplay":{"type":"array","items":{"type":"object","additionalProperties":{}}},"displayMetadata":{"type":"array","items":{"type":"object","additionalProperties":{}}}}},"example":{"configurationKey":"membership","formats":["dc+sd-jwt","mso_mdoc"],"vct":"https://attestations.example.org/membership/v1","doctype":"org.example.membership.1","claimsSchema":{"type":"object","required":["member_name","member_id"],"properties":{"member_name":{"type":"string"},"member_id":{"type":"string"}}},"sdJwtDisclosureFrame":{"_sd":["member_name","member_id"]},"validitySeconds":31536000,"statusPolicy":"REVOCATION_AND_SUSPENSION","keyStorageLevels":["iso_18045_high"],"displayMetadata":[{"name":"Example Members Club membership","locale":"en-US","backgroundColor":"#0B1220","textColor":"#FFFFFF"}]}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","configurationKey","version","status","formats","configurationIds","vct","doctype","validitySeconds","statusPolicy","attestationLevel","deviceBinding","reviewNotes","createdAt"],"properties":{"id":{"type":"string"},"configurationKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"type":"integer"},"status":{"type":"string"},"formats":{"type":"array","items":{"type":"string"}},"configurationIds":{"type":"array","items":{"type":"string"}},"vct":{"anyOf":[{"type":"string"},{"type":"null"}]},"doctype":{"anyOf":[{"type":"string"},{"type":"null"}]},"validitySeconds":{"anyOf":[{"type":"integer"},{"type":"null"}]},"statusPolicy":{"type":"string"},"attestationLevel":{"type":"string"},"deviceBinding":{"type":"boolean"},"reviewNotes":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}}},"example":{"id":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","version":1,"status":"APPROVED","formats":["dc+sd-jwt","mso_mdoc"],"configurationIds":["membership_sd_jwt","membership_mdoc"],"vct":"https://attestations.example.org/membership/v1","doctype":"org.example.membership.1","validitySeconds":31536000,"statusPolicy":"REVOCATION_AND_SUSPENSION","attestationLevel":"EAA","deviceBinding":true,"reviewNotes":null,"createdAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}},"get":{"operationId":"listEaaTemplates","summary":"List your attestation types, every version","tags":["Attestation issuance"],"description":"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":[{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"anyOf":[{"type":"string","enum":["DRAFT"]},{"type":"string","enum":["PENDING_REVIEW"]},{"type":"string","enum":["APPROVED"]},{"type":"string","enum":["REJECTED"]},{"type":"string","enum":["RETIRED"]}]},"in":"query","name":"status","required":false,"description":"Only attestation type versions in this review status."},{"schema":{"minLength":1,"maxLength":63,"type":"string"},"in":"query","name":"configurationKey","required":false,"description":"Only the versions of this attestation type."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","configurationKey","version","status","formats","configurationIds","vct","doctype","validitySeconds","statusPolicy","attestationLevel","deviceBinding","reviewNotes","createdAt"],"properties":{"id":{"type":"string"},"configurationKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"type":"integer"},"status":{"type":"string"},"formats":{"type":"array","items":{"type":"string"}},"configurationIds":{"type":"array","items":{"type":"string"}},"vct":{"anyOf":[{"type":"string"},{"type":"null"}]},"doctype":{"anyOf":[{"type":"string"},{"type":"null"}]},"validitySeconds":{"anyOf":[{"type":"integer"},{"type":"null"}]},"statusPolicy":{"type":"string"},"attestationLevel":{"type":"string"},"deviceBinding":{"type":"boolean"},"reviewNotes":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}},"example":{"id":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","version":1,"status":"APPROVED","formats":["dc+sd-jwt","mso_mdoc"],"configurationIds":["membership_sd_jwt","membership_mdoc"],"vct":"https://attestations.example.org/membership/v1","doctype":"org.example.membership.1","validitySeconds":31536000,"statusPolicy":"REVOCATION_AND_SUSPENSION","attestationLevel":"EAA","deviceBinding":true,"reviewNotes":null,"createdAt":"2026-11-19T10:00:00.000Z"}}},"templates":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `templates` will be removed in a future API version.","type":"array","items":{"type":"object","required":["id","configurationKey","version","status","formats","configurationIds","vct","doctype","validitySeconds","statusPolicy","attestationLevel","deviceBinding","reviewNotes","createdAt"],"properties":{"id":{"type":"string"},"configurationKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"type":"integer"},"status":{"type":"string"},"formats":{"type":"array","items":{"type":"string"}},"configurationIds":{"type":"array","items":{"type":"string"}},"vct":{"anyOf":[{"type":"string"},{"type":"null"}]},"doctype":{"anyOf":[{"type":"string"},{"type":"null"}]},"validitySeconds":{"anyOf":[{"type":"integer"},{"type":"null"}]},"statusPolicy":{"type":"string"},"attestationLevel":{"type":"string"},"deviceBinding":{"type":"boolean"},"reviewNotes":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}},"example":{"id":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","version":1,"status":"APPROVED","formats":["dc+sd-jwt","mso_mdoc"],"configurationIds":["membership_sd_jwt","membership_mdoc"],"vct":"https://attestations.example.org/membership/v1","doctype":"org.example.membership.1","validitySeconds":31536000,"statusPolicy":"REVOCATION_AND_SUSPENSION","attestationLevel":"EAA","deviceBinding":true,"reviewNotes":null,"createdAt":"2026-11-19T10:00:00.000Z"}}}}}]},"example":{"data":[{"id":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","version":1,"status":"APPROVED","formats":["dc+sd-jwt","mso_mdoc"],"configurationIds":["membership_sd_jwt","membership_mdoc"],"vct":"https://attestations.example.org/membership/v1","doctype":"org.example.membership.1","validitySeconds":31536000,"statusPolicy":"REVOCATION_AND_SUSPENSION","attestationLevel":"EAA","deviceBinding":true,"reviewNotes":null,"createdAt":"2026-11-19T10:00:00.000Z"}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","templates":[{"id":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","version":1,"status":"APPROVED","formats":["dc+sd-jwt","mso_mdoc"],"configurationIds":["membership_sd_jwt","membership_mdoc"],"vct":"https://attestations.example.org/membership/v1","doctype":"org.example.membership.1","validitySeconds":31536000,"statusPolicy":"REVOCATION_AND_SUSPENSION","attestationLevel":"EAA","deviceBinding":true,"reviewNotes":null,"createdAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/eaa/issuer/test-registration-certificate":{"post":{"operationId":"issueEaaTestRegistrationCertificate","summary":"Test mode: issue your issuer a test registration certificate","tags":["Attestation issuance"],"description":"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":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["issuerProfileId","credentialIssuer","displayName","authorizationRedirectUrl","registrationCertificateConfigured","qualifiedStatus","publicBodyStatus","status","livemode"],"properties":{"issuerProfileId":{"type":"string"},"credentialIssuer":{"type":"string"},"displayName":{"type":"string"},"authorizationRedirectUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"registrationCertificateConfigured":{"type":"boolean"},"qualifiedStatus":{"anyOf":[{"type":"string","enum":["NONE"]},{"type":"string","enum":["VERIFIED"]}]},"publicBodyStatus":{"anyOf":[{"type":"string","enum":["NONE"]},{"type":"string","enum":["VERIFIED"]}]},"status":{"anyOf":[{"type":"string","enum":["ACTIVE"]},{"type":"string","enum":["SUSPENDED"]}]},"livemode":{"description":"True for your live issuer (a live API key: your production certificate, trusted wallet providers only), false for your test issuer (a test API key: certificates from the Nexiel TEST CA, accepted by test-mode verifiers only).","type":"boolean"}}},"example":{"issuerProfileId":"3f8b6c1e-2d4a-4b7e-9c1f-6a5d8e2b7c40","credentialIssuer":"https://compliance.nexiel.io/v1/credentials/issuers/3f8b6c1e-2d4a-4b7e-9c1f-6a5d8e2b7c40","displayName":"Example Members Club","authorizationRedirectUrl":"https://members.example.org/wallet-sign-in","registrationCertificateConfigured":true,"qualifiedStatus":"NONE","publicBodyStatus":"NONE","status":"ACTIVE","livemode":true}}}},"400":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/eaa/templates/{id}/submit":{"post":{"operationId":"submitEaaTemplateForReview","summary":"Submit a draft attestation type for Nexiel review","tags":["Attestation issuance"],"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"id","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","configurationKey","version","status","formats","configurationIds","vct","doctype","validitySeconds","statusPolicy","attestationLevel","deviceBinding","reviewNotes","createdAt"],"properties":{"id":{"type":"string"},"configurationKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"type":"integer"},"status":{"type":"string"},"formats":{"type":"array","items":{"type":"string"}},"configurationIds":{"type":"array","items":{"type":"string"}},"vct":{"anyOf":[{"type":"string"},{"type":"null"}]},"doctype":{"anyOf":[{"type":"string"},{"type":"null"}]},"validitySeconds":{"anyOf":[{"type":"integer"},{"type":"null"}]},"statusPolicy":{"type":"string"},"attestationLevel":{"type":"string"},"deviceBinding":{"type":"boolean"},"reviewNotes":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}}},"example":{"id":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","version":1,"status":"APPROVED","formats":["dc+sd-jwt","mso_mdoc"],"configurationIds":["membership_sd_jwt","membership_mdoc"],"vct":"https://attestations.example.org/membership/v1","doctype":"org.example.membership.1","validitySeconds":31536000,"statusPolicy":"REVOCATION_AND_SUSPENSION","attestationLevel":"EAA","deviceBinding":true,"reviewNotes":null,"createdAt":"2026-11-19T10:00:00.000Z"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/eaa/templates/{id}/retire":{"post":{"operationId":"retireEaaTemplate","summary":"Retire an approved attestation type (stops new issuance)","tags":["Attestation issuance"],"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"id","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","configurationKey","version","status","formats","configurationIds","vct","doctype","validitySeconds","statusPolicy","attestationLevel","deviceBinding","reviewNotes","createdAt"],"properties":{"id":{"type":"string"},"configurationKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"type":"integer"},"status":{"type":"string"},"formats":{"type":"array","items":{"type":"string"}},"configurationIds":{"type":"array","items":{"type":"string"}},"vct":{"anyOf":[{"type":"string"},{"type":"null"}]},"doctype":{"anyOf":[{"type":"string"},{"type":"null"}]},"validitySeconds":{"anyOf":[{"type":"integer"},{"type":"null"}]},"statusPolicy":{"type":"string"},"attestationLevel":{"type":"string"},"deviceBinding":{"type":"boolean"},"reviewNotes":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}}},"example":{"id":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","version":1,"status":"APPROVED","formats":["dc+sd-jwt","mso_mdoc"],"configurationIds":["membership_sd_jwt","membership_mdoc"],"vct":"https://attestations.example.org/membership/v1","doctype":"org.example.membership.1","validitySeconds":31536000,"statusPolicy":"REVOCATION_AND_SUSPENSION","attestationLevel":"EAA","deviceBinding":true,"reviewNotes":null,"createdAt":"2026-11-19T10:00:00.000Z"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/eaa/offers":{"post":{"operationId":"createEaaOffer","summary":"Create a credential offer for one holder (pre-authorized code, optionally with tx_code, or authorization code)","tags":["Attestation issuance"],"description":"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.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["credentialTemplateId","claims"],"properties":{"credentialTemplateId":{"format":"uuid","type":"string"},"format":{"anyOf":[{"type":"string","enum":["dc+sd-jwt"]},{"type":"string","enum":["mso_mdoc"]}]},"claims":{"type":"object","additionalProperties":{}},"grantType":{"anyOf":[{"type":"string","enum":["pre-authorized_code"]},{"type":"string","enum":["authorization_code"]}]},"txCode":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"length":{"minimum":4,"maximum":8,"type":"integer"},"inputMode":{"anyOf":[{"type":"string","enum":["numeric"]},{"type":"string","enum":["text"]}]},"description":{"maxLength":300,"type":"string"}}},{"type":"null"}]},"expiresInSeconds":{"minimum":300,"maximum":1209600,"type":"integer"}}},"example":{"credentialTemplateId":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","format":"dc+sd-jwt","claims":{"member_name":"Alex Example","member_id":"M-1042"},"txCode":{"length":6,"inputMode":"numeric","description":"The code we sent you by text message"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["offerId","credentialIssuer","credentialOffer","credentialOfferUri","walletInvocationUri","txCode","expiresAt"],"properties":{"offerId":{"type":"string"},"credentialIssuer":{"type":"string"},"credentialOffer":{"description":"OpenID4VCI 1.0 §4.1.1 Credential Offer.","type":"object","required":["credential_issuer","credential_configuration_ids","grants"],"properties":{"credential_issuer":{"type":"string"},"credential_configuration_ids":{"type":"array","items":{"type":"string"}},"grants":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{}}}}},"credentialOfferUri":{"description":"https URL returning the offer (by reference). Render it as a QR code or link.","type":"string"},"walletInvocationUri":{"description":"openid-credential-offer:// link carrying credential_offer_uri.","type":"string"},"txCode":{"description":"Deliver this to the holder over a separate channel. Returned only once.","anyOf":[{"type":"string"},{"type":"null"}]},"expiresAt":{"type":"string"}}},"example":{"offerId":"0d9c8b7a-6f5e-4d3c-8b2a-1f0e9d8c7b6a","credentialIssuer":"https://compliance.nexiel.io/v1/credentials/issuers/3f8b6c1e-2d4a-4b7e-9c1f-6a5d8e2b7c40","credentialOffer":{"credential_issuer":"https://compliance.nexiel.io/v1/credentials/issuers/3f8b6c1e-2d4a-4b7e-9c1f-6a5d8e2b7c40","credential_configuration_ids":["membership_sd_jwt"],"grants":{"urn:ietf:params:oauth:grant-type:pre-authorized_code":{"pre-authorized_code":"Yk3vN0x8f2Qe9u6TqZr1cW4a","tx_code":{"length":6,"input_mode":"numeric","description":"The code we sent you by text message"}}}},"credentialOfferUri":"https://compliance.nexiel.io/v1/credentials/issuers/3f8b6c1e-2d4a-4b7e-9c1f-6a5d8e2b7c40/credential-offers/qH7mZ2xV9kL4pR1sT8wB","walletInvocationUri":"openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcompliance.nexiel.io%2Fv1%2Fcredentials%2Fissuers%2F3f8b6c1e-2d4a-4b7e-9c1f-6a5d8e2b7c40%2Fcredential-offers%2FqH7mZ2xV9kL4pR1sT8wB","txCode":"482915","expiresAt":"2026-10-11T09:30:00.000Z"}}}},"400":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/eaa/offers/{offerId}/revoke":{"post":{"operationId":"revokeEaaOffer","summary":"Withdraw an offer that has not been collected; its claims are deleted","tags":["Attestation issuance"],"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"offerId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["offerId","status"],"properties":{"offerId":{"type":"string"},"status":{"type":"string"}}},"example":{"offerId":"d7cb8f32-24d1-44a8-af7a-ebabe579d5f1","status":"status"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/eaa/authorizations/{handle}/complete":{"post":{"operationId":"completeEaaAuthorization","summary":"Complete a wallet authorization after signing the user in on your site","tags":["Attestation issuance"],"description":"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.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["decision"],"properties":{"decision":{"anyOf":[{"type":"string","enum":["approve"]},{"type":"string","enum":["deny"]}]},"claims":{"description":"The authenticated user claims (wallet-initiated flows).","type":"object","additionalProperties":{}}}},"example":{"decision":"approve","claims":{"member_name":"Alex Example","member_id":"M-1042"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"handle","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["resumeUrl"],"properties":{"resumeUrl":{"description":"Redirect the user browser here.","type":"string"}}},"example":{"resumeUrl":"https://example.com/resumeurl"}}}},"400":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/eaa/issued-credentials":{"get":{"operationId":"listEaaIssuedCredentials","summary":"Credentials you issued, newest first, with their status","tags":["Attestation issuance"],"description":"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":[{"schema":{"minimum":1,"maximum":200,"default":20,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 20. Values up to 200 are accepted and return at most 100 items."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":64,"type":"string"},"in":"query","name":"offerId","required":false,"description":"Only credentials issued from this offer."},{"schema":{"maxLength":64,"type":"string"},"in":"query","name":"credentialTemplateId","required":false,"description":"Only credentials of this attestation type version."},{"schema":{"anyOf":[{"type":"string","enum":["VALID"]},{"type":"string","enum":["SUSPENDED"]},{"type":"string","enum":["REVOKED"]}]},"in":"query","name":"status","required":false},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","credentialTemplateId","configurationKey","offerId","format","status","validFrom","validUntil","createdAt","revocable","suspendable"],"properties":{"id":{"type":"string"},"credentialTemplateId":{"type":"string"},"configurationKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"offerId":{"description":"The offer the credential was issued from.","anyOf":[{"type":"string"},{"type":"null"}]},"format":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["VALID"]},{"type":"string","enum":["SUSPENDED"]},{"type":"string","enum":["REVOKED"]}]},"validFrom":{"type":"string"},"validUntil":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"revocable":{"type":"boolean"},"suspendable":{"type":"boolean"}},"example":{"id":"9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b","credentialTemplateId":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","offerId":"2b7f0c9e-4d1a-4e8b-9a6c-3f5e1d7b2c80","format":"dc+sd-jwt","status":"VALID","validFrom":"2026-11-19T10:00:00.000Z","validUntil":"2027-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","revocable":true,"suspendable":true}}},"issuedCredentials":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `issuedCredentials` will be removed in a future API version.","type":"array","items":{"type":"object","required":["id","credentialTemplateId","configurationKey","offerId","format","status","validFrom","validUntil","createdAt","revocable","suspendable"],"properties":{"id":{"type":"string"},"credentialTemplateId":{"type":"string"},"configurationKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"offerId":{"description":"The offer the credential was issued from.","anyOf":[{"type":"string"},{"type":"null"}]},"format":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["VALID"]},{"type":"string","enum":["SUSPENDED"]},{"type":"string","enum":["REVOKED"]}]},"validFrom":{"type":"string"},"validUntil":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"revocable":{"type":"boolean"},"suspendable":{"type":"boolean"}},"example":{"id":"9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b","credentialTemplateId":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","offerId":"2b7f0c9e-4d1a-4e8b-9a6c-3f5e1d7b2c80","format":"dc+sd-jwt","status":"VALID","validFrom":"2026-11-19T10:00:00.000Z","validUntil":"2027-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","revocable":true,"suspendable":true}}}}}]},"example":{"data":[{"id":"9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b","credentialTemplateId":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","offerId":"2b7f0c9e-4d1a-4e8b-9a6c-3f5e1d7b2c80","format":"dc+sd-jwt","status":"VALID","validFrom":"2026-11-19T10:00:00.000Z","validUntil":"2027-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","revocable":true,"suspendable":true}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","issuedCredentials":[{"id":"9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b","credentialTemplateId":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","offerId":"2b7f0c9e-4d1a-4e8b-9a6c-3f5e1d7b2c80","format":"dc+sd-jwt","status":"VALID","validFrom":"2026-11-19T10:00:00.000Z","validUntil":"2027-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","revocable":true,"suspendable":true}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/eaa/issuer/ca-anchors":{"get":{"operationId":"listEaaIssuerCaAnchors","summary":"Your own CA anchors (non-qualified attestations), newest first","tags":["Attestation issuance"],"description":"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":[{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"anyOf":[{"type":"string","enum":["ACTIVE"]},{"type":"string","enum":["RETIRED"]},{"type":"string","enum":["REVOKED"]}]},"in":"query","name":"status","required":false,"description":"Only anchors in this status."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["anchorId","status","rootSubject","rootSha256","notAfter","createdAt","retiredAt","publishUntil","revokedAt","revocationReason","certificates"],"properties":{"anchorId":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["ACTIVE"]},{"type":"string","enum":["RETIRED"]},{"type":"string","enum":["REVOKED"]}]},"rootSubject":{"type":"string"},"rootSha256":{"description":"SHA-256 of the root certificate DER, hex.","type":"string"},"notAfter":{"format":"date-time","description":"The earliest expiry in the chain.","type":"string"},"createdAt":{"format":"date-time","type":"string"},"retiredAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"publishUntil":{"description":"A retired anchor stays published until the last credential issued under it expires.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"revokedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"revocationReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"certificates":{"description":"Base64 DER, lowest CA first, the root last.","type":"array","items":{"type":"string"}}},"example":{"anchorId":"0b8f3c2e-5a1d-4c7e-9f2b-3e6d1a8c4b70","status":"ACTIVE","rootSubject":"CN=Example Members Club Root CA, O=Example Members Club, C=IE","rootSha256":"3c9f1e0b7a2d4c58e6f1a9b0d2c4e6f8a1b3c5d7e9f0a2b4c6d8e0f1a3b5c7d9","notAfter":"2031-11-19T00:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","retiredAt":null,"publishUntil":null,"revokedAt":null,"revocationReason":null,"certificates":["MIIB...","MIIB..."]}}}}}]},"example":{"data":[{"anchorId":"0b8f3c2e-5a1d-4c7e-9f2b-3e6d1a8c4b70","status":"ACTIVE","rootSubject":"CN=Example Members Club Root CA, O=Example Members Club, C=IE","rootSha256":"3c9f1e0b7a2d4c58e6f1a9b0d2c4e6f8a1b3c5d7e9f0a2b4c6d8e0f1a3b5c7d9","notAfter":"2031-11-19T00:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","retiredAt":null,"publishUntil":null,"revokedAt":null,"revocationReason":null,"certificates":["MIIB...","MIIB..."]}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}},"post":{"operationId":"uploadEaaIssuerCaAnchor","summary":"Upload your own CA chain for non-qualified attestations (also how you rotate it)","tags":["Attestation issuance"],"description":"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.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","properties":{"caChainPem":{"maxLength":262144,"description":"Your CA chain as PEM: the root and the intermediate CAs down to the one that issues your signing certificates, in any order.","type":"string"},"certificates":{"minItems":1,"maxItems":10,"description":"The same chain as base64 DER certificates.","type":"array","items":{"maxLength":65536,"type":"string"}}}},"example":{"caChainPem":"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----\n"}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["anchorId","status","rootSubject","rootSha256","notAfter","createdAt","retiredAt","publishUntil","revokedAt","revocationReason","certificates"],"properties":{"anchorId":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["ACTIVE"]},{"type":"string","enum":["RETIRED"]},{"type":"string","enum":["REVOKED"]}]},"rootSubject":{"type":"string"},"rootSha256":{"description":"SHA-256 of the root certificate DER, hex.","type":"string"},"notAfter":{"format":"date-time","description":"The earliest expiry in the chain.","type":"string"},"createdAt":{"format":"date-time","type":"string"},"retiredAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"publishUntil":{"description":"A retired anchor stays published until the last credential issued under it expires.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"revokedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"revocationReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"certificates":{"description":"Base64 DER, lowest CA first, the root last.","type":"array","items":{"type":"string"}}}},"example":{"anchorId":"0b8f3c2e-5a1d-4c7e-9f2b-3e6d1a8c4b70","status":"ACTIVE","rootSubject":"CN=Example Members Club Root CA, O=Example Members Club, C=IE","rootSha256":"3c9f1e0b7a2d4c58e6f1a9b0d2c4e6f8a1b3c5d7e9f0a2b4c6d8e0f1a3b5c7d9","notAfter":"2031-11-19T00:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","retiredAt":null,"publishUntil":null,"revokedAt":null,"revocationReason":null,"certificates":["MIIB...","MIIB..."]}}}},"400":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/eaa/issuer/ca-anchors/{anchorId}/revoke":{"post":{"operationId":"revokeEaaIssuerCaAnchor","summary":"Revoke one of your CA anchors: nothing is signed or trusted under it again","tags":["Attestation issuance"],"description":"Idempotent and permanent. Relying parties reading your CA document see it as revoked at once.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["reason"],"properties":{"reason":{"minLength":1,"maxLength":500,"type":"string"}}},"example":{"reason":"Intermediate CA key compromised"}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"anchorId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["anchorId","status","rootSubject","rootSha256","notAfter","createdAt","retiredAt","publishUntil","revokedAt","revocationReason","certificates"],"properties":{"anchorId":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["ACTIVE"]},{"type":"string","enum":["RETIRED"]},{"type":"string","enum":["REVOKED"]}]},"rootSubject":{"type":"string"},"rootSha256":{"description":"SHA-256 of the root certificate DER, hex.","type":"string"},"notAfter":{"format":"date-time","description":"The earliest expiry in the chain.","type":"string"},"createdAt":{"format":"date-time","type":"string"},"retiredAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"publishUntil":{"description":"A retired anchor stays published until the last credential issued under it expires.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"revokedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"revocationReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"certificates":{"description":"Base64 DER, lowest CA first, the root last.","type":"array","items":{"type":"string"}}}},"example":{"anchorId":"0b8f3c2e-5a1d-4c7e-9f2b-3e6d1a8c4b70","status":"ACTIVE","rootSubject":"CN=Example Members Club Root CA, O=Example Members Club, C=IE","rootSha256":"3c9f1e0b7a2d4c58e6f1a9b0d2c4e6f8a1b3c5d7e9f0a2b4c6d8e0f1a3b5c7d9","notAfter":"2031-11-19T00:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","retiredAt":null,"publishUntil":null,"revokedAt":null,"revocationReason":null,"certificates":["MIIB...","MIIB..."]}}}},"400":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/eaa/issued-credentials/{id}/revoke":{"post":{"operationId":"revokeEaaIssuedCredential","summary":"Revoke an issued credential (permanent)","tags":["Attestation issuance"],"description":"Idempotent. The published status list reflects the change on its next refresh (at most its ttl).","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"id","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["issuedCredentialId","status","changed"],"properties":{"issuedCredentialId":{"type":"string"},"status":{"type":"string"},"changed":{"type":"boolean"}}},"example":{"issuedCredentialId":"9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b","status":"REVOKED","changed":true}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/eaa/issued-credentials/{id}/suspend":{"post":{"operationId":"suspendEaaIssuedCredential","summary":"Suspend an issued credential (non-qualified EAA in SD-JWT VC format with a suspension policy only)","tags":["Attestation issuance"],"description":"Idempotent. The published status list reflects the change on its next refresh (at most its ttl).","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"id","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["issuedCredentialId","status","changed"],"properties":{"issuedCredentialId":{"type":"string"},"status":{"type":"string"},"changed":{"type":"boolean"}}},"example":{"issuedCredentialId":"9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b","status":"REVOKED","changed":true}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/eaa/issued-credentials/{id}/reinstate":{"post":{"operationId":"reinstateEaaIssuedCredential","summary":"Lift a suspension","tags":["Attestation issuance"],"description":"Idempotent. The published status list reflects the change on its next refresh (at most its ttl).","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"id","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["issuedCredentialId","status","changed"],"properties":{"issuedCredentialId":{"type":"string"},"status":{"type":"string"},"changed":{"type":"boolean"}}},"example":{"issuedCredentialId":"9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b","status":"REVOKED","changed":true}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/issuers/{issuerProfileId}/ca":{"get":{"operationId":"getIssuerCa","summary":"An attestation provider's own CA chain, for relying parties that choose to trust it","tags":["Attestation issuance"],"description":"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":[{"schema":{"type":"string"},"in":"path","name":"issuerProfileId","required":true,"description":"The issuer profile id in the Credential Issuer Identifier."},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["issuerProfileId","credentialIssuer","displayName","mode","attestationLevel","anchors","revokedAnchors"],"properties":{"issuerProfileId":{"type":"string"},"credentialIssuer":{"type":"string"},"displayName":{"type":"string"},"mode":{"anyOf":[{"type":"string","enum":["test"]},{"type":"string","enum":["live"]}]},"attestationLevel":{"description":"Only non-qualified attestations are signed under these CAs.","type":"string","enum":["non-qualified"]},"anchors":{"type":"array","items":{"type":"object","required":["anchorId","status","rootSubject","rootSha256","notAfter","publishUntil","certificates","pem"],"properties":{"anchorId":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["ACTIVE"]},{"type":"string","enum":["RETIRED"]}]},"rootSubject":{"type":"string"},"rootSha256":{"type":"string"},"notAfter":{"format":"date-time","type":"string"},"publishUntil":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"certificates":{"description":"Base64 DER, lowest CA first, the root (the trust anchor) last.","type":"array","items":{"type":"string"}},"pem":{"description":"The same chain as PEM.","type":"string"}}}},"revokedAnchors":{"type":"array","items":{"type":"object","required":["anchorId","rootSha256","revokedAt"],"properties":{"anchorId":{"type":"string"},"rootSha256":{"type":"string"},"revokedAt":{"format":"date-time","type":"string"}}}}}},"example":{"issuerProfileId":"3f8b6c1e-2d4a-4b7e-9c1f-6a5d8e2b7c40","credentialIssuer":"https://compliance.nexiel.io/v1/credentials/issuers/3f8b6c1e-2d4a-4b7e-9c1f-6a5d8e2b7c40","displayName":"Example Members Club","mode":"live","attestationLevel":"non-qualified","anchors":[{"anchorId":"0b8f3c2e-5a1d-4c7e-9f2b-3e6d1a8c4b70","status":"ACTIVE","rootSubject":"CN=Example Members Club Root CA, O=Example Members Club, C=IE","rootSha256":"9f2c6d1e4b7a8c3f0e5d2a1b6c9f8e7d4a3b2c1d0e9f8a7b6c5d4e3f2a1b0c9d","notAfter":"2030-01-31T00:00:00.000Z","publishUntil":null,"certificates":["MIIB...","MIIB..."],"pem":"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----\n"}],"revokedAnchors":[]}}}},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/issue/issued-credentials":{"get":{"operationId":"listAcademicIssuedCredentials","summary":"Credentials your institution issued, with their revocation status","tags":["Batches"],"description":"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":[{"schema":{"minimum":1,"maximum":200,"default":20,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 20. Values up to 200 are accepted and return at most 100 items."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":64,"type":"string"},"in":"query","name":"offerId","required":false,"description":"Only credentials issued from this offer."},{"schema":{"maxLength":64,"type":"string"},"in":"query","name":"credentialTemplateId","required":false,"description":"Only credentials of this attestation type version."},{"schema":{"anyOf":[{"type":"string","enum":["VALID"]},{"type":"string","enum":["SUSPENDED"]},{"type":"string","enum":["REVOKED"]}]},"in":"query","name":"status","required":false},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","credentialTemplateId","configurationKey","offerId","format","status","validFrom","validUntil","createdAt","revocable","suspendable"],"properties":{"id":{"type":"string"},"credentialTemplateId":{"type":"string"},"configurationKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"offerId":{"description":"The offer the credential was issued from.","anyOf":[{"type":"string"},{"type":"null"}]},"format":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["VALID"]},{"type":"string","enum":["SUSPENDED"]},{"type":"string","enum":["REVOKED"]}]},"validFrom":{"type":"string"},"validUntil":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"revocable":{"type":"boolean"},"suspendable":{"type":"boolean"}},"example":{"id":"9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b","credentialTemplateId":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","offerId":"2b7f0c9e-4d1a-4e8b-9a6c-3f5e1d7b2c80","format":"dc+sd-jwt","status":"VALID","validFrom":"2026-11-19T10:00:00.000Z","validUntil":"2027-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","revocable":true,"suspendable":true}}},"issuedCredentials":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `issuedCredentials` will be removed in a future API version.","type":"array","items":{"type":"object","required":["id","credentialTemplateId","configurationKey","offerId","format","status","validFrom","validUntil","createdAt","revocable","suspendable"],"properties":{"id":{"type":"string"},"credentialTemplateId":{"type":"string"},"configurationKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"offerId":{"description":"The offer the credential was issued from.","anyOf":[{"type":"string"},{"type":"null"}]},"format":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["VALID"]},{"type":"string","enum":["SUSPENDED"]},{"type":"string","enum":["REVOKED"]}]},"validFrom":{"type":"string"},"validUntil":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"revocable":{"type":"boolean"},"suspendable":{"type":"boolean"}},"example":{"id":"9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b","credentialTemplateId":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","offerId":"2b7f0c9e-4d1a-4e8b-9a6c-3f5e1d7b2c80","format":"dc+sd-jwt","status":"VALID","validFrom":"2026-11-19T10:00:00.000Z","validUntil":"2027-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","revocable":true,"suspendable":true}}}}}]},"example":{"data":[{"id":"9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b","credentialTemplateId":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","offerId":"2b7f0c9e-4d1a-4e8b-9a6c-3f5e1d7b2c80","format":"dc+sd-jwt","status":"VALID","validFrom":"2026-11-19T10:00:00.000Z","validUntil":"2027-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","revocable":true,"suspendable":true}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","issuedCredentials":[{"id":"9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b","credentialTemplateId":"6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","configurationKey":"membership","offerId":"2b7f0c9e-4d1a-4e8b-9a6c-3f5e1d7b2c80","format":"dc+sd-jwt","status":"VALID","validFrom":"2026-11-19T10:00:00.000Z","validUntil":"2027-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","revocable":true,"suspendable":true}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/issue/issued-credentials/{id}/revoke":{"post":{"operationId":"revokeAcademicIssuedCredential","summary":"Revoke a credential your institution issued (permanent, idempotent)","tags":["Batches"],"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"id","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["issuedCredentialId","status","changed"],"properties":{"issuedCredentialId":{"type":"string"},"status":{"type":"string"},"changed":{"type":"boolean"}}},"example":{"issuedCredentialId":"9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b","status":"REVOKED","changed":true}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"A product-level refusal: policy (403), missing production configuration (409), an unreachable revocation service (503) or unknown resource (404).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/sandbox/wallet-provider/wallet-attestations":{"post":{"operationId":"createSandboxWalletAttestation","summary":"Sandbox only: a Wallet Instance Attestation from the TEST wallet provider","tags":["Sandbox"],"description":"Signed under the Wallet Provider TEST CA, which only sandbox issuers trust. Valid for one hour.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["walletInstanceJwk","clientId"],"properties":{"walletInstanceJwk":{"type":"object","additionalProperties":{}},"clientId":{"minLength":1,"maxLength":512,"type":"string"}}}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["walletAttestation"],"properties":{"walletAttestation":{"type":"string"}}},"example":{"walletAttestation":"walletAttestation"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/credentials/sandbox/wallet-provider/key-attestations":{"post":{"operationId":"createSandboxKeyAttestation","summary":"Sandbox only: a Key Attestation from the TEST wallet provider","tags":["Sandbox"],"description":"Attests the given public keys at iso_18045_high unless other levels are requested (useful to test level mismatches).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["attestedKeys"],"properties":{"attestedKeys":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","additionalProperties":{}}},"nonce":{"maxLength":256,"type":"string"},"keyStorage":{"type":"array","items":{"type":"string"}},"userAuthentication":{"type":"array","items":{"type":"string"}}}}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["keyAttestation"],"properties":{"keyAttestation":{"type":"string"}}},"example":{"keyAttestation":"keyAttestation"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/credentials/sandbox/trust-anchors":{"get":{"operationId":"getSandboxTrustAnchors","summary":"Sandbox only: the TEST CA roots behind sandbox credentials and sandbox wallet attestations","tags":["Sandbox"],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["issuerTestCaCertificate","walletProviderTestCaCertificate","notice"],"properties":{"issuerTestCaCertificate":{"description":"Base64 DER of the issuer TEST CA root: trust it to verify sandbox credentials.","type":"string"},"walletProviderTestCaCertificate":{"type":"string"},"notice":{"type":"string"}}},"example":{"issuerTestCaCertificate":"issuerTestCaCertificate","walletProviderTestCaCertificate":"walletProviderTestCaCertificate","notice":"notice"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/credentials/sandbox/authorize":{"get":{"operationId":"getSandboxConsentPage","summary":"Sandbox only: the consent page standing in for an issuer sign-in (HTML)","tags":["Sandbox"],"parameters":[{"schema":{"type":"string"},"in":"query","name":"nexiel_issuance_request","required":true},{"schema":{"type":"string"},"in":"query","name":"issuer","required":false},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"string"},"example":"string"}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"submitSandboxConsent","summary":"Sandbox only: approve or deny from the consent page; redirects back into the authorization flow","tags":["Sandbox"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["nexiel_issuance_request","decision"],"properties":{"nexiel_issuance_request":{"type":"string"},"decision":{"anyOf":[{"type":"string","enum":["approve"]},{"type":"string","enum":["deny"]}]}}}}}},"responses":{"303":{"description":"Default Response"},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/credentials/sandbox/demo-offer":{"post":{"operationId":"createSandboxDemoOffer","summary":"Sandbox only: a fresh HAIP credential offer from a sandbox issuer","tags":["Sandbox"],"description":"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.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","properties":{"kind":{"description":"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).","anyOf":[{"type":"string","enum":["academic"]},{"type":"string","enum":["membership"]},{"type":"string","enum":["pid"]},{"type":"string","enum":["age"]},{"type":"string","enum":["mdl"]}]},"format":{"anyOf":[{"type":"string","enum":["dc+sd-jwt"]},{"type":"string","enum":["mso_mdoc"]}]},"grantType":{"anyOf":[{"type":"string","enum":["pre-authorized_code"]},{"type":"string","enum":["authorization_code"]}]},"txCode":{"type":"boolean"},"persona":{"description":"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).","anyOf":[{"type":"string","enum":["adult"]},{"type":"string","enum":["minor"]},{"type":"string","enum":["sanctioned"]},{"type":"string","enum":["pep"]},{"type":"string","enum":["possible_match"]}]}}}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["offerId","credentialIssuer","credentialOffer","credentialOfferUri","walletInvocationUri","txCode","expiresAt","issuerLegalName","display"],"properties":{"offerId":{"type":"string"},"credentialIssuer":{"type":"string"},"credentialOffer":{"description":"OpenID4VCI 1.0 §4.1.1 Credential Offer.","type":"object","required":["credential_issuer","credential_configuration_ids","grants"],"properties":{"credential_issuer":{"type":"string"},"credential_configuration_ids":{"type":"array","items":{"type":"string"}},"grants":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{}}}}},"credentialOfferUri":{"description":"https URL returning the offer (by reference). Render it as a QR code or link.","type":"string"},"walletInvocationUri":{"description":"openid-credential-offer:// link carrying credential_offer_uri.","type":"string"},"txCode":{"description":"Deliver this to the holder over a separate channel. Returned only once.","anyOf":[{"type":"string"},{"type":"null"}]},"expiresAt":{"type":"string"},"issuerLegalName":{"type":"string"},"display":{"anyOf":[{"type":"object","additionalProperties":{}},{"type":"null"}]}}},"example":{"offerId":"d7cb8f32-24d1-44a8-af7a-ebabe579d5f1","credentialIssuer":"credentialIssuer","credentialOffer":{"credential_issuer":"credential_issuer","credential_configuration_ids":["credential_configuration_id"],"grants":{}},"credentialOfferUri":"https://example.com/credentialofferuri","walletInvocationUri":"https://example.com/walletinvocationuri","txCode":"txCode","expiresAt":"2026-11-19T10:00:00.000Z","issuerLegalName":"issuerLegalName","display":{}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/credentials/sandbox/test-credentials":{"post":{"operationId":"createSandboxTestCredential","summary":"Sandbox only: a test credential from the sandbox PID provider, in a chosen condition","tags":["Sandbox"],"description":"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.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["kind","holderPublicKeyJwk"],"properties":{"kind":{"description":"pid (the EU PID), age (the EU age verification attestation, mdoc) or mdl (an ISO/IEC 18013-5 mobile driving licence, mdoc).","anyOf":[{"type":"string","enum":["pid"]},{"type":"string","enum":["age"]},{"type":"string","enum":["mdl"]}]},"format":{"anyOf":[{"type":"string","enum":["dc+sd-jwt"]},{"type":"string","enum":["mso_mdoc"]}]},"persona":{"description":"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).","anyOf":[{"type":"string","enum":["adult"]},{"type":"string","enum":["minor"]},{"type":"string","enum":["sanctioned"]},{"type":"string","enum":["pep"]},{"type":"string","enum":["possible_match"]}]},"condition":{"description":"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).","anyOf":[{"type":"string","enum":["valid"]},{"type":"string","enum":["revoked"]},{"type":"string","enum":["expired"]},{"type":"string","enum":["untrusted_issuer"]}]},"holderPublicKeyJwk":{"description":"The wallet's P-256 public key the credential is bound to (cnf / DeviceKey). Never a private key.","type":"object","required":["kty","crv","x","y"],"properties":{"kty":{"type":"string","enum":["EC"]},"crv":{"type":"string","enum":["P-256"]},"x":{"minLength":1,"maxLength":64,"type":"string"},"y":{"minLength":1,"maxLength":64,"type":"string"}}}}}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["credential","format","docType","vct","issuerLegalName","validUntil","condition"],"properties":{"credential":{"description":"The issued credential: a compact SD-JWT VC with every disclosure, or a base64url mdoc IssuerSigned.","type":"string"},"format":{"anyOf":[{"type":"string","enum":["dc+sd-jwt"]},{"type":"string","enum":["mso_mdoc"]}]},"docType":{"anyOf":[{"type":"string"},{"type":"null"}]},"vct":{"anyOf":[{"type":"string"},{"type":"null"}]},"issuerLegalName":{"type":"string"},"validUntil":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"condition":{"type":"string"}}},"example":{"credential":"credential","format":"dc+sd-jwt","docType":"docType","vct":"vct","issuerLegalName":"issuerLegalName","validUntil":"2026-11-19T10:00:00.000Z","condition":"condition"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/credentials/issue/templates":{"post":{"operationId":"proposeTemplate","summary":"Propose a new credential-template draft for the caller's institution","tags":["Templates"],"description":"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.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["academicIssuerId","credentialType","claimsSchema","sdJwtDisclosureFrame"],"properties":{"academicIssuerId":{"format":"uuid","type":"string"},"credentialType":{"anyOf":[{"type":"string","enum":["ENROLMENT"]},{"type":"string","enum":["MODULE_COMPLETION"]},{"type":"string","enum":["DEGREE_AWARD"]}]},"claimsSchema":{"description":"A JSON Schema describing this credential's claims."},"sdJwtDisclosureFrame":{"description":"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)."}}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","kind","academicIssuerId","clientId","configurationKey","credentialType","vct","version","claimsSchema","sdJwtDisclosureFrame","status","reviewedBy","reviewedAt","reviewNotes","createdAt","updatedAt"],"properties":{"id":{"type":"string"},"kind":{"description":"ACADEMIC: an institution credential type. TENANT_EAA: an organization attestation type (reviewed through the same queue).","anyOf":[{"type":"string","enum":["ACADEMIC"]},{"type":"string","enum":["TENANT_EAA"]}]},"academicIssuerId":{"anyOf":[{"type":"string"},{"type":"null"}]},"clientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"configurationKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"credentialType":{"anyOf":[{"anyOf":[{"type":"string","enum":["ENROLMENT"]},{"type":"string","enum":["MODULE_COMPLETION"]},{"type":"string","enum":["DEGREE_AWARD"]}]},{"type":"null"}]},"vct":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"type":"integer"},"claimsSchema":{},"sdJwtDisclosureFrame":{},"status":{"anyOf":[{"type":"string","enum":["DRAFT"]},{"type":"string","enum":["PENDING_REVIEW"]},{"type":"string","enum":["APPROVED"]},{"type":"string","enum":["REJECTED"]},{"type":"string","enum":["RETIRED"]}]},"reviewedBy":{"description":"`nexiel-compliance` once the Nexiel compliance team has reviewed this template, or `null` before review.","anyOf":[{"type":"string","enum":["nexiel-compliance"]},{"type":"null"}]},"reviewedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewNotes":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}}},"example":{"id":"5a0e7c3d-9b2f-4d61-8c4e-2f7a1b9d6e30","kind":"ACADEMIC","academicIssuerId":"1f4b8e2a-7c3d-4a9e-b6f0-8d2c5e1a7b94","clientId":null,"configurationKey":null,"credentialType":"DEGREE_AWARD","vct":"urn:nexiel:credential:degree-award:v1","version":1,"claimsSchema":{"type":"object","required":["degreeTitle","awardDate"],"properties":{"degreeTitle":{"type":"string"},"awardDate":{"type":"string","format":"date"}}},"sdJwtDisclosureFrame":{"_sd":["degreeTitle","awardDate"]},"status":"APPROVED","reviewedBy":"nexiel-compliance","reviewedAt":"2026-11-18T15:30:00.000Z","reviewNotes":null,"createdAt":"2026-11-17T09:12:00.000Z","updatedAt":"2026-11-18T15:30:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}},"get":{"operationId":"listTemplates","summary":"List credential templates, optionally filtered by academicIssuerId/status","tags":["Templates"],"description":"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":[{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"format":"uuid","type":"string"},"in":"query","name":"academicIssuerId","required":false},{"schema":{"anyOf":[{"type":"string","enum":["DRAFT"]},{"type":"string","enum":["PENDING_REVIEW"]},{"type":"string","enum":["APPROVED"]},{"type":"string","enum":["REJECTED"]},{"type":"string","enum":["RETIRED"]}]},"in":"query","name":"status","required":false},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","kind","academicIssuerId","clientId","configurationKey","credentialType","vct","version","claimsSchema","sdJwtDisclosureFrame","status","reviewedBy","reviewedAt","reviewNotes","createdAt","updatedAt"],"properties":{"id":{"type":"string"},"kind":{"description":"ACADEMIC: an institution credential type. TENANT_EAA: an organization attestation type (reviewed through the same queue).","anyOf":[{"type":"string","enum":["ACADEMIC"]},{"type":"string","enum":["TENANT_EAA"]}]},"academicIssuerId":{"anyOf":[{"type":"string"},{"type":"null"}]},"clientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"configurationKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"credentialType":{"anyOf":[{"anyOf":[{"type":"string","enum":["ENROLMENT"]},{"type":"string","enum":["MODULE_COMPLETION"]},{"type":"string","enum":["DEGREE_AWARD"]}]},{"type":"null"}]},"vct":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"type":"integer"},"claimsSchema":{},"sdJwtDisclosureFrame":{},"status":{"anyOf":[{"type":"string","enum":["DRAFT"]},{"type":"string","enum":["PENDING_REVIEW"]},{"type":"string","enum":["APPROVED"]},{"type":"string","enum":["REJECTED"]},{"type":"string","enum":["RETIRED"]}]},"reviewedBy":{"description":"`nexiel-compliance` once the Nexiel compliance team has reviewed this template, or `null` before review.","anyOf":[{"type":"string","enum":["nexiel-compliance"]},{"type":"null"}]},"reviewedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewNotes":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"example":{"id":"5a0e7c3d-9b2f-4d61-8c4e-2f7a1b9d6e30","kind":"ACADEMIC","academicIssuerId":"1f4b8e2a-7c3d-4a9e-b6f0-8d2c5e1a7b94","clientId":null,"configurationKey":null,"credentialType":"DEGREE_AWARD","vct":"urn:nexiel:credential:degree-award:v1","version":1,"claimsSchema":{"type":"object","required":["degreeTitle","awardDate"],"properties":{"degreeTitle":{"type":"string"},"awardDate":{"type":"string","format":"date"}}},"sdJwtDisclosureFrame":{"_sd":["degreeTitle","awardDate"]},"status":"APPROVED","reviewedBy":"nexiel-compliance","reviewedAt":"2026-11-18T15:30:00.000Z","reviewNotes":null,"createdAt":"2026-11-17T09:12:00.000Z","updatedAt":"2026-11-18T15:30:00.000Z"}}},"templates":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `templates` will be removed in a future API version.","type":"array","items":{"type":"object","required":["id","kind","academicIssuerId","clientId","configurationKey","credentialType","vct","version","claimsSchema","sdJwtDisclosureFrame","status","reviewedBy","reviewedAt","reviewNotes","createdAt","updatedAt"],"properties":{"id":{"type":"string"},"kind":{"description":"ACADEMIC: an institution credential type. TENANT_EAA: an organization attestation type (reviewed through the same queue).","anyOf":[{"type":"string","enum":["ACADEMIC"]},{"type":"string","enum":["TENANT_EAA"]}]},"academicIssuerId":{"anyOf":[{"type":"string"},{"type":"null"}]},"clientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"configurationKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"credentialType":{"anyOf":[{"anyOf":[{"type":"string","enum":["ENROLMENT"]},{"type":"string","enum":["MODULE_COMPLETION"]},{"type":"string","enum":["DEGREE_AWARD"]}]},{"type":"null"}]},"vct":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"type":"integer"},"claimsSchema":{},"sdJwtDisclosureFrame":{},"status":{"anyOf":[{"type":"string","enum":["DRAFT"]},{"type":"string","enum":["PENDING_REVIEW"]},{"type":"string","enum":["APPROVED"]},{"type":"string","enum":["REJECTED"]},{"type":"string","enum":["RETIRED"]}]},"reviewedBy":{"description":"`nexiel-compliance` once the Nexiel compliance team has reviewed this template, or `null` before review.","anyOf":[{"type":"string","enum":["nexiel-compliance"]},{"type":"null"}]},"reviewedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewNotes":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"example":{"id":"5a0e7c3d-9b2f-4d61-8c4e-2f7a1b9d6e30","kind":"ACADEMIC","academicIssuerId":"1f4b8e2a-7c3d-4a9e-b6f0-8d2c5e1a7b94","clientId":null,"configurationKey":null,"credentialType":"DEGREE_AWARD","vct":"urn:nexiel:credential:degree-award:v1","version":1,"claimsSchema":{"type":"object","required":["degreeTitle","awardDate"],"properties":{"degreeTitle":{"type":"string"},"awardDate":{"type":"string","format":"date"}}},"sdJwtDisclosureFrame":{"_sd":["degreeTitle","awardDate"]},"status":"APPROVED","reviewedBy":"nexiel-compliance","reviewedAt":"2026-11-18T15:30:00.000Z","reviewNotes":null,"createdAt":"2026-11-17T09:12:00.000Z","updatedAt":"2026-11-18T15:30:00.000Z"}}}}}]},"example":{"data":[{"id":"5a0e7c3d-9b2f-4d61-8c4e-2f7a1b9d6e30","kind":"ACADEMIC","academicIssuerId":"1f4b8e2a-7c3d-4a9e-b6f0-8d2c5e1a7b94","clientId":null,"configurationKey":null,"credentialType":"DEGREE_AWARD","vct":"urn:nexiel:credential:degree-award:v1","version":1,"claimsSchema":{"type":"object","required":["degreeTitle","awardDate"],"properties":{"degreeTitle":{"type":"string"},"awardDate":{"type":"string","format":"date"}}},"sdJwtDisclosureFrame":{"_sd":["degreeTitle","awardDate"]},"status":"APPROVED","reviewedBy":"nexiel-compliance","reviewedAt":"2026-11-18T15:30:00.000Z","reviewNotes":null,"createdAt":"2026-11-17T09:12:00.000Z","updatedAt":"2026-11-18T15:30:00.000Z"}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","templates":[{"id":"5a0e7c3d-9b2f-4d61-8c4e-2f7a1b9d6e30","kind":"ACADEMIC","academicIssuerId":"1f4b8e2a-7c3d-4a9e-b6f0-8d2c5e1a7b94","clientId":null,"configurationKey":null,"credentialType":"DEGREE_AWARD","vct":"urn:nexiel:credential:degree-award:v1","version":1,"claimsSchema":{"type":"object","required":["degreeTitle","awardDate"],"properties":{"degreeTitle":{"type":"string"},"awardDate":{"type":"string","format":"date"}}},"sdJwtDisclosureFrame":{"_sd":["degreeTitle","awardDate"]},"status":"APPROVED","reviewedBy":"nexiel-compliance","reviewedAt":"2026-11-18T15:30:00.000Z","reviewNotes":null,"createdAt":"2026-11-17T09:12:00.000Z","updatedAt":"2026-11-18T15:30:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/issue/templates/{id}/submit":{"post":{"operationId":"submitTemplateForReview","summary":"Submits a DRAFT template for Nexiel staff review (DRAFT -> PENDING_REVIEW)","tags":["Templates"],"description":"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":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"id","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","kind","academicIssuerId","clientId","configurationKey","credentialType","vct","version","claimsSchema","sdJwtDisclosureFrame","status","reviewedBy","reviewedAt","reviewNotes","createdAt","updatedAt"],"properties":{"id":{"type":"string"},"kind":{"description":"ACADEMIC: an institution credential type. TENANT_EAA: an organization attestation type (reviewed through the same queue).","anyOf":[{"type":"string","enum":["ACADEMIC"]},{"type":"string","enum":["TENANT_EAA"]}]},"academicIssuerId":{"anyOf":[{"type":"string"},{"type":"null"}]},"clientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"configurationKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"credentialType":{"anyOf":[{"anyOf":[{"type":"string","enum":["ENROLMENT"]},{"type":"string","enum":["MODULE_COMPLETION"]},{"type":"string","enum":["DEGREE_AWARD"]}]},{"type":"null"}]},"vct":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"type":"integer"},"claimsSchema":{},"sdJwtDisclosureFrame":{},"status":{"anyOf":[{"type":"string","enum":["DRAFT"]},{"type":"string","enum":["PENDING_REVIEW"]},{"type":"string","enum":["APPROVED"]},{"type":"string","enum":["REJECTED"]},{"type":"string","enum":["RETIRED"]}]},"reviewedBy":{"description":"`nexiel-compliance` once the Nexiel compliance team has reviewed this template, or `null` before review.","anyOf":[{"type":"string","enum":["nexiel-compliance"]},{"type":"null"}]},"reviewedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewNotes":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}}},"example":{"id":"5a0e7c3d-9b2f-4d61-8c4e-2f7a1b9d6e30","kind":"ACADEMIC","academicIssuerId":"1f4b8e2a-7c3d-4a9e-b6f0-8d2c5e1a7b94","clientId":null,"configurationKey":null,"credentialType":"DEGREE_AWARD","vct":"urn:nexiel:credential:degree-award:v1","version":1,"claimsSchema":{"type":"object","required":["degreeTitle","awardDate"],"properties":{"degreeTitle":{"type":"string"},"awardDate":{"type":"string","format":"date"}}},"sdJwtDisclosureFrame":{"_sd":["degreeTitle","awardDate"]},"status":"APPROVED","reviewedBy":"nexiel-compliance","reviewedAt":"2026-11-18T15:30:00.000Z","reviewNotes":null,"createdAt":"2026-11-17T09:12:00.000Z","updatedAt":"2026-11-18T15:30:00.000Z"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/webhook-event-types":{"get":{"operationId":"listWebhookEventTypes","summary":"List the webhook event types","tags":["Webhooks"],"description":"The catalogue of event types you can subscribe an endpoint to.","security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["eventTypes"],"properties":{"eventTypes":{"type":"array","items":{"type":"object","required":["type","product","description"],"properties":{"type":{"type":"string"},"product":{"anyOf":[{"type":"string","enum":["screen"]},{"type":"string","enum":["verify"]},{"type":"string","enum":["credentials"]},{"type":"string","enum":["platform"]}]},"description":{"type":"string"}}}}}},"example":{"eventTypes":[{"type":"type","product":"screen","description":"description"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/credentials/webhook-endpoints":{"get":{"operationId":"listWebhookEndpoints","summary":"List webhook endpoints","tags":["Webhooks"],"description":"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":[{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","url","description","eventTypes","environment","active","createdAt","updatedAt","secretRotatedAt","previousSecretExpiresAt"],"properties":{"id":{"format":"uuid","type":"string"},"url":{"description":"The https URL events are posted to.","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventTypes":{"description":"The subscribed event types. An empty list means every event type.","type":"array","items":{"type":"string"}},"environment":{"description":"`production` endpoints receive live events and need an approved KYB verification. `sandbox` endpoints receive only events produced in sandbox mode.","anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"active":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"secretRotatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"previousSecretExpiresAt":{"description":"While a rotation overlap is open, when the previous secret stops signing deliveries.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}},"endpoints":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `endpoints` will be removed in a future API version.","type":"array","items":{"type":"object","required":["id","url","description","eventTypes","environment","active","createdAt","updatedAt","secretRotatedAt","previousSecretExpiresAt"],"properties":{"id":{"format":"uuid","type":"string"},"url":{"description":"The https URL events are posted to.","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventTypes":{"description":"The subscribed event types. An empty list means every event type.","type":"array","items":{"type":"string"}},"environment":{"description":"`production` endpoints receive live events and need an approved KYB verification. `sandbox` endpoints receive only events produced in sandbox mode.","anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"active":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"secretRotatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"previousSecretExpiresAt":{"description":"While a rotation overlap is open, when the previous secret stops signing deliveries.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}}}}]},"example":{"data":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","url":"https://example.com/url","description":"description","eventTypes":["eventType"],"environment":"sandbox","active":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","secretRotatedAt":"2026-11-19T10:00:00.000Z","previousSecretExpiresAt":"2026-11-19T10:00:00.000Z"}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","endpoints":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","url":"https://example.com/url","description":"description","eventTypes":["eventType"],"environment":"sandbox","active":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","secretRotatedAt":"2026-11-19T10:00:00.000Z","previousSecretExpiresAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createWebhookEndpoint","summary":"Create a webhook endpoint","tags":["Webhooks"],"description":"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).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["url"],"properties":{"url":{"maxLength":2048,"description":"Must be a public https URL.","type":"string"},"description":{"maxLength":200,"type":"string"},"eventTypes":{"description":"Event types from the catalogue; omit or leave empty for all.","type":"array","items":{"type":"string"}},"environment":{"description":"`production` endpoints receive live events and need an approved KYB verification. `sandbox` endpoints receive only events produced in sandbox mode.","anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]}}}}}},"security":[{"keycloakBearer":[]}],"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["endpoint","secret"],"properties":{"endpoint":{"type":"object","required":["id","url","description","eventTypes","environment","active","createdAt","updatedAt","secretRotatedAt","previousSecretExpiresAt"],"properties":{"id":{"format":"uuid","type":"string"},"url":{"description":"The https URL events are posted to.","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventTypes":{"description":"The subscribed event types. An empty list means every event type.","type":"array","items":{"type":"string"}},"environment":{"description":"`production` endpoints receive live events and need an approved KYB verification. `sandbox` endpoints receive only events produced in sandbox mode.","anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"active":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"secretRotatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"previousSecretExpiresAt":{"description":"While a rotation overlap is open, when the previous secret stops signing deliveries.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"secret":{"description":"The signing secret. Null when the response is an idempotent replay: the secret is never stored with the replay, reveal it with the reveal route.","anyOf":[{"type":"string"},{"type":"null"}]}}},"example":{"endpoint":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","url":"https://example.com/url","description":"description","eventTypes":["eventType"],"environment":"sandbox","active":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","secretRotatedAt":"2026-11-19T10:00:00.000Z","previousSecretExpiresAt":"2026-11-19T10:00:00.000Z"},"secret":"secret"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}]}},"/v1/credentials/webhook-endpoints/{endpointId}":{"get":{"operationId":"getWebhookEndpoint","summary":"Get a webhook endpoint","tags":["Webhooks"],"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"endpointId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","url","description","eventTypes","environment","active","createdAt","updatedAt","secretRotatedAt","previousSecretExpiresAt"],"properties":{"id":{"format":"uuid","type":"string"},"url":{"description":"The https URL events are posted to.","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventTypes":{"description":"The subscribed event types. An empty list means every event type.","type":"array","items":{"type":"string"}},"environment":{"description":"`production` endpoints receive live events and need an approved KYB verification. `sandbox` endpoints receive only events produced in sandbox mode.","anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"active":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"secretRotatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"previousSecretExpiresAt":{"description":"While a rotation overlap is open, when the previous secret stops signing deliveries.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","url":"https://example.com/url","description":"description","eventTypes":["eventType"],"environment":"sandbox","active":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","secretRotatedAt":"2026-11-19T10:00:00.000Z","previousSecretExpiresAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"updateWebhookEndpoint","summary":"Update a webhook endpoint","tags":["Webhooks"],"description":"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.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","properties":{"url":{"maxLength":2048,"type":"string"},"description":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}]},"eventTypes":{"type":"array","items":{"type":"string"}},"active":{"type":"boolean"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"endpointId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","url","description","eventTypes","environment","active","createdAt","updatedAt","secretRotatedAt","previousSecretExpiresAt"],"properties":{"id":{"format":"uuid","type":"string"},"url":{"description":"The https URL events are posted to.","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventTypes":{"description":"The subscribed event types. An empty list means every event type.","type":"array","items":{"type":"string"}},"environment":{"description":"`production` endpoints receive live events and need an approved KYB verification. `sandbox` endpoints receive only events produced in sandbox mode.","anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"active":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"secretRotatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"previousSecretExpiresAt":{"description":"While a rotation overlap is open, when the previous secret stops signing deliveries.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","url":"https://example.com/url","description":"description","eventTypes":["eventType"],"environment":"sandbox","active":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","secretRotatedAt":"2026-11-19T10:00:00.000Z","previousSecretExpiresAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deleteWebhookEndpoint","summary":"Delete a webhook endpoint","tags":["Webhooks"],"description":"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":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"endpointId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"204":{"description":"Deleted."},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/webhook-endpoints/{endpointId}/secret/reveal":{"post":{"operationId":"revealWebhookEndpointSecret","summary":"Reveal the signing secret","tags":["Webhooks"],"description":"Returns the current signing secret (and the previous one while a rotation overlap is open). Every reveal is audited.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"endpointId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["secret","previousSecret","previousSecretExpiresAt"],"properties":{"secret":{"type":"string"},"previousSecret":{"anyOf":[{"type":"string"},{"type":"null"}]},"previousSecretExpiresAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"secret":"secret","previousSecret":"previousSecret","previousSecretExpiresAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/webhook-endpoints/{endpointId}/secret/rotate":{"post":{"operationId":"rotateWebhookEndpointSecret","summary":"Rotate the signing secret","tags":["Webhooks"],"description":"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).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","properties":{"overlapSeconds":{"minimum":0,"maximum":604800,"description":"How long the previous secret keeps signing alongside the new one. Default 86400 (24 hours); 0 ends it immediately.","type":"integer"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"endpointId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["secret","previousSecretExpiresAt"],"properties":{"secret":{"description":"Null on an idempotent replay; reveal it with the reveal route.","anyOf":[{"type":"string"},{"type":"null"}]},"previousSecretExpiresAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"secret":"secret","previousSecretExpiresAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/webhook-endpoints/{endpointId}/test":{"post":{"operationId":"sendWebhookTestEvent","summary":"Send a test event","tags":["Webhooks"],"description":"Sends a signed `webhook.test` event to the endpoint at once, with one attempt, and returns what your receiver answered.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"endpointId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["eventId","deliveryId","outcome","responseStatus","error"],"properties":{"eventId":{"format":"uuid","type":"string"},"deliveryId":{"format":"uuid","type":"string"},"outcome":{"anyOf":[{"type":"string","enum":["delivered"]},{"type":"string","enum":["retrying"]},{"type":"string","enum":["exhausted"]}]},"responseStatus":{"anyOf":[{"type":"integer"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"example":{"eventId":"e21a1d38-2134-483c-a8c8-0e7149217645","deliveryId":"635eb6aa-a9fd-4ada-a86e-fcd7ab144c19","outcome":"delivered","responseStatus":1,"error":"error"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/webhook-endpoints/{endpointId}/deliveries":{"get":{"operationId":"listWebhookDeliveries","summary":"List recent deliveries","tags":["Webhooks"],"description":"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":[{"schema":{"minimum":1,"maximum":100,"default":20,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 20."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"endpointId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","eventId","eventType","status","attemptCount","maxAttempts","lastResponseStatus","lastError","lastAttemptAt","nextAttemptAt","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"eventId":{"format":"uuid","type":"string"},"eventType":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["PENDING"]},{"type":"string","enum":["FAILED"]},{"type":"string","enum":["DELIVERED"]},{"type":"string","enum":["EXHAUSTED"]}]},"attemptCount":{"type":"integer"},"maxAttempts":{"type":"integer"},"lastResponseStatus":{"anyOf":[{"type":"integer"},{"type":"null"}]},"lastError":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastAttemptAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"nextAttemptAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}}},"deliveries":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `deliveries` will be removed in a future API version.","type":"array","items":{"type":"object","required":["id","eventId","eventType","status","attemptCount","maxAttempts","lastResponseStatus","lastError","lastAttemptAt","nextAttemptAt","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"eventId":{"format":"uuid","type":"string"},"eventType":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["PENDING"]},{"type":"string","enum":["FAILED"]},{"type":"string","enum":["DELIVERED"]},{"type":"string","enum":["EXHAUSTED"]}]},"attemptCount":{"type":"integer"},"maxAttempts":{"type":"integer"},"lastResponseStatus":{"anyOf":[{"type":"integer"},{"type":"null"}]},"lastError":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastAttemptAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"nextAttemptAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}}}}}]},"example":{"data":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","eventId":"e21a1d38-2134-483c-a8c8-0e7149217645","eventType":"eventType","status":"PENDING","attemptCount":1,"maxAttempts":1,"lastResponseStatus":1,"lastError":"lastError","lastAttemptAt":"2026-11-19T10:00:00.000Z","nextAttemptAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","deliveries":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","eventId":"e21a1d38-2134-483c-a8c8-0e7149217645","eventType":"eventType","status":"PENDING","attemptCount":1,"maxAttempts":1,"lastResponseStatus":1,"lastError":"lastError","lastAttemptAt":"2026-11-19T10:00:00.000Z","nextAttemptAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/events":{"get":{"operationId":"listEvents","summary":"List events","tags":["Webhooks"],"description":"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":[{"schema":{"minimum":1,"maximum":100,"default":20,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 20."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":2000,"type":"string"},"example":"verify.session.completed,verify.session.failed","in":"query","name":"type","required":false,"description":"Only events of these types: comma-separated event types, or families such as `verify.session.*`."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"$ref":"#/components/schemas/WebhookEvent"}}}}]},"example":{"data":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","type":"verify.session.completed","apiVersion":"2026-11-19","livemode":false,"createdAt":"2026-11-19T10:00:00.000Z","data":{}}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/events/{eventId}":{"get":{"operationId":"getEvent","summary":"Retrieve an event","tags":["Webhooks"],"description":"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":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"eventId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"A platform event: the body of a webhook delivery, and an item of the Events API.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","type":"verify.session.completed","apiVersion":"2026-11-19","livemode":false,"createdAt":"2026-11-19T10:00:00.000Z","data":{}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/webhook-deliveries/{deliveryId}/redeliver":{"post":{"operationId":"redeliverWebhookDelivery","summary":"Redeliver a webhook","tags":["Webhooks"],"description":"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":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"deliveryId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"202":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["deliveryId","queued"],"properties":{"deliveryId":{"format":"uuid","type":"string"},"queued":{"type":"boolean"}}},"example":{"deliveryId":"635eb6aa-a9fd-4ada-a86e-fcd7ab144c19","queued":false}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/issue/batches":{"post":{"operationId":"submitCredentialBatch","summary":"Submit a new credential issuance batch (CSV or JSON rows) for maker-checker review","tags":["Batches"],"description":"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.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["academicIssuerId","credentialTemplateId","preparedBySignatoryId","submissionMethod"],"properties":{"academicIssuerId":{"format":"uuid","type":"string"},"credentialTemplateId":{"format":"uuid","type":"string"},"preparedBySignatoryId":{"format":"uuid","type":"string"},"submissionMethod":{"anyOf":[{"type":"string","enum":["CSV_UPLOAD"]},{"type":"string","enum":["API"]}]},"csvContent":{"description":"Required (and only meaningful) when submissionMethod is \"CSV_UPLOAD\".","type":"string"},"rows":{"description":"Required (and only meaningful) when submissionMethod is \"API\".","type":"array","items":{"additionalProperties":false,"type":"object","required":["studentFullName","studentEmail","claimValues"],"properties":{"studentFullName":{"minLength":1,"type":"string"},"studentEmail":{"minLength":1,"type":"string"},"studentDob":{"type":"string"},"institutionStudentId":{"type":"string"},"claimValues":{"type":"object","additionalProperties":{}}}}}}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","academicIssuerId","credentialTemplateId","preparedBySignatoryId","approvedBySignatoryId","submissionMethod","sourceFileHashSha256","status","earliestApprovableAt","approvalStepUpVerifiedAt","submittedAt","updatedAt","items"],"properties":{"id":{"type":"string"},"academicIssuerId":{"type":"string"},"credentialTemplateId":{"type":"string"},"preparedBySignatoryId":{"anyOf":[{"type":"string"},{"type":"null"}]},"approvedBySignatoryId":{"anyOf":[{"type":"string"},{"type":"null"}]},"submissionMethod":{"anyOf":[{"type":"string","enum":["CSV_UPLOAD"]},{"type":"string","enum":["API"]}]},"sourceFileHashSha256":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["SUBMITTED"]},{"type":"string","enum":["PENDING_APPROVAL"]},{"type":"string","enum":["APPROVED"]},{"type":"string","enum":["ISSUING"]},{"type":"string","enum":["ISSUED"]},{"type":"string","enum":["REJECTED"]},{"type":"string","enum":["FAILED"]}]},"earliestApprovableAt":{"type":"string"},"approvalStepUpVerifiedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"submittedAt":{"type":"string"},"updatedAt":{"type":"string"},"items":{"type":"array","items":{"type":"object","required":["id","studentFullName","studentEmail","studentDob","institutionStudentId","claimValues","sampledForRecheck","recheckFieldValues","recheckMatchedAt","recheckMismatch","validationErrors","status"],"properties":{"id":{"type":"string"},"studentFullName":{"type":"string"},"studentEmail":{"type":"string"},"studentDob":{"anyOf":[{"type":"string"},{"type":"null"}]},"institutionStudentId":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimValues":{},"sampledForRecheck":{"type":"boolean"},"recheckFieldValues":{},"recheckMatchedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"recheckMismatch":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"validationErrors":{},"status":{"anyOf":[{"type":"string","enum":["VALID"]},{"type":"string","enum":["VALIDATION_FAILED"]},{"type":"string","enum":["ISSUED"]},{"type":"string","enum":["FAILED"]}]}}}}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","academicIssuerId":"a33f108e-5209-4592-acd5-6743675be02d","credentialTemplateId":"bb71d2cd-52ab-42b2-a680-6e3c30ef0fbd","preparedBySignatoryId":"76969694-584c-4f34-a0ca-48cdf55f8fd5","approvedBySignatoryId":"0088a906-25aa-4264-a208-045b6929ede1","submissionMethod":"CSV_UPLOAD","sourceFileHashSha256":"sourceFileHashSha256","status":"SUBMITTED","earliestApprovableAt":"2026-11-19T10:00:00.000Z","approvalStepUpVerifiedAt":"2026-11-19T10:00:00.000Z","submittedAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","items":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","studentFullName":"studentFullName","studentEmail":"studentEmail","studentDob":"studentDob","institutionStudentId":"b04b2dcf-467a-45b2-aadf-de320edd7445","claimValues":{},"sampledForRecheck":false,"recheckFieldValues":{},"recheckMatchedAt":"2026-11-19T10:00:00.000Z","recheckMismatch":false,"validationErrors":{},"status":"VALID"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/issue/batches/{id}":{"get":{"operationId":"getCredentialBatch","summary":"Full batch detail, including every item and its sample/recheck status","tags":["Batches"],"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"id","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","academicIssuerId","credentialTemplateId","preparedBySignatoryId","approvedBySignatoryId","submissionMethod","sourceFileHashSha256","status","earliestApprovableAt","approvalStepUpVerifiedAt","submittedAt","updatedAt","items"],"properties":{"id":{"type":"string"},"academicIssuerId":{"type":"string"},"credentialTemplateId":{"type":"string"},"preparedBySignatoryId":{"anyOf":[{"type":"string"},{"type":"null"}]},"approvedBySignatoryId":{"anyOf":[{"type":"string"},{"type":"null"}]},"submissionMethod":{"anyOf":[{"type":"string","enum":["CSV_UPLOAD"]},{"type":"string","enum":["API"]}]},"sourceFileHashSha256":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["SUBMITTED"]},{"type":"string","enum":["PENDING_APPROVAL"]},{"type":"string","enum":["APPROVED"]},{"type":"string","enum":["ISSUING"]},{"type":"string","enum":["ISSUED"]},{"type":"string","enum":["REJECTED"]},{"type":"string","enum":["FAILED"]}]},"earliestApprovableAt":{"type":"string"},"approvalStepUpVerifiedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"submittedAt":{"type":"string"},"updatedAt":{"type":"string"},"items":{"type":"array","items":{"type":"object","required":["id","studentFullName","studentEmail","studentDob","institutionStudentId","claimValues","sampledForRecheck","recheckFieldValues","recheckMatchedAt","recheckMismatch","validationErrors","status"],"properties":{"id":{"type":"string"},"studentFullName":{"type":"string"},"studentEmail":{"type":"string"},"studentDob":{"anyOf":[{"type":"string"},{"type":"null"}]},"institutionStudentId":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimValues":{},"sampledForRecheck":{"type":"boolean"},"recheckFieldValues":{},"recheckMatchedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"recheckMismatch":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"validationErrors":{},"status":{"anyOf":[{"type":"string","enum":["VALID"]},{"type":"string","enum":["VALIDATION_FAILED"]},{"type":"string","enum":["ISSUED"]},{"type":"string","enum":["FAILED"]}]}}}}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","academicIssuerId":"a33f108e-5209-4592-acd5-6743675be02d","credentialTemplateId":"bb71d2cd-52ab-42b2-a680-6e3c30ef0fbd","preparedBySignatoryId":"76969694-584c-4f34-a0ca-48cdf55f8fd5","approvedBySignatoryId":"0088a906-25aa-4264-a208-045b6929ede1","submissionMethod":"CSV_UPLOAD","sourceFileHashSha256":"sourceFileHashSha256","status":"SUBMITTED","earliestApprovableAt":"2026-11-19T10:00:00.000Z","approvalStepUpVerifiedAt":"2026-11-19T10:00:00.000Z","submittedAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","items":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","studentFullName":"studentFullName","studentEmail":"studentEmail","studentDob":"studentDob","institutionStudentId":"b04b2dcf-467a-45b2-aadf-de320edd7445","claimValues":{},"sampledForRecheck":false,"recheckFieldValues":{},"recheckMatchedAt":"2026-11-19T10:00:00.000Z","recheckMismatch":false,"validationErrors":{},"status":"VALID"}]}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/issue/batches/{id}/items/{itemId}/recheck":{"post":{"operationId":"recheckCredentialBatchItem","summary":"A different signatory (the checker) re-keys a sampled item's claim values for server-side comparison","tags":["Batches"],"description":"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.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["recheckingSignatoryId","claimValues"],"properties":{"recheckingSignatoryId":{"format":"uuid","type":"string"},"claimValues":{"type":"object","additionalProperties":{}}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"id","required":true},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"itemId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["credentialBatchItemId","matched"],"properties":{"credentialBatchItemId":{"type":"string"},"matched":{"type":"boolean"}}},"example":{"credentialBatchItemId":"aef19758-868d-4bf4-a0fd-7599b5f328b5","matched":false}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/issue/batches/{id}/approve":{"post":{"operationId":"approveCredentialBatch","summary":"Step-up-gated maker-checker approval: moves a batch from PENDING_APPROVAL to APPROVED, then starts background issuance","tags":["Batches"],"description":"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.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["approvedBySignatoryId"],"properties":{"approvedBySignatoryId":{"format":"uuid","type":"string"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"id","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","academicIssuerId","credentialTemplateId","preparedBySignatoryId","approvedBySignatoryId","submissionMethod","sourceFileHashSha256","status","earliestApprovableAt","approvalStepUpVerifiedAt","submittedAt","updatedAt","items"],"properties":{"id":{"type":"string"},"academicIssuerId":{"type":"string"},"credentialTemplateId":{"type":"string"},"preparedBySignatoryId":{"anyOf":[{"type":"string"},{"type":"null"}]},"approvedBySignatoryId":{"anyOf":[{"type":"string"},{"type":"null"}]},"submissionMethod":{"anyOf":[{"type":"string","enum":["CSV_UPLOAD"]},{"type":"string","enum":["API"]}]},"sourceFileHashSha256":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["SUBMITTED"]},{"type":"string","enum":["PENDING_APPROVAL"]},{"type":"string","enum":["APPROVED"]},{"type":"string","enum":["ISSUING"]},{"type":"string","enum":["ISSUED"]},{"type":"string","enum":["REJECTED"]},{"type":"string","enum":["FAILED"]}]},"earliestApprovableAt":{"type":"string"},"approvalStepUpVerifiedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"submittedAt":{"type":"string"},"updatedAt":{"type":"string"},"items":{"type":"array","items":{"type":"object","required":["id","studentFullName","studentEmail","studentDob","institutionStudentId","claimValues","sampledForRecheck","recheckFieldValues","recheckMatchedAt","recheckMismatch","validationErrors","status"],"properties":{"id":{"type":"string"},"studentFullName":{"type":"string"},"studentEmail":{"type":"string"},"studentDob":{"anyOf":[{"type":"string"},{"type":"null"}]},"institutionStudentId":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimValues":{},"sampledForRecheck":{"type":"boolean"},"recheckFieldValues":{},"recheckMatchedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"recheckMismatch":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"validationErrors":{},"status":{"anyOf":[{"type":"string","enum":["VALID"]},{"type":"string","enum":["VALIDATION_FAILED"]},{"type":"string","enum":["ISSUED"]},{"type":"string","enum":["FAILED"]}]}}}}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","academicIssuerId":"a33f108e-5209-4592-acd5-6743675be02d","credentialTemplateId":"bb71d2cd-52ab-42b2-a680-6e3c30ef0fbd","preparedBySignatoryId":"76969694-584c-4f34-a0ca-48cdf55f8fd5","approvedBySignatoryId":"0088a906-25aa-4264-a208-045b6929ede1","submissionMethod":"CSV_UPLOAD","sourceFileHashSha256":"sourceFileHashSha256","status":"SUBMITTED","earliestApprovableAt":"2026-11-19T10:00:00.000Z","approvalStepUpVerifiedAt":"2026-11-19T10:00:00.000Z","submittedAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","items":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","studentFullName":"studentFullName","studentEmail":"studentEmail","studentDob":"studentDob","institutionStudentId":"b04b2dcf-467a-45b2-aadf-de320edd7445","claimValues":{},"sampledForRecheck":false,"recheckFieldValues":{},"recheckMatchedAt":"2026-11-19T10:00:00.000Z","recheckMismatch":false,"validationErrors":{},"status":"VALID"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/credentials/verify/sessions":{"post":{"operationId":"initiateCredentialVerificationSession","summary":"Initiate an EUDI wallet academic-credential verification session (OpenID4VP)","tags":["Verification"],"description":"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).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["checkType"],"properties":{"clientId":{"minLength":1,"type":"string"},"checkType":{"anyOf":[{"type":"string","enum":["academic-credential"]},{"type":"string","enum":["academic-enrolment-status"]}]}}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["sessionId","templateVersion","authorizationRequest","authorizationRequestUri","expiresAt"],"properties":{"sessionId":{"type":"string"},"templateVersion":{"type":"string"},"authorizationRequest":{"type":"object","required":["client_id","response_type","response_mode","response_uri","dcql_query","nonce","state"],"properties":{"client_id":{"type":"string"},"response_type":{"type":"string","enum":["vp_token"]},"response_mode":{"type":"string","enum":["direct_post"]},"response_uri":{"type":"string"},"dcql_query":{},"nonce":{"type":"string"},"state":{"type":"string"}}},"authorizationRequestUri":{"type":"string"},"expiresAt":{"type":"string"}}},"example":{"sessionId":"640ba930-9e91-4920-ace1-aac93f6e7ce5","templateVersion":"templateVersion","authorizationRequest":{"client_id":"client_id","response_type":"vp_token","response_mode":"direct_post","response_uri":"https://example.com/response_uri","dcql_query":{},"nonce":"nonce","state":"state"},"authorizationRequestUri":"https://example.com/authorizationrequesturi","expiresAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}},"get":{"operationId":"listCredentialVerificationSessions","summary":"List credential verification sessions for the calling employer","tags":["Verification"],"description":"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":[{"schema":{"minLength":1,"type":"string"},"in":"query","name":"clientId","required":false,"description":"Sandbox only: the employer whose sessions to list. Ignored with an API key."},{"schema":{"minimum":1,"maximum":100,"default":20,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 20."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["failed"]},{"type":"string","enum":["expired"]}]},"in":"query","name":"status","required":false,"description":"Only sessions in this status. `expired` includes pending sessions past their expiry."},{"schema":{"anyOf":[{"type":"string","enum":["academic-credential"]},{"type":"string","enum":["academic-enrolment-status"]}]},"in":"query","name":"checkType","required":false},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"$ref":"#/components/schemas/CredentialVerificationSession"}},"sessions":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `sessions` will be removed in a future API version.","type":"array","items":{"$ref":"#/components/schemas/CredentialVerificationSession"}}}}]},"example":{"data":[{"sessionId":"7d3c1b9a-2e4f-4a6b-8c0d-1e2f3a4b5c6d","clientId":"nx-live-employer-3f2a9c","checkType":"academic-credential","templateVersion":"academic-credential@1","status":"completed","createdAt":"2026-11-19T10:00:00.000Z","expiresAt":"2026-11-19T10:10:00.000Z","decision":{"issuer":{"academicIssuerId":"1f4b8e2a-7c3d-4a9e-b6f0-8d2c5e1a7b94","verifiedDomain":"registry.example-university.ie","vettingStatus":"nexiel_vetted_eaa","legalWeightNotice":"This credential is a non-qualified Electronic Attestation of Attributes (EAA). Its issuing institution was vetted through Nexiel's own institution-accreditation review, not through a qualified trust service provider -- it does not carry eIDAS 2.0's qualified legal presumption of accuracy. Treat it as strong, verified evidence from a vetted source, and apply your own organization's usual corroboration standard for a non-qualified attestation."},"disclosedClaimsStatus":"available","disclosedClaimsHash":"b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c","revocationStatus":"current","revocationCheckedAt":"2026-11-19T10:02:41.000Z","frozenVerificationArtifact":{"templateVersion":"academic-credential@1","academicIssuerId":"1f4b8e2a-7c3d-4a9e-b6f0-8d2c5e1a7b94","issuerVerifiedDomain":"registry.example-university.ie","kid":"issuer-key-2026-11","vettingStatus":"nexiel_vetted_eaa","vpTokenHash":"7d865e959b2466918c9863afca942d0fb89d7c9ac0c99bafc3749504ded97730","disclosedClaimsHash":"b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c","verifiedAt":"2026-11-19T10:02:41.000Z"},"decidedAt":"2026-11-19T10:02:41.000Z"}}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","sessions":[{"sessionId":"7d3c1b9a-2e4f-4a6b-8c0d-1e2f3a4b5c6d","clientId":"nx-live-employer-3f2a9c","checkType":"academic-credential","templateVersion":"academic-credential@1","status":"completed","createdAt":"2026-11-19T10:00:00.000Z","expiresAt":"2026-11-19T10:10:00.000Z","decision":{"issuer":{"academicIssuerId":"1f4b8e2a-7c3d-4a9e-b6f0-8d2c5e1a7b94","verifiedDomain":"registry.example-university.ie","vettingStatus":"nexiel_vetted_eaa","legalWeightNotice":"This credential is a non-qualified Electronic Attestation of Attributes (EAA). Its issuing institution was vetted through Nexiel's own institution-accreditation review, not through a qualified trust service provider -- it does not carry eIDAS 2.0's qualified legal presumption of accuracy. Treat it as strong, verified evidence from a vetted source, and apply your own organization's usual corroboration standard for a non-qualified attestation."},"disclosedClaimsStatus":"available","disclosedClaimsHash":"b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c","revocationStatus":"current","revocationCheckedAt":"2026-11-19T10:02:41.000Z","frozenVerificationArtifact":{"templateVersion":"academic-credential@1","academicIssuerId":"1f4b8e2a-7c3d-4a9e-b6f0-8d2c5e1a7b94","issuerVerifiedDomain":"registry.example-university.ie","kid":"issuer-key-2026-11","vettingStatus":"nexiel_vetted_eaa","vpTokenHash":"7d865e959b2466918c9863afca942d0fb89d7c9ac0c99bafc3749504ded97730","disclosedClaimsHash":"b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c","verifiedAt":"2026-11-19T10:02:41.000Z"},"decidedAt":"2026-11-19T10:02:41.000Z"}}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/verify/sessions/{sessionId}/responses":{"post":{"operationId":"submitCredentialVerificationSessionResponse","summary":"Wallet's direct_post callback for an academic-credential verification session","tags":["Verification"],"description":"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.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["state","vp_token"],"properties":{"state":{"type":"string"},"vp_token":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"sessionId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["sessionId","method","booleanProofs","academicIssuerId","disclosedClaimsDelivered"],"properties":{"sessionId":{"type":"string"},"method":{"type":"string","enum":["eudi_wallet"]},"booleanProofs":{"type":"object","additionalProperties":{"type":"boolean"}},"academicIssuerId":{"type":"string"},"disclosedClaimsDelivered":{"type":"boolean"}}},"example":{"sessionId":"640ba930-9e91-4920-ace1-aac93f6e7ce5","method":"eudi_wallet","booleanProofs":{},"academicIssuerId":"a33f108e-5209-4592-acd5-6743675be02d","disclosedClaimsDelivered":false}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/verify/sessions/{sessionId}":{"get":{"operationId":"getCredentialVerificationSession","summary":"Read back a credential verification session's status and (if completed) its decision","tags":["Verification"],"description":"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":[{"schema":{"deprecated":true,"anyOf":[{"type":"string","enum":["claim"]},{"type":"string","enum":["peek"]}]},"in":"query","name":"claimsDelivery","required":false,"description":"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`."},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"sessionId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialVerificationSession"},"example":{"sessionId":"7d3c1b9a-2e4f-4a6b-8c0d-1e2f3a4b5c6d","clientId":"nx-live-employer-3f2a9c","checkType":"academic-credential","templateVersion":"academic-credential@1","status":"completed","createdAt":"2026-11-19T10:00:00.000Z","expiresAt":"2026-11-19T10:10:00.000Z","decision":{"issuer":{"academicIssuerId":"1f4b8e2a-7c3d-4a9e-b6f0-8d2c5e1a7b94","verifiedDomain":"registry.example-university.ie","vettingStatus":"nexiel_vetted_eaa","legalWeightNotice":"This credential is a non-qualified Electronic Attestation of Attributes (EAA). Its issuing institution was vetted through Nexiel's own institution-accreditation review, not through a qualified trust service provider -- it does not carry eIDAS 2.0's qualified legal presumption of accuracy. Treat it as strong, verified evidence from a vetted source, and apply your own organization's usual corroboration standard for a non-qualified attestation."},"disclosedClaimsStatus":"available","disclosedClaimsHash":"b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c","revocationStatus":"current","revocationCheckedAt":"2026-11-19T10:02:41.000Z","frozenVerificationArtifact":{"templateVersion":"academic-credential@1","academicIssuerId":"1f4b8e2a-7c3d-4a9e-b6f0-8d2c5e1a7b94","issuerVerifiedDomain":"registry.example-university.ie","kid":"issuer-key-2026-11","vettingStatus":"nexiel_vetted_eaa","vpTokenHash":"7d865e959b2466918c9863afca942d0fb89d7c9ac0c99bafc3749504ded97730","disclosedClaimsHash":"b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c","verifiedAt":"2026-11-19T10:02:41.000Z"},"decidedAt":"2026-11-19T10:02:41.000Z"}}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/credentials/verify/sessions/{sessionId}/disclosed-claims/claim":{"post":{"operationId":"claimCredentialVerificationDisclosedClaims","summary":"Claim a verification's encrypted disclosed claims (once; retry-safe with the same Idempotency-Key)","tags":["Verification"],"description":"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":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"sessionId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["sessionId","disclosedClaimsCiphertext","disclosedClaimsHash","format","claimedAt","replayableUntil"],"properties":{"sessionId":{"format":"uuid","type":"string"},"disclosedClaimsCiphertext":{"description":"The holder's disclosed claims, a JWE in compact serialization encrypted to your registered evidence-pack public key.","type":"string"},"disclosedClaimsHash":{"type":"string"},"format":{"type":"string","enum":["jwe_compact"]},"claimedAt":{"format":"date-time","type":"string"},"replayableUntil":{"format":"date-time","description":"Until when a retry with the same Idempotency-Key returns these same claims.","type":"string"}}},"example":{"sessionId":"640ba930-9e91-4920-ace1-aac93f6e7ce5","disclosedClaimsCiphertext":"disclosedClaimsCiphertext","disclosedClaimsHash":"sha256-3q2+7w==","format":"jwe_compact","claimedAt":"2026-11-19T10:00:00.000Z","replayableUntil":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}}},"servers":[{"url":"https://compliance.nexiel.io","description":"Production"}],"webhooks":{"issuer_ca.expiring_soon":{"post":{"tags":["Webhooks"],"summary":"issuer_ca.expiring_soon","description":"The CA your non-qualified attestations are signed under is close to expiry; upload a renewed chain. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"issuer_ca.expiring_soon"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"credentials.verification.completed":{"post":{"tags":["Webhooks"],"summary":"credentials.verification.completed","description":"An academic credential verification session completed. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"credentials.verification.completed"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"credentials.verification.failed":{"post":{"tags":["Webhooks"],"summary":"credentials.verification.failed","description":"An academic credential verification session failed. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"credentials.verification.failed"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"credentials.credential.status_changed":{"post":{"tags":["Webhooks"],"summary":"credentials.credential.status_changed","description":"The revocation status of a credential you verified changed. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"credentials.credential.status_changed"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"kyb.application.status_changed":{"post":{"tags":["Webhooks"],"summary":"kyb.application.status_changed","description":"The status of your business verification (KYB) application changed. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"kyb.application.status_changed"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"intermediary.link.created":{"post":{"tags":["Webhooks"],"summary":"intermediary.link.created","description":"An intermediary relationship between your organization and another started. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"intermediary.link.created"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"intermediary.link.updated":{"post":{"tags":["Webhooks"],"summary":"intermediary.link.updated","description":"The delegated permissions or billing roll-up of an intermediary relationship were narrowed. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"intermediary.link.updated"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"intermediary.link.revoked":{"post":{"tags":["Webhooks"],"summary":"intermediary.link.revoked","description":"An intermediary relationship between your organization and another ended. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"intermediary.link.revoked"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"intermediary.trust_policy.changed":{"post":{"tags":["Webhooks"],"summary":"intermediary.trust_policy.changed","description":"Your intermediary saved or activated a version of one of your trust policies through the permission you delegated. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"intermediary.trust_policy.changed"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"api_key.expiring_soon":{"post":{"tags":["Webhooks"],"summary":"api_key.expiring_soon","description":"An API key is close to the end of its lifetime and should be rotated. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"api_key.expiring_soon"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"webhook.test":{"post":{"tags":["Webhooks"],"summary":"webhook.test","description":"A test event you send yourself from the dashboard or API. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"webhook.test"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}}},"tags":[{"name":"Webhooks","description":"Signed events sent to the webhook endpoints you register. The event list is generated from the platform's event catalogue."},{"name":"Health","description":"Service liveness and mode reporting."},{"name":"HAIP issuance","description":"Wallet-facing OpenID4VCI endpoints of each Credential Issuer: metadata, offers, PAR, authorization, token, nonce and credential."},{"name":"Status lists","description":"Signed Token Status Lists and mdoc identifier lists, public and cacheable."},{"name":"Attestation issuance","description":"Attestation types, offers, user authorization and revocation for KYB-approved organizations."},{"name":"Sandbox","description":"Sandbox-only helpers: demo offers, the TEST wallet provider and the consent page. Not available in production."},{"name":"Templates","description":"Credential-template proposal, listing and submission. Nexiel reviews every template before it can be issued."},{"name":"Batches","description":"Maker-checker batch credential issuance: submit, recheck, and step-up-gated approve."},{"name":"Verification","description":"The external B2B API for an employer or institution to verify a previously issued credential."}]}