Skip to main content

Upload a file

POST 

/api/v1/upload

Uploads multiple files and returns the unique identifiers (UUIDs) of the uploaded files. Each file must not exceed 3 MB; allowed formats are PNG, JPG/JPEG and PDF.

warning

The examples provided in the right menu may not be accurate. Please ignore them. The correct cURL example is:

curl -L -X POST 'https://gateway.plerix.com/api/v1/upload' \
-H 'Content-Type: multipart/form-data' \
-H 'Accept: application/json' \
-H 'Api-Access-Token: ' \
-F 'files[]=@/path/to/file/image.jpg' \
-F 'files[]=@/path/to/file/image2.png'

Request​

Responses​

A successful upload returns the UUIDs of the uploaded files.