handproof
Menu
For developers

Bring clear document requests into your workflow.

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.

Send a request

Choose documents, fields, and a purpose. Handproof sends the person a secure link.

Follow its status

Read the request or receive a signed webhook when its status changes. Webhooks contain no shared field values.

Keep the evidence

After the person approves, fetch the cryptographically signed verification record and evidence package.

Quickstart

Four steps to your first request

Start with an account and one API key. Use a test key to practice without sending a real message.

1. Create and save your API key

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.

2. Create the request

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"}'

3. Listen for a result

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"}'
How to verify a webhook signature

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);
}

4. Fetch the signed record

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"

Ready to go deeper?

The reference lists every public operation, field, response, webhook, and problem code from the published OpenAPI document.