Proof Holdings Webhook Deliveries API
Webhook delivery management
Webhook delivery management
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-deliveries-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 Deliveries 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 Deliveries
description: Webhook delivery management
paths:
/api/v1/webhook-deliveries/stats:
get:
tags:
- Webhook Deliveries
summary: Get delivery statistics
description: Get webhook delivery statistics for your account — counted over the deliveries the caller may list. A key bound to one sub-account sees only its own sub-account's `callback_url` deliveries and the deliveries of endpoints scoped to exactly that sub-account — never an account-level delivery, nor one of an endpoint other sub-accounts also use.
security:
- BearerAuth: []
- CookieAuth: []
parameters:
- schema:
type: string
enum:
- production
- test
description: 'Session (cookie) callers only: which environment''s deliveries the request reads or retries. Absent, a session reads `production`. Any other value answers 400 `validation_error`. With an API key this parameter is not read — the key''s own environment decides.'
example: test
required: false
description: 'Session (cookie) callers only: which environment''s deliveries the request reads or retries. Absent, a session reads `production`. Any other value answers 400 `validation_error`. With an API key this parameter is not read — the key''s own environment decides.'
name: environment
in: query
responses:
'200':
description: Webhook delivery statistics
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookDeliveryStats'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getApiV1WebhookDeliveriesStats
x-operation-id-source: derived
/api/v1/webhook-deliveries:
get:
tags:
- Webhook Deliveries
summary: List webhook deliveries
description: Get paginated list of webhook deliveries with filtering. A key bound to one sub-account sees only its own sub-account's `callback_url` deliveries and the deliveries of endpoints scoped to exactly that sub-account — never an account-level delivery, nor one of an endpoint other sub-accounts also use. A filter narrows that view; it never widens it.
security:
- BearerAuth: []
- CookieAuth: []
parameters:
- schema:
type: integer
exclusiveMinimum: 0
default: 1
example: 1
required: false
name: page
in: query
- schema:
type: integer
exclusiveMinimum: 0
maximum: 100
default: 20
example: 20
required: false
name: limit
in: query
- schema:
$ref: '#/components/schemas/WebhookDeliveryStatus'
required: false
description: Delivery status
name: status
in: query
- schema:
$ref: '#/components/schemas/WebhookEventType'
required: false
description: 'Type of webhook event. `proof.suspended`/`proof.unsuspended` fire for a delegation (`ph_dlg_*`) lifecycle act on the account''s own configured webhook_url — not a channel to a separately-addressed delegate (h-fix-delegation-suspend-governance). `proof.reissued`/`delegation.reissued` say a stored token was re-signed under a new key: a reference only (`proof_id` or `handle`, `kid`, `reissued_at`, `token_url`, and the `profile_id` every body carries), never the token; `proof.*` does not cover `delegation.reissued`.'
name: event_type
in: query
- schema:
allOf:
- $ref: '#/components/schemas/ObjectId'
- description: Filter by verification request
required: false
description: Filter by verification request
name: verification_request_id
in: query
- schema:
allOf:
- $ref: '#/components/schemas/ObjectId'
- description: Filter by webhook endpoint
required: false
description: Filter by webhook endpoint
name: endpoint_id
in: query
- schema:
allOf:
- $ref: '#/components/schemas/ObjectId'
- description: Filter by sub-account
required: false
description: Filter by sub-account
name: profile_id
in: query
- schema:
type: string
enum:
- production
- test
description: 'Session (cookie) callers only: which environment''s deliveries the request reads or retries. Absent, a session reads `production`. Any other value answers 400 `validation_error`. With an API key this parameter is not read — the key''s own environment decides.'
example: test
required: false
description: 'Session (cookie) callers only: which environment''s deliveries the request reads or retries. Absent, a session reads `production`. Any other value answers 400 `validation_error`. With an API key this parameter is not read — the key''s own environment decides.'
name: environment
in: query
responses:
'200':
description: List of webhook deliveries
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookDeliveryListResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getApiV1WebhookDeliveries
x-operation-id-source: derived
/api/v1/webhook-deliveries/{id}:
get:
tags:
- Webhook Deliveries
summary: Get webhook delivery
description: Get details of a specific webhook delivery including payload and response. A key bound to one sub-account sees only its own sub-account's `callback_url` deliveries and the deliveries of endpoints scoped to exactly that sub-account — never an account-level delivery, nor one of an endpoint other sub-accounts also use. Any other answers 404, exactly like a missing id.
security:
- BearerAuth: []
- CookieAuth: []
parameters:
- schema:
$ref: '#/components/schemas/ObjectId'
required: true
description: MongoDB ObjectId
name: id
in: path
- schema:
type: string
enum:
- production
- test
description: 'Session (cookie) callers only: which environment''s deliveries the request reads or retries. Absent, a session reads `production`. Any other value answers 400 `validation_error`. With an API key this parameter is not read — the key''s own environment decides.'
example: test
required: false
description: 'Session (cookie) callers only: which environment''s deliveries the request reads or retries. Absent, a session reads `production`. Any other value answers 400 `validation_error`. With an API key this parameter is not read — the key''s own environment decides.'
name: environment
in: query
responses:
'200':
description: Webhook delivery details
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookDelivery'
'404':
description: Delivery not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getApiV1WebhookDeliveriesById
x-operation-id-source: derived
/api/v1/webhook-deliveries/{id}/retry:
post:
tags:
- Webhook Deliveries
summary: Retry failed delivery
description: 'Queue a fresh ladder of attempts for a delivery that has not been delivered: one with status "failed", or a "pending" one that no worker is holding. The attempt numbering continues after the attempts already spent (the delivery''s `attempts` is never reset and its `max_attempts` is set to `attempts` plus one ladder of six, as `GET /api/v1/webhook-deliveries/{id}` then shows; a delivery an earlier version of this endpoint had reset to `attempts: 0` resumes above its `max_attempts`), so a retried attempt never reuses the `X-Webhook-Id` of an attempt its `attempts` count already includes. A "pending" delivery that a queued job already holds is answered 200 ("already queued") instead of being given a second job.'
security:
- BearerAuth: []
- CookieAuth: []
parameters:
- schema:
$ref: '#/components/schemas/ObjectId'
required: true
description: MongoDB ObjectId
name: id
in: path
- schema:
type: string
enum:
- production
- test
description: 'Session (cookie) callers only: which environment''s deliveries the request reads or retries. Absent, a session reads `production`. Any other value answers 400 `validation_error`. With an API key this parameter is not read — the key''s own environment decides.'
example: test
required: false
description: 'Session (cookie) callers only: which environment''s deliveries the request reads or retries. Absent, a session reads `production`. Any other value answers 400 `validation_error`. With an API key this parameter is not read — the key''s own environment decides.'
name: environment
in: query
responses:
'200':
description: 'A fresh ladder was queued (`already_queued: false`), or a worker already holds an attempt for this delivery and nothing changed (`already_queued: true`, `next_retry_at` is the attempt already scheduled)'
content:
application/json:
schema:
$ref: '#/components/schemas/RetryDeliveryResponse'
'400':
description: 'Cannot retry: the delivery was already delivered (`already_delivered`)'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: '`account_key_required` — this API key is bound to one sub-account; account-level changes need an account-wide key or the dashboard.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Delivery not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: The retry could not be queued (`webhook_enqueue_failed`); the delivery is left "failed" with the reason
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: postApiV1WebhookDeliveriesByIdRetry
x-operation-id-source: derived
components:
schemas:
PaginationResponse:
type: object
properties:
page:
type: integer
example: 1
limit:
type: integer
example: 20
total:
type: integer
example: 42
total_pages:
type: integer
example: 3
description: Pagination info in list responses
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
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
WebhookDeliveryStatus:
type: string
enum:
- pending
- delivered
- failed
description: Delivery status
example: delivered
WebhookDeliveryStats:
type: object
properties:
total:
type: integer
example: 150
by_status:
type: object
properties:
pending:
type: integer
example: 3
delivered:
type: integer
example: 142
failed:
type: integer
example: 5
required:
- pending
- delivered
- failed
delivery_rate:
type: string
description: Delivered share of all deliveries, a percentage with one decimal and a `%` sign; `0%` when there are none
example: 94.7%
recent_failures_24h:
type: integer
description: Failed deliveries last updated in the past 24 hours
example: 1
required:
- total
- by_status
- delivery_rate
- recent_failures_24h
description: Webhook delivery statistics
ObjectId:
type: string
pattern: ^[0-9a-fA-F]{24}$
description: MongoDB ObjectId
example: 507f1f77bcf86cd799439011
WebhookDelivery:
type: object
properties:
id:
$ref: '#/components/schemas/ObjectId'
verification_request_id:
anyOf:
- $ref: '#/components/schemas/ObjectId'
- type: 'null'
endpoint_id:
anyOf:
- $ref: '#/components/schemas/ObjectId'
- type: 'null'
description: The webhook endpoint it was sent to. Null for a request's `callback_url` and for a delivery to the account's settings webhook URL before the switch-over to endpoints.
profile_id:
anyOf:
- $ref: '#/components/schemas/ObjectId'
- type: 'null'
description: 'The sub-account whose event it was. Null for an account-level event, and for deliveries recorded before #421.'
event_type:
$ref: '#/components/schemas/WebhookEventType'
url:
type: string
format: uri
example: https://yourapp.com/webhook
status:
$ref: '#/components/schemas/WebhookDeliveryStatus'
attempts:
type: integer
example: 1
max_attempts:
type: integer
example: 6
last_attempt_at:
type:
- string
- 'null'
format: date-time
next_retry_at:
type:
- string
- 'null'
format: date-time
delivered_at:
type:
- string
- 'null'
format: date-time
response_status:
type:
- integer
- 'null'
example: 200
error_message:
type:
- string
- 'null'
created_at:
type: string
format: date-time
payload:
type: object
additionalProperties: {}
description: 'The event body as stored. Every `proof_token` in it is null: the body POSTed to the receiver carries the token, read from its record at send time, and delivery history keeps no copy.'
token_omitted_reason:
type:
- string
- 'null'
enum:
- source_gone
- token_absent
- token_changed
- null
description: 'Why the last send carried `proof_token: null`. Every attempt, the first included, sends the token the delivery was queued with, or null: a retried delivery carries the same `proof_token` as the first attempt or `proof_token: null`, never a different token. `source_gone`: the record holding the token no longer exists, or (for a delivery stored before tokens were left out of history) could not be identified. `token_absent`: it holds no token, or there was none when the delivery was queued. `token_changed`: its token is no longer the one the delivery was queued with (re-issued or changed since). Null when every token was sent. Absent from an API that predates it.'
response_body:
type:
- string
- 'null'
description: The receiver's response body.
updated_at:
type: string
format: date-time
required:
- id
- verification_request_id
- endpoint_id
- profile_id
- event_type
- url
- status
- attempts
- max_attempts
- last_attempt_at
- next_retry_at
- delivered_at
- response_status
- error_message
- created_at
- payload
- response_body
- updated_at
description: Webhook delivery record
WebhookDeliveryListResponse:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/WebhookDeliveryListItem'
pagination:
$ref: '#/components/schemas/PaginationResponse'
required:
- data
- pagination
RetryDeliveryResponse:
type: object
properties:
success:
type: boolean
example: true
already_queued:
type: boolean
description: True when a worker already holds an attempt for this delivery, so the request queued nothing and `next_retry_at` is unchanged. False when this request queued a fresh ladder. Present on servers from this release; absent means treat as false.
example: false
message:
type: string
example: Webhook delivery queued for retry
delivery_id:
$ref: '#/components/schemas/ObjectId'
next_retry_at:
type: string
format: date-time
required:
- success
- message
- delivery_id
- next_retry_at
WebhookDeliveryListItem:
type: object
properties:
id:
$ref: '#/components/schemas/ObjectId'
verification_request_id:
anyOf:
- $ref: '#/components/schemas/ObjectId'
- type: 'null'
endpoint_id:
anyOf:
- $ref: '#/components/schemas/ObjectId'
- type: 'null'
description: The webhook endpoint it was sent to. Null for a request's `callback_url` and for a delivery to the account's settings webhook URL before the switch-over to endpoints.
profile_id:
anyOf:
- $ref: '#/components/schemas/ObjectId'
- type: 'null'
description: 'The sub-account whose event it was. Null for an account-level event, and for deliveries recorded before #421.'
event_type:
$ref: '#/components/schemas/WebhookEventType'
url:
type: string
format: uri
example: https://yourapp.com/webhook
status:
$ref: '#/components/schemas/WebhookDeliveryStatus'
attempts:
type: integer
example: 1
max_attempts:
type: integer
example: 6
last_attempt_at:
type:
- string
- 'null'
format: date-time
next_retry_at:
type:
- string
- 'null'
format: date-time
delivered_at:
type:
- string
- 'null'
format: date-time
response_status:
type:
- integer
- 'null'
example: 200
error_message:
type:
- string
- 'null'
created_at:
type: string
format: date-time
required:
- id
- verification_request_id
- endpoint_id
- profile_id
- event_type
- url
- status
- attempts
- max_attempts
- last_attempt_at
- next_retry_at
- delivered_at
- response_status
- error_message
- created_at
description: 'Webhook delivery as listed: the payload and the receiver''s response body are only on the detail'
WebhookEventType:
type: string
enum:
- verification_request.completed
- verification_request.partial
- verification_request.expired
- verification.completed
- confirmation.approved
- confirmation.denied
- authorization.approved
- authorization.denied
- proof.revoked
- proof.suspended
- proof.unsuspended
- account.deletion_scheduled
- account.deletion_cancelled
- proof.reissued
- delegation.reissued
description: 'Type of webhook event. `proof.suspended`/`proof.unsuspended` fire for a delegation (`ph_dlg_*`) lifecycle act on the account''s own configured webhook_url — not a channel to a separately-addressed delegate (h-fix-delegation-suspend-governance). `proof.reissued`/`delegation.reissued` say a stored token was re-signed under a new key: a reference only (`proof_id` or `handle`, `kid`, `reissued_at`, `token_url`, and the `profile_id` every body carries), never the token; `proof.*` does not cover `delegation.reissued`.'
example: verification_request.completed
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)