---
title: API Scan QR Code
description: "``` ``` Pertama-tama masuk menu device, add device kemudian panggil QRcode via api, jika tidak muncul direlog device. untuk relog device bisa via API contoh [disini](https://order.whacenter.com/docs/api-relog-device/)."
url: "https://order.whacenter.com/docs/api-scan-qr-code/"
updated: "2024-06-02"
category: REST API
---

# API Scan QR Code

```
<?php
$result = file_get_contents("https://app.whacenter.com/api/qr?device_id=xxx")

echo "<pre>";
print_r($result);

?>
```

Pertama-tama masuk menu device, add device kemudian panggil QRcode via api, jika tidak muncul direlog device. untuk relog device bisa via API contoh [disini](https://order.whacenter.com/docs/api-relog-device/).
