Create an upload
POST
/uploads
Create an upload object and return a signed URL for file upload.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “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
Section titled “ Responses ”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
Bad request
object
error_code
required
A unique error code identifying the issue.
string
message
required
A human-readable error message.
string
Unauthorized
object
error_code
required
A unique error code identifying the issue.
string
message
required
A human-readable error message.
string
Forbidden
object
error_code
required
A unique error code identifying the issue.
string
message
required
A human-readable error message.
string