Skip to content

get_event_thumbnail

Fetch the JPEG thumbnail for a Protect event, base64-encoded.

Side effects: None (read-only).

Same response shape as get_snapshot, but keyed on the event instead of the camera. Useful for previewing a motion or smart-detection trigger without pulling the full clip.

get_event_thumbnail(event_id="evt123", controller="default")
Parameter Type Required Default Description
event_id string yes Protect event id from list_motion_events or list_smart_detections.
controller string no “default” Name of the UniFi controller to target. Defaults to "default".