Skip to main content
POST
Generate S3 presigned upload URL

Authorizations

Authorization
string
header
required

JWT access token from /auth/verify-otp

Body

application/json
filename
string
required
contentType
enum<string>
required
Available options:
image/jpeg,
image/png,
image/webp,
application/pdf

Response

Presigned URL generated

uploadUrl
string<uri>

S3 presigned URL to PUT the file to directly

fileUrl
string<uri>

Public URL where the file will be accessible after upload

expiresIn
integer

Seconds until the presigned URL expires