cURL
curl --request POST \ --url https://api.artosai.com/ingest/reference-document \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form 'name=<string>' \ --form 'description=<string>'
{ "referenceDocumentId": "<string>", "name": "<string>", "filename": "<string>", "upload_date": "2023-11-07T05:31:56Z", "file_size": 123, "s3_url": "<string>" }
Uploads a .docx file that serves as a styling template for generated documents.
.docx
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Reference document file in DOCX format.
Human‑readable identifier for the reference document.
Optional description of the styling template.
Reference document uploaded