# Identifies whose palm a capture is.

`POST /palm/v1/people:identify`

Searches your tenant's people for the palm in the capture, on the hand `metadata.hand` names. A frozen person or hand is never matched. A match means the engine's own verdict passed, so you do not compare the scores yourself.

## Request body

`Content-Type: multipart/form-data`

| Field | Type | Required | Description |
|---|---|---|---|
| `metadata` | object | yes | The call's fields, as a JSON part with `Content-Type: application/json`. |
| `metadata.hand` | string: `left`, `right` | yes | The hand the capture is of; send its two image parts. |
| `metadata.sensorSerial` | string | yes | The serial of the reader the capture was taken on: one Bioprints sold to your tenant and not frozen. Length 1–∞. |
| `left_rgb` | string (binary) |  | A 720 × 1024 JPEG or PNG; sent for a hand the call names and only then, or the call is `capture_malformed`. |
| `left_ir` | string (binary) |  | A 720 × 1024 JPEG or PNG; sent for a hand the call names and only then, or the call is `capture_malformed`. |
| `right_rgb` | string (binary) |  | A 720 × 1024 JPEG or PNG; sent for a hand the call names and only then, or the call is `capture_malformed`. |
| `right_ir` | string (binary) |  | A 720 × 1024 JPEG or PNG; sent for a hand the call names and only then, or the call is `capture_malformed`. |

## Responses

**200** A match (`application/json`)

| Field | Type | Required | Description |
|---|---|---|---|
| `identificationId` | string (uuid) | yes | Bioprints' id for this identification. |
| `match` | object | yes | Whose palm the capture is. |
| `match.subjectReference` | string | yes | Your reference for the person the palm belongs to. |
| `match.hand` | string: `left`, `right` | yes | The hand matched. |
| `match.scores` | array of number (double) | yes | The engine's ten scores, in its fixed order. |
| `match.thresholds` | array of number (double) | yes | The engine's ten thresholds, in the same order as `scores`; shared by every tenant. |

**400** - `request_invalid`: The body cannot be read, a required field is missing or `null`, or a value is not one this call takes.
- `capture_malformed`: A part is missing, a part is for a hand the call does not name, an image is not a 720 × 1024 JPEG or PNG, or the request is over 2 MiB. (`application/problem+json`)

The error body; see [Error codes](https://docs.bioprints.io/errors.md).

**401** - `key_invalid`: No key, a key Bioprints does not know, a revoked or expired key, or a call from an address the key is not allowed from; every key problem answers this same code. (`application/problem+json`)

The error body; see [Error codes](https://docs.bioprints.io/errors.md).

**403** - `sensor_not_allowed`: `sensorSerial` is missing, not a reader sold to your tenant, or a frozen reader.
- `tenant_suspended`: The key is valid, and Bioprints has suspended its tenant. (`application/problem+json`)

The error body; see [Error codes](https://docs.bioprints.io/errors.md).

**404** - `no_match`: The capture matches nobody in your tenant; `identificationId` names this identification. (`application/problem+json`)

The error body; see [Error codes](https://docs.bioprints.io/errors.md).

**422** - `capture_quality_too_low`: The image failed the engine's quality check, or the engine could not use it. (`application/problem+json`)

The error body; see [Error codes](https://docs.bioprints.io/errors.md).

**429** - `rate_limited`: Your tenant is over its palm calls a second; retry after `Retry-After`. (`application/problem+json`)

Header `Retry-After`: Seconds to wait before trying again

The error body; see [Error codes](https://docs.bioprints.io/errors.md).

**503** - `engine_busy`: The engine is busy for everyone; retry after `Retry-After`.
- `engine_unavailable`: The engine did not answer, or Bioprints is not calling it for the moment; retry after `Retry-After`. (`application/problem+json`)

Header `Retry-After`: Seconds to wait before trying again

The error body; see [Error codes](https://docs.bioprints.io/errors.md).

Every refusal code is listed in [Error codes](https://docs.bioprints.io/errors.md).

Source: https://docs.bioprints.io/api/identify
