> ## 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.

# Liveness

> Check the liveness of the user.

Liveness confirms that a real person is present during the selfie, not a photo, a screen or a deepfake.

| | |
| - | - |
| API identifiers | `passive-liveness`, `express-liveness` |
| Result key | `servicesResults.livenessCheck` |
| Certification | iBeta Level 1 and Level 2 |
| Available in | Web SDK, mobile SDKs, verification links |

## Liveness methods

### Instant liveness

Identifier: `passive-liveness`

AI-based analysis of the detected face to assess whether it's a live person. Liveness is assessed while the applicant takes a selfie, with no additional actions required.

### Express liveness

Identifier: `express-liveness`

The applicant is asked to look at the camera and move slightly closer. This multi-frame solution uses AI to confirm the applicant is a real person through a quick, dynamic interaction.

### Using both

Instant and express liveness can be enabled together in one flow.

Both methods are iBeta certified for Level 1 and Level 2.

## When to use it

* Onboarding where someone could try to pass with a photo, a screen or a manipulated video instead of being present
* Together with [Face Match](https://docs.checkin.com/products/selfie-face-match.md), so you know both that the faces match and that a real person took the selfie

## Attacks covered

Both methods detect presentation attacks, where something is held up to the camera instead of a live face:

* printed photos, including cut-outs
* photos and videos replayed on a screen
* masks, from paper masks to 3D masks

This is what the iBeta Level 1 and Level 2 certification tests. Express liveness analyses several frames while the applicant moves, which makes replayed and manipulated video harder to pass.

Signs of video stream manipulation, such as a virtual camera, are reported as `LC003`. Deepfakes are covered by [Deepfake detection](https://docs.checkin.com/products/deepfake-detection.md).

## Availability

Liveness runs in the Web SDK, the mobile SDKs and verification links, where the capture happens. Liveness checks are not available through the API.

## Configuration

Turn on **Instant liveness**, **Express liveness** or both in **Flows → \[flow name] → Services**, under **Liveness detection**. There are no other settings for the liveness step.

## Result

| Field | Content |
| - | - |
| `status`, `processingState`, `comment`, `verifier` | Service outcome |
| `livenessCheck` | Check list |
| `deepFake` | See [Deepfake detection](https://docs.checkin.com/products/deepfake-detection.md) |

### Example

```json theme={null}
{
  "livenessCheck": {
    "serviceType": "liveness",
    "status": "approved",
    "processingState": "done",
    "comment": "Liveness check passed",
    "livenessCheck": {
      "group": "livenessCheck",
      "description": "Liveness check in instant mode",
      "considers": [
        { "id": "LC001", "name": "Liveness service signature match", "type": "clear", "status": "approved", "description": "Liveness service signature match" },
        { "id": "LC002", "name": "Liveness check passed", "type": "clear", "status": "approved", "description": "Liveness check passed" }
      ]
    }
  }
}
```

When both methods are enabled, the result is returned as one `livenessCheck`.

## Concerns

| Code | Message |
| - | - |
| `LC001` | Does liveness service signature match |
| `LC002` | Does liveness check passed |
| `LC003` | Potential video stream manipulation detected. |
| `LC004` | Instant Liveness check failed |

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.