List assets

List all assets/sites

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Retrieve a paginated list of assets (sites) that the authenticated user has access to.

Endpoint

GET /2.0/assets

Query Parameters

Pagination & Sorting

ParameterTypeDefaultDescription
limitnumber100Number of results per page
pagenumber1Page number (1-based)
sortstring-Sort field and direction. Format: field:asc or field:desc (e.g. siteName:asc)

Filters

Any field listed in the Asset object can be used as a query parameter to filter results. Only fields returned in the API response can be used for filtering.

Date range filters: Date fields support range operators using dot notation:

  • field.gte - Greater than or equal to
  • field.lte - Less than or equal to
  • field.gt - Greater than
  • field.lt - Less than

Example: ownedSince.gte=2020-01-01&ownedSince.lte=2024-12-31

Common filters:

ParameterTypeDescription
siteNamestringFilter by site name
siteCodestringFilter by site code
assetTypestringFilter by asset type (e.g. Office, Retail, Industrial)
statusstringFilter by status: active or inactive
tenurestringFilter by tenure: freehold or leasehold
occupationStatusstringFilter by occupation status: occupied, vacant, other, n/a
entityIdstringFilter by entity ID

Response

{
  "total": 150,
  "limit": 100,
  "skip": 0,
  "data": [
    {
      "_id": "507f1f77bcf86cd799439011",
      "siteName": "Headquarters",
      "siteCode": "HQ-001",
      "address": {
        "streetAddress": "123 Main Street",
        "locality": "London",
        "region": "Greater London",
        "postCode": "EC1A 1BB",
        "countryCode": "gb",
        "latitude": "51.5074",
        "longitude": "-0.1278"
      },
      "assetType": "Office",
      "floorArea": 5000,
      "floorAreaUnit": "metric",
      "noOfFloors": 3,
      "status": "active",
      "tenure": "leasehold",
      "occupationStatus": "occupied",
      "createdAt": "2024-01-15T09:30:00.000Z",
      "updatedAt": "2024-06-20T14:15:00.000Z"
    }
  ]
}

Example Request

curl -X GET "https://api.etainabl.com/2.0/assets?status=active&assetType=Office&limit=50&page=1&sort=siteName:asc" \
  -H "x-api-key: YOUR_API_KEY"

Scope Required

read:assets

Query Params
int32
Defaults to 100

Maximum number of invoices to return

int32
Defaults to 1

Page number to return when there are more results than the given limit

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json