KuikCodeDocs
APIReferenceCodes

Get a code

GET
/codes/{id}

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.

AuthorizationBearer <token>

An API key from Settings, Developers: Authorization: Bearer kc_live_...

In: header

Path Parameters

id*string
Length1 <= length

Response Body

application/json

application/json

curl -X GET "https://example.com/codes/string"
{  "id": "string",  "shortCode": "string",  "name": "string",  "scanUrl": "string",  "destination": {    "type": "string",    "url": "string",    "pageId": "string",    "summary": "string"  },  "folderId": "string",  "tags": [    "string"  ],  "archived": true,  "hasAccessCode": true,  "previewUrl": "string",  "scans": 0,  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}