Create many codes
Up to the plan's batch size per call (see limits.bulkBatch on GET /me), all into one folder, all or nothing. Send csv to import a file as the dashboard would; dryRun: true returns a preview with a previewHash to confirm with. Ten batches per ten minutes per key; dry runs are free.
Authorization
apiKey An API key from Settings, Developers: Authorization: Bearer kc_live_...
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/codes/bulk" \ -H "Content-Type: application/json" \ -d '{}'{ "preview": true, "kind": "website", "rows": 0, "sample": [ { "name": "string", "url": "string" } ], "errors": [ "string" ], "quota": { "limit": 0, "used": 0, "remaining": 0, "fits": true }, "batchLimit": 0, "over": 0, "design": { "kind": "auto" }, "previewHash": "string"}Create a code POST
Creates a dynamic KuikCode. The destination is a URL, a KuikPage, or smart rules (PRO) that send scans to different places by device, country, language, time, date, weekday, scan count or location. Send an `Idempotency-Key` header to make retries safe.
Update many codes PATCH
Repoint, refile, retag or archive up to 100 codes in one call. Ids from other workspaces are skipped silently.