Skip to main content
POST
Upload Document

Upload Document

Upload a document file to HITL.sh hosting. The returned URL, file type, and filename can be used when creating requests with type: "file".

Request

file
required
Document file to upload. Must be one of the supported formats.

Supported Formats

Limits

  • Maximum file size: 50 MB
  • Content-Type: multipart/form-data

Response

boolean
Whether the request failed
object

Success Response

Examples