Send a request
Choose documents, fields, and a purpose. Handproof sends the person a secure link.
Start in the Handproof workspace, then use the API to create requests, follow their progress, and fetch signed records when a person chooses to share.
Choose documents, fields, and a purpose. Handproof sends the person a secure link.
Read the request or receive a signed webhook when its status changes. Webhooks contain no shared field values.
After the person approves, fetch the cryptographically signed verification record and evidence package.
Start with an account and one API key. Use a test key to practice without sending a real message.
Sign in as an organization Admin with an authenticator. Open Settings → API keys, name the key, and choose an expiry from 1 to 365 days. Copy it when it appears; Handproof shows the full key only once. You can revoke it from the same page at any time.
Set HANDPROOF_API to your API base URL and HANDPROOF_API_KEY to your key. An idempotency key keeps a retry from creating a second request.
curl -X POST "$HANDPROOF_API/api/v1/verification-requests" \
-H "Authorization: Bearer $HANDPROOF_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"owner_email":"jordan@example.com","document_types":["passport"],"requested_fields":["surname","given_names","date_of_birth"],"purpose":"Apartment application for 400 W 24th St, Austin, TX","purpose_category":"tenant_referencing"}'Register your webhook URL with a key that can manage webhooks. Handproof sends a signed test message before delivering live events.
curl -X POST "$HANDPROOF_API/api/v1/webhook-endpoints" \
-H "Authorization: Bearer $HANDPROOF_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://crm.example.com/handproof"}'Check the signature and its timestamp before acting on an event. Fetch approved fields through the API, never from a webhook body.
import { createHmac, timingSafeEqual } from "node:crypto";
function isFromHandproof(secret, header, body, toleranceSeconds = 300) {
const parts = Object.fromEntries(header.split(",").map((part) => part.split("=")));
const sentAt = Number(parts.t);
if (!Number.isInteger(sentAt) || Math.abs(Date.now() / 1000 - sentAt) > toleranceSeconds) return false;
const expected = createHmac("sha256", secret).update(`${parts.t}.${body}`).digest();
const given = Buffer.from(parts.v1 ?? "", "hex");
return given.length === expected.length && timingSafeEqual(given, expected);
}When certificate.issued arrives, retrieve the record for your own workflow.
curl "$HANDPROOF_API/api/v1/verification-requests/$REQUEST_ID/certificate" \
-H "Authorization: Bearer $HANDPROOF_API_KEY"The reference lists every public operation, field, response, webhook, and problem code from the published OpenAPI document.