BizKitHub
postIo TPubliczne API v1

/api/v1/lock/unlock

Sends an immediate remote unlock command to the specified lock via the TTLock API. The lock is identified by its TTLock lock ID (external identifier). Requires an active, non-deleted lock connected to a Wi-Fi gateway.

IoTpostApiV1LockUnlock

Parametry

2 w query

Parametry query

· 2
apiKeystringWymagane

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

PrzykładPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
lockIdstringWymagane

TTLock lock ID (external identifier).

Przykład12345

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
successbooleanWymagane

True if the unlock command was sent successfully.

Przykład odpowiedzi

application/json
{
  "success": false
}

Przykład żądania

POST /api/v1/lock/unlock

post
curl -X POST "https://api.bizkithub.com/api/v1/lock/unlock?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&lockId=12345" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API