POST
/
upload
/
file
Upload documents
curl --request POST \
  --url https://api.liquidindex.dev/upload/file \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'data={
  "owner_id": "<string>"
}' \
  --form file=@example-file
{
  "job_id": "1234567890",
  "status": "PENDING"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required

The documents to be uploaded and processed

data
object
required

Response

Documents uploaded successfully

job_id
string

The Job ID belonging to the file upload

Example:

"1234567890"

status
string

The status of the file upload

Example:

"PENDING"