---
title: "Get QR-only shared code REST API | HitKeep"
description: "Reference for the HitKeep REST API operation Get QR-only shared code, including request parameters, responses, and authentication notes."
canonical: "https://hitkeep.com/api/operations/apiqr-sharetokenqr-code/"
---

# Get QR-only shared code REST API

GET

/api/qr-share/{token}/qr-code

FetchcURL

```
const url = 'http://127.0.0.1:25737/api/qr-share/example/qr-code';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```
curl --request GET \
  --url http://127.0.0.1:25737/api/qr-share/example/qr-code
```

-

Returns the single QR code exposed by a QR-only share link.

## Parameters

### Path Parameters

**token**

required

string

## Responses

### 200

QR code

application/json

object

**archived_at**

string format: date-time

**created_at**

string format: date-time

**created_by**

string format: uuid

**custom_params**

object

***key***

additional properties

string

**destination_url**

string format: uri

**has_asset**

boolean

**id**

string format: uuid

**name**

string

**redirect_url**

Dynamic HitKeep redirect URL to encode in printed QR assets.

string format: uri

**site_id**

string format: uuid

**style**

object

***key***

additional properties

any

**token_hint**

string

**updated_at**

string format: date-time

**utm_campaign**

string

**utm_content**

string

**utm_medium**

string

**utm_source**

string

**utm_term**

string

##### Examplegenerated

```
{
  "archived_at": "2026-04-15T12:00:00Z",
  "created_at": "2026-04-15T12:00:00Z",
  "created_by": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
  "custom_params": {
    "additionalProperty": "example"
  },
  "destination_url": "https://example.com",
  "has_asset": true,
  "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
  "name": "example",
  "redirect_url": "https://example.com",
  "site_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
  "style": {},
  "token_hint": "example",
  "updated_at": "2026-04-15T12:00:00Z",
  "utm_campaign": "example",
  "utm_content": "example",
  "utm_medium": "example",
  "utm_source": "example",
  "utm_term": "example"
}
```

### 404

Not found

application/json

object

**message**

string

##### Examplegenerated

```
{
  "message": "example"
}
```

[Previous Overview](https://hitkeep.com/api/operations/tags/share/)[Next Get QR-only shared asset](https://hitkeep.com/api/operations/apiqr-sharetokenqr-codeasset/)
