Skip to main content
POST
Upload a tenant-private reference document

Authorizations

Authorization
string
header
required

A WriterzRoom API key.

Body

application/json
text
string
required

The document's text.

Required string length: 100 - 500000
vertical
string
required

Vertical the document is filed under, such as legal.

Required string length: 1 - 64
source_url
string
default:""

Where the document came from, shown when it is cited.

Maximum string length: 2048
source_title
string
default:""

Title shown when the document is cited.

Maximum string length: 500

Response

Successful Response