> For the complete documentation index, see [llms.txt](https://docs.mod91.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mod91.io/mod91-webview-sdk/api-reference/pagesapi.md).

# PagesAPI

Docs for PagesAPI methods

### 1. openQrPageWithShortCode

```typescript
openQrPageWithShortCode(qrPageShortCodeData: QrPageWithShortCodeParams): Promise<void>
```

Open page with QR Code with download link to download content.

***

Accepts `QrPageWithShortCodeParams` :&#x20;

`isDirectDownload : boolean` : `true` if download link directly downlaods to device, `false` if a page is to be opened for downlaod.

`url : string` : Url for the downlaodable content

`code : string | null | undefined` : Short code to be provided if using mod91 download page.&#x20;
