Create document
Create a new document in a project. The document is attributed to the API key creator. Optionally provide initial document content following the Autype document JSON schema. If no content is provided, a default document with the title as heading is created.
Image handling: If the document content contains /temp-image/{id} references (from temporary image uploads), they are automatically converted to permanent /image/{assetId} assets attached to the new document. This allows you to upload images first via POST /images/upload, then reference them in the document content — the conversion happens transparently on creation.
Authorizations
Short-lived, Developer-API-audience token obtained by the trusted MCP service through token exchange (mcp_at_...). Raw MCP resource tokens are rejected.
Body
Response
Document created
Document ID
Document title
Project ID the document belongs to
Referenced workspace or built-in system style preset, if any
Document description
