Back to all tools
Free / no key

QR code

The API returns an image. Share the image URL (the same create-qr-code URL with the customer’s data) so they can scan it.

What this tool does

Some things are easier to scan than to tap: a check-in code, a Wi-Fi password or a link to show at the front desk. This tool builds a QR code from any text or link using the free QR Server API and gives your agent an image link to share. The customer opens it and scans it with another device, or shows it at reception. No key is needed. Avoid putting private information into a QR code, because the data is part of the image link.

Who uses it

  • Gyms and studios sending check-in codes for classes.
  • Event organisers sharing ticket or registration codes.
  • Restaurants and cafés sharing menu or Wi-Fi codes on WhatsApp.

Setup

  1. Open Create agent or Edit agent and add a custom tool.
  2. Copy the fields below into the form. No API key is required.
  3. In your prompt, tell the agent to share the QR image URL with the customer after generating it.

Copy into custom tool form

Copy each value into the matching field when you add a custom tool on the create or edit agent page. Replace any YOUR_… placeholders with your real credentials.

Tool name

generate_qr_code

Description

Build a QR code image URL for a link or text using the free QR Server API. Share the resulting image URL (or the same query URL) with the customer so they can scan it.

Endpoint URL

Paste into Endpoint URL (https:// is added automatically).

api.qrserver.com/v1/create-qr-code/

HTTP method

GET

Tool inputs (all)

1. data (string) URL or text to encode in the QR code

Tool input: data

Input name

data

Input type

string

Input description

URL or text to encode in the QR code

Reference value

Use this as the request query or body value and choose “Tool input” in the form.

{{data}}

Request query (all)

data: {{data}} size: 250x250

Field name

data

Field value

{{data}}

Field name

size

Field value

250x250