cURL
curl "https://api.superskope.com/api/v1/connection/qr" \
-H "Authorization: Bearer $SUPERSKOPE_API_KEY"import { SuperSkope } from '@superskope/sdk';
const client = new SuperSkope({
origin: 'https://api.superskope.com',
apiKey: process.env.SUPERSKOPE_API_KEY,
});
// Private: never log or cache QR data
const result = await client.connectionQr();
console.log(result);
import os
import requests
response = requests.get(
"https://api.superskope.com/api/v1/connection/qr",
headers={"Authorization": f"Bearer {os.environ['SUPERSKOPE_API_KEY']}"},
timeout=40,
)
print(response.status_code, response.json())
{
"mimetype": "image/png",
"data": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Connection
Get pairing QR
Read the private pairing QR. Requires connection:pair. Only in SCAN_QR_CODE state. Response is no-store. QR data is never logged; request metadata is. It does not start pairing itself.
cURL
curl "https://api.superskope.com/api/v1/connection/qr" \
-H "Authorization: Bearer $SUPERSKOPE_API_KEY"import { SuperSkope } from '@superskope/sdk';
const client = new SuperSkope({
origin: 'https://api.superskope.com',
apiKey: process.env.SUPERSKOPE_API_KEY,
});
// Private: never log or cache QR data
const result = await client.connectionQr();
console.log(result);
import os
import requests
response = requests.get(
"https://api.superskope.com/api/v1/connection/qr",
headers={"Authorization": f"Bearer {os.environ['SUPERSKOPE_API_KEY']}"},
timeout=40,
)
print(response.status_code, response.json())
{
"mimetype": "image/png",
"data": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}