---
title: "Get commands to publish device telemetry (getDevicePublishTelemetryCommands)"
method: GET
path: "/api/device-connectivity/{deviceId}"
tags: ["device-connectivity-controller"]
---

# Get commands to publish device telemetry (getDevicePublishTelemetryCommands)

`GET /api/device-connectivity/{deviceId}`

Fetch the list of commands to publish device telemetry based on device profile If the user has the authority of 'Tenant Administrator', the server checks that the device is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the device is assigned to the same customer. 

Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority.

## Path parameters

- `deviceId` string, required

## Response `200`

OK

---

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