Skip to main content
POST
Create Document

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required
Required string length: 1 - 128

Path Parameters

session_id
string
required

Body

application/json
title
string
default:Document
Required string length: 1 - 255
template_id
string | null

Response

Successful Response

id
string
required
session_id
string
required
status
string
required
title
string | null
required
content
Content · object | null
rendered_text
string | null
generation_job_id
string | null
failure_code
string | null
current_version
integer
default:1