Skip to content

Request Multiple Searches Linked To A Key Party Asynchronously

Request

Request multiple searches to be performed and linked to a key party asynchronously

Security
bearerToken
Path
profileIdstring, (uuid)required

id of the profile

Headers
X-Team-Idstring, (uuid)

Optional. The team to work in, using a team id from List Teams. If left out, the default team is used. Records created in a team can only be seen by sending that team's id. A team id that doesn't exist, or a team being deleted, is rejected with 404 Team Not Found.

Example:6b78aed4-9ba6-441b-80b9-df9bea3b7c97
Bodyapplication/json

The searches to run and the key parties to link them to.

itemsArray of objects(AddKeyPartySearchContract)required

The Request Items collection

curl -i -X POST \
  'https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/profiles/{profileId}/keyparties/searches/bulk' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-Team-Id: 6b78aed4-9ba6-441b-80b9-df9bea3b7c97' \
  -d '{
    "items": [
      {
        "type": "individual",
        "name": "string",
        "firstName": "string",
        "middleName": "string",
        "lastName": "string",
        "dateOfBirth": "2019-08-24",
        "gender": "male",
        "pepTiers": [
          "string"
        ],
        "datasets": [
          "string"
        ],
        "sanctionBodies": [
          0
        ],
        "countryCodes": [
          "string"
        ],
        "threshold": 0,
        "keyPartyId": "fdc696df-3708-44b9-964f-6f4cff7001e9",
        "isDobRequired": true,
        "dobMatching": "withinOneYear"
      }
    ]
  }'

Responses

Accepted. The searches run in the background as an async AML job. Use the job id with Return Async AML Jobs By Id to follow its progress, and Return Async Job Criteria By Id to see each search.

Bodyapplication/json
idstring, (uuid)

Id of the async AML job.

statusstring

Status of the job: created, processing or completed.

Enum:"created""processing""completed"
createdAtstring, (date-time)

Date and time the job was created.

createdByIdinteger, (int32)

Id of the user who created the job.

createdBystring

Name of the user who created the job.

startedAtstring or null, (date-time)

Date and time the job started. null until it has started.

finishedAtstring or null, (date-time)

Date and time the job finished. null until it has finished.

criteriaCountinteger, (int32)

Number of searches in the job.

correlationIdstring

A unique ID assigned to this request.

Response
{ "id": "cb8c0517-7b3a-425b-883c-19c8bcc0cf86", "status": "created", "createdAt": "2026-11-05T09:31:13.068Z", "createdById": 100000001, "createdBy": "Jane Smith", "startedAt": null, "finishedAt": null, "criteriaCount": 1, "correlationId": "395f5437-1320-41e0-a828-4f92ceedeba3" }