Upload file

Uploads a file to Plextera File Service. Common document, image, text, Office, archive, audio, and video file types are supported. Executable and script files are rejected. Maximum file size: 50 MB.

Authentication

Authorizationstring

Use the API key format: api-key <token>.

Request

Multipart file upload. The file part is required.

filefileRequired

File to upload. Executable and script files are rejected. Maximum size: 50 MB.

Response

File stored. Reference it by id in extractions and workflow payloads.

idstring

File identifier. Reference it as fileId in extractions and workflow payloads.

namestring
Original file name.
mimeTypestring
Detected media type of the stored file.
sizeByteslong
File size in bytes.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
405
Method Not Allowed Error
406
Not Acceptable Error
409
Conflict Error
413
Content Too Large Error
415
Unsupported Media Type Error
500
Internal Server Error
502
Bad Gateway Error