Parameters
No parameters required
This endpoint takes no path, query, header or body parameters.
Returns the TTLock OAuth2 credentials currently configured for the authenticated organisation. Non-secret values (clientId, username) are returned in full so the frontend can display and pre-fill them. Secret values (clientSecret, password) are never returned — instead the response contains boolean flags (clientSecretIsSet, passwordIsSet) indicating whether each secret is configured. The auto-managed access and refresh tokens are never exposed by this endpoint.
No parameters required
This endpoint takes no path, query, header or body parameters.
1 status code documented
clientIdstringRequiredTTLock OAuth2 client ID (app identifier issued by TTLock). Empty string when not set.
clientSecretIsSetbooleanRequiredTrue when a non-empty ttlock_client_secret is stored. The value itself is never returned.
usernamestringRequiredTTLock account username / e-mail. Empty string when not set.
passwordIsSetbooleanRequiredTrue when a non-empty ttlock_password (MD5) is stored. The value itself is never returned.
{
"clientId": "example_clientId",
"clientSecretIsSet": false,
"username": "example_username",
"passwordIsSet": false
}GET /bff/iot-lock/credentials-detail
curl -X GET "https://api.bizkithub.com/bff/iot-lock/credentials-detail" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.