# QRCode Generator API

QR Code Generation API

A **QR Code Generating API** creates QR codes from text, URLs, or other data. It offers customization options like size, color, and format, along with features like error correction, dynamic QR codes (content updates), and scan tracking. It's ideal for sharing information and enhancing user access in apps or marketing.

## **Base URL**

```
https://santechapi.vercel.app
```

### Authentication

```
headers : {
"token" : {YOUR API KEY}
}
```

**Endpoint : `/`**`qrcode/{:q}`

*HTTP Method: `Get`*

**Example request**

```
GET /qrcode/hello
```

Example Response

`200`

<figure><img src="/files/WQEny5GYmbIfPTULu43p" alt=""><figcaption></figcaption></figure>

### Error Handling

In case of an error, the API will respond with an appropriate HTTP status code and an error message in the response body.

`400`

```
 {
message: "param required for generate qr code"
}
```


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://santech.gitbook.io/docs/qrcode-generator-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
