Screening API flow
This document describes the new approach to screening, this currently applies only to the KYB document.
Overview
Screening searches global watchlists for the person or company you are verifying: sanctions lists, politically exposed persons (PEPs), regulatory and law-enforcement actions, and other risk sources. Each record that might match the subject is returned as a finding of type ScreeningResultFinding. A finding shows the matched name and its aliases, how strongly it matches, which categories it falls under, and the sources it was found in.
A typical integration has three steps. First, read the check summary to get the overall recommendation. If it is CONSIDER, list the screening findings for the check and show them to a reviewer. Then record the reviewer's decision on each finding with the resolve API. A decision is a status (positive match, possible match or false positive), a risk level, at least one reason and optional notes. Resolving findings is how a screening result moves from "needs review" to an outcome you can rely on.
Note: ongoing monitoring can present the user with a new screening finding, or amend the state of an existing finding.
Screening overall recommendation
A user may see the current overall screening recommendation from the GetStatus API. The return field payload.screeningResult.recommendation shall contain one of the following:
- Clear - No further screening actions are required
- Consider - Further screening actions are required
Any other status can be considered a screening failure
curl --location 'https://api.thirdfort.dev/client/api/v1alpha2/organizations/<ORGANISATION>/teams/<TEAM>/checks/<CHECK>/checkSummary' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <TOKEN>'
Listing screening results
Detailed screening results are carried by findings of the type ScreeningResultFindings. A user may list all ScreeningResultFindings by
calling the list findings endpoint providing a type
filter of type = "type.googleapis.com/thirdfort.client.checks.type.v1alpha2.ScreeningResultFinding" (url encoded) for a given check. The resulting finding type can be found here.
curl --location 'https://api.thirdfort.dev/client/api/v1alpha2/organizations/<ORGANISATION>/teams/<TEAM>/checks/<CHECK>/findings?filter=type%20%3D%20%22type.googleapis.com%2Fthirdfort.client.checks.type.v1alpha2.ScreeningResultFinding%22' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <TOKEN>'
Paging screening results
The list findings api is paged, a page size may be set using the pageSize query parameter (up to a max size of 100). If the list findings api contains a nextPageToken field in it's result that is anything other than an empty string, then the value may be applied to query parameter pageToken to retrieve the next page of results. Repeat until all results are retrieved.
Resolving a finding
To transition a finding between the resolution states one must use the resolve API.
curl --location 'https://api.thirdfort.dev/client/api/v1alpha2/organizations/<ORGANISATION>/teams/<TEAM>/checks/<CHECK>/findings:batchResolveScreening' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <TOKEN>' \
--data '{
"findingNames": [
"<FINDING>"
],
"statusType": "SCREENING_RESOLUTION_STATUS_TYPE_POSITIVE",
"riskLevel": "SCREENING_RESOLUTION_RISK_LEVEL_MEDIUM",
"reasons": [
"SCREENING_RESOLUTION_REASON_NAME"
],
"notes": "resolved because of name"
}'
The body must contain a finding name (as retrieved from listFindings) and a valid Status Type, Risk Level and at least one Reason.