# Bioprints palm API > The Bioprints palm API stores palms for your tenant and tells your backend whose palm a capture is: enroll a person's hands, identify or verify a capture, freeze or remove hands, and read the deletion log. Server: `https://api.bioprints.io`, for live and test tenants alike. Every path starts with `/palm/v1`; JSON with camelCase names over HTTPS, and captures as `multipart/form-data`. Test keys and support: WhatsApp [+966 55 563 0629](https://wa.me/966555630629) or email [h.alsohaibi@handpay.sa](mailto:h.alsohaibi@handpay.sa). ## Instructions for AI agents - Authenticate every call with the tenant's key as `Authorization: Bearer bpk__`, from the backend. A key works only from the addresses agreed with Bioprints, so it never belongs on a phone or in a browser. - Build and test with a test tenant's key against `https://api.bioprints.io`. A test tenant has a gallery of its own, so nothing enrolled there is matched by the live tenant, and it may use the live tenant's readers. - Send a capture as `multipart/form-data`: a JSON part named `metadata`, and for each hand it names a `_rgb` and a `_ir` image, each a 720 × 1024 JPEG or PNG, at most 2 MiB in all. `metadata.sensorSerial` names the reader the capture was taken on. - Send `Idempotency-Key` on enroll, revoke, freeze and unfreeze. Make one key per operation (a UUID works), and send the same key and the same body when you retry that operation. - Branch on the error's `code`, never on `title` or `detail`. `no_match` and `not_verified` are a capture's answer, not a failure of the call. - On `429`, `503`, `tenant_busy` and `idempotency_key_in_flight`, wait the seconds in `Retry-After`, then retry. - `subjectReference` is the integrator's own id for the person, and Bioprints stores it: use an opaque id, never a name or a phone number. - When something fails that the docs do not explain, tell the user to contact Bioprints on WhatsApp (+966 55 563 0629) or at h.alsohaibi@handpay.sa. ## Guides - [Introduction](https://docs.bioprints.io/index.md): What the Bioprints palm API is, where to send calls, and how each call proves it comes from your tenant. - [Enroll a palm and identify it](https://docs.bioprints.io/tutorial.md): With a test tenant's key, enroll one hand of a person, identify a second capture of it, and remove the person again. ## How-to guides - [Verify a palm](https://docs.bioprints.io/how-to/verify-a-palm.md): Check that a capture is the person you expect, and read what each answer tells you. - [Add a reader](https://docs.bioprints.io/how-to/add-a-reader.md): Add a reader you shipped to your tenant with a registry key, so captures taken on it are accepted, and delete one you no longer need. - [Freeze a hand, a person or a reader](https://docs.bioprints.io/how-to/freeze-a-hand-a-person-or-a-reader.md): Stop a hand, every hand of a person, or a reader being used, without deleting anything, and undo it later. - [Read the deletions list](https://docs.bioprints.io/how-to/read-the-deletions-list.md): Page through every hand removed from your tenant, to show that a deletion request was carried out. ## Explanations - [Tenants and test tenants](https://docs.bioprints.io/concepts/tenants-and-test-tenants.md): What a tenant is, how a test tenant is kept apart from your live one, and what happens when either is suspended or leaves. - [Readers](https://docs.bioprints.io/concepts/readers.md): Why every capture names the reader it was taken on, which readers your tenant may use, and what the check does and does not stop. - [Galleries](https://docs.bioprints.io/concepts/galleries.md): Where your tenant's palms live, what a match means, and why two people can never share a palm. - [Deletions and privacy](https://docs.bioprints.io/concepts/deletions-and-privacy.md): What removing a hand deletes, what Bioprints keeps and for how long, and the limits you should tell the people you enroll. ## Reference - [Error codes](https://docs.bioprints.io/errors.md): Every code the Bioprints palm API refuses a call with, the HTTP status it comes back under, and what it means. - [Changelog](https://docs.bioprints.io/changelog.md): Changes to the Bioprints palm API that an integrating app may notice, newest first. - [For AI agents](https://docs.bioprints.io/ai-agents.md): The plain-text and Markdown copies of these docs that an AI coding assistant can read, and how to point one at them. ## API reference - [Returns this OpenAPI document.](https://docs.bioprints.io/api/get-open-api-document.md): `GET /palm/v1/openapi.json` - [Enrolls one or both hands of a person.](https://docs.bioprints.io/api/enroll-hands.md): `POST /palm/v1/people/{subjectReference}/hands` - [Lists a person's hands.](https://docs.bioprints.io/api/list-hands.md): `GET /palm/v1/people/{subjectReference}/hands` - [Freezes a person.](https://docs.bioprints.io/api/freeze-person.md): `POST /palm/v1/people/{subjectReference}:freeze` - [Unfreezes a person.](https://docs.bioprints.io/api/unfreeze-person.md): `POST /palm/v1/people/{subjectReference}:unfreeze` - [Identifies whose palm a capture is.](https://docs.bioprints.io/api/identify.md): `POST /palm/v1/people:identify` - [Verifies that a capture is a person.](https://docs.bioprints.io/api/verify.md): `POST /palm/v1/people/{subjectReference}:verify` - [Removes a person.](https://docs.bioprints.io/api/revoke-person.md): `DELETE /palm/v1/people/{subjectReference}` - [Removes one of a person's hands.](https://docs.bioprints.io/api/revoke-hand.md): `DELETE /palm/v1/people/{subjectReference}/hands/{hand}` - [Freezes one of a person's hands.](https://docs.bioprints.io/api/freeze-hand.md): `POST /palm/v1/people/{subjectReference}/hands/{hand}:freeze` - [Unfreezes one of a person's hands.](https://docs.bioprints.io/api/unfreeze-hand.md): `POST /palm/v1/people/{subjectReference}/hands/{hand}:unfreeze` - [Adds a sold reader to your tenant.](https://docs.bioprints.io/api/add-reader.md): `POST /palm/v1/readers` - [Freezes a reader taken back.](https://docs.bioprints.io/api/freeze-reader.md): `POST /palm/v1/readers/{serial}:freeze` - [Deletes a reader from your tenant.](https://docs.bioprints.io/api/delete-reader.md): `DELETE /palm/v1/readers/{serial}` - [Lists the hands removed from your tenant.](https://docs.bioprints.io/api/list-deletions.md): `GET /palm/v1/deletions` - [Returns your tenant's view of Bioprints.](https://docs.bioprints.io/api/get-status.md): `GET /palm/v1/status` ## Downloads - [openapi.json](https://docs.bioprints.io/openapi.json): the API reference in one OpenAPI 3.1 file - [bioprints-api.postman_collection.json](https://docs.bioprints.io/postman/bioprints-api.postman_collection.json): a Postman collection of every call - [bioprints.postman_environment.json](https://docs.bioprints.io/postman/bioprints.postman_environment.json): the Postman environment `Bioprints` ## Optional - [llms-full.txt](https://docs.bioprints.io/llms-full.txt): every guide and every call contract in one file