Skip to content

Link Searches To Key Parties

Request

Add searches link to key parties for the current logged in user.

The request returns 200 even when some links fail. Each key party and search pair that can't be linked is returned in failed, with the reason in error.details, for example when the search can't be found.

Security
bearerToken
Path
profileIdstring, (uuid)required

id of the profile

Example:8cb4d8a3-d277-4205-9d6c-f3f3a8b65f31
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 key party and search pairs to link.

itemsArray of objects

The key party and search pairs to link.

curl -i -X POST \
  https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/profiles/8cb4d8a3-d277-4205-9d6c-f3f3a8b65f31/keyparties/searches/link \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-Team-Id: 6b78aed4-9ba6-441b-80b9-df9bea3b7c97' \
  -d '{
    "items": [
      {
        "keyPartyId": "ecc942dc-64f0-4021-8f43-7908e339a728",
        "searchId": "511a38c1-2016-420d-84bb-0873be8d4d2b"
      }
    ]
  }'

Responses

Success

Bodyapplication/json
failedArray of objects

The links that couldn't be made, each with the reason.

successfulArray of objects

The links that were made.

correlationIdstring

A unique ID assigned to this request.

Response
{ "successful": [ { … } ], "failed": [], "correlationId": "d2352faa-80e8-42a7-b384-e41394b558c9" }