Skip to content
StorageAssets

List assets

Returns cursor-paginated files, filterable by folder, MIME type and text.

Query Parameters

limit?integer

Maximum number of results to return.

Formatint32
cursor?string

Cursor from the previous response. Omit it on the first page.

search?string

Free-text search.

sortBy?string

Field to sort by.

sortDirection?string

Sort direction: asc or desc.

Value in

  • "asc"
  • "desc"
directory?string
mimeType?string

Header Parameters

x-Store-Id?string

Store the request acts on. Not needed when the token is bound to a store.

Authorization*string

OAuth 2.0 bearer token.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.ecomiq.pe/api/v1/storage/assets" \  -H "x-Store-Id: <store-id>" \  -H "Authorization: Bearer <token>"
{  "data": [    {      "id": "7204558912004323036",      "fileName": "polo-de-algodon.webp",      "publicUrl": "https://mi-tienda.ecomiq.app/images/polo-de-algodon.webp",      "contentType": "polo-de-algodon.webp",      "size": 1,      "width": 30,      "height": 30,      "altText": "polo-de-algodon.webp",      "directory": "polo-de-algodon.webp",      "metadata": {        "key": "polo-de-algodon.webp"      },      "createdOn": "2026-09-28T15:30:00Z",      "createdBy": "2f40d7e4-3d9c-4ab2-b04e-7a6a132db821"    }  ],  "hasNextPage": true,  "nextCursor": "eyJpZCI6IjcyMDQ1NTg5MTIwMDQzMjUzMDEifQ",  "totalCount": 24}