First of all, you have to take into account that the Latch SDK uses the Curl library, so it has to be enabled in your HTTP server (php.ini file). The approach you are taking is correct: $api = new Latch($appId, $secretKey); $response = $api->pair($token); You have to obtain an application ID and secret key from https://latch.elevenpats.com in the developers area, and the pairing token has to be generated with your mobile application (it’s a temporary code). If you have any other problem with this SDK, please provide the PHP error output.
Have more questions? Submit a request