v1

latestOpenAPI 3.1.0AGPL-3.02026-07-1317522.1 KB

Create up to 200 dynamic codes at once

Each code consumes one unit of the rolling code-creation rate limit (20/hour, per user). If the number of codes in the request exceeds the remaining budget the whole request is rejected with 429 (nothing is created); otherwise the 201 response carries X-RateLimit-* headers reflecting the consumed budget.

post/v1/dynamic/bulk

Request body

themestring

A saved theme id or name applied to every code created.

Response

Created.

Example response

{
  "created": [
    {
      "id": "9f8b2c1a-4e7d-4a90-b2f1-0c3d5e6a7b8c",
      "slug": "spring-menu",
      "short_url": "https://oqr.to/spring-menu",
      "destination": "https://example.com/menu"
    }
  ]
}