Skip to content

GuidesScreen

Screen a person

Screen someone against sanctions, politically exposed persons and watch lists from your server: one call, then the result by webhook or by reading the screening. Someone new is added to People on the way, and nothing about it reaches the person.

Updated

Ask about this pageRead this page as Markdown

Before you start

  • A key with screenings:write, or a member role of Owner, Admin or Analyst. A Developer screens in test mode.
  • The person’s full name. A date of birth and a nationality make a match easier to decide; a passport number goes with someone new.
  • In test mode, one of the test names below. A test key never reaches the lists and is never charged.

Screen them

Give someone already in People by person_id, and they are screened from their verified facts, else their profile. Or give the name and details of someone new: People adds them, or finds them by your reference. Add monitored to keep screening them.

Screen someone new and wait up to 10 seconds for the result
curl -X POST https://api.kontiga.com/v1/screenings \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Idempotency-Key: screen-CUST-90211-2026-11-26" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Aisling Moran", "birth_date": "1983-07-19", "nationality": "IE", "reference": "CUST-90211", "wait": 10 }'

nationality is a two-letter country code (IE) or the country’s English name (Ireland, United States, United Kingdom); birth_date is the full date, yyyy-mm-dd. The same call in every form; send the Idempotency-Key header with it, as above:

curl -X POST https://api.kontiga.com/v1/screenings \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Aisling Moran",
    "birth_date": "1983-07-19",
    "nationality": "IE",
    "reference": "CUST-90211",
    "wait": 10
  }'

POST /v1/screenings

The answer is 201 with the screening: with no wait it comes at once, pending while the run goes on; with wait it comes when the run ends, or as it stands when the wait runs out. A person whose screening is still valid (30 days from its last run, or for as long as they are monitored) and whose details have not changed gets it back with 200, with no new run and no charge; pass rescreen to run anyway. While a run is in flight, a second request for the same person gets the same screening.

Get the result

Ways to get a result
WayHowWhen
WaitPass wait up to 10 seconds on the API. The answer holds until the run ends, and comes as it stands when the wait runs out. While the lists cannot be reached it comes at once, pending.A person is waiting on screen.
Webhookscreening.completed when the run ends, and screening.match_found when it added a match, signed with Kontiga-Signature. Each carries the screening.Servers. Delivered at least once.
FetchRead the person’s screening, or the screening by its id, at any time.Showing it again.
curl -X GET https://api.kontiga.com/v1/screenings/scr_0193b1d05f6a7e21b8c3d4e5f6a7b8c9 \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/screenings/{screening_id}

Read the state

What the state says
StateMeansDo
clearNo match waits and none is confirmed.Go on.
possible_matchA listed entry comes close and waits for a decision.Review it: Review a possible match.
confirmed_matchA member confirmed a listed entry is the person.Follow your own procedure for a listed person.
pendingIt has not run yet, or the lists could not be reached and it runs again by itself.Wait for screening.completed.
not_screenedIt could not run; not_screened_reason says why. Never charged.Fix the reason, then screen again.

Test names

What each test name gives
NameGives
Jane ExampleOne undecided match, in the sanction group.
Test Unavailablepending, then not_screened with unavailable after 60 seconds.
Test Refusednot_screened with refused_query.
Any other nameclear.

When it does not go through

Failures to plan for
AnswerMeansDo
400 invalid_inputNothing to screen (no name, or a person id and a name together), a nationality that is not a country code or a country’s name, a date of birth that is not a full date, or a passport number that does not fit the nationality’s passports. issues names the field.Send a name, or the person’s id alone; a country code; the full date.
402 insufficient_creditNothing covers the screening: the free start and the credit are used, or monitoring was asked for with neither a plan nor credit.Add credit, or choose a plan.
404No such person in this workspace and mode.Check the id, and live or test.
not_screenedThe run could not be made, with the reason.Nothing is charged. Screen again once the reason is gone.

Every call is in Screenings, with its errors and what it charges. To keep the person screened, see Monitor people.