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

# Get LwM2M Objects (getLwm2mListObjects)

`GET /api/resource/lwm2m`

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. 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

- `sortOrder` 'ASC' | 'DESC', required
- `sortProperty` 'id' | 'name', required
- `objectIds` string[], required

## 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)
