Skip to content

list_credentials

List every credential enrolled in the Access controller.

Side effects: None (read-only).

Returns one record per credential with id, type (nfc, pin, or mobile), label, user_id, status, issued_at (ms), and expires_at (ms or null for non-expiring mobile credentials).

list_credentials(controller="default")
ParameterTypeRequiredDefaultDescription
controllerstringno”default”Name of the UniFi controller to target.