Skip to main content
POST
/
api
/
files
/
upload-s3
/
generate-presigned-urls
Generate Presigned Urls
curl --request POST \
  --url https://api.example.com/api/files/upload-s3/generate-presigned-urls \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "filesize": 123,
  "filetype": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Headers

Authorization
string
required

Body

application/json
filesize
integer
required

file size in bytes

filetype
string
required

filetype: opus or mp3

Response

OK