DocsAPI ReferenceIo T/bff/iot-lock/credentials-detail
getIo TAdmin BFF

/bff/iot-lock/credentials-detail

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.

IoTgetBffIot-lockCredentials-detail

No parameters

This endpoint takes no path, query, header or body parameters.

Request

GET /bff/iot-lock/credentials-detail

get
curl -X GET "https://api.bizkithub.com/bff/iot-lock/credentials-detail" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

JSON payload

{
  "clientId": "example_clientId",
  "clientSecretIsSet": false,
  "username": "example_username",
  "passwordIsSet": false
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key