/bff/iot-lock/activity-timeline
Unified time-ordered feed of everything that has happened with a given lock: unlock attempts, TTLock API calls (failed only), passcode operations (create / delete), gateway online/offline transitions, battery readings, and system log entries scoped to TTLock components. Powers the Activity log tab on the lock detail page. Result is paginated; default window is the last 7 days.
Parameters
7 query
lockIdstringRequiredTTLock lock ID (from TTLock API).
sincestringISO timestamp. Defaults to 7 days ago.
untilstringISO timestamp. Defaults to now.
kindsstringComma-separated activity kinds. One of: unlock_attempt, api_call, passcode_op, gateway_event, battery_event, system_log.
levelsstringComma-separated severity levels. One of: info, success, error, warning, critical.
limitstringPage size, default 100, max 500.
offsetstringOffset for pagination, default 0.
Request
GET /bff/iot-lock/activity-timeline
curl -X GET "https://api.bizkithub.com/bff/iot-lock/activity-timeline?lockId=12345&since=example_since&until=example_until&kinds=example_kinds&levels=example_levels&limit=example_limit&offset=example_offset" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"Response
JSON payload
{
"success": true
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.