---
title: "Create a dynamic QR code"
method: POST
path: "/api/qr"
---

# Create a dynamic QR code

`POST /api/qr`

## Request

- Base URL: `https://app.whooshly.co`
- URL: `https://app.whooshly.co/api/qr`
- Auth: HTTP bearer

## Request body

- object
  - `destination` string, uri, required: http(s) URL
  - `slug` string
  - `title` string
  - `tags` string[]
  - `style` QrStyle
    - `fg` string
    - `bg` string
    - `margin` integer

## Response `201`

Created

## Other responses

- `402`: Error — `error` is a stable code. Common: core_locked (account hasn't purchased — buy at the app), pro_required (feature needs Pro), slug_taken, limit_reached, not_found, rate_limited, invalid (see issues).

---

[API](https://skmtc.dev/whooshly/apis/whooshly-api.md) · [All operations](https://skmtc.dev/whooshly/apis/whooshly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whooshly/apis/whooshly-api/revisions/ccdcdffb18d5?raw)
