Skip to main content
POST
Upload a file
Upload a file once and reuse its file_id in Parse or Extract. The response returns file_id, mimetype, and expires_at. Start with Parse your first document.

Authorizations

unstructured-api-key
string
header
required

Body

multipart/form-data
file
file
required

The document to upload.

Response

The uploaded file details.

The result of uploading a file.

file_id
string
required

The ID of the uploaded file.

mimetype
string
required

The detected MIME type of the file.

expires_at
string<date-time>
required

When the file will be automatically deleted.