Generate QR Code
onesimpleapi.qr_code
ActionBusiness appsconnection required
Calls the One Simple API API with the connection's credentials.
Generate a QR code image and return its URL.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- One Simple API
- Secret shape
- the API token, or {"api_token": "…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
5 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
message What the code should carry: a link, a phone number or plain text. | string | Yes | — | — | https://www.google.com |
size How large the generated code should be. | string | No | — | one of "small", "medium", "large" | — |
image_format Whether to generate a PNG image or an SVG vector. | string | No | png | one of "png", "svg" | — |
color Foreground colour, as a hex value, an rgb(…) value or an rgba(…) value. | string | No | — | — | #000000 |
background_color Background colour, as a hex value, an rgb(…) value or an rgba(…) value. | string | No | — | — | rgb(255,255,255) |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"background_color": "rgb(255,255,255)",
"color": "#000000",
"image_format": "png",
"message": "https://www.google.com"
}Output
One shape.
result
The provider's response object, as returned.
Extra keys beyond the ones listed can appear.
{}Related One Simple API nodes
See Generate QR Code run in a workflow.
In a technical demo we add the One Simple API connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.