> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/asset/_getqrcode.md).

# \_getQrCode

Returns the QR code of the specified Asset.

### Parameters

#### id

The ID of the Asset.

### Example

```
FM_api('Asset_getQrCode', ['id' => '1']);
```

### Result

#### On Success

An image displaying the QR code in PNG format.

#### On Failure

If the User is not logged in:

```
{'error':'not logged in'}
```
