Proof Holdings DNS Credentials API
Stored DNS provider credentials
Stored DNS provider credentials
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-dns-credentials-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 DNS Credentials 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: DNS Credentials
description: Stored DNS provider credentials
paths:
/api/v1/me/dns-credentials:
get:
tags:
- DNS Credentials
summary: List credentials
description: List stored DNS provider credentials (secrets are masked).
security:
- CookieAuth: []
responses:
'200':
description: List of stored credentials
content:
application/json:
schema:
$ref: '#/components/schemas/DnsCredentialListResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getApiV1MeDnsCredentials
x-operation-id-source: derived
post:
tags:
- DNS Credentials
summary: Create credential
description: Store DNS provider credentials for reuse across domains.
security:
- CookieAuth: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateProviderCredentialRequest'
required: true
responses:
'200':
description: Credential stored
content:
application/json:
schema:
$ref: '#/components/schemas/DnsCredentialResponse'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: postApiV1MeDnsCredentials
x-operation-id-source: derived
/api/v1/me/dns-credentials/{id}:
delete:
tags:
- DNS Credentials
summary: Delete credential
description: Delete a stored DNS provider credential.
security:
- CookieAuth: []
parameters:
- schema:
$ref: '#/components/schemas/ObjectId'
required: true
description: MongoDB ObjectId
name: id
in: path
responses:
'200':
description: Credential deleted
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessResponse'
'404':
description: Credential not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: deleteApiV1MeDnsCredentialsById
x-operation-id-source: derived
components:
schemas:
CreateProviderCredentialRequest:
type: object
properties:
provider:
type: string
minLength: 1
maxLength: 50
example: cloudflare
credentials:
type: object
additionalProperties:
type: string
example:
api_token: abc123
required:
- provider
- credentials
description: Request body for creating stored DNS provider credentials
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
ObjectId:
type: string
pattern: ^[0-9a-fA-F]{24}$
description: MongoDB ObjectId
example: 507f1f77bcf86cd799439011
DnsCredentialResponse:
type: object
properties:
id:
$ref: '#/components/schemas/ObjectId'
provider:
type: string
example: cloudflare
name:
type: string
example: Cloudflare Account
is_valid:
type: boolean
domains_count:
type: integer
last_used_at:
type: string
format: date-time
description: When the credential last made a DNS change; absent until it has. Sent by the list only.
last_validated_at:
type: string
format: date-time
description: When the credential was last checked against its provider; absent when never recorded. Sent by the list only.
validation_error:
type: string
description: Why the last check refused the credential; absent unless one did. Sent by the list only.
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
required:
- id
- provider
- name
- is_valid
- domains_count
- created_at
- updated_at
description: A saved DNS provider credential. The secret is never returned.
DnsCredentialListResponse:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/DnsCredentialResponse'
required:
- data
description: The account's saved DNS provider credentials, ordered by provider
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)