Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.quantumapi.io/llms.txt

Use this file to discover all available pages before exploring further.

The Custody API exposes 27 endpoints for managing tenants, vault accounts, wallets, transactions, assets, and webhooks on the Quantum Chain network.

Base URL

https://api.qustody.io/v1
The API is served from api.qustody.io. The companion dashboard is at app.qustody.io. For local development, point baseUrl at your own deployment — see Configure a development network.

Authentication

All endpoints except /healthz and /readyz require a Bearer API key:
Authorization: Bearer <key_id>:<secret>
See Authentication for details on credential format and IP allowlisting.

Request format

  • Content-Type: application/json
  • All request bodies are JSON objects
  • Path parameters use {id} notation
  • Query parameters support pagination via page and page_size

Response format

Successful responses return the resource directly:
{
  "id": "tx_abc123",
  "status": "COMPLETED",
  "amount": "10.0",
  "created_at": "2026-03-19T10:00:00Z"
}
List endpoints return paginated responses:
{
  "data": [...],
  "page": 1,
  "page_size": 20,
  "total": 142
}

Error format

Errors include a numeric code and human-readable message:
{
  "error": {
    "code": 1001,
    "message": "Invalid API key"
  }
}

Error code ranges

RangeCategory
1000–1099Authentication and authorization
1100–1199Validation and request errors
1200–1299Policy violations
1300–1399Transaction errors
1400–1499Webhook errors
1500–1599Asset errors
1600–1699Internal errors

OpenAPI specification

The complete API is defined in an OpenAPI 3.1.0 specification. All endpoint pages below are auto-generated from this spec.

OpenAPI Specification

View the source OpenAPI specification