QR codes
Saved QR codes, their look and their short link.
Values for the examples
Type them once and every example on this page uses them. The API key stays on this page only and is never saved.
GET/v1/qr-codes
Lists the saved QR codes.
ListOn success: 200.Permission: Read.
Example
curl -X GET "https://api.firmado.app/v1/qr-codes" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/qr-codes", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/qr-codes",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/qr-codes");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/qr-codes")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/qr-codes", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/qr-codes"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/qr-codes");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();POST/v1/qr-codes
Saves a QR code: what it holds and its look.
CreateOn success: 201.Permission: Create.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | Yes | min length 1 · max length 120 |
content | object | Yes | |
content.kind | "url" | Yes | |
content.url | string | Yes | max length 2000 |
content.shortLinkId | string (uuid) | null | No | default null |
design | object | No | |
design.margin | integer | No | min 0 · max 10 · default 2 |
design.errorCorrection | "L" | "M" | "Q" | "H" | No | default "M" |
design.dotStyle | "square" | "rounded" | "dots" | "fluid" | "diamond" | "vertical" | "horizontal" | No | default "square" |
design.frameStyle | "square" | "rounded" | "circle" | No | default "square" |
design.eyeStyle | "square" | "rounded" | "circle" | No | default "square" |
design.foreground | string | No | default "#000000" · pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$ |
design.gradient | object | null | No | default null |
design.gradient.kind | "linear" | "radial" | No | default "linear" |
design.gradient.angle | integer | No | min 0 · max 360 · default 45 |
design.gradient.from | string | Yes | pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$ |
design.gradient.to | string | Yes | pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$ |
design.frameColor | string | null | No | default null |
design.eyeColor | string | null | No | default null |
design.background | string | No | default "#ffffff" · pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$ |
design.logo | string | No | max length 2000 · default "" |
design.logoSize | integer | No | min 10 · max 35 · default 22 |
design.logoClear | boolean | No | default true |
design.logoMargin | integer | No | min 0 · max 4 · default 1 |
design.logoRadius | integer | No | min 0 · max 50 · default 0 |
design.caption | string | No | max length 60 · default "" |
design.captionColor | string | No | default "#000000" · pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$ |
Response
39 fields
| Field | Type | Always there |
|---|---|---|
content | object | Yes |
content.kind | string | Yes |
content.shortLinkId | string | null (uuid) | Yes |
content.url | string (uri) | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
design | object | Yes |
design.background | string | Yes |
design.caption | string | Yes |
design.captionColor | string | Yes |
design.dotStyle | string | Yes |
design.errorCorrection | string | Yes |
design.eyeColor | null in the examples | Yes |
design.eyeStyle | string | Yes |
design.foreground | string | Yes |
design.frameColor | null in the examples | Yes |
design.frameStyle | string | Yes |
design.gradient | object | null | Yes |
design.gradient.angle | integer | Yes |
design.gradient.from | string | Yes |
design.gradient.kind | string | Yes |
design.gradient.to | string | Yes |
design.logo | string | Yes |
design.logoClear | boolean | Yes |
design.logoMargin | integer | Yes |
design.logoRadius | integer | Yes |
design.logoSize | integer | Yes |
design.margin | integer | Yes |
id | string (uuid) | Yes |
name | string | Yes |
shortLink | object | null | Yes |
shortLink.active | boolean | Yes |
shortLink.code | string | Yes |
shortLink.id | string (uuid) | Yes |
shortLink.shortUrl | string (uri) | Yes |
shortLink.url | string (uri) | Yes |
shortLinkId | string | null (uuid) | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
curl -X POST "https://api.firmado.app/v1/qr-codes" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square"
}
}'const res = await fetch("https://api.firmado.app/v1/qr-codes", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square"
}
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/qr-codes",
headers={"X-Api-Key": "fmd_..."},
json={
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square",
},
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/qr-codes");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square"
}
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/qr-codes")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square"
}
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square"
}
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/qr-codes", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/qr-codes"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square"
}
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/qr-codes");
request.Content = new StringContent(""""
{
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square"
}
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (201), with sample values:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"content": {
"url": "https://example.com",
"kind": "…",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"logo": "…",
"margin": 1,
"caption": "…",
"dotStyle": "…",
"eyeColor": null,
"eyeStyle": "…",
"gradient": {
"to": "…",
"from": "…",
"kind": "…",
"angle": 1
},
"logoSize": 1,
"logoClear": true,
"background": "…",
"foreground": "…",
"frameColor": null,
"frameStyle": "…",
"logoMargin": 1,
"logoRadius": 1,
"captionColor": "…",
"errorCorrection": "…"
},
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"updatedAt": "2026-11-21T14:00:00.000Z",
"shortLink": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"code": "…",
"url": "https://example.com",
"active": true,
"shortUrl": "https://example.com"
}
}DELETE/v1/qr-codes/{id}
Deletes a saved QR code.
DeleteOn success: 204.Permission: Delete.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Example
curl -X DELETE "https://api.firmado.app/v1/qr-codes/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/qr-codes/{id}", {
method: "DELETE",
headers: { "X-Api-Key": "fmd_..." },
})
if (!res.ok) throw new Error(await res.text())import requests
res = requests.delete(
"https://api.firmado.app/v1/qr-codes/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/qr-codes/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/qr-codes/{id}")
req = Net::HTTP::Delete.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }req, _ := http.NewRequest("DELETE", "https://api.firmado.app/v1/qr-codes/{id}", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/qr-codes/{id}"))
.header("X-Api-Key", "fmd_...")
.method("DELETE", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("DELETE"), "https://api.firmado.app/v1/qr-codes/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/qr-codes/{id}
Returns a saved QR code.
Get oneOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
30 fields
| Field | Type | Always there |
|---|---|---|
content | object | Yes |
content.kind | string | Yes |
content.shortLinkId | string (uuid) | Yes |
content.url | string (uri) | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
design | object | Yes |
design.background | string | Yes |
design.caption | string | Yes |
design.captionColor | string | Yes |
design.dotStyle | string | Yes |
design.errorCorrection | string | Yes |
design.eyeColor | null in the examples | Yes |
design.eyeStyle | string | Yes |
design.foreground | string | Yes |
design.frameColor | null in the examples | Yes |
design.frameStyle | string | Yes |
design.gradient | null in the examples | Yes |
design.logo | string | Yes |
design.logoClear | boolean | Yes |
design.logoMargin | integer | Yes |
design.logoRadius | integer | Yes |
design.logoSize | integer | Yes |
design.margin | integer | Yes |
id | string (uuid) | Yes |
name | string | Yes |
shortLink | null in the examples | Yes |
shortLinkId | null in the examples | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
curl -X GET "https://api.firmado.app/v1/qr-codes/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/qr-codes/{id}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/qr-codes/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/qr-codes/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/qr-codes/{id}")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/qr-codes/{id}", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/qr-codes/{id}"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/qr-codes/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"content": {
"url": "https://example.com",
"kind": "…",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"logo": "…",
"margin": 1,
"caption": "…",
"dotStyle": "…",
"eyeColor": null,
"eyeStyle": "…",
"gradient": null,
"logoSize": 1,
"logoClear": true,
"background": "…",
"foreground": "…",
"frameColor": null,
"frameStyle": "…",
"logoMargin": 1,
"logoRadius": 1,
"captionColor": "…",
"errorCorrection": "…"
},
"shortLinkId": null,
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"updatedAt": "2026-11-21T14:00:00.000Z",
"shortLink": null
}PATCH/v1/qr-codes/{id}
Changes a saved QR code.
UpdateOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | No | min length 1 · max length 120 |
content | object | No | |
content.kind | "url" | Yes | |
content.url | string | Yes | max length 2000 |
content.shortLinkId | string (uuid) | null | No | default null |
design | object | No | |
design.margin | integer | No | min 0 · max 10 · default 2 |
design.errorCorrection | "L" | "M" | "Q" | "H" | No | default "M" |
design.dotStyle | "square" | "rounded" | "dots" | "fluid" | "diamond" | "vertical" | "horizontal" | No | default "square" |
design.frameStyle | "square" | "rounded" | "circle" | No | default "square" |
design.eyeStyle | "square" | "rounded" | "circle" | No | default "square" |
design.foreground | string | No | default "#000000" · pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$ |
design.gradient | object | null | No | default null |
design.gradient.kind | "linear" | "radial" | No | default "linear" |
design.gradient.angle | integer | No | min 0 · max 360 · default 45 |
design.gradient.from | string | Yes | pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$ |
design.gradient.to | string | Yes | pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$ |
design.frameColor | string | null | No | default null |
design.eyeColor | string | null | No | default null |
design.background | string | No | default "#ffffff" · pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$ |
design.logo | string | No | max length 2000 · default "" |
design.logoSize | integer | No | min 10 · max 35 · default 22 |
design.logoClear | boolean | No | default true |
design.logoMargin | integer | No | min 0 · max 4 · default 1 |
design.logoRadius | integer | No | min 0 · max 50 · default 0 |
design.caption | string | No | max length 60 · default "" |
design.captionColor | string | No | default "#000000" · pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$ |
Response
36 fields
| Field | Type | Always there |
|---|---|---|
content | object | Yes |
content.encryption | string | Yes |
content.hidden | boolean | Yes |
content.kind | string | Yes |
content.password | string | Yes |
content.ssid | string | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
design | object | Yes |
design.background | string | Yes |
design.caption | string | Yes |
design.captionColor | string | Yes |
design.dotStyle | string | Yes |
design.errorCorrection | string | Yes |
design.eyeColor | null in the examples | Yes |
design.eyeStyle | string | Yes |
design.foreground | string | Yes |
design.frameColor | null in the examples | Yes |
design.frameStyle | string | Yes |
design.gradient | object | Yes |
design.gradient.angle | integer | Yes |
design.gradient.from | string | Yes |
design.gradient.kind | string | Yes |
design.gradient.to | string | Yes |
design.logo | string | Yes |
design.logoClear | boolean | Yes |
design.logoMargin | integer | Yes |
design.logoRadius | integer | Yes |
design.logoSize | integer | Yes |
design.margin | integer | Yes |
id | string (uuid) | Yes |
name | string | Yes |
shortLink | null in the examples | Yes |
shortLinkId | null in the examples | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
curl -X PATCH "https://api.firmado.app/v1/qr-codes/{id}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square"
}
}'const res = await fetch("https://api.firmado.app/v1/qr-codes/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square"
}
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/qr-codes/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square",
},
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/qr-codes/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square"
}
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/qr-codes/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square"
}
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square"
}
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/qr-codes/{id}", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/qr-codes/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square"
}
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("PATCH"), "https://api.firmado.app/v1/qr-codes/{id}");
request.Content = new StringContent(""""
{
"name": "Ana Lima",
"content": {
"kind": "url",
"url": "https://example.com",
"shortLinkId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"design": {
"margin": 2,
"errorCorrection": "L",
"dotStyle": "square",
"frameStyle": "square"
}
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"content": {
"kind": "…",
"ssid": "…",
"hidden": true,
"password": "…",
"encryption": "…"
},
"design": {
"logo": "…",
"margin": 1,
"caption": "…",
"dotStyle": "…",
"eyeColor": null,
"eyeStyle": "…",
"gradient": {
"to": "…",
"from": "…",
"kind": "…",
"angle": 1
},
"logoSize": 1,
"logoClear": true,
"background": "…",
"foreground": "…",
"frameColor": null,
"frameStyle": "…",
"logoMargin": 1,
"logoRadius": 1,
"captionColor": "…",
"errorCorrection": "…"
},
"shortLinkId": null,
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"updatedAt": "2026-11-21T14:00:00.000Z",
"shortLink": null
}GET/v1/qr-codes/logo
One of the organization’s pictures, for the middle of a code.
Read/logoOn success: 200.Permission: Read.
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
url | string | Yes | max length 2000 |
Example
curl -X GET "https://api.firmado.app/v1/qr-codes/logo" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/qr-codes/logo", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/qr-codes/logo",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/qr-codes/logo");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/qr-codes/logo")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/qr-codes/logo", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/qr-codes/logo"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/qr-codes/logo");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Webhook events
Changes of this feature that webhooks can send.
qr_code.createdCreateqr_code.updatedUpdateqr_code.deletedDelete