Proof Holdings Webhooks API
Inbound webhook endpoints for messaging providers and billing
Inbound webhook endpoints for messaging providers and billing
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/proof-holdings:proof-holdings-webhooks-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: proof.holdings Webhooks API
version: 1.0.0
description: '**Multi-Surface Proof of Control**
Cryptographic proofs of digital asset control. proof.holdings issues signed JWT proofs that a user controls a digital asset (phone, email, domain, social, wallet) by completing a challenge from that asset. Proofs are offline-verifiable using the public keys published at `/.well-known/jwks.json` (ES256).
## Core Concepts
- **Verification**: A challenge-response flow to prove control of an asset
- **Proof Token**: Signed JWT issued after successful verification (ES256)
- **JWKS**: Public keys for offline verification at `/.well-known/jwks.json`
## Authentication
Most endpoints require API key authentication via Bearer token:
```
Authorization: Bearer pk_live_...
```
Dashboard endpoints use JWT authentication via httpOnly cookies.
## Rate Limits
All authenticated endpoints include rate limit headers:
- `X-RateLimit-Limit`: Maximum requests per window
- `X-RateLimit-Remaining`: Requests remaining in current window
- `X-RateLimit-Reset`: Unix timestamp when window resets
## The 7 Proofs
proof.holdings is built around seven verification primitives. Four are live today; three are coming soon. This API exposes endpoints for the live primitives only.
1. **Proof of Control** (live) — verify control of a phone, email, domain, social account, or wallet. Endpoints: `/api/v1/verifications`, `/api/v1/verification-requests`.
2. **Proof of Delegation** (live) — a control-proven domain authorizes a typed url/purl artifact, with an independently revocable signed token. The attestation is that the domain''s controller authorized the artifact — nothing more. Endpoints: `/api/v1/delegations`.
3. **Proof of Action** (live) — human-in-the-loop approval for irreversible actions, cryptographically signed; authorizations are its consent layer. Endpoints: `/api/v1/hitl`, `/api/v1/confirmations`, `/api/v1/authorizations`.
4. **Proof of Me** (live) — anti-impersonation reverse verification via trusted Circle members. Endpoints: `/api/v1/circles`, `/api/v1/identity-challenges`.
5. **Proof of Agreement** (coming soon) — continuous witnessing for group conversations; no API endpoints yet.
6. **Proof of Development** (coming soon) — verifiable development provenance via the team.management integration; no API endpoints yet.
7. **Proof of Enforcement** (coming soon) — proof that mandated processes actually ran; no API endpoints yet.'
contact:
name: proof.holdings Support
email: hello@proof.holdings
url: https://proof.holdings
license:
name: Proprietary
url: https://proof.holdings/terms
servers:
- url: https://api.proof.holdings
description: Production server
tags:
- name: Webhooks
description: Inbound webhook endpoints for messaging providers and billing
paths:
/webhooks/whatsapp:
get:
tags:
- Webhooks
summary: WhatsApp webhook verification
description: Meta sends a GET request to verify the webhook URL. Responds with the hub.challenge value if the verify_token matches.
parameters:
- schema:
type: string
description: Must be "subscribe"
example: subscribe
required: true
description: Must be "subscribe"
name: hub.mode
in: query
- schema:
type: string
description: Verification token configured in Meta
required: true
description: Verification token configured in Meta
name: hub.verify_token
in: query
- schema:
type: string
description: Challenge string to echo back
required: true
description: Challenge string to echo back
name: hub.challenge
in: query
responses:
'200':
description: Verification successful — returns challenge string
content:
text/plain:
schema:
type: string
'403':
description: Invalid verify token
operationId: getWebhooksWhatsapp
x-operation-id-source: derived
post:
tags:
- Webhooks
summary: WhatsApp webhook handler
description: Receives inbound messages and status updates from WhatsApp Business API. Validates x-hub-signature-256 header. Responds 200 immediately, processes asynchronously.
responses:
'200':
description: Webhook received
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessResponse'
'401':
description: Invalid webhook signature
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: postWebhooksWhatsapp
x-operation-id-source: derived
/webhooks/telegram:
post:
tags:
- Webhooks
summary: Telegram webhook handler
description: Receives inbound messages from Telegram Bot API. Validates X-Telegram-Bot-Api-Secret-Token header. Responds 200 immediately, processes asynchronously.
responses:
'200':
description: Webhook received
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessResponse'
'401':
description: Invalid secret token
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: postWebhooksTelegram
x-operation-id-source: derived
/webhooks/sms:
post:
tags:
- Webhooks
summary: SMS webhook handler
description: Receives inbound SMS from DIDWW HTTP IN Trunk. Validates x-sms-signature header. Responds 200 immediately, processes asynchronously.
responses:
'200':
description: Webhook received
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessResponse'
'401':
description: Invalid webhook signature
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: postWebhooksSms
x-operation-id-source: derived
/webhooks/telnyx:
post:
tags:
- Webhooks
summary: Telnyx SMS webhook handler
description: Receives inbound SMS from Telnyx with MO (Mobile Originated) filtering. Validates telnyx-signature-ed25519 header with Ed25519 signature verification. Rejects A2P spoofed messages via three-layer filtering (line type, Number Lookup API, MDR check). Responds 200 immediately, processes asynchronously.
responses:
'200':
description: Webhook received
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessResponse'
'401':
description: Invalid webhook signature
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: Webhook signature verification not configured
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: postWebhooksTelnyx
x-operation-id-source: derived
/webhooks/stripe:
post:
tags:
- Webhooks
summary: Stripe webhook handler
description: Receives billing events from Stripe (checkout.session.completed, customer.subscription.updated, invoice.payment_failed, etc.). Validates Stripe-Signature header.
responses:
'200':
description: Webhook processed
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessResponse'
'400':
description: Invalid webhook signature or payload
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: postWebhooksStripe
x-operation-id-source: derived
/webhooks/monitoring:
post:
tags:
- Webhooks
summary: Monitoring bot webhook handler
description: Receives commands from the Telegram monitoring bot for health checks, metrics, and operational commands. Only responds to the configured admin chat ID.
responses:
'200':
description: Command processed
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessResponse'
operationId: postWebhooksMonitoring
x-operation-id-source: derived
components:
schemas:
ErrorDetail:
type: object
properties:
field:
type: string
example: identifier
message:
type: string
example: Invalid phone number format
code:
type: string
example: invalid_string
required:
- field
- message
- code
description: Field-level validation error detail
SuccessResponse:
type: object
properties:
success:
type: boolean
example: true
message:
type: string
example: Operation completed successfully
required:
- success
description: Generic success response
ErrorResponse:
type: object
properties:
error:
type: object
properties:
code:
type: string
example: validation_error
message:
type: string
example: Request validation failed
details:
type: array
items:
$ref: '#/components/schemas/ErrorDetail'
request_id:
type: string
description: Correlation id of this request — the same value as the `X-Request-Id` response header. Present on every error envelope; quote it when contacting support. A well-formed `X-Request-Id` sent with the request is reused.
example: req_4f1c2a9b7e3d4c5b8a6f0e1d2c3b4a59
moved_to:
type: string
description: 'The username a profile now lives at (404 `profile_moved` on `GET /api/v1/profiles/u/{username}` only): the requested name was an assigned default its owner replaced. Sent only while that profile is public.'
example: team_mgmt_hq
remaining_attempts:
type: number
description: Number of remaining attempts before lockout (auth endpoints only)
example: 3
retryAfter:
type: number
description: Seconds to wait before retrying (rate limit and lockout errors)
example: 3600
top_up_url:
type: string
description: Where to top up the prepaid balance (402 balance_empty only)
example: https://proof.holdings/billing
used:
type: number
description: This period's production proofs (402 balance_empty only)
example: 312
included:
type: number
description: Proofs the account's plan includes per period (402 balance_empty only)
example: 300
balance:
type: number
description: The prepaid balance in euro cents, at or below zero (402 balance_empty only)
example: 0
required:
- code
- message
required:
- error
description: Standard error response format
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: API Key
description: 'API key authentication. Use format: `pk_live_...` or `pk_test_...`'
CookieAuth:
type: apiKey
in: cookie
name: auth_token
description: JWT authentication via httpOnly cookie (dashboard only)