v1

latestOpenAPI 3.1.0AGPL-3.02026-07-1317522.1 KB

Save a reusable style theme

post/v1/themes

Request body

namestring required
styleobject required

QR style JSON (fgColor, bgColor, dotType, cornerSquareType, logo, gradient, frame…).

Response

Created.

Example response

{
  "theme": {
    "id": "b1c2d3e4-f5a6-4071-8293-a4b5c6d7e8f9",
    "name": "Brand",
    "style": {
      "fgColor": "#232E3A",
      "bgColor": "#FFFFFF",
      "dotType": "rounded",
      "margin": 4
    }
  }
}