API Reference
These REST endpoints support the AIdenID clearance layer: control-plane auth, issuer identities, inbox evidence, webhooks, target registries, billing, exports, and demo workflows. All endpoints are available at https://api.aidenid.com.
The primary AIdenID buyer story is per-request clearance for agent traffic. Identity and inbox APIs are still documented here because they provide issuer context, demo evidence, and support workflows for the clearance layer.
Base URL
https://api.aidenid.comAuthentication
AIdenID supports three authentication models:
- API key auth — For control-plane and supporting API integrations. See the authentication guide.
- Magic-link sessions — For human consumer endpoints (
/v1/consumer/*). - IP-keyed tokens — For free tier (
/v1/free/*). No signup required.
# Agent API auth
Authorization: Bearer <api_key>
X-Org-Id: <organization_id>
X-Project-Id: <project_id>Request format
All request bodies use JSON. Set Content-Type: application/json for POST, PUT, and PATCH requests.
Idempotency
All mutation endpoints (POST, PUT, PATCH, DELETE) require an Idempotency-Key header. This ensures that retried requests do not create duplicate resources. Use a UUID or any unique string per logical operation.
Idempotency-Key: <GENERATED_UNIQUE_KEY>Response format
All responses return JSON. Successful responses use HTTP 200 or 201 status codes. List endpoints return paginated results with items, total, limit, and offset fields.
Error handling
Errors follow a consistent structure:
{
"code": "identity_not_found",
"message": "The requested identity does not exist.",
"retryable": false,
"request_id": "req_x1y2z3"
}See the error codes table in each endpoint section for endpoint-specific errors.
Response headers
| Header | Description |
|---|---|
X-Request-Id | Unique identifier for the request, useful for debugging |
X-Trace-Id | Distributed trace identifier |
X-RateLimit-Limit | Maximum requests per rate limit window |
X-RateLimit-Remaining | Remaining requests in the current window |
X-RateLimit-Reset | Unix timestamp when the rate limit window resets |
API groups
/v1/authIdentitiesSupporting issuer and inbox identities/v1/identitiesFree TierLegacy identity sandbox for prototypes/v1/freeConsumerConsumer inbox and magic-link support/v1/consumerTrialsStart, manage, and convert free trials/v1/trialsWebhooksRegister endpoints, rotate secrets, replay events/v1/webhooksAuth FlowsAuthorized staging and demo evidence/v1/reliabilityDomainsRegister and verify custom email domains/v1/domainsBillingSubscriptions, checkout, invoices, and usage/v1/billingRealtimeServer-Sent Events for live project updates/v1/realtimeExportsBulk data export in JSON or CSV/v1/exportsMarketplaceTemplates and clearance demo workflows/v1/marketplace