proofsdocscomparepricinglog in

Documentation

Learn how to integrate Proof Holdings

How it works
The mental model in one page
API Reference
Complete API documentation
SDKs
Official client libraries
Smart Reuse
Skip re-verification with existing proofs
Multi-Profile System
Multiple public profiles per account
Message Templates
Custom branding and message templates per sub-account
Comparison
vs SMS OTP, TOTP, WebAuthn
Pricing
Plans and pricing tiers
Security
Threat model and guarantees
MCP Server
195 tools for AI agents
Integrations
n8n, Zapier, Make, and custom integrations
Proof of Me
Let the people around you check it's really you
Proof of Delegation
A proven domain authorizing an artifact, and how to verify or withdraw it
Resources
GitHub Docs
Status

Smart Reuse

Skip re-verification when a user already has a valid proof


Overview

Reuse happens on our hosted verification page. You set how recent a proof must be with validity_requirement when you create the request; you call nothing else.

A returning person is a person who already has a Proof Holdings account and has proved this phone, email or domain before. When they open the request signed in, the page checks their existing proofs. If one is recent enough, they verify that asset with a single click instead of repeating the challenge.


How It Works

text
┌─────────────────────────────────────────────────────────────────────────────┐
│                                                                             │
│  1. User opens verification request                                         │
│  2. Our hosted page calls GET /proofs → finds a proof for +37069199199      │
│  3. can_reuse: true → show "Use existing proof" button                      │
│  4. Our hosted page calls POST /auto-verify → asset verified instantly      │
│                                                                             │
└─────────────────────────────────────────────────────────────────────────────┘

Two API calls. No challenge, no user action beyond a click.


What our hosted page calls

Check Existing Proofs

GET /api/v1/verify/request/:id/proofs

Returns which assets the logged-in user has already verified. Requires a JWT session cookie (optional auth -- unauthenticated users get an empty response).

Response (Authenticated)

json
{
  "request_id": "507f1f77bcf86cd799439011",
  "user_logged_in": true,
  "assets": [
    {
      "asset_index": 0,
      "type": "phone",
      "identifier": "+37069199199",
      "verified_at": "2026-01-15T10:00:00Z",
      "channel": "whatsapp",
      "can_reuse": true
    },
    {
      "asset_index": 1,
      "type": "email",
      "identifier": "[email protected]",
      "verified_at": "2025-11-01T08:00:00Z",
      "channel": "email",
      "can_reuse": false,
      "reason": "Proof is older than validity requirement"
    }
  ],
  "reusable_count": 1,
  "total_required": 2
}

Response (Unauthenticated)

json
{
  "request_id": "507f1f77bcf86cd799439011",
  "user_logged_in": false,
  "assets": [],
  "reusable_count": 0,
  "total_required": 2
}

Asset Fields

FieldTypeDescription
asset_indexnumberPosition in the request's assets array
typestringphone, email, domain
identifierstringThe verified identifier
verified_atstringISO 8601 timestamp of original verification
channelstringChannel used for original verification
can_reusebooleanWhether the proof meets validity requirements
reasonstringPresent when can_reuse is false

Auto-Verify (Reuse Proof)

POST /api/v1/verify/request/:id/assets/:assetIndex/auto-verify

Verify an asset using an existing proof. Requires authentication.

Request Body

ParameterTypeRequiredDescription
reuse_proofbooleanYesMust be true for proof reuse
identifierstringNoWhich identifier to reuse (required when asset has no pre-set identifier)
bash
curl -X POST https://api.proof.holdings/api/v1/verify/request/507f1f77bcf86cd799439011/assets/0/auto-verify \
  -H "Cookie: token=eyJ..." \
  -H "Content-Type: application/json" \
  -d '{
    "reuse_proof": true,
    "identifier": "+37069199199"
  }'

Response (Success)

json
{
  "status": "verified",
  "verified_at": "2026-02-06T12:00:00Z",
  "method": "reused_proof",
  "original_verified_at": "2026-01-15T10:00:00Z",
  "request_status": "completed",
  "progress": { "verified": 2, "total": 2, "required": 2 }
}

Error Responses

CodeHTTPDescription
unauthorized401User not logged in
no_existing_proof400User has no proof for this asset
proof_too_old400Proof does not meet validity requirement
already_verified400Asset is already verified
request_expired400Verification request has expired (sent to the request's owner only)
link_inactive404The link is no longer active: the request ended, and you are not its owner

Validity Requirements

Verification requests can specify a maximum proof age via validity_requirement. This controls whether an existing proof is fresh enough to reuse.

FormatMeaningExample
24hHoursProof must be < 24 hours old
7dDaysProof must be < 7 days old
1wWeeksProof must be < 1 week old
1mMonths of 30 daysProof must be < 30 days old

A count of 0 (for example 0h) lets no earlier proof be reused: the asset is verified afresh.

When creating a verification request, set validity_requirement to enforce freshness:

bash
curl -X POST https://api.proof.holdings/api/v1/verification-requests \
  -H "Authorization: Bearer pk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "assets": [
      { "type": "phone", "identifier": "+37069199199" },
      { "type": "email", "identifier": "[email protected]" }
    ],
    "validity_requirement": "30d"
  }'

If no validity_requirement is set, any asset still on the person's account can be reused, however old its verification.


Integration Example

You set the freshness rule; our hosted verification page does the rest. The endpoints above are called by that page (verification_url), in the person's browser, with their own Proof Holdings login — not by your site or your server. You call nothing else.

typescript
import { Proof } from '@proof-holdings/sdk';

const proof = new Proof('pk_live_your_key');

// Create a verification request with a validity requirement
const request = await proof.verificationRequests.create({
  assets: [
    { type: 'phone', identifier: '+37069199199' },
    { type: 'email', identifier: '[email protected]' },
  ],
  validity_requirement: '30d',
});

// Send the person to our hosted page. If they are logged in to Proof Holdings and already
// verified an asset within 30 days, the page offers to reuse it with one click.
console.log(request.verification_url);

Supported Asset Types

Smart Reuse works with all asset types that store proofs on the user account:

TypeSourceMatch Logic
phoneUser's verified phonesExact phone number match (normalized)
emailUser's verified emailsExact email match (normalized)
domainUser's verified domainsExact domain match (normalized)

Notes

  • Smart Reuse only works for logged-in users with a JWT session
  • A new proof token is generated for each reuse (linked to the new verification request)
  • The method: "reused_proof" field in the response distinguishes reused proofs from fresh verifications
  • Webhooks fire normally when auto-verify completes a request

Related

API ReferencePublic Profiles
Last updated October 26, 2026
Proof Holdings

The verification API for humans and AI agents — every verification a signed proof you hold.

A service of LT Telecom (UAB "LT telekomunikacijos")

PrivacyTermsDPASubprocessorsStatusGitHubLinkedIn