Skip to content
Last updated

Individual AML Search Workflow

Overview

This page describes the production-focused AML screening workflow for individual persons:

  1. Authenticate - Generate authentication token
  2. Create Individual AML Search - Submit person screening request
  3. Retrieve AML Hits - Get list of potential matches
  4. Retrieve Full AML Intelligence - Get detailed compliance data

This deterministic sequence helps teams integrate quickly and reduces implementation ambiguity.


Workflow Diagram

Authenticate

Create Individual AML Search

Retrieve Individual AML Hits

Retrieve Full Individual Hit Details

Authenticate

Create Individual AML Search

Retrieve Individual AML Hits

Retrieve Full Individual Hit Details

Diagram summary: This flowchart shows a single linear path with four steps: authenticate, create an individual AML search, retrieve individual AML search hits, and retrieve full individual AML hit details.

Workflow Summary: Authenticate with the platform, perform an individual AML screening search using personal details, retrieve screening hits, and retrieve detailed compliance intelligence for a selected match.


Workflow Summary Table

StepOperationIdEndpointPurpose
1authenticatePOST /authenticateGenerate authentication token
2complianceKycProtectCreateIndividualsSearchPOST /compliance/kyc-protect/searches/individualsCreate individual AML search
3getsTheIndividualSearchHitsGET /compliance/kyc-protect/searches/individuals/{searchId}/hitsRetrieve individual AML hits
4returnsFullProfileInformationOfAIndividualHitByHitIdGET /compliance/kyc-protect/searches/individuals/{searchId}/hits/{hitId}Retrieve full individual AML intelligence

Step 1: Authenticate

Before accessing any KYC Protect endpoints, an authentication token must be generated.

The returned bearer token should be included in the Authorization header for all subsequent requests.

Endpoint

POST /authenticate

Example Request

{
  "username": "your-username",
  "password": "your-password"
}

Example Response

{
  "token": "eyJhbGciOi..."
}

Success Criteria

Condition
HTTP Status Code = 200
Authentication token returned

Workflow Outputs

OutputDescription
tokenBearer token used for subsequent API requests

Create an individual AML search for the person. The response has the search id, which the next steps take.

Endpoint

POST /compliance/kyc-protect/searches/individuals

Example Request

{
  "firstName": "Donald",
  "lastName": "Trump",
  "threshold": 90,
  "datasets": ["PEP", "SAN", "AM"]
}

Request Parameters

PropertyTypeRequiredDescription
namestringConditionalFull name. Send either name, or firstName and lastName
firstNamestringConditionalFirst name, sent with lastName
lastNamestringConditionalLast name, sent with firstName
middleNamestringNoMiddle name, sent with firstName and lastName
dateOfBirthstringNoDate of birth, YYYY-MM-DD or YYYY
isDobRequiredbooleanNotrue returns only hits whose date of birth matches dateOfBirth. Only used when dateOfBirth is sent
dobMatchingstringNoHow close the date of birth must be: exact, sameYear or withinOneYear
genderstringNomale or female
thresholdintegerYesMatch threshold: 75, 80, 85, 90, 95 or 100
datasetsarrayYesDatasets to screen against. See Dataset Definitions
pepTiersarrayNoPEP tiers to include: pepTier1, pepTier2, pepTier3
countryCodesarrayNoCountries to screen in
sanctionBodiesarrayNoSanction body ids from Return Sanction Body Details. When not sent, your AML preference settings apply

Name Field Requirements:

  • Option 1: Provide name (full name as a single string)
  • Option 2: Provide firstName AND lastName (with optional middleName)

Sending dateOfBirth changes the hit scores. With isDobRequired: true, only hits with a matching date of birth are returned, and dobMatching sets how close the match must be.


Example Response

{
  "id": "3e67f4b6-4cd1-49ef-aa53-3d049f642101",
  "firstName": "Donald",
  "lastName": "Trump",
  "type": "individual",
  "threshold": 90,
  "datasets": ["PEP", "SAN", "AM"],
  "pepTiers": ["pepTier1", "pepTier2", "pepTier3"],
  "isDobRequired": false,
  "dobMatching": "sameYear",
  "status": "new",
  "riskRating": "notApplicable",
  "totalHitCount": 4,
  "truePositiveHitsCount": 0,
  "falsePositiveHitsCount": 0,
  "undecidedHitsCount": 4,
  "correlationId": "a6c4f4ba-5384-46c4-9a1e-a0195ae394b9"
}

Response shortened. The response shows the values used for anything you didn't send, such as pepTiers and sanctionBodies.


Success Criteria

Condition
HTTP Status Code = 201
Search id returned

Workflow Outputs

OutputDescription
searchIdUnique AML search identifier (the response id)
totalHitCountNumber of hits

Common Errors

StatusCause
400A required field is missing, for example name - Name, or FirstName and LastName, is required
401Token expired

Step 3: Retrieve Individual AML Search Hits

Return the hits for the search, one page at a time (page starts at 1, and pageSize is up to 100). Each hit has an id, which Step 4 takes.

Endpoint

GET /compliance/kyc-protect/searches/individuals/{searchId}/hits

Path Parameters

ParameterDescription
searchIdAML search identifier returned from Step 2

Example Response

{
  "items": [
    {
      "supersededHit": null,
      "firstName": null,
      "middleName": null,
      "lastName": null,
      "gender": "male",
      "datesOfBirth": ["1946-06-14"],
      "pepTier": "pepTier1",
      "id": "a90eccaf-8fd8-41d7-876b-51a288122d8f",
      "hitScore": 100,
      "name": "Donald John Trump",
      "match": "Donald Trump",
      "countries": ["US", "CA"],
      "datasets": ["PEP-CURRENT", "ENF", "AM", "SAN-CURRENT"],
      "decision": "undecided",
      "note": null,
      "modifiedById": 100000001,
      "modifiedBy": "Jane Smith",
      "modifiedAt": "2026-11-05T14:19:32.654Z",
      "createdAt": "2026-11-05T14:19:32.654Z"
    }
  ],
  "totalSize": 4,
  "correlationId": "d81d498b-d6fd-411e-a07c-54df1575c7d2"
}

Response shortened to the first of the 4 hits. hitScore is how closely the hit matches, and match is the name that matched. The person's name is in name. A hit doesn't have a risk rating.


Success Criteria

Condition
HTTP Status Code = 200
Hits collection returned (can be empty)

Workflow Outputs

OutputDescription
hitsThe items list (can be empty)
firstHitIdid of the first item in items (not present when items is empty)

Common Errors

StatusCause
404Search Not Found

Step 4: Retrieve Full Individual AML Hit Details

Return the full record of one hit.

Endpoint

GET /compliance/kyc-protect/searches/individuals/{searchId}/hits/{hitId}

Path Parameters

ParameterDescription
searchIdAML search identifier
hitIdAML hit identifier

Example Response

{
  "id": "a90eccaf-8fd8-41d7-876b-51a288122d8f",
  "firstName": "Donald",
  "middleName": "John",
  "lastName": "Trump",
  "gender": "male",
  "datesOfBirth": ["1946-06-14"],
  "isDeceased": false,
  "datesOfDeath": [],
  "hitScore": 100,
  "name": "Donald John Trump",
  "match": "Donald Trump",
  "decision": "undecided",
  "amlResults": {
    "AM": [
      {
        "value": { "category": "Financial Crime and Fraud", "subCategory": "Tax Offences" },
        "events": [
          {
            "id": "4fc3e74b-43ae-4a2e-8fb0-16b262dedb16",
            "type": "Other",
            "date": "2016",
            "sources": [
              {
                "id": "6ab01c6a-0e3a-4663-a22e-b94f3f295ad9",
                "title": "Two experts say Donald Trump should be investigated for criminal tax evasion"
              }
            ]
          }
        ]
      }
    ]
  },
  "correlationId": "333976f8-ecd1-454d-a35a-f6a866240597"
}

Response shortened. amlResults groups the findings by dataset (for example AM, PEP, SAN, ENF and DD), and each finding has its events and their sources. An event date holds a year, a year and month, or a full date. businessLinks and individualLinks list related businesses and people.


Success Criteria

Condition
HTTP Status Code = 200
Full AML intelligence returned

Workflow Outputs

OutputDescription
hitDetailsThe full hit record

Example End-to-End Workflow Sequence

AMLAPIAuthAPIClientAMLAPIAuthAPIClientPOST /authenticatetokenPOST /searches/individualssearchId + hitCountGET /searches/individuals/{searchId}/hitsAML hits[]GET /searches/individuals/{searchId}/hits/{hitId}Full AML intelligence profile
AMLAPIAuthAPIClientAMLAPIAuthAPIClientPOST /authenticatetokenPOST /searches/individualssearchId + hitCountGET /searches/individuals/{searchId}/hitsAML hits[]GET /searches/individuals/{searchId}/hits/{hitId}Full AML intelligence profile

Diagram summary: This sequence diagram shows the client authenticating first, then creating an individual search, retrieving hits for that search, and finally retrieving full details for one selected hit.


Workflow Decision Diagram

Yes

No

Yes

No

Yes

No

Yes

No

Authenticate

Authentication successful?

Create individual AML search

Authentication failed

Search successful?

Retrieve AML hits

Handle AML search failure

Any hits returned?

Select AML hit

No AML hits found

Retrieve full AML hit details

Details returned?

Workflow complete

Handle AML detail failure

Yes

No

Yes

No

Yes

No

Yes

No

Authenticate

Authentication successful?

Create individual AML search

Authentication failed

Search successful?

Retrieve AML hits

Handle AML search failure

Any hits returned?

Select AML hit

No AML hits found

Retrieve full AML hit details

Details returned?

Workflow complete

Handle AML detail failure

Diagram summary: This decision flow shows success and failure paths for each stage: authentication, search creation, hit retrieval, and detailed hit retrieval, ending in workflow completion or a stage-specific failure outcome.


Authentication Requirements

All requests following authentication must include the bearer token in the request header.

Example Header

Authorization: Bearer <token>

AML Match Threshold Guidance

The threshold property controls match sensitivity.

ThresholdBehavior
Lower ThresholdBroader match results
Higher ThresholdMore precise match results

threshold is the lowest hit score returned, so a lower threshold returns more hits. The KYC Protect web app uses 90.


AML Dataset Configuration

The datasets property controls which screening datasets are evaluated during AML screening.

Example

{
  "datasets": ["AM", "PEP", "SAN"]
}

Dataset definitions are documented separately within the KYC Protect documentation.

Individual-Specific Dataset Notes

  • PEP datasets: PEP is all PEPs; PEP-CURRENT, PEP-FORMER and PEP-LINKED narrow it
  • PEP tiers: pepTiers sets which tiers are included. When not sent, all three tiers are included
  • Business-only datasets: SOE (State Owned Enterprises) is a business dataset; DD (Disqualified Directors) is an individual dataset

Required Workflow Inputs

Required:
  - username (string)
  - password (string)
  - threshold (integer: 75, 80, 85, 90, 95, or 100)
  - datasets (array)
  - name OR (firstName + lastName)

Optional:
  - middleName (string)
  - dateOfBirth (string, YYYY-MM-DD or YYYY)
  - isDobRequired, dobMatching, pepTiers, sanctionBodies
  - gender (string: "male" or "female")
  - countryCodes (array)