Create Folder
curl --request POST \
--url https://management.scanova.io/folder/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"folder_type": "qr",
"name": "Marketing QRs"
}
'import requests
url = "https://management.scanova.io/folder/"
payload = {
"folder_type": "qr",
"name": "Marketing QRs"
}
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({folder_type: 'qr', name: 'Marketing QRs'})
};
fetch('https://management.scanova.io/folder/', 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://management.scanova.io/folder/",
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([
'folder_type' => 'qr',
'name' => 'Marketing QRs'
]),
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://management.scanova.io/folder/"
payload := strings.NewReader("{\n \"folder_type\": \"qr\",\n \"name\": \"Marketing QRs\"\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://management.scanova.io/folder/")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"folder_type\": \"qr\",\n \"name\": \"Marketing QRs\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://management.scanova.io/folder/")
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 \"folder_type\": \"qr\",\n \"name\": \"Marketing QRs\"\n}"
response = http.request(request)
puts response.read_body{
"id": 7,
"name": "Marketing QRs",
"created_by": 422,
"folder_type": "qr",
"qr_codes_count": 0,
"created": "2026-03-16T17:57:16.662333+05:30",
"updated": "2026-03-16T17:57:16.662362+05:30"
}{
"detail": "Invalid token."
}Folder Management
Create Folder
Creates a folder for QR codes or pages. Requires authentication.
POST
/
folder
/
Create Folder
curl --request POST \
--url https://management.scanova.io/folder/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"folder_type": "qr",
"name": "Marketing QRs"
}
'import requests
url = "https://management.scanova.io/folder/"
payload = {
"folder_type": "qr",
"name": "Marketing QRs"
}
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({folder_type: 'qr', name: 'Marketing QRs'})
};
fetch('https://management.scanova.io/folder/', 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://management.scanova.io/folder/",
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([
'folder_type' => 'qr',
'name' => 'Marketing QRs'
]),
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://management.scanova.io/folder/"
payload := strings.NewReader("{\n \"folder_type\": \"qr\",\n \"name\": \"Marketing QRs\"\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://management.scanova.io/folder/")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"folder_type\": \"qr\",\n \"name\": \"Marketing QRs\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://management.scanova.io/folder/")
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 \"folder_type\": \"qr\",\n \"name\": \"Marketing QRs\"\n}"
response = http.request(request)
puts response.read_body{
"id": 7,
"name": "Marketing QRs",
"created_by": 422,
"folder_type": "qr",
"qr_codes_count": 0,
"created": "2026-03-16T17:57:16.662333+05:30",
"updated": "2026-03-16T17:57:16.662362+05:30"
}{
"detail": "Invalid token."
}Overview
Creates a new folder for QR codes or pages.Request Body
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
folder_type | string | Yes | Folder type. Allowed values: qr, page. | qr |
name | string | Yes | Folder name. | Marketing QRs |
Example Request
{
"folder_type": "qr",
"name": "Marketing QRs"
}
Example Response
✅ 201 Created
{
"id": 8,
"name": "Marketing QRs",
"created_by": 422,
"folder_type": "qr",
"qr_codes_count": 0,
"created": "2026-03-16T17:57:16.662333+05:30",
"updated": "2026-03-16T17:57:16.662362+05:30"
}
Use Cases
- Organization: Create folders to group QR codes or pages
- Automation: Provision folders programmatically for campaigns
Authorizations
API key authentication. Enter your API key directly in the Authorization header.
Body
application/json
Response
Folder created successfully
Folder ID
Example:
7
Folder name
Example:
"Marketing QRs"
User ID who created the folder
Example:
422
Folder type
Example:
"qr"
Number of QR codes in the folder
Example:
0
Creation timestamp
Example:
"2026-03-16T17:57:16.662333+05:30"
Last update timestamp
Example:
"2026-03-16T17:57:16.662362+05:30"
Was this page helpful?
⌘I