Proof Holdings Webhook Endpoints API
Where outbound webhooks are delivered: endpoints owned by the account, each serving all sub-accounts or the ones it names
Where outbound webhooks are delivered: endpoints owned by the account, each serving all sub-accounts or the ones it names
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-webhook-endpoints-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 Webhook Endpoints 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: Webhook Endpoints
description: 'Where outbound webhooks are delivered: endpoints owned by the account, each serving all sub-accounts or the ones it names'
paths:
/api/v1/webhook-endpoints:
get:
tags:
- Webhook Endpoints
summary: List webhook endpoints
description: The account's webhook endpoints. A sub-account key sees only those scoped to exactly its own sub-account.
security:
- BearerAuth: []
- CookieAuth: []
responses:
'200':
description: Endpoints
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookEndpointList'
operationId: getApiV1WebhookEndpoints
x-operation-id-source: derived
post:
tags:
- Webhook Endpoints
summary: Create a webhook endpoint
description: 'Adds an endpoint and returns its signing secret — the only time it is returned. An event reaches every `active` endpoint whose scope includes the event''s sub-account and whose `events` match; an account-level event (`profile_id: null`) reaches `all`-scope endpoints only. An account still delivering to the single URL in its settings is moved onto endpoints by this call: that URL becomes an `all`-scope endpoint with the same secret and events (`legacy: true`), so nothing it receives changes.'
security:
- BearerAuth: []
- CookieAuth: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateWebhookEndpointRequest'
required: true
responses:
'201':
description: Created, with its secret
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookEndpointWithSecret'
'400':
description: 'Invalid body (`validation_error`): a blocked or non-HTTPS URL, an unknown event pattern, a `selected` endpoint with no sub-account'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: 'A dashboard session without a `webhook_write` 2FA grant for THIS write (`2fa_required` — start one via `POST /me/2fa/start` with `action_type: webhook_write` and the `targets` the refusal lists: the act and the endpoint id, or the act and a hash of the URL for a new endpoint; the grant is single-use, so each write takes its own, and one that named another write answers `reason: target_mismatch`); a key without `webhooks:write` (`insufficient_scope`); a sub-account key naming anything but exactly its own sub-account (`profile_mismatch`); a sub-account of another account or one being deleted (`profile_not_owned`)'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: The account already has the maximum number of endpoints (`endpoint_limit_reached`)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: The account's webhook settings kept changing while it was being moved onto endpoints (`webhook_settings_changing`) — try again
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: postApiV1WebhookEndpoints
x-operation-id-source: derived
/api/v1/webhook-endpoints/{id}:
get:
tags:
- Webhook Endpoints
summary: Get a webhook endpoint
security:
- BearerAuth: []
- CookieAuth: []
parameters:
- schema:
$ref: '#/components/schemas/ObjectId'
required: true
description: MongoDB ObjectId
name: id
in: path
responses:
'200':
description: The endpoint (no secret)
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookEndpoint'
'404':
description: Endpoint not found — also the answer for one a sub-account key may not see
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getApiV1WebhookEndpointsById
x-operation-id-source: derived
patch:
tags:
- Webhook Endpoints
summary: Update a webhook endpoint
security:
- BearerAuth: []
- CookieAuth: []
parameters:
- schema:
$ref: '#/components/schemas/ObjectId'
required: true
description: MongoDB ObjectId
name: id
in: path
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateWebhookEndpointRequest'
responses:
'200':
description: The updated endpoint
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookEndpoint'
'400':
description: Invalid body (`validation_error`)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: 'A dashboard session without a `webhook_write` 2FA grant for THIS write (`2fa_required` — start one via `POST /me/2fa/start` with `action_type: webhook_write` and the `targets` the refusal lists: the act and the endpoint id, or the act and a hash of the URL for a new endpoint; the grant is single-use, so each write takes its own, and one that named another write answers `reason: target_mismatch`); a key without `webhooks:write` (`insufficient_scope`); a sub-account key naming anything but exactly its own sub-account (`profile_mismatch`); a sub-account of another account or one being deleted (`profile_not_owned`)'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Endpoint not found — also the answer for one a sub-account key may not see
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: patchApiV1WebhookEndpointsById
x-operation-id-source: derived
delete:
tags:
- Webhook Endpoints
summary: Delete a webhook endpoint
description: Deliveries already queued to it are still attempted, signed with the secret they were queued with.
security:
- BearerAuth: []
- CookieAuth: []
parameters:
- schema:
$ref: '#/components/schemas/ObjectId'
required: true
description: MongoDB ObjectId
name: id
in: path
responses:
'204':
description: Deleted
'403':
description: 'A dashboard session without a `webhook_write` 2FA grant for THIS write (`2fa_required` — start one via `POST /me/2fa/start` with `action_type: webhook_write` and the `targets` the refusal lists: the act and the endpoint id, or the act and a hash of the URL for a new endpoint; the grant is single-use, so each write takes its own, and one that named another write answers `reason: target_mismatch`); a key without `webhooks:write` (`insufficient_scope`); a sub-account key naming anything but exactly its own sub-account (`profile_mismatch`); a sub-account of another account or one being deleted (`profile_not_owned`)'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Endpoint not found — also the answer for one a sub-account key may not see
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: deleteApiV1WebhookEndpointsById
x-operation-id-source: derived
/api/v1/webhook-endpoints/{id}/rotate-secret:
post:
tags:
- Webhook Endpoints
summary: Rotate a webhook endpoint's secret
description: Replaces the signing secret and returns the new one — the only time it is returned. Deliveries already queued keep the secret they were queued with.
security:
- BearerAuth: []
- CookieAuth: []
parameters:
- schema:
$ref: '#/components/schemas/ObjectId'
required: true
description: MongoDB ObjectId
name: id
in: path
responses:
'200':
description: The endpoint with its new secret
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookEndpointWithSecret'
'403':
description: 'A dashboard session without a `webhook_write` 2FA grant for THIS write (`2fa_required` — start one via `POST /me/2fa/start` with `action_type: webhook_write` and the `targets` the refusal lists: the act and the endpoint id, or the act and a hash of the URL for a new endpoint; the grant is single-use, so each write takes its own, and one that named another write answers `reason: target_mismatch`); a key without `webhooks:write` (`insufficient_scope`); a sub-account key naming anything but exactly its own sub-account (`profile_mismatch`); a sub-account of another account or one being deleted (`profile_not_owned`)'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Endpoint not found — also the answer for one a sub-account key may not see
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: postApiV1WebhookEndpointsByIdRotateSecret
x-operation-id-source: derived
components:
schemas:
WebhookEndpoint:
type: object
properties:
id:
$ref: '#/components/schemas/ObjectId'
url:
type: string
maxLength: 2000
format: uri
description: HTTPS URL deliveries are POSTed to, at most 2000 characters. Private, loopback and link-local addresses are refused.
example: https://yourapp.com/webhooks/proof
events:
type: array
items:
type: string
scope:
type: string
enum:
- all
- selected
description: '`all` — every sub-account, present and future, plus account-level events. `selected` — only the sub-accounts in `profile_ids`; account-level events never reach it.'
profile_ids:
type: array
items:
$ref: '#/components/schemas/ObjectId'
status:
type: string
enum:
- active
- disabled
description: A `disabled` endpoint receives nothing; its history and secret are kept.
description:
type:
- string
- 'null'
maxLength: 200
example: Payments backend
legacy:
type: boolean
description: The endpoint converted from the account's single webhook URL — the one the deprecated `/me/settings` webhook block reads and writes.
secret_set:
type: boolean
description: Whether the endpoint has a signing secret (always true).
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
required:
- id
- url
- events
- scope
- profile_ids
- status
- description
- legacy
- secret_set
- created_at
- updated_at
description: A webhook endpoint. Deliveries carry `X-Proof-Signature`, an HMAC-SHA256 with this endpoint's secret over `<X-Proof-Timestamp>.<body>`; the secret itself is returned only on create and rotate.
WebhookEndpointWithSecret:
type: object
properties:
id:
$ref: '#/components/schemas/ObjectId'
url:
type: string
maxLength: 2000
format: uri
description: HTTPS URL deliveries are POSTed to, at most 2000 characters. Private, loopback and link-local addresses are refused.
example: https://yourapp.com/webhooks/proof
events:
type: array
items:
type: string
scope:
type: string
enum:
- all
- selected
description: '`all` — every sub-account, present and future, plus account-level events. `selected` — only the sub-accounts in `profile_ids`; account-level events never reach it.'
profile_ids:
type: array
items:
$ref: '#/components/schemas/ObjectId'
status:
type: string
enum:
- active
- disabled
description: A `disabled` endpoint receives nothing; its history and secret are kept.
description:
type:
- string
- 'null'
maxLength: 200
example: Payments backend
legacy:
type: boolean
description: The endpoint converted from the account's single webhook URL — the one the deprecated `/me/settings` webhook block reads and writes.
secret_set:
type: boolean
description: Whether the endpoint has a signing secret (always true).
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
secret:
type: string
description: The signing secret — returned only in this response. Store it now.
example: whsec_1f2e…
required:
- id
- url
- events
- scope
- profile_ids
- status
- description
- legacy
- secret_set
- created_at
- updated_at
- secret
description: A webhook endpoint with its signing secret, returned once (create, rotate).
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
WebhookEndpointList:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/WebhookEndpoint'
required:
- data
description: The endpoints the caller may see. A sub-account key sees only those scoped to exactly its own sub-account.
ObjectId:
type: string
pattern: ^[0-9a-fA-F]{24}$
description: MongoDB ObjectId
example: 507f1f77bcf86cd799439011
CreateWebhookEndpointRequest:
type: object
properties:
url:
type: string
maxLength: 2000
format: uri
description: HTTPS URL deliveries are POSTed to, at most 2000 characters. Private, loopback and link-local addresses are refused.
example: https://yourapp.com/webhooks/proof
events:
type: array
items:
type: string
maxItems: 32
description: 'Subscription patterns: an exact event type, a family wildcard such as `proof.*`, or `*`. An empty list means every event.'
example:
- verification_request.completed
- confirmation.*
scope:
type: string
enum:
- all
- selected
description: '`all` — every sub-account, present and future, plus account-level events. `selected` — only the sub-accounts in `profile_ids`; account-level events never reach it.'
profile_ids:
type: array
items:
type: string
pattern: ^[0-9a-fA-F]{24}$
maxItems: 100
description: The sub-accounts a `selected` endpoint serves — at least one, all of this account. Empty for `all`.
status:
type: string
enum:
- active
- disabled
description: A `disabled` endpoint receives nothing; its history and secret are kept.
description:
type:
- string
- 'null'
maxLength: 200
example: Payments backend
required:
- url
- scope
description: A new webhook endpoint. A sub-account key may create only one scoped `selected` to exactly its own sub-account.
UpdateWebhookEndpointRequest:
type: object
properties:
url:
type: string
maxLength: 2000
format: uri
description: HTTPS URL deliveries are POSTed to, at most 2000 characters. Private, loopback and link-local addresses are refused.
example: https://yourapp.com/webhooks/proof
events:
type: array
items:
type: string
maxItems: 32
description: 'Subscription patterns: an exact event type, a family wildcard such as `proof.*`, or `*`. An empty list means every event.'
example:
- verification_request.completed
- confirmation.*
scope:
type: string
enum:
- all
- selected
description: '`all` — every sub-account, present and future, plus account-level events. `selected` — only the sub-accounts in `profile_ids`; account-level events never reach it.'
profile_ids:
type: array
items:
type: string
pattern: ^[0-9a-fA-F]{24}$
maxItems: 100
description: The sub-accounts a `selected` endpoint serves — at least one, all of this account. Empty for `all`.
status:
type: string
enum:
- active
- disabled
description: A `disabled` endpoint receives nothing; its history and secret are kept.
description:
type:
- string
- 'null'
maxLength: 200
example: Payments backend
description: Fields to change. Moving to `all` drops `profile_ids`; `profile_ids` sent alone keeps a `selected` endpoint selected. A sub-account key can never widen an endpoint.
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)