Autype icon

Autype

Interact with the Autype Developer API for document generation, PDF tools, and more

Document → Create Document

AI-generated

Summary

Create a new document within a specified project.

Inputs

  • projectId (required) — The ID of the project in which to create the document.
  • title (required) — The title of the new document.
  • additionalFields.description — A description for the document.
  • additionalFields.content — Initial document structure formatted as a JSON string matching the Autype document schema. Temporary image references (/temp-image/{ID}) are automatically converted to permanent assets.

Output shape

a single record

Returns the created document object containing its metadata and content details.

Examples

Example 1: Create a document with basic title and project ID

Set Project ID to 'prj_123' and Title to 'Q3 Financial Report'.

Example 2: Create a document with initial JSON content

Set Project ID to 'prj_123', Title to 'Invoice Template', and specify the initial document structure in Options > Content (JSON).

Links

Discussion