Skip to main content
GET
/
v1
/
assets
List assets
curl --request GET \
  --url https://api-eu.flexportal.io/v1/assets \
  --header 'Authorization: Bearer <token>' \
  --header 'Tenant-ID: <tenant-id>'
{
  "assets": [
    {
      "serialNumber": "<string>",
      "tenantId": "<string>",
      "sku": "<string>",
      "productName": "<string>",
      "status": "available",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "location": "<string>",
      "customerId": "<string>",
      "rentalId": "<string>",
      "notes": "<string>"
    }
  ],
  "count": 123,
  "limit": 123,
  "hasMore": true,
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

API key obtained from FlexPortal dashboard

Headers

Tenant-ID
string
required

Your tenant identifier

Query Parameters

limit
string

Items per page (default: 50, max: 100)

startAfter
string

Cursor for pagination

status
string

Filter by status (available, rented_out, returned, sold, unavailable)

sku
string

Filter by product SKU

customerId
string

Filter by customer ID

rentalId
string

Filter by rental ID

Response

200 - application/json

List of assets

assets
object[]
required
count
number
required
limit
number
required
hasMore
boolean
required
nextCursor
string | null
required