Skip to content
Documentation menu

QR codes

Manage static and dynamic QR codes and export their image.

List QR codes#

GET/qr-codes

Required scope: qr_codes:read

QR codes of the token's workspace, paginated. QR codes shared from another workspace are not listed. Each item carries visits_count and visits_series.

Query parameters

FieldTypeDescription
pageoptionalinteger

Default: 1

per_pageoptionalinteger

Default: 15

searchoptionalstring

Text search (at least 3 characters).

sortoptionalstring

recent: most recent first; updated: last modified first; name: name or title, alphabetical; visits: most visited (all time) first.

Values: recent, updated, name, visits

Default: recent

domainoptionalstring

hyllo: resources served on Hyllo's domain; ULID of one of the workspace's custom domains: those served on that domain. Omitted: all. Domain unknown to the workspace: 422.

typeoptionalstring

Values: static, dynamic

statusoptionalstring

Keeps only QR codes with this status (a static QR code is always active).

Values: active, inactive, scheduled, expired, limit_reached

folderoptionalstring

Rejected: folders do not exist in the public API. Any occurrence of this parameter returns 422 field_not_available.

content_typeoptionalstring

Keeps only this content.contentType.

Values: url, text, email, phone, sms, wifi, vcard, event, link-pages, stores, google-review, gps, file, menu

Responses

200 OK

FieldTypeDescription
datarequiredarray
linksrequiredobject

URLs of neighboring pages (null when there is none).

metarequiredobject
Nested fields and variants
FieldTypeDescription
data[]requiredobject

Item of GET /qr-codes: a QRCode with visits_count and visits_series added.

data[].idrequiredstring (ulid)
data[].namerequiredstring
data[].typerequiredstring

static: content encoded in the QR code; dynamic: QR code served by a short URL, editable without reprinting.

Values: static, dynamic

data[].descriptionrequiredstring | null
data[].contentrequiredobject
data[].content.contentTyperequiredstring

Values: url, text, email, phone, sms, wifi, vcard, event, link-pages, stores, google-review, gps, file, menu

data[].content.datarequiredobject
data[].designrequiredobject

Appearance of the QR code. On creation, all fields are required if design is provided; otherwise the default design of the token's creator (template marked as default, falling back to the base design) is applied. On update, each field is optional and merged with the existing one. Advanced options require qr.design_advanced (402 otherwise).

data[].design.dotsoptionalobject
data[].design.dots.typeoptionalstring

Values: dot, random-dot, rounded, extra-rounded, vertical-line, horizontal-line, classy, classy-rounded, square, small-square, tiny-square, diamond, wave, heart, star, weave, pentagon, hexagon, octagon, circuit, zebra-horizontal, zebra-vertical, blocks-horizontal, blocks-vertical, blobs, soft

data[].design.dots.colorModeoptionalstring

Values: solid, gradient

data[].design.dots.coloroptionalstring
data[].design.dots.gradientoptionaloneOf
data[].design.cornersSquareoptionalobject
data[].design.cornersSquare.typeoptionalstring | null

Values: dot, square, extra-rounded, classy, inpoint, outpoint, center-circle, null

data[].design.cornersSquare.colorModeoptionalstring

Values: inherit, solid, gradient

data[].design.cornersSquare.coloroptionalstring
data[].design.cornersSquare.gradientoptionaloneOf
data[].design.cornersDotoptionalobject
data[].design.cornersDot.typeoptionalstring | null

Values: dot, square, heart, extra-rounded, classy, inpoint, outpoint, star, pentagon, hexagon, octagon, diamond, null

data[].design.cornersDot.colorModeoptionalstring

Values: inherit, solid, gradient

data[].design.cornersDot.coloroptionalstring
data[].design.cornersDot.gradientoptionaloneOf
data[].design.backgroundoptionalobject
data[].design.background.colorModeoptionalstring

Values: transparent, solid, gradient

data[].design.background.coloroptionalstring
data[].design.background.gradientoptionaloneOf
data[].design.background.marginoptionalinteger
data[].design.background.borderRadiusoptionalinteger
data[].design.imageoptionalobject
data[].design.image.enabledoptionalboolean
data[].design.image.srcoptionalstring | null

URL of a file in the workspace's media library (logo).

data[].design.image.imageSizeoptionalnumber
data[].design.image.marginoptionalinteger
data[].design.errorCorrectionLeveloptionalstring

Values: L, M, Q, H

data[].design.shapeoptionalstring

Values: square, circle

data[].framerequiredoneOf
data[].optionsrequiredobject

Availability of the QR code. Protections (dates, password, limit) apply only to dynamic QR codes.

data[].options.isActiverequiredboolean
data[].options.publishAtrequiredstring (date-time) | null
data[].options.isScheduledrequiredboolean
data[].options.expiresAtrequiredstring (date-time) | null
data[].options.isExpiredrequiredboolean
data[].options.hasPasswordrequiredboolean
data[].options.maxVisitsrequiredinteger | null
data[].options.countedVisitsrequiredinteger
data[].options.isVisitLimitReachedrequiredboolean
data[].plan_restrictionrequiredoneOf
data[].accessrequiredobject

Rights of the token's creator on the resource, depending on their role in the workspace. The public API exposes neither sharing nor filing into folders.

data[].access.is_ownerrequiredboolean

true if the token's creator created the resource.

data[].access.can_editrequiredboolean
data[].access.can_deleterequiredboolean
data[].access.can_sharerequiredboolean
data[].access.can_organizerequiredboolean
data[].folderrequiredoneOf
data[].tagsrequiredarray

Deprecated: always [].

data[].tags[]requiredany
data[].domainrequiredoneOf
data[].short_urlrequiredstring | null

Public short URL; null for a static QR code.

data[].created_atrequiredstring (date-time)
data[].updated_atrequiredstring (date-time)
data[].visits_countoptionalinteger | null

All-time scans; null for a static QR code.

data[].visits_seriesoptionalarray | null

Scans per day over 30 days, oldest first, today last; null for a static QR code.

data[].visits_series[]requiredinteger
links.firstrequiredstring | null
links.lastrequiredstring | null
links.prevrequiredstring | null
links.nextrequiredstring | null
meta.current_pagerequiredinteger
meta.fromoptionalinteger | null
meta.last_pagerequiredinteger
meta.linksoptionalarray

Navigation links.

meta.links[]requiredobject
meta.links[].urloptionalstring | null
meta.links[].labeloptionalstring
meta.links[].activeoptionalboolean
meta.pathoptionalstring
meta.per_pagerequiredinteger
meta.tooptionalinteger | null
meta.totalrequiredinteger

Errors All codes

  • 401

    Token missing, unknown, expired or revoked (code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.

  • 402

    The workspace's plan does not include API access (feature: api.access), or the requested plan entitlement is missing or its quota is reached: plan_required, quota_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 422

    Validation failed (errors per field). Special cases: code: field_not_available for a field that does not exist in the public API (folderId, folder_id, organization, folder); code: idempotency_key_mismatch for an Idempotency-Key reused with a different request (no errors).

  • 429

    Limit reached (code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export, POST /webhooks, PATCH /webhooks/{webhook} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is the lowest.

curl -sS "https://api.hyllo.fr/api/public/v1/qr-codes" \
  -H "Authorization: Bearer $HYLLO_API_TOKEN" \
  -H "Accept: application/json"

Response example

{
  "data": [
    {
      "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
      "name": "string",
      "type": "static",
      "description": "string",
      "content": {
        "contentType": "url",
        "data": {}
      },
      "design": {
        "dots": {
          "type": "dot",
          "colorMode": "solid",
          "color": "#000000",
          "gradient": {}
        },
        "cornersSquare": {
          "type": "dot",
          "colorMode": "inherit",
          "color": "string",
          "gradient": {}
        },
        "cornersDot": {
          "type": "dot",
          "colorMode": "inherit",
          "color": "string",
          "gradient": {}
        },
        "background": {
          "colorMode": "transparent",
          "color": "#ffffff",
          "gradient": {},
          "margin": 0,
          "borderRadius": 0
        },
        "image": {
          "enabled": true,
          "src": "string",
          "imageSize": 0,
          "margin": 0
        },
        "errorCorrectionLevel": "L",
        "shape": "square"
      },
      "frame": {
        "frameType": "string",
        "text": {},
        "element": {},
        "elementColorMode": {},
        "elementGradient": {}
      },
      "options": {
        "isActive": true,
        "publishAt": "2026-01-01T00:00:00Z",
        "isScheduled": true,
        "expiresAt": "2026-01-01T00:00:00Z",
        "isExpired": true,
        "hasPassword": true,
        "maxVisits": 1,
        "countedVisits": 1,
        "isVisitLimitReached": true
      },
      "plan_restriction": {
        "state": "restricted",
        "since": "2026-01-01T00:00:00Z",
        "deletes_at": "2026-01-01T00:00:00Z"
      },
      "access": {
        "is_owner": true,
        "can_edit": true,
        "can_delete": true,
        "can_share": true,
        "can_organize": true
      },
      "folder": {
        "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
        "name": "string"
      },
      "tags": [
        null
      ],
      "domain": {
        "id": "01J9ZQ0K7TQ3P8W2M5N6R4S1VX",
        "hostname": "go.client.com"
      },
      "short_url": "https://hyllo.fr/Ab3xK9zQ",
      "created_at": "2026-01-01T00:00:00Z",
      "updated_at": "2026-01-01T00:00:00Z",
      "visits_count": 1,
      "visits_series": [
        1
      ]
    }
  ],
  "links": {
    "first": "string",
    "last": "string",
    "prev": "string",
    "next": "string"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 3,
    "links": [
      {
        "url": "string",
        "label": "string",
        "active": true
      }
    ],
    "path": "string",
    "per_page": 15,
    "to": 1,
    "total": 42
  }
}

Create a QR code#

POST/qr-codes

Required scope: qr_codes:writeAccepts Idempotency-Key

Creates a QR code in the token's workspace. design and frame are optional: when omitted, the default design of the token's creator is applied (template marked as default, otherwise the base design with no frame). If the logo of that template is not a media item of the token's workspace, design.image is returned with src: null and enabled: false. Filing into a folder does not exist in the public API: organization is ignored.

402: quota_reached (qr_codes.dynamic) for a dynamic QR code, plan_required for a chosen code, a custom domain, a design or an advanced frame.

Request body

FieldTypeDescription
informationrequiredobject
contentoptionalobject
designoptionalobject

Appearance of the QR code. On creation, all fields are required if design is provided; otherwise the default design of the token's creator (template marked as default, falling back to the base design) is applied. On update, each field is optional and merged with the existing one. Advanced options require qr.design_advanced (402 otherwise).

frameoptionaloneOf
Variant #1

Frame around the QR code; null: none. On creation, frameType, text and element are required when frame is provided; frame omitted with a design provided: no frame; omitted with design omitted: the frame of the default design. All frames require qr.frames_all (402 otherwise).

FieldTypeDescription
frameTypeoptionalstring

Frame identifier.

textoptionalobject

Frame texts, per slot.

elementoptionalobject

Values (colors…) of the frame's elements, per element.

elementColorModeoptionalobject
elementGradientoptionalobject
Nested fields and variants
FieldTypeDescription
text.*optionalstring | null
element.*optionalstring | null
elementColorMode.*optionalstring | null

Values: solid, gradient, null

elementGradient.*optionaloneOf
Variant #2
Nested fields and variants
FieldTypeDescription
information.namerequiredstring
information.typerequiredstring

Immutable after creation.

Values: static, dynamic

information.descriptionoptionalstring | null
information.domainIdoptionalstring (ulid) | null

dynamic QR codes only: active custom domain of the workspace; omitted: Hyllo's domain. Immutable. Not allowed on a static QR code.

information.shortoptionalstring | null

dynamic QR codes only: custom code, unique on the domain; requires short_links.custom_alias. Immutable. Not allowed on a static QR code.

content.contentTyperequiredstring

Values: url, text, email, phone, sms, wifi, vcard, event, link-pages, stores, google-review, gps, file, menu

content.datarequiredobject

Payload depending on contentType:

  • url: { "url" }
  • link-pages: { "linkPageId" } (a link page of the workspace)
  • text: { "text" }
  • email: { "to", "subject"?, "body"? }
  • phone: { "phone" }
  • sms: { "phone", "message"? }
  • wifi: { "ssid", "encryption": "WEP|WPA|WPA2-EAP", "password"?, "hidden"?, "eapMethod"?, "eapIdentity"?, "eapAnonymousIdentity"?, "eapPhase2Method"? }
  • vcard: { "fullName", "name"?, "title"?, "birthday"?, "phone"?, "email"?, "address"?, "note"?, "company"?, "social"?, "website"? }
  • event: { "summary", "dtstart", "dtend", "location"?, "description"?, "url"? } (dtstart/dtend: integers)
  • stores: { "appStoreUrl"?, "playStoreUrl"? } (at least one)
  • google-review: { "placeId", "placeName"? }
  • gps: { "lat", "lng", "address"? }
  • file: { "mediaId", "fileName"? } (a file from the workspace's media library)
  • menu: { "mode": "pdf", "mediaId" } or { "mode": "structured", "currency"?, "sections": [{ "title", "description"?, "items": [{ "name", "description"?, "price"? }] }] }

The available types depend on information.type (stores, file and menu: dynamic QR codes).

design.dotsoptionalobject
design.dots.typeoptionalstring

Values: dot, random-dot, rounded, extra-rounded, vertical-line, horizontal-line, classy, classy-rounded, square, small-square, tiny-square, diamond, wave, heart, star, weave, pentagon, hexagon, octagon, circuit, zebra-horizontal, zebra-vertical, blocks-horizontal, blocks-vertical, blobs, soft

design.dots.colorModeoptionalstring

Values: solid, gradient

design.dots.coloroptionalstring
design.dots.gradientoptionaloneOf
design.cornersSquareoptionalobject
design.cornersSquare.typeoptionalstring | null

Values: dot, square, extra-rounded, classy, inpoint, outpoint, center-circle, null

design.cornersSquare.colorModeoptionalstring

Values: inherit, solid, gradient

design.cornersSquare.coloroptionalstring
design.cornersSquare.gradientoptionaloneOf
design.cornersDotoptionalobject
design.cornersDot.typeoptionalstring | null

Values: dot, square, heart, extra-rounded, classy, inpoint, outpoint, star, pentagon, hexagon, octagon, diamond, null

design.cornersDot.colorModeoptionalstring

Values: inherit, solid, gradient

design.cornersDot.coloroptionalstring
design.cornersDot.gradientoptionaloneOf
design.backgroundoptionalobject
design.background.colorModeoptionalstring

Values: transparent, solid, gradient

design.background.coloroptionalstring
design.background.gradientoptionaloneOf
design.background.marginoptionalinteger
design.background.borderRadiusoptionalinteger
design.imageoptionalobject
design.image.enabledoptionalboolean
design.image.srcoptionalstring | null

URL of a file in the workspace's media library (logo).

design.image.imageSizeoptionalnumber
design.image.marginoptionalinteger
design.errorCorrectionLeveloptionalstring

Values: L, M, Q, H

design.shapeoptionalstring

Values: square, circle

Responses

201 QR code created

FieldTypeDescription
datarequiredobject

QR code. Single-read, creation and update responses do not have visits_count; the list (QRCodeListItem) adds it.

Nested fields and variants
FieldTypeDescription
data.idrequiredstring (ulid)
data.namerequiredstring
data.typerequiredstring

static: content encoded in the QR code; dynamic: QR code served by a short URL, editable without reprinting.

Values: static, dynamic

data.descriptionrequiredstring | null
data.contentrequiredobject
data.content.contentTyperequiredstring

Values: url, text, email, phone, sms, wifi, vcard, event, link-pages, stores, google-review, gps, file, menu

data.content.datarequiredobject
data.designrequiredobject

Appearance of the QR code. On creation, all fields are required if design is provided; otherwise the default design of the token's creator (template marked as default, falling back to the base design) is applied. On update, each field is optional and merged with the existing one. Advanced options require qr.design_advanced (402 otherwise).

data.design.dotsoptionalobject
data.design.dots.typeoptionalstring

Values: dot, random-dot, rounded, extra-rounded, vertical-line, horizontal-line, classy, classy-rounded, square, small-square, tiny-square, diamond, wave, heart, star, weave, pentagon, hexagon, octagon, circuit, zebra-horizontal, zebra-vertical, blocks-horizontal, blocks-vertical, blobs, soft

data.design.dots.colorModeoptionalstring

Values: solid, gradient

data.design.dots.coloroptionalstring
data.design.dots.gradientoptionaloneOf
data.design.cornersSquareoptionalobject
data.design.cornersSquare.typeoptionalstring | null

Values: dot, square, extra-rounded, classy, inpoint, outpoint, center-circle, null

data.design.cornersSquare.colorModeoptionalstring

Values: inherit, solid, gradient

data.design.cornersSquare.coloroptionalstring
data.design.cornersSquare.gradientoptionaloneOf
data.design.cornersDotoptionalobject
data.design.cornersDot.typeoptionalstring | null

Values: dot, square, heart, extra-rounded, classy, inpoint, outpoint, star, pentagon, hexagon, octagon, diamond, null

data.design.cornersDot.colorModeoptionalstring

Values: inherit, solid, gradient

data.design.cornersDot.coloroptionalstring
data.design.cornersDot.gradientoptionaloneOf
data.design.backgroundoptionalobject
data.design.background.colorModeoptionalstring

Values: transparent, solid, gradient

data.design.background.coloroptionalstring
data.design.background.gradientoptionaloneOf
data.design.background.marginoptionalinteger
data.design.background.borderRadiusoptionalinteger
data.design.imageoptionalobject
data.design.image.enabledoptionalboolean
data.design.image.srcoptionalstring | null

URL of a file in the workspace's media library (logo).

data.design.image.imageSizeoptionalnumber
data.design.image.marginoptionalinteger
data.design.errorCorrectionLeveloptionalstring

Values: L, M, Q, H

data.design.shapeoptionalstring

Values: square, circle

data.framerequiredoneOf
data.optionsrequiredobject

Availability of the QR code. Protections (dates, password, limit) apply only to dynamic QR codes.

data.options.isActiverequiredboolean
data.options.publishAtrequiredstring (date-time) | null
data.options.isScheduledrequiredboolean
data.options.expiresAtrequiredstring (date-time) | null
data.options.isExpiredrequiredboolean
data.options.hasPasswordrequiredboolean
data.options.maxVisitsrequiredinteger | null
data.options.countedVisitsrequiredinteger
data.options.isVisitLimitReachedrequiredboolean
data.plan_restrictionrequiredoneOf
data.accessrequiredobject

Rights of the token's creator on the resource, depending on their role in the workspace. The public API exposes neither sharing nor filing into folders.

data.access.is_ownerrequiredboolean

true if the token's creator created the resource.

data.access.can_editrequiredboolean
data.access.can_deleterequiredboolean
data.access.can_sharerequiredboolean
data.access.can_organizerequiredboolean
data.folderrequiredoneOf
data.tagsrequiredarray

Deprecated: always [].

data.tags[]requiredany
data.domainrequiredoneOf
data.short_urlrequiredstring | null

Public short URL; null for a static QR code.

data.created_atrequiredstring (date-time)
data.updated_atrequiredstring (date-time)

Errors All codes

  • 401

    Token missing, unknown, expired or revoked (code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.

  • 402

    The workspace's plan does not include API access (feature: api.access), or the requested plan entitlement is missing or its quota is reached: plan_required, quota_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 409

    idempotency_in_progress: a request carrying the same Idempotency-Key is still running.

  • 422

    Validation failed (errors per field). Special cases: code: field_not_available for a field that does not exist in the public API (folderId, folder_id, organization, folder); code: idempotency_key_mismatch for an Idempotency-Key reused with a different request (no errors).

  • 429

    Limit reached (code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export, POST /webhooks, PATCH /webhooks/{webhook} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is the lowest.

curl -sS -X POST "https://api.hyllo.fr/api/public/v1/qr-codes" \
  -H "Authorization: Bearer $HYLLO_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"information":{"name":"Restaurant menu","type":"dynamic"},"content":{"contentType":"url","data":{"url":"https://example.com/carte"}}}'

Response example

{
  "data": {
    "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
    "name": "string",
    "type": "static",
    "description": "string",
    "content": {
      "contentType": "url",
      "data": {}
    },
    "design": {
      "dots": {
        "type": "dot",
        "colorMode": "solid",
        "color": "#000000",
        "gradient": {}
      },
      "cornersSquare": {
        "type": "dot",
        "colorMode": "inherit",
        "color": "string",
        "gradient": {}
      },
      "cornersDot": {
        "type": "dot",
        "colorMode": "inherit",
        "color": "string",
        "gradient": {}
      },
      "background": {
        "colorMode": "transparent",
        "color": "#ffffff",
        "gradient": {},
        "margin": 0,
        "borderRadius": 0
      },
      "image": {
        "enabled": true,
        "src": "string",
        "imageSize": 0,
        "margin": 0
      },
      "errorCorrectionLevel": "L",
      "shape": "square"
    },
    "frame": {
      "frameType": "string",
      "text": {},
      "element": {},
      "elementColorMode": {},
      "elementGradient": {}
    },
    "options": {
      "isActive": true,
      "publishAt": "2026-01-01T00:00:00Z",
      "isScheduled": true,
      "expiresAt": "2026-01-01T00:00:00Z",
      "isExpired": true,
      "hasPassword": true,
      "maxVisits": 1,
      "countedVisits": 1,
      "isVisitLimitReached": true
    },
    "plan_restriction": {
      "state": "restricted",
      "since": "2026-01-01T00:00:00Z",
      "deletes_at": "2026-01-01T00:00:00Z"
    },
    "access": {
      "is_owner": true,
      "can_edit": true,
      "can_delete": true,
      "can_share": true,
      "can_organize": true
    },
    "folder": {
      "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
      "name": "string"
    },
    "tags": [
      null
    ],
    "domain": {
      "id": "01J9ZQ0K7TQ3P8W2M5N6R4S1VX",
      "hostname": "go.client.com"
    },
    "short_url": "https://hyllo.fr/Ab3xK9zQ",
    "created_at": "2026-01-01T00:00:00Z",
    "updated_at": "2026-01-01T00:00:00Z"
  }
}

Get a QR code#

GET/qr-codes/{qrCode}

Required scope: qr_codes:read

A QR code of the token's workspace. This response has no visits_count or visits_series (they exist only in lists): for scans, use GET /analytics/qr-codes/{id}. A QR code shared from another workspace returns 404.

Path parameters

FieldTypeDescription
qrCoderequiredstring (ulid)

ULID of the QR code.

Responses

200 OK

FieldTypeDescription
datarequiredobject

QR code. Single-read, creation and update responses do not have visits_count; the list (QRCodeListItem) adds it.

Nested fields and variants
FieldTypeDescription
data.idrequiredstring (ulid)
data.namerequiredstring
data.typerequiredstring

static: content encoded in the QR code; dynamic: QR code served by a short URL, editable without reprinting.

Values: static, dynamic

data.descriptionrequiredstring | null
data.contentrequiredobject
data.content.contentTyperequiredstring

Values: url, text, email, phone, sms, wifi, vcard, event, link-pages, stores, google-review, gps, file, menu

data.content.datarequiredobject
data.designrequiredobject

Appearance of the QR code. On creation, all fields are required if design is provided; otherwise the default design of the token's creator (template marked as default, falling back to the base design) is applied. On update, each field is optional and merged with the existing one. Advanced options require qr.design_advanced (402 otherwise).

data.design.dotsoptionalobject
data.design.dots.typeoptionalstring

Values: dot, random-dot, rounded, extra-rounded, vertical-line, horizontal-line, classy, classy-rounded, square, small-square, tiny-square, diamond, wave, heart, star, weave, pentagon, hexagon, octagon, circuit, zebra-horizontal, zebra-vertical, blocks-horizontal, blocks-vertical, blobs, soft

data.design.dots.colorModeoptionalstring

Values: solid, gradient

data.design.dots.coloroptionalstring
data.design.dots.gradientoptionaloneOf
data.design.cornersSquareoptionalobject
data.design.cornersSquare.typeoptionalstring | null

Values: dot, square, extra-rounded, classy, inpoint, outpoint, center-circle, null

data.design.cornersSquare.colorModeoptionalstring

Values: inherit, solid, gradient

data.design.cornersSquare.coloroptionalstring
data.design.cornersSquare.gradientoptionaloneOf
data.design.cornersDotoptionalobject
data.design.cornersDot.typeoptionalstring | null

Values: dot, square, heart, extra-rounded, classy, inpoint, outpoint, star, pentagon, hexagon, octagon, diamond, null

data.design.cornersDot.colorModeoptionalstring

Values: inherit, solid, gradient

data.design.cornersDot.coloroptionalstring
data.design.cornersDot.gradientoptionaloneOf
data.design.backgroundoptionalobject
data.design.background.colorModeoptionalstring

Values: transparent, solid, gradient

data.design.background.coloroptionalstring
data.design.background.gradientoptionaloneOf
data.design.background.marginoptionalinteger
data.design.background.borderRadiusoptionalinteger
data.design.imageoptionalobject
data.design.image.enabledoptionalboolean
data.design.image.srcoptionalstring | null

URL of a file in the workspace's media library (logo).

data.design.image.imageSizeoptionalnumber
data.design.image.marginoptionalinteger
data.design.errorCorrectionLeveloptionalstring

Values: L, M, Q, H

data.design.shapeoptionalstring

Values: square, circle

data.framerequiredoneOf
data.optionsrequiredobject

Availability of the QR code. Protections (dates, password, limit) apply only to dynamic QR codes.

data.options.isActiverequiredboolean
data.options.publishAtrequiredstring (date-time) | null
data.options.isScheduledrequiredboolean
data.options.expiresAtrequiredstring (date-time) | null
data.options.isExpiredrequiredboolean
data.options.hasPasswordrequiredboolean
data.options.maxVisitsrequiredinteger | null
data.options.countedVisitsrequiredinteger
data.options.isVisitLimitReachedrequiredboolean
data.plan_restrictionrequiredoneOf
data.accessrequiredobject

Rights of the token's creator on the resource, depending on their role in the workspace. The public API exposes neither sharing nor filing into folders.

data.access.is_ownerrequiredboolean

true if the token's creator created the resource.

data.access.can_editrequiredboolean
data.access.can_deleterequiredboolean
data.access.can_sharerequiredboolean
data.access.can_organizerequiredboolean
data.folderrequiredoneOf
data.tagsrequiredarray

Deprecated: always [].

data.tags[]requiredany
data.domainrequiredoneOf
data.short_urlrequiredstring | null

Public short URL; null for a static QR code.

data.created_atrequiredstring (date-time)
data.updated_atrequiredstring (date-time)

Errors All codes

  • 401

    Token missing, unknown, expired or revoked (code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.

  • 402

    The workspace's plan does not include API access (feature: api.access), or the requested plan entitlement is missing or its quota is reached: plan_required, quota_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 404

    Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).

  • 429

    Limit reached (code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export, POST /webhooks, PATCH /webhooks/{webhook} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is the lowest.

curl -sS "https://api.hyllo.fr/api/public/v1/qr-codes/$QR_CODE" \
  -H "Authorization: Bearer $HYLLO_API_TOKEN" \
  -H "Accept: application/json"

Response example

{
  "data": {
    "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
    "name": "string",
    "type": "static",
    "description": "string",
    "content": {
      "contentType": "url",
      "data": {}
    },
    "design": {
      "dots": {
        "type": "dot",
        "colorMode": "solid",
        "color": "#000000",
        "gradient": {}
      },
      "cornersSquare": {
        "type": "dot",
        "colorMode": "inherit",
        "color": "string",
        "gradient": {}
      },
      "cornersDot": {
        "type": "dot",
        "colorMode": "inherit",
        "color": "string",
        "gradient": {}
      },
      "background": {
        "colorMode": "transparent",
        "color": "#ffffff",
        "gradient": {},
        "margin": 0,
        "borderRadius": 0
      },
      "image": {
        "enabled": true,
        "src": "string",
        "imageSize": 0,
        "margin": 0
      },
      "errorCorrectionLevel": "L",
      "shape": "square"
    },
    "frame": {
      "frameType": "string",
      "text": {},
      "element": {},
      "elementColorMode": {},
      "elementGradient": {}
    },
    "options": {
      "isActive": true,
      "publishAt": "2026-01-01T00:00:00Z",
      "isScheduled": true,
      "expiresAt": "2026-01-01T00:00:00Z",
      "isExpired": true,
      "hasPassword": true,
      "maxVisits": 1,
      "countedVisits": 1,
      "isVisitLimitReached": true
    },
    "plan_restriction": {
      "state": "restricted",
      "since": "2026-01-01T00:00:00Z",
      "deletes_at": "2026-01-01T00:00:00Z"
    },
    "access": {
      "is_owner": true,
      "can_edit": true,
      "can_delete": true,
      "can_share": true,
      "can_organize": true
    },
    "folder": {
      "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
      "name": "string"
    },
    "tags": [
      null
    ],
    "domain": {
      "id": "01J9ZQ0K7TQ3P8W2M5N6R4S1VX",
      "hostname": "go.client.com"
    },
    "short_url": "https://hyllo.fr/Ab3xK9zQ",
    "created_at": "2026-01-01T00:00:00Z",
    "updated_at": "2026-01-01T00:00:00Z"
  }
}

Update a QR code#

PATCH/qr-codes/{qrCode}

Required scope: qr_codes:write

Updates a QR code; all blocks are optional. The type (static/dynamic), the domain and the code are immutable. organization or folderId return 422 field_not_available. options is accepted only for a dynamic QR code.

Path parameters

FieldTypeDescription
qrCoderequiredstring (ulid)

ULID of the QR code.

Request body

FieldTypeDescription
informationoptionalobject
contentoptionalobject
designoptionalobject

Appearance of the QR code. On creation, all fields are required if design is provided; otherwise the default design of the token's creator (template marked as default, falling back to the base design) is applied. On update, each field is optional and merged with the existing one. Advanced options require qr.design_advanced (402 otherwise).

frameoptionaloneOf
optionsoptionalobject

Dynamic QR codes only.

Variant #1

Frame around the QR code; null: none. On creation, frameType, text and element are required when frame is provided; frame omitted with a design provided: no frame; omitted with design omitted: the frame of the default design. All frames require qr.frames_all (402 otherwise).

FieldTypeDescription
frameTypeoptionalstring

Frame identifier.

textoptionalobject

Frame texts, per slot.

elementoptionalobject

Values (colors…) of the frame's elements, per element.

elementColorModeoptionalobject
elementGradientoptionalobject
Nested fields and variants
FieldTypeDescription
text.*optionalstring | null
element.*optionalstring | null
elementColorMode.*optionalstring | null

Values: solid, gradient, null

elementGradient.*optionaloneOf
Variant #2
Nested fields and variants
FieldTypeDescription
information.nameoptionalstring
information.descriptionoptionalstring | null
content.contentTypeoptionalstring

Values: url, text, email, phone, sms, wifi, vcard, event, link-pages, stores, google-review, gps, file, menu

content.dataoptionalobject

Payload depending on contentType:

  • url: { "url" }
  • link-pages: { "linkPageId" } (a link page of the workspace)
  • text: { "text" }
  • email: { "to", "subject"?, "body"? }
  • phone: { "phone" }
  • sms: { "phone", "message"? }
  • wifi: { "ssid", "encryption": "WEP|WPA|WPA2-EAP", "password"?, "hidden"?, "eapMethod"?, "eapIdentity"?, "eapAnonymousIdentity"?, "eapPhase2Method"? }
  • vcard: { "fullName", "name"?, "title"?, "birthday"?, "phone"?, "email"?, "address"?, "note"?, "company"?, "social"?, "website"? }
  • event: { "summary", "dtstart", "dtend", "location"?, "description"?, "url"? } (dtstart/dtend: integers)
  • stores: { "appStoreUrl"?, "playStoreUrl"? } (at least one)
  • google-review: { "placeId", "placeName"? }
  • gps: { "lat", "lng", "address"? }
  • file: { "mediaId", "fileName"? } (a file from the workspace's media library)
  • menu: { "mode": "pdf", "mediaId" } or { "mode": "structured", "currency"?, "sections": [{ "title", "description"?, "items": [{ "name", "description"?, "price"? }] }] }

The available types depend on information.type (stores, file and menu: dynamic QR codes).

design.dotsoptionalobject
design.dots.typeoptionalstring

Values: dot, random-dot, rounded, extra-rounded, vertical-line, horizontal-line, classy, classy-rounded, square, small-square, tiny-square, diamond, wave, heart, star, weave, pentagon, hexagon, octagon, circuit, zebra-horizontal, zebra-vertical, blocks-horizontal, blocks-vertical, blobs, soft

design.dots.colorModeoptionalstring

Values: solid, gradient

design.dots.coloroptionalstring
design.dots.gradientoptionaloneOf
design.cornersSquareoptionalobject
design.cornersSquare.typeoptionalstring | null

Values: dot, square, extra-rounded, classy, inpoint, outpoint, center-circle, null

design.cornersSquare.colorModeoptionalstring

Values: inherit, solid, gradient

design.cornersSquare.coloroptionalstring
design.cornersSquare.gradientoptionaloneOf
design.cornersDotoptionalobject
design.cornersDot.typeoptionalstring | null

Values: dot, square, heart, extra-rounded, classy, inpoint, outpoint, star, pentagon, hexagon, octagon, diamond, null

design.cornersDot.colorModeoptionalstring

Values: inherit, solid, gradient

design.cornersDot.coloroptionalstring
design.cornersDot.gradientoptionaloneOf
design.backgroundoptionalobject
design.background.colorModeoptionalstring

Values: transparent, solid, gradient

design.background.coloroptionalstring
design.background.gradientoptionaloneOf
design.background.marginoptionalinteger
design.background.borderRadiusoptionalinteger
design.imageoptionalobject
design.image.enabledoptionalboolean
design.image.srcoptionalstring | null

URL of a file in the workspace's media library (logo).

design.image.imageSizeoptionalnumber
design.image.marginoptionalinteger
design.errorCorrectionLeveloptionalstring

Values: L, M, Q, H

design.shapeoptionalstring

Values: square, circle

options.isActiveoptionalboolean
options.publishAtoptionalstring (date-time) | null

Future date, before expiresAt. Requires resources.protection.

options.expiresAtoptionalstring (date-time) | null

Future date. Requires resources.protection.

options.passwordoptionalstring | null

Requires resources.protection.

options.maxVisitsoptionalinteger | null

Requires resources.protection.

options.resetCountedVisitsoptionalboolean

Responses

200 QR code updated

FieldTypeDescription
datarequiredobject

QR code. Single-read, creation and update responses do not have visits_count; the list (QRCodeListItem) adds it.

Nested fields and variants
FieldTypeDescription
data.idrequiredstring (ulid)
data.namerequiredstring
data.typerequiredstring

static: content encoded in the QR code; dynamic: QR code served by a short URL, editable without reprinting.

Values: static, dynamic

data.descriptionrequiredstring | null
data.contentrequiredobject
data.content.contentTyperequiredstring

Values: url, text, email, phone, sms, wifi, vcard, event, link-pages, stores, google-review, gps, file, menu

data.content.datarequiredobject
data.designrequiredobject

Appearance of the QR code. On creation, all fields are required if design is provided; otherwise the default design of the token's creator (template marked as default, falling back to the base design) is applied. On update, each field is optional and merged with the existing one. Advanced options require qr.design_advanced (402 otherwise).

data.design.dotsoptionalobject
data.design.dots.typeoptionalstring

Values: dot, random-dot, rounded, extra-rounded, vertical-line, horizontal-line, classy, classy-rounded, square, small-square, tiny-square, diamond, wave, heart, star, weave, pentagon, hexagon, octagon, circuit, zebra-horizontal, zebra-vertical, blocks-horizontal, blocks-vertical, blobs, soft

data.design.dots.colorModeoptionalstring

Values: solid, gradient

data.design.dots.coloroptionalstring
data.design.dots.gradientoptionaloneOf
data.design.cornersSquareoptionalobject
data.design.cornersSquare.typeoptionalstring | null

Values: dot, square, extra-rounded, classy, inpoint, outpoint, center-circle, null

data.design.cornersSquare.colorModeoptionalstring

Values: inherit, solid, gradient

data.design.cornersSquare.coloroptionalstring
data.design.cornersSquare.gradientoptionaloneOf
data.design.cornersDotoptionalobject
data.design.cornersDot.typeoptionalstring | null

Values: dot, square, heart, extra-rounded, classy, inpoint, outpoint, star, pentagon, hexagon, octagon, diamond, null

data.design.cornersDot.colorModeoptionalstring

Values: inherit, solid, gradient

data.design.cornersDot.coloroptionalstring
data.design.cornersDot.gradientoptionaloneOf
data.design.backgroundoptionalobject
data.design.background.colorModeoptionalstring

Values: transparent, solid, gradient

data.design.background.coloroptionalstring
data.design.background.gradientoptionaloneOf
data.design.background.marginoptionalinteger
data.design.background.borderRadiusoptionalinteger
data.design.imageoptionalobject
data.design.image.enabledoptionalboolean
data.design.image.srcoptionalstring | null

URL of a file in the workspace's media library (logo).

data.design.image.imageSizeoptionalnumber
data.design.image.marginoptionalinteger
data.design.errorCorrectionLeveloptionalstring

Values: L, M, Q, H

data.design.shapeoptionalstring

Values: square, circle

data.framerequiredoneOf
data.optionsrequiredobject

Availability of the QR code. Protections (dates, password, limit) apply only to dynamic QR codes.

data.options.isActiverequiredboolean
data.options.publishAtrequiredstring (date-time) | null
data.options.isScheduledrequiredboolean
data.options.expiresAtrequiredstring (date-time) | null
data.options.isExpiredrequiredboolean
data.options.hasPasswordrequiredboolean
data.options.maxVisitsrequiredinteger | null
data.options.countedVisitsrequiredinteger
data.options.isVisitLimitReachedrequiredboolean
data.plan_restrictionrequiredoneOf
data.accessrequiredobject

Rights of the token's creator on the resource, depending on their role in the workspace. The public API exposes neither sharing nor filing into folders.

data.access.is_ownerrequiredboolean

true if the token's creator created the resource.

data.access.can_editrequiredboolean
data.access.can_deleterequiredboolean
data.access.can_sharerequiredboolean
data.access.can_organizerequiredboolean
data.folderrequiredoneOf
data.tagsrequiredarray

Deprecated: always [].

data.tags[]requiredany
data.domainrequiredoneOf
data.short_urlrequiredstring | null

Public short URL; null for a static QR code.

data.created_atrequiredstring (date-time)
data.updated_atrequiredstring (date-time)

Errors All codes

  • 401

    Token missing, unknown, expired or revoked (code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.

  • 402

    The workspace's plan does not include API access (feature: api.access), or the requested plan entitlement is missing or its quota is reached: plan_required, quota_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 404

    Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).

  • 422

    Validation failed (errors per field). Special cases: code: field_not_available for a field that does not exist in the public API (folderId, folder_id, organization, folder); code: idempotency_key_mismatch for an Idempotency-Key reused with a different request (no errors).

  • 429

    Limit reached (code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export, POST /webhooks, PATCH /webhooks/{webhook} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is the lowest.

curl -sS -X PATCH "https://api.hyllo.fr/api/public/v1/qr-codes/$QR_CODE" \
  -H "Authorization: Bearer $HYLLO_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"information":{"name":"Nouveau nom"}}'

Response example

{
  "data": {
    "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
    "name": "string",
    "type": "static",
    "description": "string",
    "content": {
      "contentType": "url",
      "data": {}
    },
    "design": {
      "dots": {
        "type": "dot",
        "colorMode": "solid",
        "color": "#000000",
        "gradient": {}
      },
      "cornersSquare": {
        "type": "dot",
        "colorMode": "inherit",
        "color": "string",
        "gradient": {}
      },
      "cornersDot": {
        "type": "dot",
        "colorMode": "inherit",
        "color": "string",
        "gradient": {}
      },
      "background": {
        "colorMode": "transparent",
        "color": "#ffffff",
        "gradient": {},
        "margin": 0,
        "borderRadius": 0
      },
      "image": {
        "enabled": true,
        "src": "string",
        "imageSize": 0,
        "margin": 0
      },
      "errorCorrectionLevel": "L",
      "shape": "square"
    },
    "frame": {
      "frameType": "string",
      "text": {},
      "element": {},
      "elementColorMode": {},
      "elementGradient": {}
    },
    "options": {
      "isActive": true,
      "publishAt": "2026-01-01T00:00:00Z",
      "isScheduled": true,
      "expiresAt": "2026-01-01T00:00:00Z",
      "isExpired": true,
      "hasPassword": true,
      "maxVisits": 1,
      "countedVisits": 1,
      "isVisitLimitReached": true
    },
    "plan_restriction": {
      "state": "restricted",
      "since": "2026-01-01T00:00:00Z",
      "deletes_at": "2026-01-01T00:00:00Z"
    },
    "access": {
      "is_owner": true,
      "can_edit": true,
      "can_delete": true,
      "can_share": true,
      "can_organize": true
    },
    "folder": {
      "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
      "name": "string"
    },
    "tags": [
      null
    ],
    "domain": {
      "id": "01J9ZQ0K7TQ3P8W2M5N6R4S1VX",
      "hostname": "go.client.com"
    },
    "short_url": "https://hyllo.fr/Ab3xK9zQ",
    "created_at": "2026-01-01T00:00:00Z",
    "updated_at": "2026-01-01T00:00:00Z"
  }
}

Export a QR code as PNG or SVG#

GET/qr-codes/{qrCode}/export

Required scope: qr_codes:read

The QR code image, drawn by the same engine as the editor preview (including design, frame and logo). A dynamic QR code encodes its short URL, a static QR code its content. The SVG of a QR code whose design uses a lost entitlement is rendered as saved. The response is an attachment (Content-Disposition: attachment). This route has its own rate budget: 20 requests per minute per token (40 for all of the workspace's tokens), in addition to the plan limit. Each export is rendered on demand (no cache). A raster logo is scaled down to at most 512 px per side before rendering; an SVG logo larger than 512 KB returns 422 logo_too_large. Renderer unavailable or unusable response: 503 renderer_unavailable (retry). A QR code the engine refuses to draw: 422 render_refused. A static QR code of a content type that the API cannot encode identically to the editor: 422 export_not_available (safeguard: today all static types are supported), as well as a dynamic QR code without a short URL.

Path parameters

FieldTypeDescription
qrCoderequiredstring (ulid)

ULID of the QR code.

Query parameters

FieldTypeDescription
formatrequiredstring

Image format.

Values: png, svg

sizeoptionalinteger

Image width in pixels, PNG only (the height follows the frame; ignored for SVG).

Default: 1024

Responses

200 The QR code image.

Errors All codes

  • 401

    Token missing, unknown, expired or revoked (code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.

  • 402

    The workspace's plan does not include API access (feature: api.access), or the requested plan entitlement is missing or its quota is reached: plan_required, quota_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 404

    Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).

  • 422

    Validation failed (errors per field). Special cases: code: field_not_available for a field that does not exist in the public API (folderId, folder_id, organization, folder); code: idempotency_key_mismatch for an Idempotency-Key reused with a different request (no errors).

  • 429

    Limit reached (code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export, POST /webhooks, PATCH /webhooks/{webhook} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is the lowest.

  • 503

    The rendering service is unavailable: code is renderer_unavailable. The Retry-After header says when to retry.

curl -sS "https://api.hyllo.fr/api/public/v1/qr-codes/$QR_CODE/export?format=png" \
  -H "Authorization: Bearer $HYLLO_API_TOKEN" \
  -H "Accept: application/json"

Schemas

QRCodeListItem

Item of GET /qr-codes: a QRCode with visits_count and visits_series added.

FieldTypeDescription
idrequiredstring (ulid)
namerequiredstring
typerequiredstring

static: content encoded in the QR code; dynamic: QR code served by a short URL, editable without reprinting.

Values: static, dynamic

descriptionrequiredstring | null
contentrequiredobject
designrequiredobject

Appearance of the QR code. On creation, all fields are required if design is provided; otherwise the default design of the token's creator (template marked as default, falling back to the base design) is applied. On update, each field is optional and merged with the existing one. Advanced options require qr.design_advanced (402 otherwise).

framerequiredoneOf
optionsrequiredobject

Availability of the QR code. Protections (dates, password, limit) apply only to dynamic QR codes.

plan_restrictionrequiredoneOf
accessrequiredobject

Rights of the token's creator on the resource, depending on their role in the workspace. The public API exposes neither sharing nor filing into folders.

folderrequiredoneOf
tagsrequiredarray

Deprecated: always [].

domainrequiredoneOf
short_urlrequiredstring | null

Public short URL; null for a static QR code.

created_atrequiredstring (date-time)
updated_atrequiredstring (date-time)
visits_countoptionalinteger | null

All-time scans; null for a static QR code.

visits_seriesoptionalarray | null

Scans per day over 30 days, oldest first, today last; null for a static QR code.

Variant #1

Frame around the QR code; null: none. On creation, frameType, text and element are required when frame is provided; frame omitted with a design provided: no frame; omitted with design omitted: the frame of the default design. All frames require qr.frames_all (402 otherwise).

FieldTypeDescription
frameTypeoptionalstring

Frame identifier.

textoptionalobject

Frame texts, per slot.

elementoptionalobject

Values (colors…) of the frame's elements, per element.

elementColorModeoptionalobject
elementGradientoptionalobject
Nested fields and variants
FieldTypeDescription
text.*optionalstring | null
element.*optionalstring | null
elementColorMode.*optionalstring | null

Values: solid, gradient, null

elementGradient.*optionaloneOf
Variant #2
Variant #1

Resource read-only or blocked after a plan downgrade; null otherwise. Any modification then returns 402 plan_restricted.

FieldTypeDescription
stateoptionalstring

Values: restricted, blocked

sinceoptionalstring (date-time)
deletes_atoptionalstring (date-time) | null

Planned deletion; set once the resource is blocked.

Variant #2
Variant #1

Folder the resource was created in; null: at the root. Folders are not managed by the public API: the field is read-only.

FieldTypeDescription
idrequiredstring (ulid)
namerequiredstring
Variant #2
Variant #1

Custom domain on which the short URL is served, chosen at creation and never changed. null: Hyllo's domain.

FieldTypeDescription
idrequiredstring (ulid)
hostnamerequiredstring
Variant #2
Nested fields and variants
FieldTypeDescription
content.contentTyperequiredstring

Values: url, text, email, phone, sms, wifi, vcard, event, link-pages, stores, google-review, gps, file, menu

content.datarequiredobject
design.dotsoptionalobject
design.dots.typeoptionalstring

Values: dot, random-dot, rounded, extra-rounded, vertical-line, horizontal-line, classy, classy-rounded, square, small-square, tiny-square, diamond, wave, heart, star, weave, pentagon, hexagon, octagon, circuit, zebra-horizontal, zebra-vertical, blocks-horizontal, blocks-vertical, blobs, soft

design.dots.colorModeoptionalstring

Values: solid, gradient

design.dots.coloroptionalstring
design.dots.gradientoptionaloneOf
design.cornersSquareoptionalobject
design.cornersSquare.typeoptionalstring | null

Values: dot, square, extra-rounded, classy, inpoint, outpoint, center-circle, null

design.cornersSquare.colorModeoptionalstring

Values: inherit, solid, gradient

design.cornersSquare.coloroptionalstring
design.cornersSquare.gradientoptionaloneOf
design.cornersDotoptionalobject
design.cornersDot.typeoptionalstring | null

Values: dot, square, heart, extra-rounded, classy, inpoint, outpoint, star, pentagon, hexagon, octagon, diamond, null

design.cornersDot.colorModeoptionalstring

Values: inherit, solid, gradient

design.cornersDot.coloroptionalstring
design.cornersDot.gradientoptionaloneOf
design.backgroundoptionalobject
design.background.colorModeoptionalstring

Values: transparent, solid, gradient

design.background.coloroptionalstring
design.background.gradientoptionaloneOf
design.background.marginoptionalinteger
design.background.borderRadiusoptionalinteger
design.imageoptionalobject
design.image.enabledoptionalboolean
design.image.srcoptionalstring | null

URL of a file in the workspace's media library (logo).

design.image.imageSizeoptionalnumber
design.image.marginoptionalinteger
design.errorCorrectionLeveloptionalstring

Values: L, M, Q, H

design.shapeoptionalstring

Values: square, circle

options.isActiverequiredboolean
options.publishAtrequiredstring (date-time) | null
options.isScheduledrequiredboolean
options.expiresAtrequiredstring (date-time) | null
options.isExpiredrequiredboolean
options.hasPasswordrequiredboolean
options.maxVisitsrequiredinteger | null
options.countedVisitsrequiredinteger
options.isVisitLimitReachedrequiredboolean
access.is_ownerrequiredboolean

true if the token's creator created the resource.

access.can_editrequiredboolean
access.can_deleterequiredboolean
access.can_sharerequiredboolean
access.can_organizerequiredboolean
tags[]requiredany
visits_series[]requiredinteger
PaginationMeta
FieldTypeDescription
current_pagerequiredinteger
fromoptionalinteger | null
last_pagerequiredinteger
linksoptionalarray

Navigation links.

pathoptionalstring
per_pagerequiredinteger
tooptionalinteger | null
totalrequiredinteger
Nested fields and variants
FieldTypeDescription
links[]requiredobject
links[].urloptionalstring | null
links[].labeloptionalstring
links[].activeoptionalboolean
QRCodeDesign

Appearance of the QR code. On creation, all fields are required if design is provided; otherwise the default design of the token's creator (template marked as default, falling back to the base design) is applied. On update, each field is optional and merged with the existing one. Advanced options require qr.design_advanced (402 otherwise).

FieldTypeDescription
dotsoptionalobject
cornersSquareoptionalobject
cornersDotoptionalobject
backgroundoptionalobject
imageoptionalobject
errorCorrectionLeveloptionalstring

Values: L, M, Q, H

shapeoptionalstring

Values: square, circle

Nested fields and variants
FieldTypeDescription
dots.typeoptionalstring

Values: dot, random-dot, rounded, extra-rounded, vertical-line, horizontal-line, classy, classy-rounded, square, small-square, tiny-square, diamond, wave, heart, star, weave, pentagon, hexagon, octagon, circuit, zebra-horizontal, zebra-vertical, blocks-horizontal, blocks-vertical, blobs, soft

dots.colorModeoptionalstring

Values: solid, gradient

dots.coloroptionalstring
dots.gradientoptionaloneOf
cornersSquare.typeoptionalstring | null

Values: dot, square, extra-rounded, classy, inpoint, outpoint, center-circle, null

cornersSquare.colorModeoptionalstring

Values: inherit, solid, gradient

cornersSquare.coloroptionalstring
cornersSquare.gradientoptionaloneOf
cornersDot.typeoptionalstring | null

Values: dot, square, heart, extra-rounded, classy, inpoint, outpoint, star, pentagon, hexagon, octagon, diamond, null

cornersDot.colorModeoptionalstring

Values: inherit, solid, gradient

cornersDot.coloroptionalstring
cornersDot.gradientoptionaloneOf
background.colorModeoptionalstring

Values: transparent, solid, gradient

background.coloroptionalstring
background.gradientoptionaloneOf
background.marginoptionalinteger
background.borderRadiusoptionalinteger
image.enabledoptionalboolean
image.srcoptionalstring | null

URL of a file in the workspace's media library (logo).

image.imageSizeoptionalnumber
image.marginoptionalinteger
QRCodeFrame
Variant #1

Frame around the QR code; null: none. On creation, frameType, text and element are required when frame is provided; frame omitted with a design provided: no frame; omitted with design omitted: the frame of the default design. All frames require qr.frames_all (402 otherwise).

FieldTypeDescription
frameTypeoptionalstring

Frame identifier.

textoptionalobject

Frame texts, per slot.

elementoptionalobject

Values (colors…) of the frame's elements, per element.

elementColorModeoptionalobject
elementGradientoptionalobject
Nested fields and variants
FieldTypeDescription
text.*optionalstring | null
element.*optionalstring | null
elementColorMode.*optionalstring | null

Values: solid, gradient, null

elementGradient.*optionaloneOf
Variant #2
QRCode

QR code. Single-read, creation and update responses do not have visits_count; the list (QRCodeListItem) adds it.

FieldTypeDescription
idrequiredstring (ulid)
namerequiredstring
typerequiredstring

static: content encoded in the QR code; dynamic: QR code served by a short URL, editable without reprinting.

Values: static, dynamic

descriptionrequiredstring | null
contentrequiredobject
designrequiredobject

Appearance of the QR code. On creation, all fields are required if design is provided; otherwise the default design of the token's creator (template marked as default, falling back to the base design) is applied. On update, each field is optional and merged with the existing one. Advanced options require qr.design_advanced (402 otherwise).

framerequiredoneOf
optionsrequiredobject

Availability of the QR code. Protections (dates, password, limit) apply only to dynamic QR codes.

plan_restrictionrequiredoneOf
accessrequiredobject

Rights of the token's creator on the resource, depending on their role in the workspace. The public API exposes neither sharing nor filing into folders.

folderrequiredoneOf
tagsrequiredarray

Deprecated: always [].

domainrequiredoneOf
short_urlrequiredstring | null

Public short URL; null for a static QR code.

created_atrequiredstring (date-time)
updated_atrequiredstring (date-time)
Variant #1

Frame around the QR code; null: none. On creation, frameType, text and element are required when frame is provided; frame omitted with a design provided: no frame; omitted with design omitted: the frame of the default design. All frames require qr.frames_all (402 otherwise).

FieldTypeDescription
frameTypeoptionalstring

Frame identifier.

textoptionalobject

Frame texts, per slot.

elementoptionalobject

Values (colors…) of the frame's elements, per element.

elementColorModeoptionalobject
elementGradientoptionalobject
Nested fields and variants
FieldTypeDescription
text.*optionalstring | null
element.*optionalstring | null
elementColorMode.*optionalstring | null

Values: solid, gradient, null

elementGradient.*optionaloneOf
Variant #2
Variant #1

Resource read-only or blocked after a plan downgrade; null otherwise. Any modification then returns 402 plan_restricted.

FieldTypeDescription
stateoptionalstring

Values: restricted, blocked

sinceoptionalstring (date-time)
deletes_atoptionalstring (date-time) | null

Planned deletion; set once the resource is blocked.

Variant #2
Variant #1

Folder the resource was created in; null: at the root. Folders are not managed by the public API: the field is read-only.

FieldTypeDescription
idrequiredstring (ulid)
namerequiredstring
Variant #2
Variant #1

Custom domain on which the short URL is served, chosen at creation and never changed. null: Hyllo's domain.

FieldTypeDescription
idrequiredstring (ulid)
hostnamerequiredstring
Variant #2
Nested fields and variants
FieldTypeDescription
content.contentTyperequiredstring

Values: url, text, email, phone, sms, wifi, vcard, event, link-pages, stores, google-review, gps, file, menu

content.datarequiredobject
design.dotsoptionalobject
design.dots.typeoptionalstring

Values: dot, random-dot, rounded, extra-rounded, vertical-line, horizontal-line, classy, classy-rounded, square, small-square, tiny-square, diamond, wave, heart, star, weave, pentagon, hexagon, octagon, circuit, zebra-horizontal, zebra-vertical, blocks-horizontal, blocks-vertical, blobs, soft

design.dots.colorModeoptionalstring

Values: solid, gradient

design.dots.coloroptionalstring
design.dots.gradientoptionaloneOf
design.cornersSquareoptionalobject
design.cornersSquare.typeoptionalstring | null

Values: dot, square, extra-rounded, classy, inpoint, outpoint, center-circle, null

design.cornersSquare.colorModeoptionalstring

Values: inherit, solid, gradient

design.cornersSquare.coloroptionalstring
design.cornersSquare.gradientoptionaloneOf
design.cornersDotoptionalobject
design.cornersDot.typeoptionalstring | null

Values: dot, square, heart, extra-rounded, classy, inpoint, outpoint, star, pentagon, hexagon, octagon, diamond, null

design.cornersDot.colorModeoptionalstring

Values: inherit, solid, gradient

design.cornersDot.coloroptionalstring
design.cornersDot.gradientoptionaloneOf
design.backgroundoptionalobject
design.background.colorModeoptionalstring

Values: transparent, solid, gradient

design.background.coloroptionalstring
design.background.gradientoptionaloneOf
design.background.marginoptionalinteger
design.background.borderRadiusoptionalinteger
design.imageoptionalobject
design.image.enabledoptionalboolean
design.image.srcoptionalstring | null

URL of a file in the workspace's media library (logo).

design.image.imageSizeoptionalnumber
design.image.marginoptionalinteger
design.errorCorrectionLeveloptionalstring

Values: L, M, Q, H

design.shapeoptionalstring

Values: square, circle

options.isActiverequiredboolean
options.publishAtrequiredstring (date-time) | null
options.isScheduledrequiredboolean
options.expiresAtrequiredstring (date-time) | null
options.isExpiredrequiredboolean
options.hasPasswordrequiredboolean
options.maxVisitsrequiredinteger | null
options.countedVisitsrequiredinteger
options.isVisitLimitReachedrequiredboolean
access.is_ownerrequiredboolean

true if the token's creator created the resource.

access.can_editrequiredboolean
access.can_deleterequiredboolean
access.can_sharerequiredboolean
access.can_organizerequiredboolean
tags[]requiredany