APIReferenceCodes
Update many codes
Repoint, refile, retag or archive up to 100 codes in one call. Ids from other workspaces are skipped silently.
Authorization
apiKey AuthorizationBearer <token>
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
curl -X PATCH "https://example.com/codes/bulk" \ -H "Content-Type: application/json" \ -d '{ "ids": [ "string" ] }'{ "updated": 0, "failed": [ { "id": "string", "error": "string" } ]}Create many codes POST
Up to the plan's batch size per call (see `limits.bulkBatch` on GET /me), all into one folder, all or nothing. Ten batches per ten minutes per key.
Get a code GET
One code with its destination, folder and tags. `scans` is only filled on the list; use GET /codes/{id}/scans or GET /analytics/summary for counts.