Open Platform
Skip to content

Get ICKey ​

https://cnapi.ttlock.com/v3/cardEncoder/getIcKey

Users can request this API to get the ICKey which use for encrypting card sectors in third-party card encoder after creating a hotel in the TTLock APP. Each user account can only create one hotel, This function need pay to use

1 Request example ​

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

2 Request parameters ​

NameTypeRequiredDescription
clientIdStringYclient_id from Create application
accessTokenStringYAccess token,refer to: Get access token
dateLongYCurrent time (timestamp in millisecond)

3 Response and example ​

ParameterTypeDescription
icKeyStringICKey, for encrypting card sectors for third-party card encoder
x
{
    "icKey": "125edbd47f6a"
}
CopyRight © 2012-2026 TTLock.All Rights Reserved