handproof
Menu
OpenAPI 3.1

API reference

Browse the public endpoints, request fields, responses, webhook events, and stable problem codes from the published contract.

Public checks

3 endpoints
GET/healthLiveness probe
GET/healthAnswers
  • 200 — Service is up (HealthResponse)
GET/verifyCheck a verification record against Handproof's published public key
GET/verify

Unauthenticated 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).

Parameters
FieldTypeRequired
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.
stringNo
Answers
  • 200 — The verdict, whatever it is — including unknown and invalid (PublicVerificationResult)
  • 429 — Rate limited. Same body, with outcome throttled and a retry-after. (PublicVerificationResult)
GET/verify/{reference}/evidence-packageDownload the public evidence package for a record
GET/verify/{reference}/evidence-package

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

Parameters
FieldTypeRequired
reference (path)
stringYes
Answers
  • 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 endpoints
GET/api/v1/verification-requestsList the organisation's verification requests, newest first
GET/api/v1/verification-requests
Parameters
FieldTypeRequired
limit (query)Up to 100; 25 where absent
integerNo
offset (query)How many to skip; 0 where absent
integer or nullNo
Answers
  • 200 — One page (RequestSearchView)
  • 400 — A limit or offset that is not a number in range
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — 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
POST/api/v1/verification-requests

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

Parameters
FieldTypeRequired
idempotency-key (header)Required: a retry must not double-charge
stringYes
Body
Body
FieldTypeRequired
owner_email
string (email)No
owner_phone
stringNo
document_types
list of one of: passport, permanent_resident_card, driving_licence, national_id, proof_of_addressYes
requested_fields
list of one of: surname, given_names, date_of_birth, document_number, expiration_date, nationality, issuing_authority, addressYes
purpose
stringYes
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_elseYes
Answers
  • 201 — Created (CreateRequestResponse)
  • 400 — The body does not match the schema, or the idempotency key is missing
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 402 — payment_required or billing_restricted
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 429 — Rate limited; or key_monthly_cap_reached, the key's own monthly cap; or organization_daily_api_limit_reached, the organisation's keys together past 1,000 requests today. Each carries Retry-After
GET/api/v1/verification-requests/{id}/dataRead the values the person confirmed and shared
GET/api/v1/verification-requests/{id}/data

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

Parameters
FieldTypeRequired
id (path)Verification request identifier
stringYes
Answers
  • 200 — The shared values (SharedValuesView)
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 404 — No such request in this organisation, or it has not completed
GET/api/v1/verification-requests/{id}Read one verification request
GET/api/v1/verification-requests/{id}
Parameters
FieldTypeRequired
id (path)Verification request identifier
stringYes
Answers
  • 200 — The request (VerificationRequestView)
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 404 — No such verification request in this organisation
POST/api/v1/verification-requests/{id}/resendSend the person a new link
POST/api/v1/verification-requests/{id}/resend

The previous link stops working. The new link goes to the contact the request already carries.

Parameters
FieldTypeRequired
id (path)Verification request identifier
stringYes
Answers
  • 200 — Sent (ResendLinkView)
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 404 — No such verification request in this organisation
  • 409 — The request is not one a link can be resent for
  • 429 — Rate limited
POST/api/v1/verification-requests/{id}/cancelCancel a request the person has not completed
POST/api/v1/verification-requests/{id}/cancel
Parameters
FieldTypeRequired
id (path)Verification request identifier
stringYes
Answers
  • 200 — Cancelled (CancelRequestView)
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 404 — No such verification request in this organisation
  • 409 — The request has already ended
GET/api/v1/verification-requests/{id}/certificateDownload the certificate for a completed verification
GET/api/v1/verification-requests/{id}/certificate
Parameters
FieldTypeRequired
id (path)Verification request identifier
stringYes
Answers
  • 200 — The certificate, identical for both parties
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 404 — No such request in this organisation, or it has not completed
  • 409 — 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
GET/api/v1/verification-requests/{id}/evidence-package
Parameters
FieldTypeRequired
id (path)Verification request identifier
stringYes
Answers
  • 200 — The signed package, in its RFC 8785 canonical form (SignedPartyEvidence)
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 404 — No such request in this organisation, or it has not completed
  • 409 — sandbox_record_unsigned: a test key's request has no signed record, by design

Organization and usage

2 endpoints
GET/api/v1/organizationThe key's organisation and whether it can send requests
GET/api/v1/organizationAnswers
  • 200 — The organisation (PublicOrganizationView)
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 404 — The organisation has no row yet
GET/api/v1/usageThe organisation's plan and how much of it is used
GET/api/v1/usage

The same account the dashboard's billing screen reads (story I3b, docs/26 §2.5). Read-only.

Answers
  • 200 — The plan and its usage (BillingAccountView)
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — 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 endpoints
GET/api/v1/webhook-endpointsThis organisation's webhook endpoints, newest first
GET/api/v1/webhook-endpointsAnswers
  • 200 — The endpoints (WebhookEndpointList)
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — 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
POST/api/v1/webhook-endpoints

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

Body
Body
FieldTypeRequired
urlHTTPS, the standard port, a host name rather than an address, and no credentials
stringYes
Answers
  • 201 — Registered, with its secret, once (WebhookEndpointWithSecret)
  • 400 — A body that does not match the schema
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 409 — Five endpoints are already registered
  • 422 — webhook_url_refused: the URL is not one Handproof will send to
  • 503 — webhooks_unconfigured: this deployment cannot sign or send webhooks
POST/api/v1/webhook-endpoints/{id}/verificationSend the signed test delivery again
POST/api/v1/webhook-endpoints/{id}/verification
Parameters
FieldTypeRequired
id (path)Webhook endpoint identifier
stringYes
Answers
  • 200 — The endpoint after the attempt (WebhookEndpointView)
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 404 — No such endpoint in this organisation
  • 503 — webhooks_unconfigured
POST/api/v1/webhook-endpoints/{id}/secret-rotationReplace the signing secret, at once
POST/api/v1/webhook-endpoints/{id}/secret-rotation

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

Parameters
FieldTypeRequired
id (path)Webhook endpoint identifier
stringYes
Answers
  • 200 — The endpoint with its new secret, once (WebhookEndpointWithSecret)
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 404 — No such endpoint in this organisation
  • 503 — webhooks_unconfigured
POST/api/v1/webhook-endpoints/{id}/removalStop sending to an endpoint
POST/api/v1/webhook-endpoints/{id}/removal
Parameters
FieldTypeRequired
id (path)Webhook endpoint identifier
stringYes
Answers
  • 200 — The endpoints that remain (WebhookEndpointList)
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 404 — No such endpoint in this organisation
GET/api/v1/webhook-endpoints/{id}/deliveriesWhat was sent to an endpoint, and how it answered
GET/api/v1/webhook-endpoints/{id}/deliveries

The status code the endpoint answered with and why an attempt failed, never a response body. Kept for thirty days.

Parameters
FieldTypeRequired
id (path)Webhook endpoint identifier
stringYes
Answers
  • 200 — The deliveries (WebhookDeliveryList)
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 404 — No such endpoint in this organisation
POST/api/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/redeliverySend a failed delivery again, once
POST/api/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/redelivery

One attempt, made now, with a fresh signature over the same body. The delivery stays failed if this attempt fails too.

Parameters
FieldTypeRequired
id (path)Webhook endpoint identifier
stringYes
deliveryId (path)Webhook delivery identifier
stringYes
Answers
  • 200 — The delivery after the attempt (WebhookDeliveryView)
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 404 — No such endpoint or delivery in this organisation
  • 409 — webhook_delivery_not_failed: only a failed delivery can be sent again
  • 503 — webhooks_unconfigured

Test mode

2 endpoints
GET/api/v1/test/messagesWhat the sandbox held instead of sending
GET/api/v1/test/messages

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

Answers
  • 200 — The held messages (SandboxMessageList)
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 404 — 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
POST/api/v1/test/verification-requests/{id}/simulate

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

Parameters
FieldTypeRequired
id (path)Verification request identifier
stringYes
Body
Body
FieldTypeRequired
scenario
one of: approved, declined, issue_reported, expiredYes
Answers
  • 200 — The request, ended (SimulationView)
  • 400 — A body that does not match the schema
  • 401 — api_key_invalid: a key that is malformed, unknown, revoked or expired
  • 403 — insufficient_scope: the key lacks this endpoint's bundle; api_key_owner_changed: the Admin who created it is no longer an Admin here
  • 404 — A live key, or no such request in this sandbox
  • 409 — 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 person
  • verification_request.approved — The person confirmed and shared what was asked
  • verification_request.declined — The person declined to share
  • verification_request.issue_reported — The person shared nothing and reported an issue
  • verification_request.cancelled — The request was cancelled
  • verification_request.expired — The link expired unopened
  • certificate.issued — The cryptographically signed verification record is ready
  • data.purged — The extracted fields were deleted. Discard anything cached from them
Fields in every webhook
Webhook body
FieldTypeRequired
event_idThe same for every attempt and every endpoint. Deliveries are at least once: dedupe on it
stringYes
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.purgedYes
created_atWhen the event happened, not when this attempt was made
string (date-time)Yes
api_version
one of: 2026-10-22Yes
data
objectYes

Problem codes

A refusal returns a stable code your integration can handle.

api_key_invalida key that is malformed, unknown, revoked or expired
401
api_key_owner_changedthe Admin who created it is no longer an Admin here
403
billing_restricted
402
insufficient_scopethe key lacks this endpoint's bundle
403
key_monthly_cap_reached
429
organization_daily_api_limit_reached
429
payment_required
402
sandbox_record_unsigneda test key's request has no signed record, by design
409
simulation_not_possiblethe request has already ended
409
throttled
429
webhook_delivery_not_failedonly a failed delivery can be sent again
409
webhook_url_refusedthe URL is not one Handproof will send to
422
webhooks_unconfiguredthis deployment cannot sign or send webhooks
503