Skip to content

get_credential

Fetch one credential’s full record by ID.

Side effects: None (read-only).

Same shape as one entry from list_credentials plus any type-specific fields (card_id for NFC, pin_length for PIN, device_label for mobile).

get_credential(credential_id="cred...", controller="default")
ParameterTypeRequiredDefaultDescription
credential_idstringyesCredential id from list_credentials.
controllerstringno”default”Name of the UniFi controller to target.