Skip to main content
POST
/
api
/
v1
/
media
/
signed-url
Get signed upload URL
curl --request POST \
  --url https://quizquail.com/api/v1/media/signed-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fileName": "background.png",
  "contentType": "image/png"
}
'
{
  "data": {
    "signedUrl": "<string>",
    "storagePath": "<string>",
    "publicUrl": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Prefix your key with Bearer in the Authorization header.

Keys follow the format qq_... and can be scoped to specific permissions.

Body

application/json
fileName
string
required
Minimum string length: 1
Example:

"background.png"

contentType
string
required
Minimum string length: 1
Example:

"image/png"

Response

Signed upload URL

data
object
required