Skip to main content
GET
Generate Presigned URL for documents upload
This endpoint generates a pre-signed URL (valid for 5 minutes) and associated form fields including the file_type (MIME type) ⚠️ Important
  • File size limit: 2MB
  • Presigned URLs are valid for 5 minutes

Query Parameters

file_type
enum<string>
required

MIME type of the file to be uploaded. Only PDF and image files are supported.

Available options:
application/pdf,
image/png,
image/jpeg
Example:

"application/pdf"

public
enum<integer>

Set to 1 if the uploaded file should be publicly available.

Available options:
0,
1
Example:

1

Response

200 - application/json

Pre-signed URL generated successfully

data
object
required