# Liveness 2d

## Liveness 2d

<mark style="color:green;">`POST`</mark> `https://biometrid.com/api/providers/custom/face01/liveness-2d`

This endpoint allows you to validate a liveness session.

#### Headers

| Name           | Type   | Description                  |
| -------------- | ------ | ---------------------------- |
| Authentication | string | Authentication account token |

#### Request Body

| Name                                        | Type   | Description        |
| ------------------------------------------- | ------ | ------------------ |
| sessionId<mark style="color:red;">\*</mark> | string | Liveness sessionId |
| photo<mark style="color:red;">\*</mark>     | string | Liveness photo     |

{% tabs %}
{% tab title="200 " %}

```bash
{
  "data": {
    "status": true,
    "result": {
      "ageEstimateGroupEnumInt": 4,
      "livenessStatus": 0
    }
  },
  "meta": {
    "message": "Success."
  },
  "status": true
}
```

{% endtab %}
{% endtabs %}
