Qrindo
v0.2.3Create, re-point and analyze dynamic QR codes and short links.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
whoami
Describe the API key in use: whether it is workspace- or account-scoped, which workspace is resolved, the role and the granted scopes. Call this first when unsure what the key can reach.
| Parameter | Type | Description |
|---|---|---|
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
list_workspaces
List the workspaces this key can act in, with each one's environment (production, staging, testing, development). An account key lists only what it may act on: a live key its production workspaces, a test key their environments. A workspace-scoped key sees only its own.
create_workspace
Create a new workspace owned by this account, or a staging, testing or development environment of a production workspace (pass environment and environment_of). Requires an account-scoped live key. A workspace counts against the plan's workspace limit; an environment does not, and shares its production workspace's plan.
| Parameter | Type | Description |
|---|---|---|
name * | string | Display name for the workspace |
environment | string | Create an environment instead of a workspace |
environment_of | string | The production workspace the environment belongs to |
get_workspace
Get one workspace by id.
| Parameter | Type | Description |
|---|---|---|
id * | string | Workspace id |
update_workspace
Rename a workspace.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
name * | string |
get_workspace_settings
Read a workspace's settings: QR defaults, tracking, white-label, lead access and company profile.
| Parameter | Type | Description |
|---|---|---|
id * | string |
update_workspace_settings
Change a workspace's settings. Pass only the blocks you want to change.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
company | object | |
lead_access | object | |
qr_defaults | object | |
tracking | object | |
white_label | object |
get_workspace_usage
Current-month usage and quota for a workspace.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
month | string | YYYY-MM, defaults to this month |
list_members
List the members of a workspace and their roles.
| Parameter | Type | Description |
|---|---|---|
id * | string |
create_link
Create a dynamic short link / QR code. Supports every content type (url, wifi, vcard, menu, event, ...), QR styling, folders, tags, targeting rules, scheduling and a password. Returns the link including its short code and URL.
| Parameter | Type | Description |
|---|---|---|
brand_kit_id | ||
code | string | Custom short code (otherwise auto-generated) |
content_data | object | Payload for non-url types, e.g. wifi { ssid, password }, vcard { firstName, ... } |
content_type | string | Defaults to url |
destination | string | Target URL. Required for a url link, omit for other content types. |
domain | Custom domain (id or hostname) to print the code with; null for the platform host; omit for the workspace default | |
expires_at | ISO 8601; the code stops resolving after it | |
folder_id | ||
password | string | |
qr_bg_color | string | |
qr_color | string | |
qr_eye_ball_color | string | |
qr_eye_color | string | |
qr_eye_shape | string | |
qr_gradient_from | string | |
qr_gradient_to | string | |
qr_logo | string | |
qr_logo_shape | string | |
qr_shape | string | |
rules | array | Targeting rules, e.g. [{ condition: "device:ios", target_url: "https://..." }] for geo/device/time routing. target_url is an http(s) URL or an app scheme (myapp://path). |
seo | object | |
start_at | ISO 8601; the code does not resolve before it | |
tags | array | |
title | string | |
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
update_link
Update a link. Most commonly re-pointing its destination; the printed QR keeps working. Can also restyle the QR, change content, retarget, reschedule or set a password.
| Parameter | Type | Description |
|---|---|---|
code * | string | The short code of the link |
active | boolean | |
add_tags | array | |
brand_kit_id | ||
content_data | object | Payload for non-url types, e.g. wifi { ssid, password }, vcard { firstName, ... } |
content_type | string | Defaults to url |
destination | string | New target URL |
domain | Custom domain (id or hostname) to print the code with; null for the platform host; omit for the workspace default | |
expires_at | ISO 8601; the code stops resolving after it | |
folder_id | ||
password | string | |
qr_bg_color | string | |
qr_color | string | |
qr_eye_ball_color | string | |
qr_eye_color | string | |
qr_eye_shape | string | |
qr_gradient_from | string | |
qr_gradient_to | string | |
qr_logo | string | |
qr_logo_shape | string | |
qr_shape | string | |
remove_tags | array | |
rules | array | Targeting rules, e.g. [{ condition: "device:ios", target_url: "https://..." }] for geo/device/time routing. target_url is an http(s) URL or an app scheme (myapp://path). |
seo | object | |
start_at | ISO 8601; the code does not resolve before it | |
tags | array | |
title | string | |
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
get_link
Get one link by its short code.
| Parameter | Type | Description |
|---|---|---|
code * | string | |
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
list_links
List links in the workspace (most recent first), with optional filters.
| Parameter | Type | Description |
|---|---|---|
content_type | string | |
folder_id | string | |
limit | integer | |
search | string | Filter by code/title/destination |
sort | string | |
status | string | |
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
link_stats
Get scan totals and the scans-over-time series for a link. Country, device, OS and browser breakdowns are a separate endpoint and are NOT returned here.
| Parameter | Type | Description |
|---|---|---|
code * | string | |
period | string | Lookback window (default 7d). The only accepted values. |
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
render_qr
Render a QR code image for a link and return it as an image. Formats: png, svg, pdf, eps.
| Parameter | Type | Description |
|---|---|---|
code * | string | |
format | string | Defaults to png |
size | integer | |
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
list_folders
List the workspace's folders.
| Parameter | Type | Description |
|---|---|---|
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
create_folder
Create a folder to organise links.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
move_link_to_folder
Move a link into a folder, or out of every folder by passing folder_id null.
| Parameter | Type | Description |
|---|---|---|
code * | string | |
folder_id * | string | null | |
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
list_brand_kits
List the workspace's brand kits.
| Parameter | Type | Description |
|---|---|---|
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
create_brand_kit
Create a brand kit (colours, logo, fonts) that links can be styled from.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
list_qr_designs
List the workspace's saved QR designs.
| Parameter | Type | Description |
|---|---|---|
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
create_qr_design
Save a reusable QR design.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
qr_bg_color | string | |
qr_color | string | |
qr_eye_ball_color | string | |
qr_eye_color | string | |
qr_eye_shape | string | |
qr_gradient_from | string | |
qr_gradient_to | string | |
qr_logo | string | |
qr_logo_shape | string | |
qr_shape | string | |
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
list_domains
List the workspace's custom short-link domains and their verification state.
| Parameter | Type | Description |
|---|---|---|
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |
upload_asset
Upload a local file (PDF, image, ...) and get an asset id to use as a `file` or `asset` link's content_data.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the local file |
workspace_id | string | Workspace to act in. Required for an account-scoped key unless QRINDO_WORKSPACE_ID is set. |