---
title: "List entity qrcodes"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.sureshake.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Sureshake API › entities

`GET /v2/entities/{entityId}/qr-codes`

## Path parameters

- `entityId` (`entity-qrcodes-list.path.entityId`; string, required)
  - format `uuid`

## Query parameters

- `qrType` (`entity-qrcodes-list.query.qrType`; string, optional)
  - one of `"profile"`, `"verification"`, `"contact"`, `"claim"`, `"document"`
- `includeInactive` (`entity-qrcodes-list.query.includeInactive`; boolean, optional)
  - default `false`

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.sureshake.com/v2/entities/<entityId>/qr-codes'
```

### TypeScript

```typescript
const url = 'https://api.sureshake.com/v2/entities/<entityId>/qr-codes';
const options = {method: 'GET'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.sureshake.com/v2/entities/<entityId>/qr-codes"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

Default Response

#### Example

```json
{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5",
      "qrType": "profile",
      "uniqueCode": "string",
      "qrImageUrl": "string",
      "targetUrl": "string",
      "accessLevel": "open",
      "scanCount": 0,
      "lastScannedAt": "2019-08-24T14:15:22Z",
      "expiresAt": "2019-08-24T14:15:22Z",
      "isActive": true,
      "createdBy": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "meta": {
    "total": 0,
    "limit": 0,
    "offset": 0,
    "hasMore": true,
    "page": 0,
    "totalPages": 0
  }
}
```

- `data` (`entity-qrcodes-list.response.200.data`; array<object>, required)
  - `id` (`entity-qrcodes-list.response.200.data.id`; string, required)
    - format `uuid`
  - `entityId` (`entity-qrcodes-list.response.200.data.entityId`; string, required)
    - format `uuid`
  - `qrType` (`entity-qrcodes-list.response.200.data.qrType`; string, required)
    - one of `"profile"`, `"verification"`, `"contact"`, `"claim"`, `"document"`
  - `uniqueCode` (`entity-qrcodes-list.response.200.data.uniqueCode`; string, required)
  - `qrImageUrl` (`entity-qrcodes-list.response.200.data.qrImageUrl`; string, required, nullable)
  - `targetUrl` (`entity-qrcodes-list.response.200.data.targetUrl`; string, required)
  - `accessLevel` (`entity-qrcodes-list.response.200.data.accessLevel`; string, required)
    - one of `"open"`, `"restricted"`, `"authenticated"`
  - `scanCount` (`entity-qrcodes-list.response.200.data.scanCount`; integer, required, nullable)
  - `lastScannedAt` (`entity-qrcodes-list.response.200.data.lastScannedAt`; string, required, nullable)
    - format `date-time`
  - `expiresAt` (`entity-qrcodes-list.response.200.data.expiresAt`; string, required, nullable)
    - format `date-time`
  - `isActive` (`entity-qrcodes-list.response.200.data.isActive`; boolean, required, nullable)
  - `createdBy` (`entity-qrcodes-list.response.200.data.createdBy`; string, required, nullable)
  - `createdAt` (`entity-qrcodes-list.response.200.data.createdAt`; string, required)
    - format `date-time`
  - `updatedAt` (`entity-qrcodes-list.response.200.data.updatedAt`; string, required)
    - format `date-time`
- `meta` (`entity-qrcodes-list.response.200.meta`; object, required)
  - `total` (`entity-qrcodes-list.response.200.meta.total`; number, required) — Total number of items available
  - `limit` (`entity-qrcodes-list.response.200.meta.limit`; number, required) — Number of items per page
  - `offset` (`entity-qrcodes-list.response.200.meta.offset`; number, required) — Number of items skipped
  - `hasMore` (`entity-qrcodes-list.response.200.meta.hasMore`; boolean, required) — Whether more items are available
  - `page` (`entity-qrcodes-list.response.200.meta.page`; number, optional) — Current page number
  - `totalPages` (`entity-qrcodes-list.response.200.meta.totalPages`; number, optional) — Total number of pages

### 400

Default Response

#### Example

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "traceId": "string"
  }
}
```

- `error` (`entity-qrcodes-list.response.400.error`; object, required)
  - `code` (`entity-qrcodes-list.response.400.error.code`; string, required) — Machine-readable error code (e.g., NOT_FOUND)
  - `message` (`entity-qrcodes-list.response.400.error.message`; string, required) — Human-readable error message
  - `details` (`entity-qrcodes-list.response.400.error.details`; unknown, optional) — Optional structured error details
  - `traceId` (`entity-qrcodes-list.response.400.error.traceId`; string, optional) — Unique ID for log correlation

### 401

Default Response

#### Example

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "traceId": "string"
  }
}
```

- `error` (`entity-qrcodes-list.response.401.error`; object, required)
  - `code` (`entity-qrcodes-list.response.401.error.code`; string, required) — Machine-readable error code (e.g., NOT_FOUND)
  - `message` (`entity-qrcodes-list.response.401.error.message`; string, required) — Human-readable error message
  - `details` (`entity-qrcodes-list.response.401.error.details`; unknown, optional) — Optional structured error details
  - `traceId` (`entity-qrcodes-list.response.401.error.traceId`; string, optional) — Unique ID for log correlation

### 403

Default Response

#### Example

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "traceId": "string"
  }
}
```

- `error` (`entity-qrcodes-list.response.403.error`; object, required)
  - `code` (`entity-qrcodes-list.response.403.error.code`; string, required) — Machine-readable error code (e.g., NOT_FOUND)
  - `message` (`entity-qrcodes-list.response.403.error.message`; string, required) — Human-readable error message
  - `details` (`entity-qrcodes-list.response.403.error.details`; unknown, optional) — Optional structured error details
  - `traceId` (`entity-qrcodes-list.response.403.error.traceId`; string, optional) — Unique ID for log correlation

### 404

Default Response

#### Example

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "traceId": "string"
  }
}
```

- `error` (`entity-qrcodes-list.response.404.error`; object, required)
  - `code` (`entity-qrcodes-list.response.404.error.code`; string, required) — Machine-readable error code (e.g., NOT_FOUND)
  - `message` (`entity-qrcodes-list.response.404.error.message`; string, required) — Human-readable error message
  - `details` (`entity-qrcodes-list.response.404.error.details`; unknown, optional) — Optional structured error details
  - `traceId` (`entity-qrcodes-list.response.404.error.traceId`; string, optional) — Unique ID for log correlation

### 500

Default Response

#### Example

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "traceId": "string"
  }
}
```

- `error` (`entity-qrcodes-list.response.500.error`; object, required)
  - `code` (`entity-qrcodes-list.response.500.error.code`; string, required) — Machine-readable error code (e.g., NOT_FOUND)
  - `message` (`entity-qrcodes-list.response.500.error.message`; string, required) — Human-readable error message
  - `details` (`entity-qrcodes-list.response.500.error.details`; unknown, optional) — Optional structured error details
  - `traceId` (`entity-qrcodes-list.response.500.error.traceId`; string, optional) — Unique ID for log correlation

### 503

Default Response

#### Example

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "traceId": "string"
  }
}
```

- `error` (`entity-qrcodes-list.response.503.error`; object, required)
  - `code` (`entity-qrcodes-list.response.503.error.code`; string, required) — Machine-readable error code (e.g., NOT_FOUND)
  - `message` (`entity-qrcodes-list.response.503.error.message`; string, required) — Human-readable error message
  - `details` (`entity-qrcodes-list.response.503.error.details`; unknown, optional) — Optional structured error details
  - `traceId` (`entity-qrcodes-list.response.503.error.traceId`; string, optional) — Unique ID for log correlation


Source: https://docs.sureshake.com/reference/entity-qrcodes-list/index.md
