Get a presigned URL for uploading a file to S3

Authentication

Requires product-api-token (sent via the configured auth header as a JWT bearer token) 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

Body Params
string
required

The S3 object key prefix i.e. the folder path

string
required

File Name of the file to upload

string
required

The MIME type of the file being uploaded

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json