Create a presigned upload

post/v1/workspaces/{workspace}/files/sign

Request

  • Base URL: https://api.uploads.sh
  • URL: https://api.uploads.sh/v1/workspaces/{workspace}/files/sign
  • Auth: HTTP bearer

Request body

keystring required
contentTypestring required
maxSizeinteger
expiresIninteger

Seconds until the signed URL expires. Capped at 900 for SVG and XML content types (issue #929).

replaceboolean

Response

Presigned upload details.

Changes

No recorded changes to this operation across all 1 revision of this API.