v1

latestOpenAPI 3.1.12026-07-24260246894.7 KB
Files

Create file (advance)

Create file in advance mode by sending raw binary file content directly in the request body. You must include a Content-Disposition header with the filename.

post/files/raw/

Headers

Content-Dispositionstring required

Content-Disposition header with filename (e.g., "attachment; filename=invoice.pdf")

Response

created_tsstring date-time required

The timestamp in UTC when the file created

filestring uri

The actual file content.

file_sizeinteger nullable

The size of the file in bytes.

idstring required

The unique identifier of the file object.

mime_typestring required

The MIME type of the file.

modified_tsstring date-time required

The timestamp in UTC when the file was last modified

original_filenamestring

The original filename of the uploaded file.