Welcome to the QR100 API documentation. Here you can find your API token and instructions for using the API endpoints.
Create a new short URL with QR code.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
targetContent |
string | Yes | Target URL to shorten | N/A |
name |
string | No | Name for the short URL | First 20 characters of targetContent |
style |
object | No | QR code style configuration | N/A |
style.size |
number | No | QR code size (must be 128, 256, 512, or 1024) | 512 |
style.fgColor |
string | No | Foreground color (must be hex format like #000000) | #000000 |
style.bgColor |
string | No | Background color (must be hex format like #ffffff) | #ffffff |
style.iconUrl |
string | No | Icon URL | undefined |
style.showUrl |
boolean | No | Whether to show URL in QR code | true |
New record response:
Existing record response:
Retrieve short URL data and QR code.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
qrPhoto |
boolean | No | Whether to generate and return QR code PNG file | false |
Response without QR code (default):
Response with QR code (when qrPhoto=true):
Update short URL data.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
targetContent |
string | No | Target URL to shorten | Existing value |
isDelete |
boolean | No | Whether to mark as deleted | Existing value |
isAccelerated |
boolean | No | Whether to enable acceleration | Existing value |
style |
object | No | QR code style configuration | N/A |
style.size |
number | No | QR code size (must be 128, 256, 512, or 1024) | Existing value or 512 |
style.fgColor |
string | No | Foreground color (must be hex format like #000000) | Existing value or #000000 |
style.bgColor |
string | No | Background color (must be hex format like #ffffff) | Existing value or #ffffff |
style.iconUrl |
string | No | Icon URL | Existing value |
style.showUrl |
boolean | No | Whether to show URL in QR code | Existing value or true |