Get Device QR Code
curl --request GET \
--url https://api.example.com/api/v1/devices/{device_id}/qrimport requests
url = "https://api.example.com/api/v1/devices/{device_id}/qr"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/devices/{device_id}/qr', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ready": true,
"status": "<string>",
"qr_code": "<string>",
"qr_base64": "<string>",
"proxy_enabled": false,
"connection_hint": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}devices
Get Device QR Code
Poll QR / pairing payload while a device is linking.
GET
/
api
/
v1
/
devices
/
{device_id}
/
qr
Get Device QR Code
curl --request GET \
--url https://api.example.com/api/v1/devices/{device_id}/qrimport requests
url = "https://api.example.com/api/v1/devices/{device_id}/qr"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/devices/{device_id}/qr', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ready": true,
"status": "<string>",
"qr_code": "<string>",
"qr_base64": "<string>",
"proxy_enabled": false,
"connection_hint": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}