Skip to main content
POST
Validate Extended Markdown content

Authorizations

Authorization
string
header
required

Short-lived, Developer-API-audience token obtained by the trusted MCP service through token exchange (mcp_at_...). Raw MCP resource tokens are rejected.

Query Parameters

strict
boolean

Enable strict validation mode (validates anchors, references, citations, abbreviations, and footnotes)

Body

application/json
content
string
required

Extended Markdown content. Will be converted to document sections automatically. Supports all Autype extended Markdown syntax (directives, charts, math, etc.)

Example:

"# Hello ${companyName}\n\nThis is a **professional** document.\n\n## Features\n\n- Item 1\n- Item 2\n"

document
object
required

Document settings (page size, margins, orientation, metadata). Must include "type" field.

Example:
variables
object
Example:
abbreviations
object

Abbreviations map. Keys are abbreviations, values are full text

Example:
defaults
object

Default styles and formatting options (fontFamily, fontSize, styles, header, footer, etc.)

stylePresetId
string

Optional workspace style UUID or immutable built-in system:. The preset is resolved server-side and merged with inline defaults. Inline defaults win.

Example:

"550e8400-e29b-41d4-a716-446655440000"

citations
object[]

Citations array (CSL-JSON format) for bibliography

style
object

Style configuration for the document

pdfProfile
enum<string>
default:standard

PDF output profile. Only valid when document.type is pdf. PDF/A and PDF/UA profiles flatten interactive form fields.

Available options:
standard,
pdfa-1b,
pdfa-2b,
pdfa-3b,
pdfua-1
webhook
object

Optional webhook configuration. Receives a POST when the job completes or fails.

Response

Validation result

valid
boolean
required

Whether the document JSON is valid

errors
object[]

Validation errors (present when valid is false)

warnings
object[]

Validation warnings (non-blocking issues found in non-strict mode)