Viewing assets

API reference for retrieving assets from your Fileflare account with filtering and pagination.

Beka Rice Avatar

Written by

Last updated


List all assets on your account or fetch a single asset by ID. Useful for syncing your Fileflare library with an external system or building a custom admin view.

Requires Bearer authentication with your Fileflare key. Rate-limited to 60 requests per minute.

Endpoint

GET https://app.digital-downloads.com/api/v1/assets

Parameters

Path

  • {asset} — UUID of the asset (only for GET /assets/{asset})

Query

  • page — page number for pagination (default 1)
  • per_page — items per page (default 25, max 100)
  • limit — total number of items to return
  • filename — search with partial match for filename
  • with_products — bool, whether to include linked products

Example request

curl https://app.digital-downloads.com/api/v1/assets \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

Example response — 200 OK

{
  "data": [
    {
      "id": "82664d96-6dfd-4343-96b0-05c46f412a5b",
      "filename": "my-book.pdf",
      "size": 10485760,
      "is_file": true,
      "is_link": false,
      "url": null,
      "created_at": "2026-04-01T12:34:56Z"
    }
  ],
  "meta": {"current_page": 1, "total": 142}
}

Common errors

  • 404 on /assets/{asset} — the asset doesn’t exist or isn’t on your account.

Keep learning