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")
ParameterTypeRequiredDefaultDescription
event_idstringyesProtect event id from list_motion_events or list_smart_detections.
controllerstringno”default”Name of the UniFi controller to target. Defaults to "default".