---
title: "Get LwM2M Objects (getLwm2mListObjectsPage)"
method: GET
path: "/api/resource/lwm2m/page"
tags: ["tb-resource-controller"]
---

# Get LwM2M Objects (getLwm2mListObjectsPage)

`GET /api/resource/lwm2m/page`

Returns a page of LwM2M objects parsed from Resources with type 'LWM2M_MODEL' owned by tenant or sysadmin. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See response schema for more details. LwM2M Object is a object that includes information about the LwM2M model which can be used in transport configuration for the LwM2M device profile. 

Available for users with 'TENANT_ADMIN' authority.

## Query parameters

- `pageSize` integer, required
- `page` integer, required
- `textSearch` string
- `sortProperty` 'id' | 'name'
- `sortOrder` 'ASC' | 'DESC'

## Response `200`

OK

- LwM2mObject[]
  - `id` integer — LwM2M Object id.
  - `keyId` string — LwM2M Object key id.
  - `name` string — LwM2M Object name.
  - `multiple` boolean — LwM2M Object multiple.
  - `mandatory` boolean — LwM2M Object mandatory.
  - `instances` LwM2mInstance[] — LwM2M Object instances.
    - `id` integer — LwM2M Instance id.
    - `resources` LwM2mResourceObserve[] — LwM2M Resource observe.
      - `id` integer — LwM2M Resource Observe id.
      - `name` string — LwM2M Resource Observe name.
      - `observe` boolean — LwM2M Resource Observe observe.
      - `attribute` boolean — LwM2M Resource Observe attribute.
      - `telemetry` boolean — LwM2M Resource Observe telemetry.
      - `keyName` string — LwM2M Resource Observe key name.

---

[API](https://skmtc.net/thingsboard/apis/thingsboard-rest-api.md) · [All operations](https://skmtc.net/thingsboard/apis/thingsboard-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thingsboard/thingsboard-rest-api/revisions/40169ccdec5c/schema)
