API reference
Browse the public endpoints, request fields, responses, webhook events, and stable problem codes from the published contract.
Public checks
3 endpointsGET/healthLiveness probe
/healthAnswers200— Service is up (HealthResponse)
GET/verifyCheck a verification record against Handproof's published public key
/verifyUnauthenticated and world-readable by reference. Every answer has the same shape — a known record, an unknown reference and a mistyped one differ only in values — so the response is not an existence oracle (docs/29 S6). The record view is minimised: initials rather than a name, a purpose category rather than free text, no nationality, no IP or device, and BR-06's four fields masked. A verdict is memoised server-side for a short window; a known record's response is never cached at the edge, while a not-found answer is (docs/31 E-06, docs/29 S8).
| Field | Type | Required |
|---|---|---|
id (query)The certificate reference, e.g. HP-1CR5-AYMZ-RKMG-FM. Anything else — malformed or absent — is answered as an unknown reference rather than refused. | string | No |
200— The verdict, whatever it is — including unknown and invalid (PublicVerificationResult)429— Rate limited. Same body, with outcomethrottledand a retry-after. (PublicVerificationResult)
GET/verify/{reference}/evidence-packageDownload the public evidence package for a record
/verify/{reference}/evidence-packageThe redacted tier: hashes, the timeline, the parties, per-field commitments and its own signature. It carries no field value, so this download cannot become a disclosure, and independent verification works entirely on what is here.
| Field | Type | Required |
|---|---|---|
reference (path) | string | Yes |
200— The signed public package, in its RFC 8785 canonical form (SignedPublicEvidence)404— No record with that reference, or the reference failed its own check block
Verification requests
8 endpointsGET/api/v1/verification-requestsList the organisation's verification requests, newest first
/api/v1/verification-requests| Field | Type | Required |
|---|---|---|
limit (query)Up to 100; 25 where absent | integer | No |
offset (query)How many to skip; 0 where absent | integer or null | No |
200— One page (RequestSearchView)400— A limit or offset that is not a number in range401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here
POST/api/v1/verification-requestsCreate a verification request
/api/v1/verification-requestsSends the request to the person at once and answers with the secure link, once. Refused unless the organisation is verified, not suspended and has quota or a payment method, exactly as from the dashboard. A retry with the same Idempotency-Key answers the first creation rather than charging twice.
| Field | Type | Required |
|---|---|---|
idempotency-key (header)Required: a retry must not double-charge | string | Yes |
| Field | Type | Required |
|---|---|---|
owner_email | string (email) | No |
owner_phone | string | No |
document_types | list of one of: passport, permanent_resident_card, driving_licence, national_id, proof_of_address | Yes |
requested_fields | list of one of: surname, given_names, date_of_birth, document_number, expiration_date, nationality, issuing_authority, address | Yes |
purpose | string | Yes |
purpose_category | one of: tenant_referencing, right_to_rent, employment_or_right_to_work, client_onboarding, witnessing_a_signature, age_check, marketplace_seller_check, something_else | Yes |
201— Created (CreateRequestResponse)400— The body does not match the schema, or the idempotency key is missing401—api_key_invalid: a key that is malformed, unknown, revoked or expired402—payment_requiredorbilling_restricted403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here429— Rate limited; orkey_monthly_cap_reached, the key's own monthly cap; ororganization_daily_api_limit_reached, the organisation's keys together past 1,000 requests today. Each carriesRetry-After
GET/api/v1/verification-requests/{id}/dataRead the values the person confirmed and shared
/api/v1/verification-requests/{id}/dataFrom the signed record, so only for a verification that completed; the evidence package carries the same values with their signature. Values come only from what the person confirmed and are never editable.
| Field | Type | Required |
|---|---|---|
id (path)Verification request identifier | string | Yes |
200— The shared values (SharedValuesView)401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here404— No such request in this organisation, or it has not completed
GET/api/v1/verification-requests/{id}Read one verification request
/api/v1/verification-requests/{id}| Field | Type | Required |
|---|---|---|
id (path)Verification request identifier | string | Yes |
200— The request (VerificationRequestView)401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here404— No such verification request in this organisation
POST/api/v1/verification-requests/{id}/resendSend the person a new link
/api/v1/verification-requests/{id}/resendThe previous link stops working. The new link goes to the contact the request already carries.
| Field | Type | Required |
|---|---|---|
id (path)Verification request identifier | string | Yes |
200— Sent (ResendLinkView)401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here404— No such verification request in this organisation409— The request is not one a link can be resent for429— Rate limited
POST/api/v1/verification-requests/{id}/cancelCancel a request the person has not completed
/api/v1/verification-requests/{id}/cancel| Field | Type | Required |
|---|---|---|
id (path)Verification request identifier | string | Yes |
200— Cancelled (CancelRequestView)401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here404— No such verification request in this organisation409— The request has already ended
GET/api/v1/verification-requests/{id}/certificateDownload the certificate for a completed verification
/api/v1/verification-requests/{id}/certificate| Field | Type | Required |
|---|---|---|
id (path)Verification request identifier | string | Yes |
200— The certificate, identical for both parties401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here404— No such request in this organisation, or it has not completed409—sandbox_record_unsigned: a test key's request has no signed record, by design
GET/api/v1/verification-requests/{id}/evidence-packageDownload the signed evidence package for a completed verification
/api/v1/verification-requests/{id}/evidence-package| Field | Type | Required |
|---|---|---|
id (path)Verification request identifier | string | Yes |
200— The signed package, in its RFC 8785 canonical form (SignedPartyEvidence)401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here404— No such request in this organisation, or it has not completed409—sandbox_record_unsigned: a test key's request has no signed record, by design
Organization and usage
2 endpointsGET/api/v1/organizationThe key's organisation and whether it can send requests
/api/v1/organizationAnswers200— The organisation (PublicOrganizationView)401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here404— The organisation has no row yet
GET/api/v1/usageThe organisation's plan and how much of it is used
/api/v1/usageThe same account the dashboard's billing screen reads (story I3b, docs/26 §2.5). Read-only.
200— The plan and its usage (BillingAccountView)401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here
Webhook endpoints
7 endpointsGET/api/v1/webhook-endpointsThis organisation's webhook endpoints, newest first
/api/v1/webhook-endpointsAnswers200— The endpoints (WebhookEndpointList)401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here
POST/api/v1/webhook-endpointsRegister an endpoint and prove it is yours
/api/v1/webhook-endpointsRefused outright for a URL that is not HTTPS on the standard port, carries credentials, or names an address rather than a host. Otherwise recorded as pending and sent a signed endpoint.test at once; a 2xx within ten seconds marks it verified. The signing secret is in this response and nowhere else. From the dashboard this needs a sign-in from the last few minutes.
| Field | Type | Required |
|---|---|---|
urlHTTPS, the standard port, a host name rather than an address, and no credentials | string | Yes |
201— Registered, with its secret, once (WebhookEndpointWithSecret)400— A body that does not match the schema401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here409— Five endpoints are already registered422—webhook_url_refused: the URL is not one Handproof will send to503—webhooks_unconfigured: this deployment cannot sign or send webhooks
POST/api/v1/webhook-endpoints/{id}/verificationSend the signed test delivery again
/api/v1/webhook-endpoints/{id}/verification| Field | Type | Required |
|---|---|---|
id (path)Webhook endpoint identifier | string | Yes |
200— The endpoint after the attempt (WebhookEndpointView)401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here404— No such endpoint in this organisation503—webhooks_unconfigured
POST/api/v1/webhook-endpoints/{id}/secret-rotationReplace the signing secret, at once
/api/v1/webhook-endpoints/{id}/secret-rotationThe new secret signs every delivery from now on and the old one validates nothing, so a receiver must be given the new secret before it can accept another delivery.
| Field | Type | Required |
|---|---|---|
id (path)Webhook endpoint identifier | string | Yes |
200— The endpoint with its new secret, once (WebhookEndpointWithSecret)401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here404— No such endpoint in this organisation503—webhooks_unconfigured
POST/api/v1/webhook-endpoints/{id}/removalStop sending to an endpoint
/api/v1/webhook-endpoints/{id}/removal| Field | Type | Required |
|---|---|---|
id (path)Webhook endpoint identifier | string | Yes |
200— The endpoints that remain (WebhookEndpointList)401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here404— No such endpoint in this organisation
GET/api/v1/webhook-endpoints/{id}/deliveriesWhat was sent to an endpoint, and how it answered
/api/v1/webhook-endpoints/{id}/deliveriesThe status code the endpoint answered with and why an attempt failed, never a response body. Kept for thirty days.
| Field | Type | Required |
|---|---|---|
id (path)Webhook endpoint identifier | string | Yes |
200— The deliveries (WebhookDeliveryList)401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here404— No such endpoint in this organisation
POST/api/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/redeliverySend a failed delivery again, once
/api/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/redeliveryOne attempt, made now, with a fresh signature over the same body. The delivery stays failed if this attempt fails too.
| Field | Type | Required |
|---|---|---|
id (path)Webhook endpoint identifier | string | Yes |
deliveryId (path)Webhook delivery identifier | string | Yes |
200— The delivery after the attempt (WebhookDeliveryView)401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here404— No such endpoint or delivery in this organisation409—webhook_delivery_not_failed: only a failed delivery can be sent again503—webhooks_unconfigured
Test mode
2 endpointsGET/api/v1/test/messagesWhat the sandbox held instead of sending
/api/v1/test/messagesFor a hp_test_ key only. A test request's notification is never emailed or texted: it is held here instead, without its link — a sandbox's links cannot be opened, so no capture can begin in test mode.
200— The held messages (SandboxMessageList)401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here404— A live key: this path exists only for a test key
POST/api/v1/test/verification-requests/{id}/simulateEnd a sandbox request as a person's answer would
/api/v1/test/verification-requests/{id}/simulateFor a hp_test_ key only. approved makes the request's data readable as an invented specimen, marked test; no record is ever signed, so /verify never accepts a sandbox's reference. Each outcome writes the event the real one writes, so a registered endpoint is sent the same webhook.
| Field | Type | Required |
|---|---|---|
id (path)Verification request identifier | string | Yes |
| Field | Type | Required |
|---|---|---|
scenario | one of: approved, declined, issue_reported, expired | Yes |
200— The request, ended (SimulationView)400— A body that does not match the schema401—api_key_invalid: a key that is malformed, unknown, revoked or expired403—insufficient_scope: the key lacks this endpoint's bundle;api_key_owner_changed: the Admin who created it is no longer an Admin here404— A live key, or no such request in this sandbox409—simulation_not_possible: the request has already ended
Webhook events
Signed with the endpoint's secret: Handproof-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<body>">, re-signed on every attempt. Retried after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 24 hours until a 2xx arrives within ten seconds.
verification_request.created— A request was sent to the personverification_request.approved— The person confirmed and shared what was askedverification_request.declined— The person declined to shareverification_request.issue_reported— The person shared nothing and reported an issueverification_request.cancelled— The request was cancelledverification_request.expired— The link expired unopenedcertificate.issued— The cryptographically signed verification record is readydata.purged— The extracted fields were deleted. Discard anything cached from them
Fields in every webhook
| Field | Type | Required |
|---|---|---|
event_idThe same for every attempt and every endpoint. Deliveries are at least once: dedupe on it | string | Yes |
event_type | one of: verification_request.created, verification_request.approved, verification_request.declined, verification_request.issue_reported, verification_request.cancelled, verification_request.expired, certificate.issued, data.purged | Yes |
created_atWhen the event happened, not when this attempt was made | string (date-time) | Yes |
api_version | one of: 2026-10-22 | Yes |
data | object | Yes |
Problem codes
A refusal returns a stable code your integration can handle.
api_key_invalida key that is malformed, unknown, revoked or expiredapi_key_owner_changedthe Admin who created it is no longer an Admin herebilling_restrictedinsufficient_scopethe key lacks this endpoint's bundlekey_monthly_cap_reachedorganization_daily_api_limit_reachedpayment_requiredsandbox_record_unsigneda test key's request has no signed record, by designsimulation_not_possiblethe request has already endedthrottledwebhook_delivery_not_failedonly a failed delivery can be sent againwebhook_url_refusedthe URL is not one Handproof will send towebhooks_unconfiguredthis deployment cannot sign or send webhooks