Move QR codes into a folder
curl --request POST \
--url https://api.scanova.io/folder/{id}/bulk_move/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"qr_code_ids": [
"qr_8f2a1c",
"qr_9b3d2e"
]
}
'import requests
url = "https://api.scanova.io/folder/{id}/bulk_move/"
payload = { "qr_code_ids": ["qr_8f2a1c", "qr_9b3d2e"] }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({qr_code_ids: ['qr_8f2a1c', 'qr_9b3d2e']})
};
fetch('https://api.scanova.io/folder/{id}/bulk_move/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.scanova.io/folder/{id}/bulk_move/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'qr_code_ids' => [
'qr_8f2a1c',
'qr_9b3d2e'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.scanova.io/folder/{id}/bulk_move/"
payload := strings.NewReader("{\n \"qr_code_ids\": [\n \"qr_8f2a1c\",\n \"qr_9b3d2e\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.scanova.io/folder/{id}/bulk_move/")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"qr_code_ids\": [\n \"qr_8f2a1c\",\n \"qr_9b3d2e\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scanova.io/folder/{id}/bulk_move/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"qr_code_ids\": [\n \"qr_8f2a1c\",\n \"qr_9b3d2e\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"message": "Successfully moved 2 QR codes to folder 'Marketing Campaigns'",
"moved_count": 2
}{
"error": "qr_code_ids must be a list"
}Folder Management
Move QR Codes to Folder
Move multiple QR codes into a folder. Authentication required — include your API key in the Authorization header.
POST
/
folder
/
{id}
/
bulk_move
/
Move QR codes into a folder
curl --request POST \
--url https://api.scanova.io/folder/{id}/bulk_move/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"qr_code_ids": [
"qr_8f2a1c",
"qr_9b3d2e"
]
}
'import requests
url = "https://api.scanova.io/folder/{id}/bulk_move/"
payload = { "qr_code_ids": ["qr_8f2a1c", "qr_9b3d2e"] }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({qr_code_ids: ['qr_8f2a1c', 'qr_9b3d2e']})
};
fetch('https://api.scanova.io/folder/{id}/bulk_move/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.scanova.io/folder/{id}/bulk_move/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'qr_code_ids' => [
'qr_8f2a1c',
'qr_9b3d2e'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.scanova.io/folder/{id}/bulk_move/"
payload := strings.NewReader("{\n \"qr_code_ids\": [\n \"qr_8f2a1c\",\n \"qr_9b3d2e\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.scanova.io/folder/{id}/bulk_move/")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"qr_code_ids\": [\n \"qr_8f2a1c\",\n \"qr_9b3d2e\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scanova.io/folder/{id}/bulk_move/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"qr_code_ids\": [\n \"qr_8f2a1c\",\n \"qr_9b3d2e\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"message": "Successfully moved 2 QR codes to folder 'Marketing Campaigns'",
"moved_count": 2
}{
"error": "qr_code_ids must be a list"
}Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Target folder ID. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
qr_code_ids | array[string] | Yes | Array of QR code IDs to move. To move all QR codes from the source folder, pass ["all"]. |
from | integer | null | No | Source folder ID. Pass an integer such as 3, or null. |
Example Request
{
"qr_code_ids": ["QXXXXXXXXXXXX],
"from": 3
}
Example Response
✅ 200 OK
{
"message": "QR codes moved successfully"
}
Authorizations
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: YOUR_API_KEY. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
Path Parameters
Response
QR codes moved.
Was this page helpful?