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.
API Key (starts with ak_...)