POST /kyc/session/databases
Description
The method returns the results of database checks of a KYC session. The checks run asynchronously after the user has completed the session steps; while they run, the session is in the processing status.
There are two ways to get the results:
- poll this method until
checksStatusbecomescomplete; - receive the
DATABASE_CHECKS_COMPLETEwebhook with the same results (see Webhooks).
The method works without a configured webhook address as well. The response is never encrypted.
The method also accepts a stage-1 questionnaire record: pass its questionnaireSessionId in the sessionId field.
Request format
- HTTP method:
POST - URL:
/kyc/session/databases - Content type:
application/json
Authorization
Pass the token in one of two ways:
- the
token: <jwt-token>header — a temporary JWT token obtained with theuser/loginmethod; - the
tokenfield in the request body — a permanent API token (UUID) from the personal account.
Without a token the request returns 401 access denied. See Authentication for details.
Request parameters
| Parameter | Type | Passed in | Required | Description |
|---|---|---|---|---|
| token | string (UUID) | body | — | Permanent API token, if there is no token header |
| sessionId | string (UUID) | body | ✅ or clientKey | KYC session ID or questionnaire questionnaireSessionId |
| clientKey | string | body | ✅ or sessionId | Client key, up to 36 characters. Finds the latest regular session with this key; a questionnaire cannot be found by clientKey |
Pass sessionId or clientKey.
Request example (cURL)
curl -X POST "https://api.neuro-vision.ru/v1/kyc/session/databases" -H "token: <jwt-token>" -H "Content-Type: application/json" -d '{"sessionId": "00000000-0000-0000-0000-000000000000"}' Response fields
| Field | Type | Description |
|---|---|---|
| sessionId | string | Session ID |
| pdErased | boolean | Whether the session personal data were erased |
| pdErasedAt | string \ | null |
| checksStatus | string | pending — checks are still running; complete — the session is finished and no checks are in progress |
| pending | number | How many checks have not finished yet |
| results | array | Check results, see below |
| responseTime | string | Response time |
| type | string | questionnaire — only for a questionnaire record |
| questionnaireSessionId | string | Only for a questionnaire record |
Check result
| Field | Type | Description |
|---|---|---|
| checker | string | Check ID. The same value comes in the webhook |
| status | string | idle, processing, success, failed, exception |
| outcome | string \ | null |
| notPerformedReason | string \ | null |
| missingInputs | array | Which data were missing for the check, see below |
| spent | number \ | null |
| result | object \ | null |
Read outcome first, then passed. A skipped check comes with the success status and passed: null — this means "not checked", not "clean".
notPerformedReason: missingInput, unusableInput, identityUnresolved, ageBelowDocumentAge, providerUnavailable, providerError, unknown.
missingInputs: passportRf, identityDocument, driverLicense, snils, inn, address, phone, email, photo, fullName, middleName, birthDate, gender, consent.
How to poll
- Request once every 5–10 seconds.
- Stop when
checksStatus=complete. - If the user abandoned the session,
completewill not come: stop polling after the session lifetime is over.
Response examples
Success (200 OK)
{
"sessionId": "00000000-0000-0000-0000-000000000000",
"pdErased": false,
"pdErasedAt": null,
"checksStatus": "pending",
"pending": 1,
"results": [
{
"checker": "insolvencyStatus",
"status": "success",
"outcome": "performed",
"notPerformedReason": null,
"missingInputs": [],
"spent": 1230,
"result": { "passed": true }
},
{
"checker": "snilsVerification",
"status": "success",
"outcome": "skipped",
"notPerformedReason": "missingInput",
"missingInputs": ["snils"],
"spent": null,
"result": { "passed": null, "error": "snils is required" }
},
{
"checker": "debtBurden",
"status": "exception",
"outcome": "unavailable",
"notPerformedReason": "providerUnavailable",
"missingInputs": [],
"spent": null,
"result": { "passed": null, "error": "service error" }
},
{
"checker": "regulatoryRestrictions",
"status": "idle",
"outcome": null,
"notPerformedReason": null,
"missingInputs": [],
"spent": null,
"result": null
}
],
"responseTime": "2026-01-01T10:00:00.000Z"
} Session not found (200 OK)
{
"status": "error",
"message": "session not found"
} Error (400 Bad Request)
{
"status": "error",
"message": "sessionId or clientKey is required"
} If the request body does not match the schema, invalid schema comes with details.
Error (500 Internal Server Error)
{
"status": "error",
"message": "internal error"
}