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

# Export QR-only shared takeout REST API

GET

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

FetchcURL

```
const url = 'http://127.0.0.1:25737/api/qr-share/example/qr-code/takeout?format=xlsx';
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/takeout?format=xlsx'
```

-

Exports one QR code’s definition, opens, and scoped analytics through a QR-only share link.

## Parameters

### Path Parameters

**token**

required

string

### Query Parameters

**format**

string

Allowed values: xlsx csv parquet json ndjson

Export format. Supported values: xlsx, csv, parquet, json, ndjson. Defaults: xlsx for takeout endpoints, csv for hits export endpoints.

## Responses

### 200

Export file stream

[Previous Get QR-only shared summary](https://hitkeep.com/api/operations/apiqr-sharetokenqr-codesummary/)[Next Get shared site](https://hitkeep.com/api/operations/apisharetokensite/)
