Skip to content

List assets

GET/assets

Costs 1 rate-limit point · Rate limits

List the shop's files, links and licence-key assets alphabetically, paginated (page, per_page up to 200). type narrows to file, link or licence_key; search matches the file name the way the Files page search does; licence_tag narrows licence-key assets to one tag. Each row carries how many digital products and orders use it.

Also searched aslist filesuploaded filesfind a filewhich files are unusedlicence key files

Query parameters

  • typestring
    One of filelinklicence_key
  • pageinteger

    1-based page number.

    Default 1
  • per_pageinteger

    Rows per page, max 200.

    Default 50
  • searchstring
  • licence_tagstring

Returns

  • dataarray of objects
    Show 10 child attributesHide child attributes
    • idstring, nullable
      Example: e2b7727e-45ad-42b7-b842-cc4615205b10
    • typestring, nullable
      Example: link
    • namestring, nullable
      Example: ebook-2026
    • filenamestring, nullable
      Example: ebook-2026.zip
    • content_typestring, nullable
      Example: application/zip
    • byte_sizeinteger, nullable
      Example: 0
    • watermarkobject
      Show 1 child attributeHide child attributes
      • enabledboolean, nullable
        Example: false
    • licence_keysobject
      Show 1 child attributeHide child attributes
      • tagsarray of anys
    • usageobject
      Show 2 child attributesHide child attributes
      • digital_products_countinteger, nullable
        Example: 2
      • orders_countinteger, nullable
        Example: 0
    • created_atstring, nullable
      Example: 2026-10-30T16:49:38Z
  • metaobject

    Paging of a list (page, per_page query params).

    Show 4 child attributesHide child attributes
    • total_countinteger

      Rows across all pages.

    • pageinteger

      1-based page number.

    • per_pageinteger

      Rows per page, max 200.

    • total_pagesinteger
      Example: 1

Errors

401

Missing or invalid API key.

422

The request failed validation, or sent a key the action does not take (code: "unknown_parameters" with unknown and accepted). Nothing was saved.

429

Rate limited. Cost-weighted per API key, shared with API v1: a read costs 1 point, a write 2, 40 points per fixed 60-second window. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (Unix time the window ends); a 429 adds Retry-After (seconds), retry_after, retryable: true and a next_step in the body. A 429 did nothing: wait retry_after seconds, then send the same request again. The budget is per key, so every tool or script using the key shares it; prefer one list call with per_page over many single reads.

Every error has the same shape: see Errors.

GET/assets
curl "https://app.filemonk.io/api/v2/external/assets" \
  -H "X-Auth-Token: $FILEMONK_API_KEY"
Response
{
  "data": [
    {
      "id": "e2b7727e-45ad-42b7-b842-cc4615205b10",
      "type": "link",
      "name": "ebook-2026",
      "filename": "ebook-2026.zip",
      "content_type": "application/zip",
      "byte_size": 0,
      "watermark": {
        "enabled": false
      },
      "licence_keys": {
        "tags": []
      },
      "usage": {
        "digital_products_count": 2,
        "orders_count": 0
      },
      "created_at": "2026-10-30T16:49:38Z"
    }
  ],
  "meta": {
    "total_count": 6,
    "page": 1,
    "per_page": 50,
    "total_pages": 1
  }
}