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_..."

POST/v1/qr-codes

Saves a QR code: what it holds and its look.

CreateOn success: 201.Permission: Create.

Body

FieldTypeRequiredNotes
namestringYesmin length 1 · max length 120
contentobjectYes
content.kind"url"Yes
content.urlstringYesmax length 2000
content.shortLinkIdstring (uuid) | nullNodefault null
designobjectNo
design.marginintegerNomin 0 · max 10 · default 2
design.errorCorrection"L" | "M" | "Q" | "H"Nodefault "M"
design.dotStyle"square" | "rounded" | "dots" | "fluid" | "diamond" | "vertical" | "horizontal"Nodefault "square"
design.frameStyle"square" | "rounded" | "circle"Nodefault "square"
design.eyeStyle"square" | "rounded" | "circle"Nodefault "square"
design.foregroundstringNodefault "#000000" · pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$
design.gradientobject | nullNodefault null
design.gradient.kind"linear" | "radial"Nodefault "linear"
design.gradient.angleintegerNomin 0 · max 360 · default 45
design.gradient.fromstringYespattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$
design.gradient.tostringYespattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$
design.frameColorstring | nullNodefault null
design.eyeColorstring | nullNodefault null
design.backgroundstringNodefault "#ffffff" · pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$
design.logostringNomax length 2000 · default ""
design.logoSizeintegerNomin 10 · max 35 · default 22
design.logoClearbooleanNodefault true
design.logoMarginintegerNomin 0 · max 4 · default 1
design.logoRadiusintegerNomin 0 · max 50 · default 0
design.captionstringNomax length 60 · default ""
design.captionColorstringNodefault "#000000" · pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$

Response

39 fields
FieldTypeAlways there
contentobjectYes
content.kindstringYes
content.shortLinkIdstring | null (uuid)Yes
content.urlstring (uri)Yes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
designobjectYes
design.backgroundstringYes
design.captionstringYes
design.captionColorstringYes
design.dotStylestringYes
design.errorCorrectionstringYes
design.eyeColornull in the examplesYes
design.eyeStylestringYes
design.foregroundstringYes
design.frameColornull in the examplesYes
design.frameStylestringYes
design.gradientobject | nullYes
design.gradient.angleintegerYes
design.gradient.fromstringYes
design.gradient.kindstringYes
design.gradient.tostringYes
design.logostringYes
design.logoClearbooleanYes
design.logoMarginintegerYes
design.logoRadiusintegerYes
design.logoSizeintegerYes
design.marginintegerYes
idstring (uuid)Yes
namestringYes
shortLinkobject | nullYes
shortLink.activebooleanYes
shortLink.codestringYes
shortLink.idstring (uuid)Yes
shortLink.shortUrlstring (uri)Yes
shortLink.urlstring (uri)Yes
shortLinkIdstring | null (uuid)Yes
updatedAtstring (date-time)Yes
updatedBystring (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"
  }
}'

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

FieldTypeRequiredNotes
idstringYes
Example
curl -X DELETE "https://api.firmado.app/v1/qr-codes/{id}" \
  -H "X-Api-Key: fmd_..."

GET/v1/qr-codes/{id}

Returns a saved QR code.

Get oneOn success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

30 fields
FieldTypeAlways there
contentobjectYes
content.kindstringYes
content.shortLinkIdstring (uuid)Yes
content.urlstring (uri)Yes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
designobjectYes
design.backgroundstringYes
design.captionstringYes
design.captionColorstringYes
design.dotStylestringYes
design.errorCorrectionstringYes
design.eyeColornull in the examplesYes
design.eyeStylestringYes
design.foregroundstringYes
design.frameColornull in the examplesYes
design.frameStylestringYes
design.gradientnull in the examplesYes
design.logostringYes
design.logoClearbooleanYes
design.logoMarginintegerYes
design.logoRadiusintegerYes
design.logoSizeintegerYes
design.marginintegerYes
idstring (uuid)Yes
namestringYes
shortLinknull in the examplesYes
shortLinkIdnull in the examplesYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X GET "https://api.firmado.app/v1/qr-codes/{id}" \
  -H "X-Api-Key: fmd_..."

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

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
namestringNomin length 1 · max length 120
contentobjectNo
content.kind"url"Yes
content.urlstringYesmax length 2000
content.shortLinkIdstring (uuid) | nullNodefault null
designobjectNo
design.marginintegerNomin 0 · max 10 · default 2
design.errorCorrection"L" | "M" | "Q" | "H"Nodefault "M"
design.dotStyle"square" | "rounded" | "dots" | "fluid" | "diamond" | "vertical" | "horizontal"Nodefault "square"
design.frameStyle"square" | "rounded" | "circle"Nodefault "square"
design.eyeStyle"square" | "rounded" | "circle"Nodefault "square"
design.foregroundstringNodefault "#000000" · pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$
design.gradientobject | nullNodefault null
design.gradient.kind"linear" | "radial"Nodefault "linear"
design.gradient.angleintegerNomin 0 · max 360 · default 45
design.gradient.fromstringYespattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$
design.gradient.tostringYespattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$
design.frameColorstring | nullNodefault null
design.eyeColorstring | nullNodefault null
design.backgroundstringNodefault "#ffffff" · pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$
design.logostringNomax length 2000 · default ""
design.logoSizeintegerNomin 10 · max 35 · default 22
design.logoClearbooleanNodefault true
design.logoMarginintegerNomin 0 · max 4 · default 1
design.logoRadiusintegerNomin 0 · max 50 · default 0
design.captionstringNomax length 60 · default ""
design.captionColorstringNodefault "#000000" · pattern ^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$

Response

36 fields
FieldTypeAlways there
contentobjectYes
content.encryptionstringYes
content.hiddenbooleanYes
content.kindstringYes
content.passwordstringYes
content.ssidstringYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
designobjectYes
design.backgroundstringYes
design.captionstringYes
design.captionColorstringYes
design.dotStylestringYes
design.errorCorrectionstringYes
design.eyeColornull in the examplesYes
design.eyeStylestringYes
design.foregroundstringYes
design.frameColornull in the examplesYes
design.frameStylestringYes
design.gradientobjectYes
design.gradient.angleintegerYes
design.gradient.fromstringYes
design.gradient.kindstringYes
design.gradient.tostringYes
design.logostringYes
design.logoClearbooleanYes
design.logoMarginintegerYes
design.logoRadiusintegerYes
design.logoSizeintegerYes
design.marginintegerYes
idstring (uuid)Yes
namestringYes
shortLinknull in the examplesYes
shortLinkIdnull in the examplesYes
updatedAtstring (date-time)Yes
updatedBystring (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"
  }
}'

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
}

One of the organization’s pictures, for the middle of a code.

Read/logoOn success: 200.Permission: Read.

Query parameters

FieldTypeRequiredNotes
urlstringYesmax length 2000
Example
curl -X GET "https://api.firmado.app/v1/qr-codes/logo" \
  -H "X-Api-Key: fmd_..."

Webhook events

Changes of this feature that webhooks can send.

  • qr_code.createdCreate
  • qr_code.updatedUpdate
  • qr_code.deletedDelete