ThingsBoard icon

ThingsBoard

Interact with ThingsBoard REST API

Device → Get by ID

AI-generated

Summary

Fetch a device by its ID

Inputs

  • authentication — Select authentication method: API Key or Username / Password.
  • deviceId (required) — Device ID to retrieve, e.g., "784f394c-42b6-435a-983c-b7beff2784f9".

Output shape

single device record

Returns the full device JSON; includes all device properties; errors are thrown as NodeOperationError.

Examples

Example 1: Retrieve a device using its UUID

Authentication: API Key; Device ID: 784f394c-42b6-435a-983c-b7beff2784f9

Example 2: Get device by ID with Username/Password auth

Authentication: Username / Password; Device ID: 123e4567-e89b-12d3-a456-426614174000

Links

Discussion