Get a presigned URL for uploading a file to S3

Get a presigned URL for uploading a file to S3.

Authentication

Requires X-Access-Key and X-Secret-Key headers.

Request body

JSON payload matching PresignedUploadDto.

Required fields:

  • prefix (string): S3 object key prefix (folder path)
  • fileName (string): file name
  • contentType (string): MIME type

Response

  • 201: Presigned upload URL generated successfully. Returned data (PresignedUrlResponseDto) includes:
    • url
    • key
  • 401: Unauthorized
  • 500: Internal server error
Language
Credentials
Response
Click Try It! to start a request and see the response here!