Skip to Content

Create an upload

POST
/v1/uploads

Create an upload and job, then PUT the file to the returned URL with every returned header. Confirm the upload before it expires to start processing. API keys require the uploads:create scope. Optional classification runs after recovery with its own status. Reuse an Idempotency-Key to retry the same request before the upload expires. Changed requests or expired keys return 409.

Authorization

Bearer
headerAuthorizationBearer <token>

Send your API key in the Authorization header: Bearer <api_key>.

Header Parameters

idempotency-key?string

A literal visible ASCII key for safe request replay.

Match^[\x21-\x7e]+$
Length1 <= length <= 255

Request Body

application/json
  1. body
filename*Filename

Filename with its extension, without directory separators or control characters.

Length1 <= length <= 255
classification?array<>|

Omit to use the workspace default classification, or send null to skip classification for this document. An array overrides the default. Without supplied or saved criteria, only content recovery runs.

Items1 <= items <= 20
webhook?|

Omit to use the workspace default webhook, or send null to disable delivery for this document. A URL overrides the default and requires webhook signing to be configured.

metadata?

Response Body

Upload created

application/json
  1. response
upload_id*string

Upload ID returned by upload creation.

job_id*string
upload*
Example Response
{  "upload_id": "upl_01j00000000000000000000000",  "job_id": "job_01j00000000000000000000000",  "upload": {    "strategy": "presigned_put",    "method": "PUT",    "url": "https://storage.example.com/uploads/statement.pdf?signature=synthetic",    "headers": {      "content-type": "application/octet-stream",      "if-none-match": "*"    },    "expires_at": "2026-09-18T12:15:00Z",    "max_bytes": 104857600  }}