Skip to main content
POST
Upload Files (New API)

Upload Files

POST /files/upload Upload files for processing with automatic document type detection. This endpoint supports multiple file formats and maintains backward compatibility with the existing upload endpoint.

Features

  • Supports PDF, JPG, JPEG, PNG formats
  • Maximum 50 files per request, 10MB per file
  • Automatic document type detection
  • Maintains backward compatibility with existing upload endpoint

Request

Response

Response Fields

Try It Out

Use the interactive playground above to test the upload endpoint. You can:
  1. Add your API key in the Authorization header
  2. Select files to upload (PDF, JPG, JPEG, or PNG)
  3. Execute the request to see the response
The playground will show you the exact curl command and response format.

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
files
file[]
required

Documents to upload (PDF, JPG, JPEG, PNG). Maximum 50 files per request, 10MB per file.

Example:

Response

200 - application/json

Files uploaded successfully

success
boolean
Example:

true

data
object