Create an upload
POST
/uploads
Create an upload object and return a signed URL for file upload.
Authorizations
Request Body required
object
file_name
required
The name of the file to be uploaded.
string
file_type
The MIME type of the file (e.g., application/pdf
).
string
Responses
201
Upload created
object
upload_id
required
A unique identifier for the upload.
string
upload_url
required
A signed URL for uploading the file.
string
expires_at
required
ISO 8601 timestamp when the upload URL expires.
string format: date-time
400
Bad request
object
error_code
required
A unique error code identifying the issue.
string
message
required
A human-readable error message.
string
401
Unauthorized
object
error_code
required
A unique error code identifying the issue.
string
message
required
A human-readable error message.
string
403
Forbidden
object
error_code
required
A unique error code identifying the issue.
string
message
required
A human-readable error message.
string