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.
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
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
Test names
When it does not go through
Every call is in Screenings, with its errors and what it charges. To keep the person screened, see Monitor people.