API Reference
REST endpoints and MCP protocol for programmatic access to VisionDraft.
Base URL
https://visiondraft.space/apiAuthentication
All API requests require a VisionDraft API key in the Authorization header:
Authorization: Bearer vd_your_api_keyGenerate keys from Settings → API Keys.
MCP Endpoint
POST /api/mcpJSON-RPC 2.0 transport. Supports all editing, generation, and export tools.
Projects
GET /api/projects— List projectsPOST /api/projects— Create projectPOST /api/projects/[id]/assets— Upload assetPOST /api/projects/[id]/assets/chunked-init— Large file upload
Rendering
GET /api/render/[jobId]— Poll render job status
API Keys
GET /api/api-keys/current— Current key prefixPOST /api/api-keys/regenerate— Regenerate key
Billing
POST /api/billing/checkout— Start checkout sessionGET /api/billing/portal— Customer portal URL
OAuth (MCP clients)
GET /.well-known/oauth-authorization-server— OAuth metadataPOST /oauth/token— Token exchangePOST /oauth/register— Dynamic client registration
For MCP tool schemas, connect your agent and call tools/list. Full tool documentation is available through the MCP protocol.