protect_get_camera
Get detailed information for a specific UniFi Protect camera by its ID. Returns camera name, MAC address, state, and settings.
Instructions
Get details for a specific camera by ID. The Protect Integration API returns the SAME field set as protect_list_cameras entries (id, mac, name, modelKey, state, activePatrolSlot, hasPackageCamera, hdrType, isMicEnabled, micVolume, videoMode, featureFlags, lcdMessage, ledSettings, osdSettings, smartDetectSettings) — there is no extended/by-id-only payload (confirmed live on 7.1.83). Recording state, motion events, zones, and channel/RTSP config are NOT exposed by this API surface.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Camera ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Camera ID | |
| mac | No | MAC address | |
| name | No | Camera name | |
| state | No | CONNECTED | DISCONNECTED | ... | |
| hdrType | No | HDR mode, e.g. "auto" | |
| modelKey | No | Always "camera" | |
| micVolume | No | Microphone volume 0-100 (number) | |
| videoMode | No | Video mode, e.g. "default" | |
| lcdMessage | No | ||
| ledSettings | No | ||
| osdSettings | No | ||
| featureFlags | No | ||
| isMicEnabled | No | Microphone enabled (boolean) | |
| activePatrolSlot | No | Active PTZ patrol slot, or null (number|null) | |
| hasPackageCamera | No | Has a secondary package camera (boolean) | |
| smartDetectSettings | No |