{"openapi":"3.0.0","info":{"title":"AML API","version":"2","description":"AML API.\n\nThis API uses endpoint-level versioning. The version is part of each operation path.\n\nThe ReadMe documentation version is independent of the AML API. This reference is published on the ReadMe 2.0 documentation version.\n\n**Authentication:** Create an access token with [Create access token](ref:create-access-token) in the Fourthline APIs reference. That endpoint is shared and is documented once. Send the token as `Authorization: Bearer <access_token>`.\n\nUse these operations whether the workflow was created with the Identity Verification API v1 or the Identity Verification API v2. The requests, fields, and identifiers are the same.\n"},"servers":[{"url":"https://api.ext-sandbox.fourthline.com","description":"Main API host. The JSON workflow report is served at **`/v2/workflows/{workflowId}/report/json`** on this host.\n"}],"tags":[{"name":"Screening & Monitoring","description":"AML API screening and monitoring. Paths keep their own versions: `/v2/clients`, `/v4/WatchlistAutomation`, and `/v1/verifications/{verificationId}/getpdfresult`. Use these endpoints whether the workflow was created with the Identity Verification API v1 or the Identity Verification API v2. The requests, fields, and identifiers are the same.\n"},{"name":"Sensitivity List","description":"AML API sensitivity list. Add, update, retrieve, and remove client profiles. Paths use `/v1/sensitivityList`."}],"components":{"parameters":{"authorization":{"name":"Authorization","in":"header","required":true,"description":"The `access_token` returned in your most recent [Create access token](ref:create-access-token) response.","schema":{"type":"string","default":"Bearer <access_token>"}},"cacheControl":{"name":"Cache-Control","in":"header","required":false,"description":"To have the response validated by the origin server instead of reusing stored content, we strongly recommend including this parameter and setting it to `no-cache`.","schema":{"type":"string","default":"no-cache"}},"ClientIdAML":{"name":"clientId","in":"path","description":"Our unique identifier for the client, returned in the [Create AML client profile](ref:create-aml-client) response. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`","schema":{"type":"string"},"required":true},"IdAML":{"name":"id","in":"path","description":"Our unique identifier for the client, returned in the [Create AML client profile](ref:create-aml-client) response. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`","schema":{"type":"string"},"required":true},"IdSensitivity":{"name":"id","in":"path","description":"Our unique identifier for the sensitive client, returned in the [Add sensitive client](ref:add-sensitive-client) response. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`","schema":{"type":"string"},"required":true},"Tenant":{"name":"tenant","in":"query","description":"Your unique identifier.","schema":{"type":"string"}},"VerificationIdAML":{"name":"verificationId","in":"path","description":"Our unique identifier for the AML investigation, returned in the [Get latest client hit](ref:get-latest-client-hit) response. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`","schema":{"type":"string"},"required":true}},"schemas":{"address":{"type":"object","description":"The client’s address details."},"birthDate":{"type":"string","description":"The client’s date of birth. <br /><br />Format: Date YYYY-MM-DD <br /><br />Example: `1960-10-18`= October 18, 1960"},"branch":{"type":"string","description":"Your configuration for this product. <br />Set the string provided by your Fourthline delivery manager.<br />If **not** set, we use your default configuration. <br /><br /><img src=\"https://files.readme.io/8eb9022-Inline_Tip.svg\" align=\"left\"/> **Tip:** Use this parameter for case configuration in older setups."},"categories":{"type":"string","description":"The [type of hit](https://docs.fourthline.com/v2.0/docs/aml-integration#hit-types): <br />• `AdverseMedia`: An adverse media article hit <br />• `Enforcement`: A legal penalty hit <br />• `Other`: Other type of hit <br />• `PEP`: A <Glossary>PEP</Glossary>  hit <br />• `Sanctions`: A sanctions hit <br /><br /><img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\"/> **Note**: More than one value can be returned."},"city":{"type":"string","description":"The city of the client’s address. <br /><br />Format: Alphabetical characters, spaces, hyphens, and apostrophes <br /><br />Example: `London`"},"clientData":{"type":"object","description":"The client’s <Glossary>identity data</Glossary>."},"clientDataError":{"type":"array","description":"The error relating to the client’s identity data.","items":{"type":"string"}},"clientIdAML":{"type":"string","description":"Our unique identifier for the client, returned in the [Create AML client profile](ref:create-aml-client) response. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`"},"country":{"type":"string","description":"The country of the client’s address. <br /><br />Format: ISO 3166-1 alpha-3 <br /><br />Example: BEL"},"countryOfBirth":{"type":"string","description":"The country where the client was born. <br /><br />Format: ISO 3166-1 alpha-3 <br /><br />Example: BEL"},"creationUtcDateTime":{"type":"string","description":"The timestamp for when the client profile was created <br /><br />Format: ISO 8601 UTC date and time"},"document":{"type":"object","description":"The client’s ID document data."},"documentNumber":{"type":"string","description":"The number of the client’s <Glossary>ID document</Glossary>."},"email":{"type":"string","description":"The client’s email address. <br /><br />Format: Maximum 254 characters [_-a-zA-Z0-9.+]+@a-zA-Z0-9 <br /><br />Example: `j.smith@example.com`"},"emailAndPhone":{"type":"object","description":"The client’s email address and phone number(s)."},"errorCode":{"type":"string","description":"The error code."},"errorMessage":{"type":"string","description":"A human-readable message that explains the error in more detail. <br /><br />Example: \"The access token is invalid or has expired\""},"firstName":{"type":"string","description":"The client’s first name. <br /><br />Format: Alphabetical characters, spaces, hyphens, and apostrophes <br /><br />Example: John"},"gender":{"type":"string","description":"The client’s sex <br /><br />Format: Case sensitive <br />Enum: <br />• `Female`: Female in line with ID document <br />• `Male`: Male in line with ID document <br />• `Other`: ID document contains a value other than `Male` or `Female` <br />• `Unknown`: ID document contains **no** gender field"},"hitId":{"type":"integer","description":"The unique identifier for this hit. If there are no hits, `hitId` is `null`. <br /><br />Format: 5 digits"},"hits":{"type":"array","description":"An object containing information about any hits found. <br />If there are no hits for the client, or none to show after filtering, the object is empty."},"initials":{"type":"string","description":"The client’s initials. <br /><br />Format: Alphabetical characters <br /><br />Example: JCCF"},"lastName":{"type":"string","description":"The client’s last name. <br /><br />Format: Alphabetical characters, spaces, hyphens, and apostrophes <br /><br />Example: Smith"},"lastProcessedDate":{"type":"string","description":"The timestamp for the most recent screening/monitoring for the client. <br /><br />Format: ISO 8601 UTC date and time"},"latestHit":{"type":"object","description":"Information about the most recent hit."},"middleName":{"type":"string","description":"The client’s middle name(s). <br /><br />Format: Alphabetical characters, spaces, hyphens, and apostrophes <br /><br />Example: James"},"mobile":{"type":"string","description":"The client’s mobile phone number. <br /><br />Format: Must include the country code and begin with `00` or `+` **without** spaces <br /><br />Example: `00324123456789` **or** `+324123456789`"},"monitoringType":{"type":"string","description":"The type of AML client. <br />Enum: <br />• `1`: Screening <br />• `2`: Monitoring"},"name":{"type":"string","description":"The client’s full name. <br /><br />Format: Alphabetical characters, spaces, hyphens, and apostrophes <br /><br />Example: John James Smith"},"nationality":{"type":"string","description":"The client’s nationality. <br /><br />Format: ISO 3166-1 alpha-3 country code <br /><br />Example: BEL"},"person":{"type":"object","description":"The client’s <Glossary>personal data</Glossary> ."},"phone":{"type":"string","description":"The client’s landline number. <br /><br />Format: Must include the country code and begin with `00` or `+` **without** spaces <br /><br />Example: 003281123456 **or** +3281123456"},"placeOfBirth":{"type":"string","description":"The city where the client was born. <br /><br />Format: Alphabetical characters, spaces, hyphens, and apostrophes <br /><br />Example: Sint-Agatha-Berchem"},"postalCode":{"type":"string","description":"The zip code of the client’s address. <br /><br />Format: Alphabetical characters, spaces, hyphens, and apostrophes <br /><br />Example: `NW1 6XE`"},"postalCodeNote":{"type":"string","description":"The zip code of the client’s address. <br /><br />Format: Alphabetical characters, spaces, hyphens, and apostrophes <br /><br />Example: 1082 <br /><br /><img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\"/>**Note**: We use Google’s Address Validation API and depend on the quality of their data"},"processEndDate":{"type":"string","description":"The timestamp for when we finished investigating the hit. <br /><br />Format: ISO 8601 UTC date and time"},"processStartDate":{"type":"string","description":"The timestamp for when we started investigating the hit <br /><br />Format: ISO 8601 UTC date and time"},"providerClientId":{"type":"string","description":"Your unique identifier for the client. <br /><br />Format: No set format <br /><br /> <img src=\"https://files.readme.io/8eb9022-Inline_Tip.svg\" align=\"left\"/>**Tip:** This is the **same** value as your `ClientNumberProvider`."},"providerClientIdError":{"type":"array","description":"The error relating to the `providerClientId`."},"regionAddress":{"type":"string","description":"The region of the client’s address <br /><br />Format: Alphabetical characters, spaces, hyphens, and apostrophes <br /><br />Example: Brussels Capital Region"},"statusAML":{"type":"string","description":"The [screening status](https://docs.fourthline.com/v2.0/docs/aml-statuses)."},"statusCodeAML":{"type":"integer","description":"The [status code](https://docs.fourthline.com/v2.0/docs/aml-statuses) for the screening/monitoring."},"street":{"type":"string","description":"The street of the client’s address. <br /><br />Format: Alphabetical characters, spaces, hyphens, and apostrophes <br /><br />Example: Rue Jean-Baptiste Jansen"},"streetNumber":{"type":"integer","description":"The street number of the client’s address. <br /><br />Format: int32 greater than or equal to zero"},"streetNumberPrefix":{"type":"string","description":"The prefix of the street number <br /><br />Example: A1"},"streetNumberSuffix":{"type":"string","description":"The suffix of the street number. <br /><br />Format: Alphabetical characters, spaces, hyphens, and numerals <br /><br />Example: 123A"},"title":{"type":"string","description":"The error type."},"traceId":{"type":"string","description":"The unique identifier for the error."},"type":{"type":"string","description":"The type of entity the client is. <br />Enum: <br />• `Legal Entity`: The client is a company or organization with legal rights and obligations. <br />• `Legal Person`: The client is a non-human entity with legal rights and obligations. <br />• `Natural Person`: The client is a living human."},"typeError":{"type":"string","description":"The link to the error response code description on Data Tracker."},"updatedUtcDateTime":{"type":"string","description":"The timestamp for when the client profile was last updated. <br /><br />Format: ISO 8601 UTC date and time"},"verificationIdAML":{"type":"string","description":"The unique identifier for the AML investigation. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`"},"aliases":{"type":"string","description":"Any other names the client is known by. <br /><br />Format: Alphabetical characters, spaces, hyphens, and apostrophes <br /><br />Example: Muscles"},"category":{"type":"string","description":"The sensitivity list category the client falls into. <br />You can define any categories that you want to track. <br /><br />Format: Free text"},"citizenship":{"type":"string","description":"The country or countries where the client has citizenship <br /><br />Format: Alphabetical characters, spaces, hyphens, and apostrophes <br /><br />Example: Belgium, United States"},"clientId":{"type":"string","description":"Our unique identifier for the client, returned in your first [Create workflow](ref:create-workflow) request for this client. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`"},"enabled":{"type":"boolean","description":"• `true`: This profile is active on your sensitivity list (default). <br /><br />• `false`: This profile is not active on your sensitivity list.","default":true},"errorsArray":{"type":"array","description":"Information about the error."},"furtherInformation":{"type":"string","description":"Any additional information. <br /><br />Format: Free text"},"idSensitiveClient":{"type":"string","description":"Our unique identifier for the sensitive client, returned in the [Add sensitive client](ref:add-sensitive-client) response. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`"},"identificationDocumentNumbers":{"type":"string","description":"The document number of the client’s ID document(s)."},"messageValidation":{"type":"string","description":"A message that there were validation errors in the request."},"providerId":{"type":"string","description":"Your unique identifier. Returned if the sensitive client profile was added using a `verificationId`, otherwise `null`."},"reference":{"type":"string","description":"Your reference number for the client. <br /><br />Format: Free text"},"subcategory":{"type":"string","description":"The sensitivity list subcategory the client falls into. <br />You can define any subcategories that you want to track. <br /><br />Format: Free text"},"taxIdentificationNumber":{"type":"string","description":"The client’s <Glossary>TIN</Glossary>. <br /><br />Example: 12.34.56-789.01"},"urlSensitiveClient":{"type":"string","description":"The URL where you can retrieve the sensitive client profile."},"verificationIdIDV":{"type":"string","description":"The unique identifier for the Identity Verification case. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0` <br /><br /><img src=\"https://files.readme.io/8eb9022-Inline_Tip.svg\" align=\"left\"/>**Tip:** This is the **same** value as the `workflowId` returned in the [Create workflow](ref:create-workflow) response."}}},"paths":{"/v2/clients":{"post":{"summary":"Create AML client profile","description":"AML API. Create an AML client profile and upload the client’s data for screening or monitoring. This path is `/v2/clients`. Use it whether the workflow was created with the Identity Verification API v1 or the Identity Verification API v2. The request, fields, and identifiers are the same. <br /><br /><img src=\"https://files.readme.io/310d4d3-Inline_Caution.svg\" align=\"left\" alt=\"Important\" /> **Important:** Before using this endpoint, see the <a href=\"https://docs.fourthline.com/v2.0/docs/aml-integration-api\">integration guide</a>.","operationId":"create-aml-client","tags":["Screening & Monitoring"],"parameters":[{"$ref":"#/components/parameters/authorization"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["providerClientId","clientData","monitoringType"],"properties":{"providerClientId":{"$ref":"#/components/schemas/providerClientId"},"clientData":{"allOf":[{"$ref":"#/components/schemas/clientData"},{"type":"object","required":["person"],"properties":{"person":{"allOf":[{"$ref":"#/components/schemas/person"},{"type":"object","required":["firstName","lastName","gender","birthDate"],"properties":{"type":{"type":"string","description":"The type of client. Set to `Natural Person`.","enum":["Natural Person"]},"name":{"$ref":"#/components/schemas/name"},"firstName":{"type":"string","description":"The client’s first name. <br /><br />Format: Alphabetical characters, spaces, hyphens, and apostrophes <br /><br />Example: `John`"},"middleName":{"$ref":"#/components/schemas/middleName"},"lastName":{"$ref":"#/components/schemas/lastName"},"nationality":{"$ref":"#/components/schemas/nationality"},"gender":{"allOf":[{"$ref":"#/components/schemas/gender"},{"enum":["Female","Male","Other","Unknown"]}]},"countryOfBirth":{"$ref":"#/components/schemas/countryOfBirth"},"placeOfBirth":{"$ref":"#/components/schemas/placeOfBirth"},"birthDate":{"$ref":"#/components/schemas/birthDate"}}}]},"address":{"allOf":[{"$ref":"#/components/schemas/address"},{"type":"object","properties":{"street":{"$ref":"#/components/schemas/street"},"streetNumberPrefix":{"$ref":"#/components/schemas/streetNumberPrefix"},"streetNumber":{"$ref":"#/components/schemas/streetNumber"},"streetNumberSuffix":{"$ref":"#/components/schemas/streetNumberSuffix"},"postalCode":{"$ref":"#/components/schemas/postalCodeNote"},"region":{"$ref":"#/components/schemas/regionAddress"},"city":{"$ref":"#/components/schemas/city"},"country":{"$ref":"#/components/schemas/country"}}}]},"document":{"allOf":[{"$ref":"#/components/schemas/document"},{"type":"object","properties":{"documentNumber":{"$ref":"#/components/schemas/documentNumber"}}}]},"contact":{"allOf":[{"$ref":"#/components/schemas/emailAndPhone"},{"type":"object","properties":{"email":{"$ref":"#/components/schemas/email"},"phone":{"$ref":"#/components/schemas/phone"},"mobile":{"$ref":"#/components/schemas/mobile"}}}]}}}]},"monitoringType":{"allOf":[{"$ref":"#/components/schemas/monitoringType"},{"enum":["1","2"]}]},"branch":{"$ref":"#/components/schemas/branch"}}}}}},"responses":{"201":{"description":"The AML client profile was created successfully","content":{"application/json":{"examples":{"Created":{"value":"{\n  \"id\": \"0176a9a3-a5b1-485f-b8d2-f6aa3f87486d\",\n  \"providerClientId\": \"<Your-client-id>\",\n  \"clientData\": {\n    \"person\": {\n      \"firstName\": \"John\",\n      \"middleName\": \"James\",\n      \"lastName\": \"Smith\",\n      \"nationality\": \"NLD\",\n      \"gender\": \"Female\",\n      \"countryOfBirth\": \"NLD\",\n      \"placeOfBirth\": \"Amsterdam\",\n      \"birthDate\": \"1965-10-03T00:00:00\"\n    },\n    \"address\": {\n      \"city\": \"Amsterdam\",\n      \"country\": \"NLD\"\n    },\n    \"document\": {\n      \"documentNumber\": \"{DOCUMENT_NUMBER}\"\n    }\n  },\n  \"monitoringType\": 2,\n  \"creationUtcDateTime\": \"2020-12-28T13:57:22.9931256Z\",\n  \"updateUtcDateTime\": \"2020-12-28T13:57:22.9931272Z\"\n}"}},"schema":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/clientIdAML"},"providerClientId":{"$ref":"#/components/schemas/providerClientId"},"clientData":{"allOf":[{"$ref":"#/components/schemas/clientData"},{"type":"object","properties":{"person":{"allOf":[{"$ref":"#/components/schemas/person"},{"type":"object","properties":{"firstName":{"$ref":"#/components/schemas/firstName"},"middleName":{"$ref":"#/components/schemas/middleName"},"lastName":{"$ref":"#/components/schemas/lastName"},"nationality":{"$ref":"#/components/schemas/nationality"},"gender":{"$ref":"#/components/schemas/gender"},"countryOfBirth":{"$ref":"#/components/schemas/countryOfBirth"},"placeOfBirth":{"$ref":"#/components/schemas/placeOfBirth"},"birthDate":{"$ref":"#/components/schemas/birthDate"}}}]},"address":{"allOf":[{"$ref":"#/components/schemas/address"},{"type":"object","properties":{"city":{"$ref":"#/components/schemas/city"},"country":{"$ref":"#/components/schemas/country"}}}]},"document":{"allOf":[{"$ref":"#/components/schemas/document"},{"type":"object","properties":{"documentNumber":{"$ref":"#/components/schemas/documentNumber"}}}]}}}]},"monitoringType":{"$ref":"#/components/schemas/monitoringType"},"creationUtcDateTime":{"$ref":"#/components/schemas/creationUtcDateTime"},"updateUtcDateTime":{"$ref":"#/components/schemas/updatedUtcDateTime"}}}}}},"400":{"description":"Invalid request or validation errors","content":{"application/json":{"examples":{"clientData_missing":{"value":"{\n  \"errors\": {\n    \"ClientData\": [\n      \"`clientData` must not be empty.\"\n    ],\n    \"ProviderClientId\": [\n      \"`providerClientId` must not be empty.\"\n    ]\n  },\n  \"title\": \"One or more validation errors occurred.\",\n  \"status\": 400,\n  \"traceId\": \"00-6cfb7aca1427e74f8fba9c7b7dfb89ac-54ad4536ad0acb43-00\"\n}"},"providerClientId_already_exists":{"value":"{\n  \"title\": \"Bad Request\",\n  \"status\": 400,\n  \"detail\": \"Client with provider client id '<Your-client-id>' already exists.\",\n  \"traceId\": \"00-f6671fd073fd934aab8e4d868d42d760-018c78ef1f34b543-00\"\n}"}},"schema":{"oneOf":[{"title":"Bad Request","type":"object","properties":{"errors":{"type":"object","description":"Information about the error.","properties":{"ClientData":{"$ref":"#/components/schemas/clientDataError"},"ProviderClientId":{"$ref":"#/components/schemas/providerClientIdError","items":{"type":"string"}}}},"type":{"$ref":"#/components/schemas/typeError"},"title":{"$ref":"#/components/schemas/title"},"status":{"$ref":"#/components/schemas/errorCode"},"traceId":{"$ref":"#/components/schemas/traceId"}}},{"title":"Bad Request - providerClientId exists","type":"object","properties":{"type":{"$ref":"#/components/schemas/typeError"},"title":{"$ref":"#/components/schemas/title"},"status":{"$ref":"#/components/schemas/errorCode"},"detail":{"$ref":"#/components/schemas/errorMessage"},"traceId":{"$ref":"#/components/schemas/traceId"}}}]}}}}},"deprecated":false}},"/v2/WatchlistAutomation/StartSingleTimeMonitoring":{"post":{"summary":"Start one-time screening","description":"Use this endpoint to start a one-time screening for one or more AML clients, **once** per day only. <br /><br /><img src=\"https://files.readme.io/310d4d3-Inline_Caution.svg\" align=\"left\" alt=\"Important\" /> **Important:** Before using this endpoint, see the <a href=\"https://docs.fourthline.com/v2.0/docs/aml-integration-api\">integration guide</a>.","operationId":"start-screening","tags":["Screening & Monitoring"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"},{"in":"query","name":"branch","required":false,"schema":{"$ref":"#/components/schemas/branch"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["clientIds"],"properties":{"clientIds":{"type":"array","description":"An array of every AML client identifier (`id`) to screen, returned in the [Create AML client profile](ref:create-aml-client) response. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0` <br />Limit: 50","items":{"type":"string"}}}}}}},"responses":{"200":{"description":"Screening started","content":{"application/json":{"examples":{"OK":{"value":"{\n  \"clientSingleTimeScreeningStatuses\": [\n    {\n      \"clientId\": \"790f325a-48c9-4b82-bb53-c0ea128236f0\",\n      \"singleTimeScreeningStatus\": \"Scheduled\"\n      }\n    ]\n  }"}},"schema":{"type":"object","properties":{"clientSingleTimeScreeningStatuses":{"type":"array","description":"An array of objects containing the unique identifier and status for each client.<br /><img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\"/> **Note**: At least **1** successfully screened client is required to return a 200 response.","items":{"type":"object","properties":{"clientId":{"$ref":"#/components/schemas/clientIdAML"},"singleTimeScreeningStatus":{"$ref":"#/components/schemas/statusAML"}}}}}}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"examples":{"Bad Request":{"value":"{\n  \"title\": \"One or more validation errors occurred.\",\n  \"status\": 400,\n  \"errors\": {\n    \"ClientIds\": [\n      \"`clientIds` must not be empty.\"\n    ]\n  }\n}"}},"schema":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/title"},"status":{"$ref":"#/components/schemas/errorCode"},"errors":{"type":"object","description":"Information about the error.","properties":{"ClientIds":{"type":"array","items":{"$ref":"#/components/schemas/errorMessage"}}}}}}}}},"422":{"description":"The request could not be processed","content":{"application/json":{"examples":{"Unprocessable entity":{"value":"{\n  \"title\": \"Unprocessable Entity\",\n  \"status\": 422,\n  \"traceId\": \"|80e7c782-46928410a9793683.\"\n}"}},"schema":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/title"},"status":{"$ref":"#/components/schemas/errorCode"},"traceId":{"$ref":"#/components/schemas/traceId"}}}}}}},"deprecated":false}},"/v4/WatchlistAutomation/GetClientStatus/{clientId}":{"get":{"summary":"Get latest client hit","description":"Use this endpoint to get the most recent hit for a specific client. <br /><br /><img src=\"https://files.readme.io/310d4d3-Inline_Caution.svg\" align=\"left\" alt=\"Important\" /> **Important:** Before using this endpoint, see the <a href=\"https://docs.fourthline.com/v2.0/docs/aml-integration-api\">integration guide</a>. <br /><br /><img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** This is a new version of this endpoint. See also the <a href=\"ref:get-latest-client-hit-v3\">previous version</a>.","operationId":"get-latest-client-hit","tags":["Screening & Monitoring"],"parameters":[{"$ref":"#/components/parameters/ClientIdAML"},{"$ref":"#/components/parameters/authorization"}],"responses":{"200":{"description":"Latest client hit returned","content":{"application/json":{"examples":{"Valid":{"value":"{\n  \"lastProcessedDate\": \"2022-09-29T06:48:39.45915Z\",\n  \"clientId\": \"018387ff-fcfc-4e3c-ad86-29025053d604\",\n  \"latestHit\": {\n      \"hitId\": 34597,\n      \"result\": \"false_positive\",\n      \"categories\": \"PEP\",\n      \"processStartDate\": \"2022-09-29T06:48:42.26276Z\",\n      \"processEndDate\": \"2022-09-29T06:48:42.262778Z\",\n      \"statusCode\": 110,\n      \"verificationId\": null\n  }\n}"},"Invalid":{"value":"{\n  \"status\": \"invalid\"\n}"}},"schema":{"oneOf":[{"title":"OK Valid","type":"object","properties":{"lastProcessedDate":{"$ref":"#/components/schemas/lastProcessedDate"},"clientId":{"$ref":"#/components/schemas/clientIdAML"},"latestHit":{"allOf":[{"$ref":"#/components/schemas/latestHit"},{"type":"object","properties":{"hitId":{"$ref":"#/components/schemas/hitId"},"result":{"type":"string","description":"The outcome of the latest hit: <br />• `confirmed_hit`: Our investigation confirmed the hit is definitely for this client. <br />• `false_positive`: Our investigation found that a potential hit **wasn’t** for this client. <br />• `validating`: This is a potential hit. <br /><br /><img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\"/> **Note**: <br />If there are: <br />• Confirmed hits, the most recent confirmed hit is returned <br />• No confirmed hits but there are false positive hits, the most recent false positive is returned <br />• No confirmed or false positive hits but there are potential hits that have not (yet) been investigated, the most recent potential hit is returned with `validating` status"},"categories":{"$ref":"#/components/schemas/categories"},"processStartDate":{"$ref":"#/components/schemas/processStartDate"},"processEndDate":{"$ref":"#/components/schemas/processEndDate"},"statusCode":{"$ref":"#/components/schemas/statusCodeAML"},"verificationId":{"$ref":"#/components/schemas/verificationIdAML"}}}]}}},{"title":"OK Invalid","type":"object","properties":{"status":{"type":"string","description":"The `clientId` was invalid."}}}]}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"examples":{"Bad Request":{"value":"{\n  \"errors\": {\n    \"ClientData\": [\n      \"`clientData` must not be empty.\"\n    ],\n  },\n  \"title\": \"One or more validation errors occurred.\",\n  \"status\": 400,\n  \"traceId\": \"00000000-0000-0000-0000-000000000000\"\n}"}},"schema":{"type":"object","properties":{"errors":{"type":"object","description":"Information about the error.","properties":{"ClientData":{"$ref":"#/components/schemas/clientDataError"}}},"type":{"$ref":"#/components/schemas/typeError"},"title":{"$ref":"#/components/schemas/title"},"status":{"$ref":"#/components/schemas/errorCode"},"traceId":{"$ref":"#/components/schemas/traceId"}}}}}}},"deprecated":false}},"/v4/WatchlistAutomation/GetClientHits/{clientId}":{"get":{"summary":"Get all client hits","description":"Use this endpoint to get a list of all hits for a specific client. <br /><br /><img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** This is a new version of this endpoint. See also the <a href=\"ref:get-all-client-hits-v3\">previous version</a>.","operationId":"get-all-client-hits","tags":["Screening & Monitoring"],"parameters":[{"$ref":"#/components/parameters/ClientIdAML"},{"$ref":"#/components/parameters/authorization"},{"name":"hitResult","in":"query","description":"Filter hits by status. <br /> Enum: <br />• `confirmed_hit`: Confirmed hits <br />• `false_positive`: False positive hits <br />• `validating`: Hits under investigation <br />• Or leave empty","schema":{"type":"string"}},{"name":"hitKind","in":"query","description":"Filter hits by [type of hit](https://docs.fourthline.com/v2.0/docs/aml-integration#hit-types). <br /> Enum: <br />• `AdverseMedia`: An adverse media hit <br />• `Enforcement`: A legal penalty hit <br />• `Other`: Any other type of hit  <br />• `PEP`: A <Glossary>PEP</Glossary>  hit <br />• `Sanctions`: A sanctions hit","schema":{"type":"string"}},{"name":"hitsSinceUtc","in":"query","description":"Filter hits by date. <br />Set the start date of the time frame you want to view hits for, including on this date. <br /><br />Format: YYYY-MM-DD","schema":{"type":"string","format":"date"}},{"name":"hitsUntilUtc","in":"query","description":"Filter hits by date <br />Set the end date of the time frame you want to view hits for, including on this date. <br /><br />Format: YYYY-MM-DD","schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"Client hits returned","content":{"application/json":{"examples":{"Hits":{"value":"{\n    \"clientId\": \"018387ff-fcfc-4e3c-ad86-29025053d604\",\n    \"hits\": [\n        {\n            \"hitId\": 34597,\n            \"result\": \"false_positive\",\n            \"categories\": \"PEP\",\n            \"processStartDate\": \"2022-09-29T06:48:42.26276Z\",\n            \"processEndDate\": \"2022-09-29T06:48:42.262778Z\",\n            \"statusCode\": 110,\n            \"verificationId\": null\n        },\n        {\n            \"hitId\": 34596,\n            \"result\": \"false_positive\",\n            \"categories\": \"PEP\",\n            \"processStartDate\": \"2022-09-29T06:48:42.26276Z\",\n            \"processEndDate\": \"2022-09-29T06:48:42.262778Z\",\n            \"statusCode\": 110,\n            \"verificationId\": null\n        },\n        {\n            \"hitId\": 34595,\n            \"result\": \"false_positive\",\n            \"categories\": \"Sanctions\",\n            \"processStartDate\": \"2022-09-29T06:48:42.262759Z\",\n            \"processEndDate\": \"2022-09-29T06:48:42.262777Z\",\n            \"statusCode\": 100,\n            \"verificationId\": null\n        },\n        {\n            \"hitId\": 34594,\n            \"result\": \"validating\",\n            \"categories\": \"Sanctions\",\n            \"processStartDate\": \"2022-09-29T06:48:42.262759Z\",\n            \"processEndDate\": null,\n            \"statusCode\": 1000,\n            \"verificationId\": \"0e37c0ce-a06f-458e-afd0-c9e1069dc861\"\n        },\n        {\n            \"hitId\": 34593,\n            \"result\": \"false_positive\",\n            \"categories\": \"Sanctions\",\n            \"processStartDate\": \"2022-09-29T06:48:42.262759Z\",\n            \"processEndDate\": \"2022-09-29T06:48:42.262777Z\",\n            \"statusCode\": 100,\n            \"verificationId\": null\n        },\n        {\n            \"hitId\": 34592,\n            \"result\": \"validating\",\n            \"categories\": \"Sanctions\",\n            \"processStartDate\": \"2022-09-29T06:48:42.262758Z\",\n            \"processEndDate\": null,\n            \"statusCode\": 1000,\n            \"verificationId\": \"0e37c0ce-a06f-458e-afd0-c9e1069dc861\"\n        },\n        {\n            \"hitId\": 34591,\n            \"result\": \"validating\",\n            \"categories\": \"Sanctions\",\n            \"processStartDate\": \"2022-09-29T06:48:42.262758Z\",\n            \"processEndDate\": null,\n            \"statusCode\": 1000,\n            \"verificationId\": \"0e37c0ce-a06f-458e-afd0-c9e1069dc861\"\n        },\n        {\n            \"hitId\": 34590,\n            \"result\": \"false_positive\",\n            \"categories\": \"Sanctions\",\n            \"processStartDate\": \"2022-09-29T06:48:42.262758Z\",\n            \"processEndDate\": \"2022-09-29T06:48:42.262774Z\",\n            \"statusCode\": 100,\n            \"verificationId\": null\n        },\n        {\n            \"hitId\": 34589,\n            \"result\": \"false_positive\",\n            \"categories\": \"Sanctions\",\n            \"processStartDate\": \"2022-09-29T06:48:42.262755Z\",\n            \"processEndDate\": \"2022-09-29T06:48:42.262773Z\",\n            \"statusCode\": 100,\n            \"verificationId\": null\n        }\n    ]\n}"},"No (matching) hits":{"value":"{\n  \"clientId\": \"017d56bb-3b7e-43c4-8b47-7086ca93e2d3\",\n  \"hits\": []\n}"}},"schema":{"oneOf":[{"title":"Hits","type":"object","properties":{"clientId":{"$ref":"#/components/schemas/clientIdAML"},"hits":{"allOf":[{"$ref":"#/components/schemas/hits"},{"type":"array","items":{"type":"object","properties":{"hitId":{"$ref":"#/components/schemas/hitId"},"result":{"type":"string","description":"The outcome of the hit: <br />• `confirmed_hit`: Our investigation confirmed the hit is definitely for this client. <br />• `false_positive`: Our investigation found that a potential hit **wasn’t** for this client. <br />• `validating`: This is a potential hit."},"categories":{"$ref":"#/components/schemas/categories"},"processStartDate":{"$ref":"#/components/schemas/processStartDate"},"processEndDate":{"$ref":"#/components/schemas/processEndDate"},"statusCode":{"$ref":"#/components/schemas/statusCodeAML"},"verificationId":{"$ref":"#/components/schemas/verificationIdAML"}}}}]}}},{"title":"No (matching) hits","type":"object","properties":{"clientId":{"$ref":"#/components/schemas/clientIdAML"},"hits":{"type":"array","description":"The object is empty."}}}]}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"examples":{"Bad Request":{"value":"{\n  \"errors\": {\n    \"ClientData\": [\n      \"`clientData` must not be empty.\"\n    ],\n  },\n  \"title\": \"One or more validation errors occurred.\",\n  \"status\": 400,\n  \"traceId\": \"00000000-0000-0000-0000-000000000000\"\n}"}},"schema":{"type":"object","properties":{"errors":{"type":"object","description":"Information about the error.","properties":{"ClientData":{"$ref":"#/components/schemas/clientDataError"}}},"type":{"$ref":"#/components/schemas/typeError"},"title":{"$ref":"#/components/schemas/title"},"status":{"$ref":"#/components/schemas/errorCode"},"traceId":{"$ref":"#/components/schemas/traceId"}}}}}}},"deprecated":false}},"/v4/WatchlistAutomation/GetVerificationHits/{verificationId}":{"get":{"summary":"Get investigation hits","description":"Use this endpoint to get all hits for a specific investigation. <br /><br /><img src=\"https://files.readme.io/310d4d3-Inline_Caution.svg\" align=\"left\" alt=\"Important\" /> **Important:** Before using this endpoint, see the <a href=\"https://docs.fourthline.com/v2.0/docs/aml-integration-api\">integration guide</a>. <br /><br /><img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** This is a new version of this endpoint. See also the <a href=\"ref:get-investigation-hits-v3\">previous version</a>.","operationId":"get-investigation-hits","tags":["Screening & Monitoring"],"parameters":[{"$ref":"#/components/parameters/VerificationIdAML"}],"responses":{"200":{"description":"Investigation hits returned","content":{"application/json":{"examples":{"Investigation with hits":{"value":"[\n  {\n      \"hitId\": 34591,\n      \"result\": \"potential_hit\",\n      \"categories\": \"Sanctions\",\n      \"processStartDate\": \"2022-09-29T06:48:42.262758Z\",\n      \"processEndDate\": \"2022-09-29T07:08:49.300638Z\",\n      \"statusCode\": 140,\n      \"verificationId\": \"0e37c0ce-a06f-458e-afd0-c9e1069dc861\"\n  },\n  {\n      \"hitId\": 34592,\n      \"result\": \"false_positive\",\n      \"categories\": \"Sanctions\",\n      \"processStartDate\": \"2022-09-29T06:48:42.262758Z\",\n      \"processEndDate\": \"2022-09-29T07:08:49.300637Z\",\n      \"statusCode\": 100,\n      \"verificationId\": \"0e37c0ce-a06f-458e-afd0-c9e1069dc861\"\n  },\n  {\n      \"hitId\": 34594,\n      \"result\": \"confirmed_hit\",\n      \"categories\": \"Sanctions\",\n      \"processStartDate\": \"2022-09-29T06:48:42.262759Z\",\n      \"processEndDate\": \"2022-09-29T07:08:49.300603Z\",\n      \"statusCode\": 4110,\n      \"verificationId\": \"0e37c0ce-a06f-458e-afd0-c9e1069dc861\"\n  }\n]"}},"schema":{"type":"array","items":{"type":"object","properties":{"hitId":{"$ref":"#/components/schemas/hitId"},"result":{"type":"string","description":"The outcome of the hit: <br />• `confirmed_hit`: Our investigation confirmed the hit is definitely for this client. <br />• `false_positive`: Our investigation found that a potential hit **wasn’t** for this client. <br />• `validating`: This is a potential hit. <br /><br /><img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\"/> **Note**: <br />If there are: <br />• Confirmed hits, the most recent confirmed hit is returned <br />• No confirmed hits but there are false positive hits, the most recent false positive is returned <br />• No confirmed or false positive hits but there are potential hits that have not (yet) been investigated, the most recent potential hit is returned with `validating` status"},"categories":{"$ref":"#/components/schemas/categories"},"processStartDate":{"$ref":"#/components/schemas/processStartDate"},"processEndDate":{"$ref":"#/components/schemas/processEndDate"},"statusCode":{"$ref":"#/components/schemas/statusCodeAML"},"verificationId":{"$ref":"#/components/schemas/verificationIdAML"}}}}}}}},"deprecated":false}},"/v1/verifications/{verificationId}/getpdfresult":{"get":{"summary":"Get Confirmed Hit Report","description":"Use this endpoint to download the <a href=\"https://docs.fourthline.com/v2.0/docs/aml-integration-api#5-download-the-report\">Confirmed Hit Report</a> for an AML Investigation, covering confirmed potential hits identified through AML Screening or AML Monitoring. <br /><br /><img src=\"https://files.readme.io/310d4d3-Inline_Caution.svg\" align=\"left\" alt=\"Important\" /> **Important:** Before using this endpoint, see the <a href=\"https://docs.fourthline.com/v2.0/docs/aml-integration-api\">integration guide</a>.","operationId":"get-confirmed-hit-report","tags":["Screening & Monitoring"],"parameters":[{"$ref":"#/components/parameters/VerificationIdAML"},{"$ref":"#/components/parameters/authorization"}],"responses":{"200":{"description":"Confirmed hit report returned","content":{"application/json":{"schema":{"type":"object","description":"A successful response is empty.","properties":{}}}}}},"deprecated":false}},"/v2/clients/ProviderClientId/{providerClientId}":{"get":{"summary":"Get AML client by your ID","description":"Use this endpoint to get an AML client profile using **your** identifier: `providerClientId`.","operationId":"get-aml-client-your-id","tags":["Screening & Monitoring"],"parameters":[{"name":"providerClientId","in":"path","description":"Your unique identifier for the client, which you passed in the [Create AML client profile](ref:create-aml-client) request.","schema":{"type":"string"},"required":true},{"$ref":"#/components/parameters/Tenant"},{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"}],"responses":{"200":{"description":"AML client returned","content":{"application/json":{"examples":{"OK":{"value":"{\n  \"id\":\"790f325a-48c9-4b82-bb53-c0ea128236f0\",\n  \"providerClientId\":\"your-client-id\",\n  \"clientData\":{\n    \"person\":{\n      \"type\":\"Natural Person\",\n      \"name\":\"John James Smith\",\n      \"initials\":\"G\",\n      \"firstName\":\"John\",\n      \"middleName\":\"James\",\n      \"lastName\":\"Smith\",\n      \"nationality\":\"GRC\",\n      \"gender\":\"Female\",\n      \"countryOfBirth\":\"GRC\",\n      \"placeOfBirth\":\"Sparti\",\n      \"birthDate\":\"1965-04-03T22:00:00+00:00\"\n    },\n    \"address\":{\n      \"street\":\"Viale Giovanni Amendola\",\n      \"streetNumberPrefix\":\"\",\n      \"streetNumber\":\"34\",\n      \"streetNumberSuffix\":\"\",\n      \"postalCode\":\"50121\",\n      \"region\":\"\",\n      \"city\":\"Firenze\",\n      \"country\":\"FRA\"\n    },\n    \"contact\":{\n      \"email\":\"j.smith@example.com\",\n      \"phone\":\"+341111111111\",\n      \"mobile\":\"+341111111111\"\n    },\n    \"document\":{\n      \"documentNumber\":\"Test1577658545\"\n    },\n    \"monitoringType\":2,\n    \"creationUtcDateTime\":\"2020-12-17T11:25:46.3821725Z\",\n    \"updateUtcDateTime\":\"2020-12-17T11:25:46.3821726Z\"\n  }\n}"}},"schema":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/clientIdAML"},"providerClientId":{"$ref":"#/components/schemas/providerClientId"},"clientData":{"allOf":[{"$ref":"#/components/schemas/clientData"},{"type":"object","properties":{"person":{"allOf":[{"$ref":"#/components/schemas/person"},{"type":"object","properties":{"type":{"$ref":"#/components/schemas/monitoringType"},"name":{"$ref":"#/components/schemas/name"},"initials":{"$ref":"#/components/schemas/initials"},"firstName":{"$ref":"#/components/schemas/firstName"},"middleName":{"$ref":"#/components/schemas/middleName"},"lastName":{"$ref":"#/components/schemas/lastName"},"nationality":{"$ref":"#/components/schemas/nationality"},"gender":{"$ref":"#/components/schemas/gender"},"countryOfBirth":{"$ref":"#/components/schemas/countryOfBirth"},"placeOfBirth":{"$ref":"#/components/schemas/placeOfBirth"},"birthDate":{"$ref":"#/components/schemas/birthDate"}}}]},"address":{"allOf":[{"$ref":"#/components/schemas/address"},{"type":"object","properties":{"street":{"$ref":"#/components/schemas/street"},"streetNumberPrefix":{"$ref":"#/components/schemas/streetNumberPrefix"},"streetNumber":{"$ref":"#/components/schemas/streetNumber"},"streetNumberSuffix":{"$ref":"#/components/schemas/streetNumberSuffix"},"postalCode":{"$ref":"#/components/schemas/postalCode"},"region":{"$ref":"#/components/schemas/regionAddress"},"city":{"$ref":"#/components/schemas/city"},"country":{"$ref":"#/components/schemas/country"}}}]},"contact":{"allOf":[{"$ref":"#/components/schemas/emailAndPhone"},{"type":"object","properties":{"email":{"$ref":"#/components/schemas/email"},"phone":{"$ref":"#/components/schemas/phone"},"mobile":{"$ref":"#/components/schemas/mobile"}}}]},"document":{"type":"object","properties":{"documentNumber":{"$ref":"#/components/schemas/documentNumber"}}}}}]},"monitoringType":{"$ref":"#/components/schemas/monitoringType"},"creationUtcDateTime":{"$ref":"#/components/schemas/creationUtcDateTime"},"updateUtcDateTime":{"$ref":"#/components/schemas/updatedUtcDateTime"}}}}}},"404":{"description":"AML client not found","content":{"application/json":{"examples":{"Not Found":{"value":"{\n  \"title\":\"Not Found\",\n  \"status\":404,\n  \"traceId\":\"00-46f5f48a737b228d9e50a258efe0350c-a9e2d56991e04aa9-00\"\n}"}},"schema":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/typeError"},"title":{"$ref":"#/components/schemas/title"},"status":{"$ref":"#/components/schemas/errorCode"},"traceId":{"$ref":"#/components/schemas/traceId"}}}}}}},"deprecated":false}},"/v2/clients/{id}":{"get":{"summary":"Get AML client by our ID","description":"Use this endpoint to get an AML client profile using Fourthline’s identifier: `id`.","operationId":"get-aml-client-our-id","tags":["Screening & Monitoring"],"parameters":[{"$ref":"#/components/parameters/IdAML"},{"$ref":"#/components/parameters/Tenant"},{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"}],"responses":{"200":{"description":"AML client returned","content":{"application/json":{"examples":{"OK":{"value":"{\n  \"id\":\"790f325a-48c9-4b82-bb53-c0ea128236f0\",\n  \"providerClientId\":\"your-client-id\",\n  \"clientData\":{\n    \"person\":{\n      \"type\":\"Natural Person\",\n      \"name\":\"John James Smith\",\n      \"initials\":\"G\",\n      \"firstName\":\"John\",\n      \"middleName\":\"James\",\n      \"lastName\":\"Smith\",\n      \"nationality\":\"GRC\",\n      \"gender\":\"Female\",\n      \"countryOfBirth\":\"GRC\",\n      \"placeOfBirth\":\"Sparti\",\n      \"birthDate\":\"1965-04-03T22:00:00+00:00\"\n    },\n    \"address\":{\n      \"street\":\"Viale Giovanni Amendola\",\n      \"streetNumberPrefix\":\"\",\n      \"streetNumber\":\"34\",\n      \"streetNumberSuffix\":\"\",\n      \"postalCode\":\"50121\",\n      \"region\":\"\",\n      \"city\":\"Firenze\",\n      \"country\":\"FRA\"\n    },\n    \"contact\":{\n      \"email\":\"j.smith@example.com\",\n      \"phone\":\"+341111111111\",\n      \"mobile\":\"+341111111111\"\n    },\n    \"document\":{\n      \"documentNumber\":\"Test1577658545\"\n    },\n    \"monitoringType\":2,\n    \"creationUtcDateTime\":\"2020-12-17T11:25:46.3821725Z\",\n    \"updateUtcDateTime\":\"2020-12-17T11:25:46.3821726Z\"\n  }\n  }"}},"schema":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/clientIdAML"},"providerClientId":{"$ref":"#/components/schemas/providerClientId"},"clientData":{"allOf":[{"$ref":"#/components/schemas/clientData"},{"type":"object","properties":{"person":{"allOf":[{"$ref":"#/components/schemas/person"},{"type":"object","properties":{"type":{"$ref":"#/components/schemas/monitoringType"},"name":{"$ref":"#/components/schemas/name"},"initials":{"$ref":"#/components/schemas/initials"},"firstName":{"$ref":"#/components/schemas/firstName"},"middleName":{"$ref":"#/components/schemas/middleName"},"lastName":{"$ref":"#/components/schemas/lastName"},"nationality":{"$ref":"#/components/schemas/nationality"},"gender":{"$ref":"#/components/schemas/gender"},"countryOfBirth":{"$ref":"#/components/schemas/countryOfBirth"},"placeOfBirth":{"$ref":"#/components/schemas/placeOfBirth"},"birthDate":{"$ref":"#/components/schemas/birthDate"}}}]},"address":{"allOf":[{"$ref":"#/components/schemas/address"},{"type":"object","properties":{"street":{"$ref":"#/components/schemas/street"},"streetNumberPrefix":{"$ref":"#/components/schemas/streetNumberPrefix"},"streetNumber":{"$ref":"#/components/schemas/streetNumber"},"streetNumberSuffix":{"$ref":"#/components/schemas/streetNumberSuffix"},"postalCode":{"$ref":"#/components/schemas/postalCode"},"region":{"$ref":"#/components/schemas/regionAddress"},"city":{"$ref":"#/components/schemas/city"},"country":{"$ref":"#/components/schemas/country"}}}]},"contact":{"allOf":[{"$ref":"#/components/schemas/emailAndPhone"},{"type":"object","properties":{"email":{"$ref":"#/components/schemas/email"},"phone":{"$ref":"#/components/schemas/phone"},"mobile":{"$ref":"#/components/schemas/mobile"}}}]},"document":{"type":"object","properties":{"documentNumber":{"$ref":"#/components/schemas/documentNumber"}}}}}]},"monitoringType":{"$ref":"#/components/schemas/monitoringType"},"creationUtcDateTime":{"$ref":"#/components/schemas/creationUtcDateTime"},"updateUtcDateTime":{"$ref":"#/components/schemas/updatedUtcDateTime"}}}}}},"404":{"description":"AML client not found","content":{"application/json":{"examples":{"Not Found":{"value":"{\n  \"title\":\"Not Found\",\n  \"status\":404,\n  \"traceId\":\"00-46f5f48a737b228d9e50a258efe0350c-a9e2d56991e04aa9-00\"\n}"}},"schema":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/typeError"},"title":{"$ref":"#/components/schemas/title"},"status":{"$ref":"#/components/schemas/errorCode"},"traceId":{"$ref":"#/components/schemas/traceId"}}}}}}},"deprecated":false},"put":{"summary":"Update AML client","description":"Use this endpoint to update an AML client profile.","operationId":"update-aml-client","tags":["Screening & Monitoring"],"parameters":[{"$ref":"#/components/parameters/IdAML"},{"$ref":"#/components/parameters/authorization"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["clientData"],"properties":{"clientData":{"allOf":[{"$ref":"#/components/schemas/clientData"},{"type":"object","required":["person","address","document","contact"],"properties":{"person":{"allOf":[{"$ref":"#/components/schemas/person"},{"type":"object","required":["firstName","lastName","nationality","gender","birthDate"],"properties":{"type":{"allOf":[{"$ref":"#/components/schemas/type"},{"enum":["Legal Entity","Legal Person","Natural Person"]}]},"name":{"$ref":"#/components/schemas/name"},"initials":{"$ref":"#/components/schemas/initials"},"firstName":{"$ref":"#/components/schemas/firstName"},"middleName":{"$ref":"#/components/schemas/middleName"},"lastName":{"$ref":"#/components/schemas/lastName"},"nationality":{"$ref":"#/components/schemas/nationality"},"gender":{"allOf":[{"$ref":"#/components/schemas/gender"},{"enum":["Female","Male","Other","Unknown"]}]},"countryOfBirth":{"$ref":"#/components/schemas/countryOfBirth"},"placeOfBirth":{"$ref":"#/components/schemas/placeOfBirth"},"birthDate":{"$ref":"#/components/schemas/birthDate"}}}]},"address":{"allOf":[{"$ref":"#/components/schemas/address"},{"type":"object","required":["city","country"],"properties":{"street":{"$ref":"#/components/schemas/street"},"streetNumberPrefix":{"$ref":"#/components/schemas/streetNumberPrefix"},"streetNumber":{"$ref":"#/components/schemas/streetNumber"},"streetNumberSuffix":{"$ref":"#/components/schemas/streetNumberSuffix"},"postalCode":{"$ref":"#/components/schemas/postalCodeNote"},"region":{"$ref":"#/components/schemas/regionAddress"},"city":{"$ref":"#/components/schemas/city"},"country":{"$ref":"#/components/schemas/country"}}}]},"document":{"allOf":[{"$ref":"#/components/schemas/document"},{"type":"object","properties":{"documentNumber":{"$ref":"#/components/schemas/documentNumber"}}}]},"contact":{"allOf":[{"$ref":"#/components/schemas/emailAndPhone"},{"type":"object","properties":{"email":{"$ref":"#/components/schemas/email"},"phone":{"$ref":"#/components/schemas/phone"},"mobile":{"$ref":"#/components/schemas/mobile"}}}]}}}]},"monitoringType":{"$ref":"#/components/schemas/monitoringType"}}}}}},"responses":{"200":{"description":"AML client updated","content":{"application/json":{"examples":{"OK":{"value":"{\n  \"id\":\"790f325a-48c9-4b82-bb53-c0ea128236f0\",\n  \"branch\":\"{TENANT_BRANCH}\",\n  \"providerClientId\":\"your-client-id\",\n  \"clientData\":{\n    \"person\":{\n      \"firstName\":\"John\",\n      \"middleName\":\"James\",\n      \"lastName\":\"Smith\",\n      \"nationality\":\"NLD\",\n      \"gender\":\"Female\",\n      \"countryOfBirth\":\"NLD\",\n      \"placeOfBirth\":\"Amsterdam\",\n      \"birthDate\":\"1965-10-03T00:00:00\"\n    },\n    \"address\":{\n      \"city\":\"Amsterdam\",\n      \"country\":\"NLD\"\n    },\n    \"document\":{\n      \"documentNumber\":\"{DOCUMENT_NUMBER}\"\n    }\n  },\n  \"monitoringType\":2,\n  \"creationUtcDateTime\":\"2020-12-28T13:57:22.9931256Z\",\n  \"updateUtcDateTime\":\"2020-12-28T13:57:22.9931272Z\"\n}    "}}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"examples":{"Missing values":{"value":"{\n  \"errors\": {\n    \"ClientData\": [\n      \"`clientData` must not be empty.\"\n    ],\n    \"ProviderClientId\": [\n      \"`providerClientId` must not be empty.\"\n    ]\n  },\n  \"title\": \"One or more validation errors occurred.\",\n  \"status\": 400,\n  \"traceId\": \"00-6cfb7aca1427e74f8fba9c7b7dfb89ac-54ad4536ad0acb43-00\"\n}"},"providerClientId exists":{"value":"{\n  \"title\": \"Bad Request\",\n  \"status\": 400,\n  \"detail\": \"Client with `providerClientId` <Your-client-id> already exists.\",\n  \"traceId\": \"00-f6671fd073fd934aab8e4d868d42d760-018c78ef1f34b543-00\"\n}"}},"schema":{"oneOf":[{"title":"Bad Request","type":"object","properties":{"errors":{"type":"object","description":"Information about the error.","properties":{"ClientData":{"$ref":"#/components/schemas/clientDataError"},"ProviderClientId":{"allOf":[{"$ref":"#/components/schemas/providerClientIdError"},{"type":"array","items":{"$ref":"#/components/schemas/errorMessage"}}]}}},"type":{"$ref":"#/components/schemas/typeError"},"title":{"$ref":"#/components/schemas/title"},"status":{"$ref":"#/components/schemas/errorCode"},"traceId":{"$ref":"#/components/schemas/traceId"}}},{"title":"Bad Request - providerClientId exists","type":"object","properties":{"type":{"$ref":"#/components/schemas/typeError"},"title":{"$ref":"#/components/schemas/title"},"status":{"$ref":"#/components/schemas/errorCode"},"detail":{"$ref":"#/components/schemas/errorMessage"},"traceId":{"$ref":"#/components/schemas/traceId"}}}]}}}}},"deprecated":false},"delete":{"summary":"Deactivate AML client","description":"Use this endpoint to deactivate an AML client profile (no data is deleted).","operationId":"deactivate-aml-client","tags":["Screening & Monitoring"],"parameters":[{"$ref":"#/components/parameters/IdAML"},{"$ref":"#/components/parameters/Tenant"},{"$ref":"#/components/parameters/authorization"}],"responses":{"204":{"description":"No content","content":{"text/plain":{"examples":{"No content":{"value":"Response headers:\ndate: Mon18 Oct 2021 07:46:24 GMT \nserver: Kestrel "}},"schema":{"type":"object","description":"No content. The response body is empty.","properties":{}}}}},"404":{"description":"AML client not found","content":{"application/json":{"schema":{"type":"object","description":"The specified resource does not exist","properties":{}}}}}},"deprecated":false}},"/v1/sensitivityList":{"post":{"summary":"Add sensitive client","description":"Use this endpoint to add a <Glossary>client</Glossary> profile to your <Glossary>sensitivity list</Glossary> .","operationId":"add-sensitive-client","tags":["Sensitivity List"],"parameters":[{"$ref":"#/components/parameters/authorization"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"verificationId":{"type":"string","description":"The unique identifier for the client’s Identity Verification case. <br /><br />Format: uuid string <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0` <br /><br /><img src=\"https://files.readme.io/8eb9022-Inline_Tip.svg\" align=\"left\"/>**Tip:** This is the **same** value as the `workflowId` returned in the [Create workflow](ref:create-workflow) response. <br /><br /><img src=\"https://files.readme.io/310d4d3-Inline_Caution.svg\" align=\"left\"/>**Important**: <br />• If you provide a `verificationId`, you **can’t** set any other body parameters in this request, **except** for `enabled`. <br />• The `verificationId` must exist. <br />• We then automatically populate the sensitive client profile with the <Glossary>personal data</Glossary> from that case"},"lastName":{"type":"string","description":"The client’s last name. <br /><br />Format: Alphabetical characters, spaces, hyphens, and apostrophes <br /><br />Example: Smith <br /><br /><img src=\"https://files.readme.io/310d4d3-Inline_Caution.svg\" align=\"left\"/>**Important**: <br />This parameter is **required** if `verificationId` **isn’t** provided"},"firstName":{"$ref":"#/components/schemas/firstName"},"aliases":{"$ref":"#/components/schemas/aliases"},"category":{"$ref":"#/components/schemas/category"},"subcategory":{"$ref":"#/components/schemas/subcategory"},"dateOfBirth":{"$ref":"#/components/schemas/birthDate"},"placeOfBirth":{"$ref":"#/components/schemas/placeOfBirth"},"identificationDocumentNumbers":{"$ref":"#/components/schemas/identificationDocumentNumbers"},"taxIdentificationNumber":{"$ref":"#/components/schemas/taxIdentificationNumber"},"address":{"type":"object","properties":{"street":{"$ref":"#/components/schemas/street"},"streetNumber":{"$ref":"#/components/schemas/streetNumber"},"streetNumberSuffix":{"$ref":"#/components/schemas/streetNumberSuffix"},"postalCode":{"$ref":"#/components/schemas/postalCode"},"city":{"$ref":"#/components/schemas/city"},"region":{"$ref":"#/components/schemas/regionAddress"},"country":{"$ref":"#/components/schemas/country"}}},"citizenship":{"$ref":"#/components/schemas/citizenship"},"sex":{"allOf":[{"$ref":"#/components/schemas/gender"},{"enum":["Male","Female","Other","Unknown"]}]},"mobilePhoneNumber":{"$ref":"#/components/schemas/mobile"},"reference":{"$ref":"#/components/schemas/reference"},"furtherInformation":{"$ref":"#/components/schemas/furtherInformation"},"email":{"$ref":"#/components/schemas/email"},"enabled":{"$ref":"#/components/schemas/enabled"}}}}}},"responses":{"200":{"description":"Sensitive client added","content":{"application/json":{"examples":{"OK":{"value":"{\n  \"id\": \"790f325a-48c9-4b82-bb53-c0ea128236f0\",\n  \"url\": \"https://api.ext-sandbox.fourthline.com/v1/sensitivityList/790f325a-48c9-4b82-bb53-c0ea128236f0\"\n}"}},"schema":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/idSensitiveClient"},"url":{"$ref":"#/components/schemas/urlSensitiveClient"}}}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"examples":{"Bad Request":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"type":"string","description":"The error message: <br />• `ADD_ERROR_ID_PROVIDED`: The sensitive client identifier `id` **can’t** be included in this request. <br />**Action**: Remove id or set it to `null` and try again. <br /><br />• `ADD_ERROR_LAST_NAME_NOT_PROVIDED`: `lastName` **can’t** be `null` or empty. <br />**Action**: Set it and try again. <br /><br />• `ADD_ERROR_PERSON_DATA_PROVIDED_WHEN_ADDING_BY_VERIFICATION_ID`: If `verificationId` is set, you can only also set `enabled` and **no** other personal data parameters. <br />**Action**: Remove all parameters **except** `verificationId` and `enabled` and try again **or** remove `verificationId` and set all other parameters. <br /><br />• `ADD_ERROR_VERIFICATION_ID_NOT_FOUND`: The `verificationId` provided **wasn’t** found. <br />**Action**: Correct the `verificationId` and try again. <br /><br />• `ADD_ERROR_CREATION_UTC_DATE_TIME_PROVIDED`: The request **can’t** include a `creationUtcDateTime` parameter. <br />**Action**: Remove `creationUtcDateTime` from the request or set it to `null`. <br /><br />• `ADD_ERROR_UPDATED_UTC_DATE_TIME_PROVIDED`: The request **can’t** include a `updatedUtcDateTime` parameter. <br />**Action**: Remove `updatedUtcDateTime` from the request or set it to `null`."},"errorCode":{"type":"string","description":"The error code: <br />• `1000`: `ADD_ERROR_ID_PROVIDED` <br /><br />• `1001`: `ADD_ERROR_LAST_NAME_NOT_PROVIDED` <br /><br />• `1002`: `ADD_ERROR_PERSON_DATA_PROVIDED_WHEN_ADDING_BY_VERIFICATION_ID` <br /><br />• `1003`: `ADD_ERROR_VERIFICATION_ID_NOT_FOUND` <br /><br />• `1004`: `ADD_ERROR_CREATION_UTC_DATE_TIME_PROVIDED` <br /><br />• `1005`: `ADD_ERROR_UPDATED_UTC_DATE_TIME_PROVIDED`"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}},"422":{"description":"The request could not be processed","content":{"application/json":{"examples":{"Invalid":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"type":"string","description":"`ERROR_INVALID_TENANT_PROVIDED`: Your identifier was invalid."},"errorCode":{"$ref":"#/components/schemas/errorCode"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"examples":{"Server error":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"$ref":"#/components/schemas/errorMessage"},"errorCode":{"$ref":"#/components/schemas/errorCode"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}}},"deprecated":false},"put":{"summary":"Update sensitive client","description":"Use this endpoint to update the details of a client profile on your sensitivity list. <br /><br />**Instructions**: <br /> 1. Make a <a href=\"ref:get-sensitive-client\">Get sensitive client</a> request. <br />2. In this **Update sensitive client** request, update the relevant data, and then re-enter the unchanged data for **all** other parameters. <br />3. Submit the request. <br /><br /><img src=\"https://files.readme.io/310d4d3-Inline_Caution.svg\" align=\"left\" alt=\"Caution\" /> **Caution:** If you <strong>do not</strong> re-enter the unchanged data, the existing data in the profile will be wiped.","operationId":"update-sensitive-client","tags":["Sensitivity List"],"parameters":[{"$ref":"#/components/parameters/authorization"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["id","lastName"],"properties":{"id":{"$ref":"#/components/schemas/idSensitiveClient"},"lastName":{"$ref":"#/components/schemas/lastName"},"firstName":{"$ref":"#/components/schemas/firstName"},"aliases":{"$ref":"#/components/schemas/aliases"},"category":{"$ref":"#/components/schemas/category"},"subcategory":{"$ref":"#/components/schemas/subcategory"},"dateOfBirth":{"$ref":"#/components/schemas/birthDate"},"placeOfBirth":{"$ref":"#/components/schemas/placeOfBirth"},"identificationDocumentNumbers":{"$ref":"#/components/schemas/identificationDocumentNumbers"},"taxIdentificationNumber":{"$ref":"#/components/schemas/taxIdentificationNumber"},"address":{"type":"object","properties":{"street":{"$ref":"#/components/schemas/street"},"streetNumber":{"$ref":"#/components/schemas/streetNumber"},"streetNumberSuffix":{"$ref":"#/components/schemas/streetNumberSuffix"},"postalCode":{"$ref":"#/components/schemas/postalCode"},"city":{"$ref":"#/components/schemas/city"},"region":{"$ref":"#/components/schemas/regionAddress"},"country":{"$ref":"#/components/schemas/country"}}},"citizenship":{"$ref":"#/components/schemas/citizenship"},"sex":{"allOf":[{"$ref":"#/components/schemas/gender"},{"enum":["Male","Female","Other","Unknown"]}]},"mobilePhoneNumber":{"$ref":"#/components/schemas/mobile"},"reference":{"$ref":"#/components/schemas/reference"},"furtherInformation":{"$ref":"#/components/schemas/furtherInformation"},"email":{"$ref":"#/components/schemas/email"},"enabled":{"$ref":"#/components/schemas/enabled"}}}}}},"responses":{"200":{"description":"Sensitive client updated","content":{"application/json":{"examples":{"OK":{"value":"{\n  \"id\": \"790f325a-48c9-4b82-bb53-c0ea128236f0\",\n  \"url\": \"https://api.ext-sandbox.fourthline.com/v1/sensitivitylist/d3bc6fd9-f3b1-4572-82c8-d086176a5bff\"\n}"}},"schema":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/idSensitiveClient"},"url":{"$ref":"#/components/schemas/urlSensitiveClient"}}}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"examples":{"Bad Request":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"type":"string","description":"The error message: <br />• `UPDATE_ERROR_PERSON_ID_NOT_PROVIDED`: The sensitive client identifier `id` **can’t** be `null` or an invalid uuid. <br />**Action**: Set or correct `id` and try again. <br />• `UPDATE_ERROR_VERIFICATION_ID_PROVIDED`: `verificationId` must be `null` or empty. <br />**Action**: Action: Remove it or set to `null` and try again. <br />• `UPDATE_ERROR_CREATION_UTC_DATE_TIME_PROVIDED`: `creationUtcDateTime` must be `null` or empty. <br />**Action**: Remove it or set to `null` and try again. <br />• `UPDATE_ERROR_UPDATED_UTC_DATE_TIME_PROVIDED`: `updateUtcDateTime` must be `null` or empty. <br />**Action**: Remove it or set to `null` and try again. <br />• `UPDATE_ERROR_LAST_NAME_NOT_PROVIDED`: `lastName` **can’t** be `null` or empty. <br />**Action**: Set it and try again."},"errorCode":{"type":"string","description":"The error code: <br />• `2000`: `UPDATE_ERROR_PERSON_ID_NOT_PROVIDED` <br />• `2001`: `UPDATE_ERROR_VERIFICATION_ID_PROVIDED` <br />• `2002`: `UPDATE_ERROR_CREATION_UTC_DATE_TIME_PROVIDED` <br />• `2003`: `UPDATE_ERROR_UPDATED_UTC_DATE_TIME_PROVIDED` <br />• `2004`: `UPDATE_ERROR_LAST_NAME_NOT_PROVIDED`"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}},"404":{"description":"Sensitive client not found","content":{"application/json":{"schema":{"type":"object","description":"The specified resource does not exist","properties":{}}}}},"422":{"description":"The request could not be processed","content":{"application/json":{"examples":{"Unprocessable entity":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"$ref":"#/components/schemas/errorMessage"},"errorCode":{"$ref":"#/components/schemas/errorCode"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"examples":{"Server error":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"$ref":"#/components/schemas/errorMessage"},"errorCode":{"$ref":"#/components/schemas/errorCode"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}}},"deprecated":false}},"/v1/sensitivityList/{id}":{"delete":{"summary":"Remove sensitive client","description":"Use this endpoint to remove a <Glossary>client</Glossary> from your <Glossary>sensitivity list</Glossary> .","operationId":"remove-sensitive-client","tags":["Sensitivity List"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/IdSensitivity"}],"responses":{"204":{"description":"No content","content":{"application/json":{"schema":{"type":"object","description":"No content. The response body is empty.","properties":{}}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"examples":{"Bad Request":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"$ref":"#/components/schemas/errorMessage"},"errorCode":{"$ref":"#/components/schemas/errorCode"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}},"404":{"description":"Sensitive client not found","content":{"application/json":{"schema":{"type":"object","description":"The specified resource does not exist","properties":{}}}}},"422":{"description":"The request could not be processed","content":{"application/json":{"examples":{"Unprocessable entity":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"$ref":"#/components/schemas/errorMessage"},"errorCode":{"$ref":"#/components/schemas/errorCode"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"examples":{"Server error":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"$ref":"#/components/schemas/errorMessage"},"errorCode":{"$ref":"#/components/schemas/errorCode"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}}},"deprecated":false},"get":{"summary":"Get sensitive client","description":"Use this endpoint to get the profile of a specific <Glossary>client</Glossary> on your <Glossary>sensitivity list</Glossary> .","operationId":"get-sensitive-client","tags":["Sensitivity List"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/IdSensitivity"}],"responses":{"200":{"description":"Sensitive client returned","content":{"application/json":{"examples":{"OK":{"value":"{\n  \"id\": \"8566db22-703c-4080-982c-d170edfd441b\",\n  \"verificationId\": null,\n  \"clientId\": null,\n  \"providerId\": null,\n  \"lastName\": \"Smith\",\n  \"firstName\": \"John\",\n  \"middleName\": \"James\",\n  \"aliases\": \"Johnny\",\n  \"category\": \"Fraudster\",\n  \"subcategory\": \"Money Laundering\",\n  \"dateOfBirth\": \"2021-10-29\",\n  \"placeOfBirth\": \"Some Place\",\n  \"identificationDocumentNumbers\": [\n    \"11111\",\n    \"22222\",\n  ],\n  \"taxIdentificationNumber\": \"333333\",\n  \"address\": {\n    \"street\": \"Street Name\",\n    \"streetNumber\": \"1\",\n    \"streetNumberSuffix\": \"St\",\n    \"postalCode\": \"11111\",\n    \"city\": \"Some City\",\n    \"region\": \"Some Region\",\n    \"country\": \"Some Country\"\n  },\n  \"citizenship\": \"Some citizenship\",\n  \"sex\": \"Male\",\n  \"mobilePhoneNumber\": \"23444\",\n  \"reference\": \"Ref-1112222\",\n  \"furtherInformation\": \"Violent\",\n  \"creationUtcDateTime\": \"datetime\",\n  \"updatedUtcDateTime\": \"datetime\",\n  \"email\": \"j.smith@example.com\",\n  \"enabled\": true\n}"}},"schema":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/idSensitiveClient"},"verificationId":{"$ref":"#/components/schemas/verificationIdIDV"},"clientId":{"$ref":"#/components/schemas/clientId"},"providerId":{"$ref":"#/components/schemas/providerId"},"lastName":{"$ref":"#/components/schemas/lastName"},"firstName":{"$ref":"#/components/schemas/firstName"},"aliases":{"$ref":"#/components/schemas/aliases"},"category":{"$ref":"#/components/schemas/category"},"subcategory":{"$ref":"#/components/schemas/subcategory"},"dateOfBirth":{"$ref":"#/components/schemas/birthDate"},"placeOfBirth":{"$ref":"#/components/schemas/placeOfBirth"},"identificationDocumentNumbers":{"$ref":"#/components/schemas/identificationDocumentNumbers"},"taxIdentificationNumber":{"$ref":"#/components/schemas/taxIdentificationNumber"},"address":{"type":"object","properties":{"street":{"$ref":"#/components/schemas/street"},"streetNumber":{"$ref":"#/components/schemas/streetNumber"},"streetNumberSuffix":{"$ref":"#/components/schemas/streetNumberSuffix"},"postalCode":{"$ref":"#/components/schemas/postalCode"},"city":{"$ref":"#/components/schemas/city"},"region":{"$ref":"#/components/schemas/regionAddress"},"country":{"$ref":"#/components/schemas/country"}}},"citizenship":{"$ref":"#/components/schemas/citizenship"},"sex":{"$ref":"#/components/schemas/gender"},"mobilePhoneNumber":{"$ref":"#/components/schemas/mobile"},"reference":{"$ref":"#/components/schemas/reference"},"furtherInformation":{"$ref":"#/components/schemas/furtherInformation"},"creationUtcDateTime":{"$ref":"#/components/schemas/creationUtcDateTime"},"updatedUtcDateTime":{"$ref":"#/components/schemas/updatedUtcDateTime"},"email":{"$ref":"#/components/schemas/email"},"enabled":{"$ref":"#/components/schemas/enabled"}}}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"examples":{"Bad Request":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"$ref":"#/components/schemas/errorMessage"},"errorCode":{"$ref":"#/components/schemas/errorCode"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}},"404":{"description":"Sensitive client not found","content":{"application/json":{"schema":{"type":"object","description":"The specified resource does not exist","properties":{}}}}},"422":{"description":"The request could not be processed","content":{"application/json":{"examples":{"Unprocessable entity":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"$ref":"#/components/schemas/errorMessage"},"errorCode":{"$ref":"#/components/schemas/errorCode"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"examples":{"Server error":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"$ref":"#/components/schemas/errorMessage"},"errorCode":{"$ref":"#/components/schemas/errorCode"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}}},"deprecated":false}},"/v1/sensitivityList/":{"get":{"summary":"Get all sensitive clients","description":"Use this endpoint to get the profiles of **all** <Glossary>clients</Glossary> on your <Glossary>sensitivity list</Glossary> .","operationId":"get-all-sensitive-clients","tags":["Sensitivity List"],"parameters":[{"name":"pageNumber","in":"query","description":"The page number of the response.","schema":{"type":"integer","format":"int32","default":1},"required":true},{"name":"pageSize","in":"query","description":"The number of results returned per page. <br />Default: 100. <br /><br /><img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\"/>**Note**: If you provide a value greater than 100, `pageSize` is automatically reverted to 100.","schema":{"type":"integer","format":"int32","default":100},"required":true},{"$ref":"#/components/parameters/authorization"}],"responses":{"200":{"description":"Sensitive clients returned","content":{"application/json":{"examples":{"OK":{"value":"{\n  \"pageNumber\": 0,\n  \"pageSize\": 0,\n  \"firstPage\": \"url_link_to_the_first_page\",\n  \"lastPage\": \"url_link_to_the_last_page\",\n  \"totalPages\": 0,\n  \"totalRecords\": 0,\n  \"nextPage\": \"url_link_to_the_next_page\",\n  \"previousPage\": \"url_link_to_the_previous_page\",\n  \"data\": [\n    {\n      \"id\": \"guid\",\n      \"verificationId\": \"guid\",\n      \"clientId\": \"string\",\n      \"providerId\": \"string\",\n      \"lastName\": \"string\",\n      \"firstName\": \"string\",\n      \"aliases\": \"string\",\n      \"category\": \"string\",\n      \"subcategory\": \"string\",\n      \"dateOfBirth\": \"string\",\n      \"placeOfBirth\": \"string\",\n      \"identificationDocumentNumbers\": [\n        \"string\"\n      ],\n      \"taxIdentificationNumber\": \"string\",\n      \"address\": {\n        \"street\": \"string\",\n        \"streetNumber\": \"string\",\n        \"streetNumberSuffix\": \"string\",\n        \"postalCode\": \"string\",\n        \"city\": \"string\",\n        \"region\": \"string\",\n        \"country\": \"string\"\n      },\n      \"citizenship\": \"string\",\n      \"sex\": \"Male\",\n      \"mobilePhoneNumber\": \"string\",\n      \"reference\": \"string\",\n      \"furtherInformation\": \"string\",\n      \"creationUtcDateTime\": \"datetime\",\n      \"updatedUtcDateTime\": \"datetime\",\n      \"email\": \"string\",\n      \"enabled\": \"boolean\"\n    }\n  ]\n}"}},"schema":{"type":"object","properties":{"pageNumber":{"type":"integer","description":"The page returned."},"pageSize":{"type":"integer","description":"The number of profiles per page."},"firstPage":{"type":"string","description":"The absolute URL to the first page."},"lastPage":{"type":"string","description":"The absolute URL to the last page."},"totalPages":{"type":"integer","description":"The total number of pages."},"totalRecords":{"type":"integer","description":"The number of clients on your sensitivity list."},"nextPage":{"type":"string","description":"The absolute URL to the next page, or null if on the last page."},"previousPage":{"type":"string","description":"The absolute URL to the previous page, or null if on the first page."},"data":{"type":"array","description":"The list of client profiles.","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/idSensitiveClient"},"verificationId":{"$ref":"#/components/schemas/verificationIdIDV"},"clientId":{"$ref":"#/components/schemas/clientId"},"providerId":{"$ref":"#/components/schemas/providerId"},"lastName":{"$ref":"#/components/schemas/lastName"},"firstName":{"$ref":"#/components/schemas/firstName"},"aliases":{"$ref":"#/components/schemas/aliases"},"category":{"$ref":"#/components/schemas/category"},"subcategory":{"$ref":"#/components/schemas/subcategory"},"dateOfBirth":{"$ref":"#/components/schemas/birthDate"},"placeOfBirth":{"$ref":"#/components/schemas/placeOfBirth"},"identificationDocumentNumbers":{"$ref":"#/components/schemas/identificationDocumentNumbers"},"taxIdentificationNumber":{"$ref":"#/components/schemas/taxIdentificationNumber"},"address":{"type":"object","properties":{"street":{"$ref":"#/components/schemas/street"},"streetNumber":{"$ref":"#/components/schemas/streetNumber"},"streetNumberSuffix":{"$ref":"#/components/schemas/streetNumberSuffix"},"postalCode":{"$ref":"#/components/schemas/postalCode"},"city":{"$ref":"#/components/schemas/city"},"region":{"$ref":"#/components/schemas/regionAddress"},"country":{"$ref":"#/components/schemas/country"}}},"citizenship":{"$ref":"#/components/schemas/citizenship"},"sex":{"$ref":"#/components/schemas/gender"},"mobilePhoneNumber":{"$ref":"#/components/schemas/mobile"},"reference":{"$ref":"#/components/schemas/reference"},"furtherInformation":{"$ref":"#/components/schemas/furtherInformation"},"creationUtcDateTime":{"$ref":"#/components/schemas/creationUtcDateTime"},"updatedUtcDateTime":{"$ref":"#/components/schemas/updatedUtcDateTime"},"email":{"$ref":"#/components/schemas/email"},"enabled":{"$ref":"#/components/schemas/enabled"}}}}}}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"examples":{"Bad Request":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"$ref":"#/components/schemas/errorMessage"},"errorCode":{"$ref":"#/components/schemas/errorCode"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}},"422":{"description":"The request could not be processed","content":{"application/json":{"examples":{"Unprocessable entity":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"$ref":"#/components/schemas/errorMessage"},"errorCode":{"$ref":"#/components/schemas/errorCode"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"examples":{"Server error":{"value":"{\n  \"errors\": [\n    {\n      \"errorMessage\": \"string\",\n      \"errorCode\": \"ERROR_CODE\"\n    }\n  ],\n  \"message\": \"There were validation errors in the request\"\n}"}},"schema":{"type":"object","properties":{"errors":{"$ref":"#/components/schemas/errorsArray","items":{"type":"object","properties":{"errorMessage":{"$ref":"#/components/schemas/errorMessage"},"errorCode":{"$ref":"#/components/schemas/errorCode"}}}},"message":{"$ref":"#/components/schemas/messageValidation"}}}}}}},"deprecated":false}}},"x-readme":{"headers":[],"explorer-enabled":false,"proxy-enabled":true,"samples-enabled":true},"x-readme-fauxas":true}