Open Platform
Skip to content

Get the group list of an account ​

https://euapi.ttlock.com/v3/group/list

1 Request example ​

javascript
curl --location -g --request GET 'https://euapi.ttlock.com/v3/group/list?clientId=fd2ff35ee3d8424c8665c07b7b9a7f45&accessToken=780f7671b6e6be3010d9787f19207aca&date=1625025703000'

2 Request parameters ​

NameTypeRequiredDescription
clientIdStringYclient_id from Create application
accessTokenStringYAccess token,refer to: Get access token
orderByIntYSort by: 0-by name, 1-reverse order by time, 2-reverse order by name
dateLongYCurrent time (timestamp in millisecond)

3 Response and example ​

ParameterTypeDescription
listJSONArraylist of records

The objects in the list

ParameterTypeDescription
groupIdIntGroup ID
nameStringGroup name
{
    "list": [
        {
            "groupId": 1342,
            "name":"The 4th floor"
        }
    ]
}
CopyRight © 2012-2026 TTLock.All Rights Reserved