Skip to main content
POST
Create Document

Authorizations

X-API-Key
string
header
required

Body

application/json

Schema for creating a document via the v1 API.

title
string
required
content
string | null
source_id
string | null
parent_id
string | null
page_id
string | null
position
integer | null
status
string | null
default_language
string
default:en

Response

201 - application/json

Created

Stripe-aligned document response.

id
string
required
title
string
required
object
string
default:document
page_id
string | null
content
string | null
override_content
string | null
status
string | null
public_display
boolean
default:true
default_language
string
default:en
source_id
string | null
source_name
string | null
parent_id
string | null
position
integer
default:0
created_at
string<date-time> | null
updated_at
string<date-time> | null
origin
DocumentOriginSchema · object | null

Where a document is maintained: a synced document is fixed in its external system, not in AGO.

source_file
SourceFileOut · object | null

The original file the document was extracted from; download it with GET /documents/{id}/file.