> ## Documentation Index
> Fetch the complete documentation index at: https://docs.checkin.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deepfake detection

> Check the user for deep fakes.

| | |
| - | - |
| API identifier | `deep-fake` |
| Result keys | `faceMatching.deepFake`, `livenessCheck.deepFake` |
| Works with | [Selfie and Face Match](https://docs.checkin.com/products/selfie-face-match.md), [Liveness](https://docs.checkin.com/products/liveness.md) |

Deepfake detection checks the selfie for faces that were generated or manipulated with AI. Its result appears in both Face Match and Liveness.

## Request

```json theme={null}
{
  "verificationTypes": ["face-matching", "deep-fake"]
}
```

## Configuration

In the Backoffice, under **Settings → Verification rules → Facial Similarity Check → Selfie provided → Deep fake**, you choose separately for high-risk and moderate-risk detections whether they send the application to review or decline it.

See [Verification rules](https://docs.checkin.com/backoffice/verification-rules.md).

## Result

| Field | Content |
| - | - |
| `deepFakeScore` | Deep fake realness score. |
| `group`, `description`, `considers[]` | Check list |

### Example

```json theme={null}
{
  "deepFake": {
    "group": "deepFake",
    "description": "Deepfake check",
    "considers": [
      { "id": "FM020", "name": "isDeepFake", "type": "clear", "status": "approved", "description": "Deepfake protection analysis performed successfully" },
      { "id": "FM021", "name": "matchToken", "type": "clear", "status": "approved", "description": "Deepfake protection service token match" },
      { "id": "FM022", "name": "manipulation", "type": "clear", "status": "approved", "description": "No potential deepfake manipulations detected" }
    ],
    "deepFakeScore": 0.9572790861129761
  }
}
```

## Concerns

| Code | Message |
| - | - |
| `FM020` | Deepfake protection analysis not performed successfully |
| `FM021` | Faces are not similar between selfie and liveness |
| `FM022` | Potential deepfake manipulations detected |

All codes are in [Considers lists](https://docs.checkin.com/integrate/results/considers-lists.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.