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

# QR Code

## GET /api/v1/verifier/qr-codes/{id}

> Retrieves a QR code by its ID.\
> \
> Returns the QR code data as a string, which contains a data URI with base64-encoded\
> image data. This QR code encodes a URL pointing to an authorization request that\
> specifies what credentials a verifier is requesting from a user's wallet.

```json
{"openapi":"3.0.0","info":{"title":"verifier-service","version":"1.0.0-rc1"},"servers":[{"url":"/"}],"security":[],"paths":{"/api/v1/verifier/qr-codes/{id}":{"get":{"operationId":"GetQrCodeById","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{}}}}},"description":"Retrieves a QR code by its ID.\n\nReturns the QR code data as a string, which contains a data URI with base64-encoded\nimage data. This QR code encodes a URL pointing to an authorization request that\nspecifies what credentials a verifier is requesting from a user's wallet.","tags":["QR Code"],"parameters":[{"description":"- The unique identifier of the QR code to retrieve","in":"path","name":"id","required":true,"schema":{"type":"string"}}]}}}}
```

## DELETE /api/v1/verifier/qr-codes/{id}

> Deletes a QR code by its ID.\
> \
> QR codes are typically deleted after the authorization process is complete\
> and the verification flow has concluded, as they are no longer needed.

```json
{"openapi":"3.0.0","info":{"title":"verifier-service","version":"1.0.0-rc1"},"servers":[{"url":"/"}],"security":[{"clientSecret":[]}],"components":{"securitySchemes":{"clientSecret":{"type":"apiKey","name":"x-client-secret","in":"header"}}},"paths":{"/api/v1/verifier/qr-codes/{id}":{"delete":{"operationId":"DeleteQrCode","responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{}}}}},"description":"Deletes a QR code by its ID.\n\nQR codes are typically deleted after the authorization process is complete\nand the verification flow has concluded, as they are no longer needed.","tags":["QR Code"],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}]}}}}
```

## GET /api/v1/verifier/qr-codes/image

> Displays a QR code image from a URL.\
> Fetches the QR code data from the provided URL, processes it, and returns the image.\
> \
> This endpoint allows client applications to display the QR code directly in browsers\
> or applications. When scanned by a user's wallet app, this QR code initiates the\
> credential verification flow by connecting the wallet to the authorization request.\
> The wallet can then retrieve the presentation definition that specifies what\
> credentials the verifier is requesting.

```json
{"openapi":"3.0.0","info":{"title":"verifier-service","version":"1.0.0-rc1"},"servers":[{"url":"/"}],"security":[],"paths":{"/api/v1/verifier/qr-codes/image":{"get":{"operationId":"GetQrCodeAsImage","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"byte"}}}}},"description":"Displays a QR code image from a URL.\nFetches the QR code data from the provided URL, processes it, and returns the image.\n\nThis endpoint allows client applications to display the QR code directly in browsers\nor applications. When scanned by a user's wallet app, this QR code initiates the\ncredential verification flow by connecting the wallet to the authorization request.\nThe wallet can then retrieve the presentation definition that specifies what\ncredentials the verifier is requesting.","tags":["QR Code"],"parameters":[{"in":"query","name":"url","required":true,"schema":{"type":"string"}}]}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.empe.io/develop/verifier/api-reference/qr-code.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
