---
title: "Creates new data check against a specified registration."
method: POST
path: "/api/datachecks"
tags: ["DataChecks"]
---

# Creates new data check against a specified registration.

`POST /api/datachecks`

## Headers

- `apikey` string, required

## Request body

- CredasApiModelsDataCheckAddDataCheckRequest
  - `regEntryId` string, uuid, required
  - `checkType` 0 | 1 | 2 | 3, required — The value of checkType dictates what checks are performed. <br/>The StandardAml check (value = 1) will check DOB & Mortality. <br/>The InternationalPepSanctions check (value = 3) will check just International PEP & Sanctions. <br/>The EnhancedAml check (value = 2) will perform both these checks and is equivalent to making two calls with values of 1 then 3 and will be charged accordingly. <br /> values=> None = 0, StandardAml = 1, EnhancedAml = 2, InternationalPepSanctions = 3
  - `person` CredasApiModelsDataCheckPerson, required
    - `forename` string, required
    - `middleName` string
    - `surname` string, required
    - `dateOfBirth` string, date-time, required
  - `currentAddress` CredasApiModelsDataCheckAddress, required
    - `addressLine1` string, required
    - `addressLine2` string
    - `addressLine3` string
    - `city` string, required
    - `postcode` string, required
    - `county` string
    - `country` string, required

## Response `200`

Details of newly added data check.

- CredasApiModelsDataCheckAddDataCheckResponse
  - `id` string, uuid, required
  - `regCode` string, required

## Other responses

- `400` — If the service was supplied invalid data.
- `401` — If credentials supplied were invalid.
- `402` — Error code meaning that the operation was aborted due to insufficient credits.
- `500` — If an unexpected exception occurred whilst processing the request.

---

[API](https://skmtc.dev/credas/apis/credas-api.md) · [All operations](https://skmtc.dev/credas/apis/credas-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/credas/credas-api/revisions/a8dd82736563/schema)
