Create QR code
spur_create_qr_codeCreate a tracked QR code that sends scans to destination_url. Then add it to a postcard back with spur_add_postcard_qr_code; each mailed postcard gets its own code under it so scans are tracked per recipient.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label shown in Spur, e.g. 'Spring cash offer' | |
| destination_url | Yes | Where a scan sends people, e.g. https://acme.example/offer (https:// is added if missing) | |
| background_color | No | Hex color, e.g. #111827. Keep strong contrast with the background so phones can scan it | |
| foreground_color | No | Hex color, e.g. #111827. Keep strong contrast with the background so phones can scan it |