> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/rest-api/identity-api/identity-api-reference/onboarding/civil-validation.md).

# Civil Validation

Civil validation service that allows you to verify a user's identity against the Civil Registry data of each country.

The service supports three types of operation:

* **FULL**: Full validation: data validation and facial matching.
* **DATA**: Data validation: validation only against the Civil Registry data.
* **FACIAL**: Facial validation: facial matching against official Civil Registry images.

Each operation can be run from two platforms:

* **MOBILE**: Uses the OCR token generated by the native or hybrid SelphID widget.
* **WEB**: Uses document images (front and back) captured from the browser.

### Endpoint

```
POST /services/civilValidation
```

### Available countries

| Country    | ISO Code | Specific parameters                                       |
| ---------- | -------- | --------------------------------------------------------- |
| Ecuador    | ECU      | Requires `documentCode` (fingerprintCode).                |
| Costa Rica | CRI      |                                                           |
| Argentina  | ARG      | Requires `documentNumber` and `gender` in WEB operations. |
| Peru       | PER      |                                                           |
| Guatemala  | GTM      |                                                           |
| Panama     | PAN      |                                                           |
| Honduras   | HND      |                                                           |
