Screen Entity
Universal screening method with db-first check strategy. Checks database for existing results first, then performs new screening if needed. Use force=true to bypass cache and force new screening.
/v1/kyc/screeningAuthorization
bearerAuth JWT token obtained from authentication endpoint. Include the token in the Authorization header as 'Bearer {{user_token}}'
In: header
Query Parameters
Force new screening, bypassing database cache (case-insensitive, accepts 'true', 'TRUE', 'True', etc.)
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/kyc/screening" \ -H "Content-Type: application/json" \ -d '{ "entity_type": "customers", "entity_id": "5e5620ad-241f-4779-bf07-bf81d010b340", "individual": { "first_name": "John", "last_name": "Doe", "date_of_birth": "1980-01-01", "nationality": "US" }, "screening_types": [ "sanctions", "peps" ], "metadata": { "source": "customer_onboarding", "customer_id": "123e4567-e89b-12d3-a456-426614174000" } }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"entity_type": "individual",
"entity_id": "8161163a-f227-466f-bc01-090a01e80165",
"entity_name": "string",
"entity_schema": "string",
"collection": "string",
"status": "pending",
"screening_date": "2019-08-24T14:15:22Z",
"match_count": 0,
"highest_score": 0,
"has_matches": true,
"assigned_to": "b9f52997-ff03-4166-bbff-22fd35e12939",
"assigned_at": "2019-08-24T14:15:22Z",
"case_id": "c74269e5-1f97-4e20-9164-ffbe3494d8d6",
"matches": [
{
"id": "string",
"caption": "string",
"schema": "string",
"score": 0,
"match": true,
"target": true,
"datasets": [
"string"
]
}
],
"metadata": {},
"response": {}
}{
"status": 400,
"message": "Invalid request parameters"
}{
"status": 401,
"message": "Authentication required"
}{
"status": 403,
"message": "Insufficient permissions"
}{
"status": 500,
"message": "Internal server error"
}Returns the identity verification status. By default returns cached data. Use ?refresh=true to fetch fresh data from Ondato API. Active sessions (pending/in_progress) older than 5 minutes are automatically refreshed.
Comprehensive search method for existing screening records in the database with advanced query capabilities.