Skip to main content
POST
/
generate-presigned-url
Generate presigned URL for uploading a file
curl --request POST \
  --url https://prod.featherhq.com/generate-presigned-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "fileName": "<string>"
}'
{
  "url": "<string>",
  "fileId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
fileName
string
required

Response

Pre-signed URL generated successfully

url
string
required
fileId
string
required