Skip to main content
GET
/
api
/
v1
/
media
List media
curl --request GET \
  --url https://quizquail.com/api/v1/media \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "file_name": "<string>",
      "storage_path": "<string>",
      "mime_type": "<string>",
      "size_bytes": 123,
      "url": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "cursor": "<string>",
    "hasMore": true,
    "total": 123
  }
}

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.

Query Parameters

cursor
string

Pagination cursor from a previous response

limit
integer
default:20

Number of items per page (1-100, default 20)

Required range: 1 <= x <= 100
type
string

Filter by MIME type or broad type (e.g. 'image', 'image/png')

Response

200 - application/json

Paginated list of media files

data
object[]
required
pagination
object
required