Skip to main content

Sidecar API reference

Audience: engineers integrating or debugging a sidecar deployment. Source of truth: the interactive OpenAPI reference served by the running sidecar at /reference. This page documents the protocol behaviour, token claims, error responses, and environment configuration behind each endpoint.

Base URL: your sidecar's internal URL (for example https://sidecar.internal.yourorg.com.kh). All request and response bodies use JSON (Content-Type: application/json), with a 20 MB maximum payload size.

Authentication​

CallerMechanism
Your core systemHeaders x-api-key (key ID, sak_…) and x-api-secret. Manage keys through the Admin API (/api/v1/admin/api-keys). See Set up the sidecar, step 7.
Partner sidecars (via CamDX)No API key. Authenticated via the auth token's ES512 signature, the Requester's ES512 request signature, and the X-Road-Client member code header.
Backoffice and admin scriptsAuthorization: Bearer <admin JWT> from POST /api/v1/admin/auth/login, subject to RBAC role checks.

Endpoints​

Method and pathRoleCallerAuthSuccess
POST /api/v1/requester/token/requestRequesterYour coreAPI key200
POST /api/v1/requester/kyc/fetchRequesterYour coreAPI key200
GET /api/v1/requester/kyc/{ekyc_ref}RequesterYour coreAPI key200
GET /api/v1/requester/kyc/{ekyc_ref}/statusRequesterYour coreAPI key200
DELETE /api/v1/requester/kyc/{ekyc_ref}RequesterYour coreAPI key204
POST /api/v1/provider/token/verifyProviderYour coreAPI key200
POST /api/v1/provider/kyc/submitProviderYour coreAPI key201
POST /api/v1/provider/kyc/authorizeProviderYour coreAPI key201
POST /api/v1/provider/kyc/invalidateProviderYour coreAPI key200
POST /api/v1/provider/kyc/resolve/t{0-3}ProviderRequester sidecar via CamDXSignatures + CamDX200
POST /api/v1/provider/kyc/statusProviderRequester sidecar via CamDXRequest signature + CamDX200
GET /api/v1/provider/kyc/pingProviderPartner sidecar via CamDXCamDX200
/api/v1/admin/*BothBackoffice / scriptsAdmin JWT + role–
GET /healthBothMonitoringNone200
GET /referenceBothDevelopersNone200

Error format​

All errors share a single JSON response format:

{ "status": "error", "error": "BadRequestException", "message": "Login token has expired" }
errorHTTPMeaning
ValidationError400Request body or parameters failed schema validation. A details array lists the Zod validation issues.
BadRequestException400Protocol or business-rule check failed. message identifies the cause.
UnauthorizedException401Missing, invalid, revoked, or expired API credentials or admin JWT.
ForbiddenException403Insufficient admin role (or password change required).
NotFoundException404Resource not found (for example an unknown ekyc_ref, attestation_ref, or admin record).
ConflictException409kyc/submit called while an active attestation exists for the customer.
InternalServerException500Downstream communication failure (CamDX, partner, Auth Portal, DNS, database) or internal error.

Common error messages and fixes are documented in Troubleshooting.


Requester endpoints​

POST /api/v1/requester/token/request​

Issues a signed login token and creates a request session (token_issued).

Request

FieldTypeRules
tierinteger0 to 3
callbackstringAbsolute URL. The Auth Portal appends ?q={auth token} on approval.
callback_typestringweb or mobile

Response 200

{ "token": "eyJhbGciOiJFUzUxMiIsInR5cCI6IkpXVCJ9..." }

See Login token (ekyc_request_v1) for the token claims.

POST /api/v1/requester/kyc/fetch​

Redeems an auth token with the Provider over CamDX, verifies the returned attestation, encrypts and stores it locally, and returns the result. Consumes the request session; subsequent calls for the same session fail.

Request

FieldTypeRules
auth_tokenstringThe q query parameter from the Auth Portal callback
tierinteger0 to 3, not exceeding the tier requested in the login token

Execution flow

  1. Verifies the auth token: ES512 signature against ekyc_pub keys on iss, iss registered in the partner's domains, qr_type equal to ekyc_auth_v1, unexpired, aud equal to your ISS_CODE, and iss_code matching an enabled Provider partner.
  2. Locates the open, unexpired request session by ref_id (token_issued) and confirms tier does not exceed the requested or authorised tier.
  3. Looks up the enabled Provider partner by camdx_code and iss_code.
  4. Calls POST {CAMDX_SECURITY_SERVER}/{provider member code}/resolve/t{tier} with X-Road-Client: {CAMDX_MEMBER_CODE} and body { auth_token, signature }, where signature is the base64 ES512 (SHA-512) signature over auth_token signed with JWT_PRIVATE_KEY.
  5. Verifies the returned OpenAttestation document: Merkle root integrity, issuer signature, DNS-DID record, and registered Provider domain match.
  6. In a single database transaction: encrypts and stores the attestation (AES-256-GCM, PII_ENCRYPTION_KEY) under a new ekyc_ref, marks the session completed, and appends a requested transaction. If storage fails, the call returns 500 and the session remains open.

Fetch does not run a status check.

Response 200

FieldTypeDescription
ref_idstringThe Provider's customer reference (user_id)
tierintegerTier served
dataobjectSigned OpenAttestation v2 document with fields above tier obfuscated (privacy.obfuscatedData)
attestedobjectUnsalted document payload containing plain user_info fields and issuers
ekyc_refUUIDLocal reference for the stored attestation (unique per fetch). Used with the read-back, status, and delete endpoints below.

GET /api/v1/requester/kyc/{ekyc_ref}​

Retrieves a previously fetched attestation from encrypted local storage. Access is recorded in the audit trail.

Response 200

{
"ekyc_ref": "0b9d3d3e-6a51-4f7e-9a7e-8a4b3c1d2e10",
"provider": { "code": "BANK01", "name_en": "Bank One", "camdx_member_code": "CAMBODIA/COM/BANK01/EKYC" },
"request_ref_id": "0199a7e2-…",
"tier": 3,
"merkle_root": "3f0c…",
"data": { "…": "signed OA document exactly as received, images re-injected" },
"attested": { "user_info": {} },
"declared_checks": { "camdl": true, "camdx": true },
"last_status": {
"status": "current",
"checked_at": "2026-11-18T10:00:01.000Z",
"invalidated_at": null
},
"received_at": "2026-11-18T09:00:00.000Z"
}

last_status is null if no status check has been executed. declared_checks is true for each source declared in the attestation (including malformed declarations).

StatuserrorCondition
400ValidationErrorekyc_ref is not a valid UUID
401UnauthorizedExceptionInvalid or missing API key
404NotFoundExceptionUnknown or deleted (Attestation not found)

GET /api/v1/requester/kyc/{ekyc_ref}/status​

Executes the status checks declared by the attestation, persists the result, and returns it. Unavailable or failing remote checks report unknown with HTTP 200 rather than failing the request; database errors still return 500.

Response 200

{
"ekyc_ref": "0b9d3d3e-6a51-4f7e-9a7e-8a4b3c1d2e10",
"status": "invalidated",
"checked_at": "2026-11-18T10:00:01.000Z",
"invalidated_at": "2026-11-18T09:58:12.000Z",
"sources": {
"camdl": { "status": "current", "reason": null, "invalidated_at": null,
"checked_at": "2026-11-18T10:00:01.000Z" },
"camdx": { "status": "invalidated", "reason": null, "invalidated_at": "2026-11-18T09:58:12.000Z",
"checked_at": "2026-11-18T10:00:01.000Z" }
}
}

Status values (overall and per source)

statusMeaning
currentCheck confirmed no invalidation
invalidatedProvider invalidated the attestation
unknownCheck could not complete; reason specifies why
not_supportedAttestation declares no check for this source; no network call made

When status is unknown, reason is one of: timeout, unreachable, http_error, bad_response, bad_signature, not_found, member_mismatch, chain_mismatch, not_configured, or malformed_declaration (otherwise null).

Overall resolution rule (first match wins)

ConditionOverall status
Neither source declared (both not_supported)not_supported
Any source invalidated, or invalidation previously recordedinvalidated
Every declared source currentcurrent
Otherwiseunknown

Invalidation is irreversible: once confirmed, the overall status remains invalidated. invalidated_at reflects the CamDX-reported timestamp when available, or otherwise the timestamp when invalidation was first observed.

Check execution

  • CamDL: calls isRevoked on the attestation's declared Document Store via RPC_URL. Reports unknown/not_configured if RPC_URL or CAMDL_CHAIN_ID is unset, or unknown/chain_mismatch if the attestation's chain ID differs from CAMDL_CHAIN_ID.
  • CamDX: calls POST /api/v1/provider/kyc/status at {CAMDX_SECURITY_SERVER}/{member}/{service} with X-Road-Client: {CAMDX_MEMBER_CODE} and verifies the response signature against the Provider's DNS keys.
  • Each source check is bounded by STATUS_CHECK_TIMEOUT_MS.
StatuserrorCondition
400ValidationErrorekyc_ref is not a valid UUID
401UnauthorizedExceptionInvalid or missing API key
404NotFoundExceptionUnknown or deleted

DELETE /api/v1/requester/kyc/{ekyc_ref}​

Deletes the encrypted attestation payload and image blobs while retaining a non-PII metadata record (reference, Provider, tier, Merkle root, last status, timestamps). Because the sidecar does not purge records automatically, call this endpoint according to your data retention policy.

Response 204 with no body. Returns 404 if unknown or already deleted, or 401 for invalid API credentials.


Provider endpoints​

POST /api/v1/provider/token/verify​

Verifies a Requester's login token prior to presenting the consent screen.

Request: { "token": "<login token>" }

Response 200: { "valid": true, "payload": { …login token claims… } }. Verification failures return 400 with the specific error message rather than valid: false.

Validation order: ES512 signature against ekyc_pub keys at iss · jti, iss, iss_code, ref_id present · exp not elapsed and iat not in the future · your ISS_CODE in accept · iss_code matches an enabled partner with the Requester role · tier does not exceed that partner's maxTier · iss matches a registered domain of that partner.

POST /api/v1/provider/kyc/submit​

Creates a signed OpenAttestation document from verified KYC data, encrypts and caches it locally, records consent, issues a single-use auth token, and delivers it to the Auth Portal.

Request

FieldTypeRules
tierinteger0 to 3. Selects the user_info schema.
user_idstringYour internal customer reference
login_tokenstringVerified login token
data.user_infoobjectSee KYC data by tier

Response 201

FieldTypeDescription
user_idstringEcho of the request user_id
statusstringsubmitted
attestation_refUUIDStore and pass to authorize and invalidate
auth_payload.payload.auth_tokenstringSingle-use auth token (already delivered to the Auth Portal)
auth_payload.payload_signaturestringBase64 ES512 signature over payload

Side effects: creates a consents row, a provide_sessions row (auth_token_issued, 5-minute TTL), encrypted kyc_cache and kyc_blobs rows (no expiry), and sends POST {CAMDX_SECURITY_SERVER}/{EKYC_AUTH_PORTAL_MEMBER_CODE}/api/v1/provider/consent with X-Road-Client: {CAMDX_MEMBER_CODE} and body { "consent_method": "API", "approved": true, "auth_token": "…" }.

If delivery to the Auth Portal fails, the sidecar rolls back session/issuance state and returns 500.

Conflict (409): if user_id already has an active attestation, submit returns 409 ConflictException without modifying state. Call kyc/invalidate first.

{
"status": "error",
"error": "ConflictException",
"message": "An active attestation exists for this user; invalidate it before submitting a replacement",
"attestation_ref": "550e8400-e29b-41d4-a716-446655440000"
}

attestation_ref is omitted if the active issuance was invalidated concurrently before lookup.

Declared status checks: new attestations declare the status checks configured in ATTESTATION_STATUS_CHECKS at issuance time.

POST /api/v1/provider/kyc/authorize​

Issues a consent and auth token for a customer who already holds a cached attestation, without resending KYC data.

Request

FieldTypeRules
user_idstringSame reference used at submit
attestation_refUUIDActive reference from an earlier submit
tierinteger0 to 3, required, not exceeding the cached attestation's tier
login_tokenstringVerified login token

Response 201: same shape as submit, with status: "authorized".

Cached attestations do not expire; authorize rejects a reference only if it was invalidated (400 Cached attestation reference is invalid or invalidated), belongs to another user_id, or has a lower tier than requested.

POST /api/v1/provider/kyc/invalidate​

Retires an active attestation when verified KYC data changes in your core system. Invalidation is the product term; OpenAttestation and CamDL call the on-chain operation revocation.

Request

FieldTypeRules
user_idstringCustomer reference used at submit
attestation_refUUIDAttestation reference belonging to user_id (active or already invalidated)
reasonstringOptional: profile_updated, ekyc_repeated, data_correction, or other
login_tokenstringDeprecated, optional, and ignored
{
"user_id": "CIF-000123",
"attestation_ref": "550e8400-e29b-41d4-a716-446655440000",
"reason": "profile_updated"
}

Response 200

{
"user_id": "CIF-000123",
"attestation_ref": "550e8400-e29b-41d4-a716-446655440000",
"status": "invalidated",
"invalidated_at": "2026-11-18T09:58:12.000Z",
"already_invalidated": false,
"camdl_publication": "pending"
}

camdl_publication is pending, confirmed, failed, or not_declared. Repeated calls return 200 with the original invalidated_at, already_invalidated: true, and the current publication status, without affecting any replacement attestation.

Execution flow: in one database transaction, the sidecar records invalidated_at, wipes the encrypted attestation payload and image blobs, appends an audit event, and queues CamDL publication if declared—while retaining the issuance reference, Merkle root, and delivery records to answer status queries. CamDL publication runs asynchronously with retries. Once committed, authorize and resolve reject the attestation.

StatuserrorCondition
400ValidationErrorattestation_ref is not a UUID, or reason is invalid
401UnauthorizedExceptionInvalid or missing API key
404NotFoundExceptionNo matching attestation for user_id (Attestation not found for this user)

POST /api/v1/provider/kyc/resolve/t{0-3}​

Called by a Requester's sidecar over CamDX (never called directly by your core system). Including the tier in the path allows CamDX to meter transactions per tier.

Request: header X-Road-Client: {Requester member code}, body { "auth_token": "…", "signature": "<base64 ES512 signature of auth_token>" }.

Checks: auth token signed by this sidecar (iss matches ISSUER) and unexpired · Requester partner enabled for aud · Requester signature valid against keys at that partner's registered domains · provide session found by jti · X-Road-Client matches partner's camdx_member_code · session still auth_token_issued · consent valid and matches Requester · attestation not invalidated · path tier does not exceed authorised tier.

Response 200: { "ref_id": "<user_id>", "tier": 1, "data": { …attestation with fields above tier obfuscated… } }. Marks the session completed and writes a provided transaction.

POST /api/v1/provider/kyc/status​

Provider status endpoint called by a Requester's sidecar over CamDX (never called directly by your core system). Publish it on your Security Server as kyc-status-v1 (see Set up the sidecar, step 6).

Requesters call POST {CAMDX_SECURITY_SERVER}/{provider member code}/kyc-status-v1. Authentication uses X-Road-Client and a signed request body (no API key).

Request: header X-Road-Client: {Requester member code}.

{
"version": 1,
"merkle_root": "3f0c…",
"aud": "BANK01",
"requested_at": 1763459892,
"nonce": "70f460b690ee3fe70b02573fad135d93",
"signature": "<base64 DER ES512>"
}

merkle_root is 64 lowercase hex characters without a 0x prefix, and aud is your ISS_CODE. The Requester generates a fresh 16-byte random nonce per request (32 lowercase hex characters) and signs "kyc-status-v1\n" + merkle_root + "\n" + requested_at + "\n" + aud + "\n" + nonce with ES512 using its JWT_PRIVATE_KEY.

Validation order: X-Road-Client belongs to an enabled Requester partner · body matches schema · requested_at is within STATUS_REQUEST_MAX_SKEW_SECONDS of server time · aud equals your ISS_CODE · signature verifies against a DNS key at one of the partner's registered domains. Authorization failures return 401 (Status query not authorized).

The sidecar queries only attestations delivered to that Requester, returning not_found identically whether a root is unknown or was never delivered to that Requester.

Response 200, signed with your JWT_PRIVATE_KEY:

{
"version": 1,
"merkle_root": "3f0c…",
"nonce": "70f460b690ee3fe70b02573fad135d93",
"status": "invalidated",
"invalidated_at": "2026-11-18T09:58:12.000Z",
"responded_at": "2026-11-18T10:00:01.000Z",
"payload_signature": "<base64>"
}

status is current, invalidated, or not_found. invalidated_at is null unless status is invalidated. No identity fields, tier, or attestation_ref are returned.

The Requester verifies that the echoed merkle_root and nonce match its request and that responded_at is within STATUS_REQUEST_MAX_SKEW_SECONDS of its current time, reporting unknown (bad_response) otherwise.

StatuserrorCondition
400ValidationErrorRequest body fails schema validation
401UnauthorizedExceptionCaller, freshness, aud, or signature check failed

GET /api/v1/provider/kyc/ping​

Connectivity check called over CamDX when a partner clicks Ping in its backoffice.

Response 200: { "message": "pong" } when X-Road-Client matches an enabled partner with the Requester role; otherwise 400 with the specific reason.


Tokens​

All protocol tokens are JWTs signed with ES512 (ECDSA P-521, SHA-512). Public keys are discovered from ekyc_pub= DNS TXT records on the issuer's iss domain.

Login token (ekyc_request_v1)​

Issued by the Requester sidecar. Default lifetime: REQUEST_TOKEN_EXPIRY_MINUTES (15 minutes).

ClaimMeaning
qr_typeekyc_request_v1
tierRequested tier (0 to 3)
acceptPartner codes of enabled Providers in the Requester's allowlist
ref_idRequest UUID; propagated to the auth token to correlate records on both sides
jtiUnique token ID
callback, callback_typeCallback destination for the Auth Portal
issRequester's issuer domain
iss_codeRequester's partner code
iat, expIssued-at and expiration timestamps (Unix seconds)

Auth token (ekyc_auth_v1)​

Issued by the Provider sidecar upon customer consent. Lifetime: 5 minutes, single use.

ClaimMeaning
qr_typeekyc_auth_v1
ref_idref_id from the login token
jtiUnique token ID enforcing single-use redemption
subConsent ID
tierAuthorised tier
iss, iss_codeProvider's issuer domain and partner code
audRequester's partner code (only this Requester can redeem the token)
camdx_codeProvider's CamDX member code
iat, expIssued-at and expiration timestamps (Unix seconds)

Neither token contains personal data.


KYC data by tier​

Schema for data.user_info in kyc/submit. Each tier includes all fields from lower tiers. All values are strings and are required unless marked optional.

FieldT0T1T2T3Notes
phone_number✓✓✓✓E.164, e.g. +85512345678
first_name, last_name✓✓✓✓
document_type✓✓✓✓e.g. NID
document_id✓✓✓✓
emailoptionaloptionaloptional
dob✓✓✓YYYY-MM-DD
gender✓✓✓M or F
nationality✓✓✓e.g. KHM
issue_date, expiry_date✓✓✓ID document dates, YYYY-MM-DD
place_of_birth✓✓✓
current_address✓✓✓Address object (below)
face_image✓✓Base64-encoded image
face_image_integrity_hash✓✓SHA-256 hex/digest of face_image
document_image✓Base64-encoded front of ID
document_image_back✓Base64-encoded back of ID

current_address fields: address_line_1, address_line_2 (optional), village, village_code, commune, commune_code, district, district_code, province, province_code, country, country_code, postal_code.

Tier obfuscation on resolve: the Provider sidecar cryptographically hides fields above the requested tier—T0 obfuscates email and higher-tier fields; T1 obfuscates face and document images; T2 obfuscates the ID document images.


Environment variables​

Validated at startup; the server exits if any required variable is missing or malformed.

VariableRequiredDefaultDescription
NODE_ENVNodevelopmentSet to production in production
NODE_PORTNo3000HTTP listen port
SERVER_URLYesInternal base URL of this sidecar (used in the OpenAPI document)
CORS_ORIGINYesAllowed origin for the sidecar backoffice
LOG_LEVELNoinfotrace · debug · info · warn · error · fatal (use info or higher in production)
TZNoUTCProcess timezone
DATABASE_HOST, DATABASE_USER, DATABASE_PASSWORD, DATABASE_NAMEYesPostgreSQL connection settings
DATABASE_PORTNo5432PostgreSQL port
ISSUERYesIssuer domain hosting DNS TXT records
ISS_CODEYesPartner code ([A-Z0-9_-])
JWT_PRIVATE_KEYYesEC P-521 private key in PEM format
REQUEST_TOKEN_EXPIRY_MINUTESNo15Login token lifetime in minutes
CAMDX_MEMBER_CODEYesCamDX member code
CAMDX_SECURITY_SERVERYesBase URL of your CamDX Security Server
EKYC_AUTH_PORTAL_MEMBER_CODEProvidersAuth Portal's CamDX member code
PII_ENCRYPTION_KEYYesExactly 32 UTF-8 bytes (AES-256-GCM key)
WALLET_FILE_PATHYes in productiontests/resources/wallet.jsonPath to the encrypted attestation keystore
WALLET_PASSYesKeystore password
ADMIN_JWT_SECRETYes in productionDev fallbackBackoffice session signing secret (at least 32 bytes required in production)
API_KEY, API_SECRETNoOptional static core API key checked before database keys (leave unset in production)
INITIAL_ADMIN_EMAIL, INITIAL_ADMIN_PASSWORDFirst bootadmin@example.com (dev email), none (password)Initial super_admin credentials when admins is empty. INITIAL_ADMIN_PASSWORD is required in all environments; INITIAL_ADMIN_EMAIL is required in production.
DOCUMENT_STORE_ADDRESSProviders declaring camdlCamDL Document Store 0x address (Providers only)
RPC_URLProviders declaring camdl; Requesters checking CamDLCamDL JSON-RPC endpoint
SENTRY_DSN, SENTRY_AUTH_TOKEN, SENTRY_ORG, SENTRY_PROJECTNoOptional Sentry error reporting

Status check variables​

Optional settings for attestation status declarations, verification, and asynchronous CamDL revocation publishing.

VariableRoleDefaultDescription
ATTESTATION_STATUS_CHECKSProvidernoneComma-separated list of none, camdl, camdx (none cannot be combined). Sets checks declared on new attestations. Server refuses to start if camdl is enabled without valid DOCUMENT_STORE_ADDRESS, RPC_URL, and CAMDL_CHAIN_ID.
CAMDL_CHAIN_IDBothUnsetDigits only. Provider: written to attestation declarations. Requester: CamDL checks run only when the attestation's chain ID matches (chain_mismatch otherwise, or not_configured if unset).
CAMDL_CHAIN_NAMEProviderCAMDLChain name written to network.chain
CAMDX_STATUS_SERVICE_CODEProviderkyc-status-v1Service code written to attestations; must match your published CamDX service
STATUS_CHECK_TIMEOUT_MSRequester3000Per-source timeout in ms (100–30000), including DNS lookups for response signatures
STATUS_REQUEST_MAX_SKEW_SECONDSProvider300Maximum allowed clock skew or age in seconds (10–3600) for status requests
CAMDL_PUBLICATION_WORKER_ENABLEDProvidertrueEnables the background CamDL revocation publisher (starts only when wallet and RPC_URL are configured)
CAMDL_PUBLICATION_INTERVAL_MSProvider15000Worker polling interval in ms (minimum 1000)
CAMDL_PUBLICATION_BATCH_SIZEProvider10Publications processed per tick (1–100)
CAMDL_PUBLICATION_MAX_ATTEMPTSProvider8Maximum retry attempts before marking a publication failed
CAMDL_PUBLICATION_BACKOFF_BASE_MSProvider30000Initial retry delay in ms (doubles per attempt)
CAMDL_PUBLICATION_BACKOFF_MAX_MSProvider3600000Maximum retry delay in ms
CAMDL_TX_TIMEOUT_MSProvider120000Wait timeout for a CamDL transaction receipt in ms (minimum 5000)
CAMDL_CONFIRMATIONSProvider1Block confirmations required (1–64)

Failed publications appear in the backoffice under Attestations, where an editor or admin can retry them. Gas is funded by TSC as the CamDL chain owner.

Admin API summary​

Used by the sidecar backoffice and administrative automation. Role hierarchy: viewer < editor < admin < super_admin.

PathMinimum rolePurpose
POST /api/v1/admin/auth/login–Sign in and obtain an admin JWT
GET/PUT /api/v1/admin/meAnyView own profile and change password
GET /api/v1/admin/stats/dashboard, /stats/analyticsAnyDashboard summary and analytics
GET /api/v1/admin/sessions, /sessions/{direction}/{id}AnyProvided and requested session logs
GET/POST/PATCH/DELETE /api/v1/admin/partners…, PATCH …/{id}/enable, …/{id}/disable, POST /partners/pingeditorPartner allowlist management and Ping
GET/POST /api/v1/admin/api-keys, DELETE /api-keys/{id}adminCore-system API key management
GET /api/v1/admin/usersAnyList backoffice staff accounts
POST /api/v1/admin/users, GET /activitiesadminCreate staff accounts and read the activity log
PUT/DELETE /api/v1/admin/users/{id}, POST …/reset-passwordsuper_adminManage other admin accounts
GET /api/v1/admin/attestations/invalidatedAnyInvalidated attestations and CamDL publication status (Provider)
GET /api/v1/admin/camdl-publicationsAnyCamDL publications filtered by pending, confirmed, or failed (Provider)
POST /api/v1/admin/camdl-publications/{id}/retryeditorRetry a failed CamDL publication (409 if pending or confirmed)
GET /api/v1/admin/received-attestationsAnyStored attestations and last status without personal data (Requester)