protect_get_viewer
Retrieve full details for a UniFi Protect viewer using its unique ID.
Instructions
Get full details for a specific viewer by ID. Returns: id, modelKey, name, mac, state (universal identity fields). Protect Integration API 7.1.60 returns a thin object; additional device-specific fields are NOT verified (no instances on reference console) — inspect a live response before relying on them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Viewer ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Device ID | |
| modelKey | No | Resource kind | |
| name | No | Device name | |
| mac | No | MAC address | |
| state | No | CONNECTED | DISCONNECTED | ... |