Integrate Qryx’s robust QR Code generation and URL Shortener capabilities directly into your own applications.
The Qryx API is organized around REST. All API requests must be sent securely via HTTPS. Our API has predictable, resource-oriented URLs and uses standard HTTP response codes, authentication, and verbs.
https://www.qryx.in/api/v1
| Method | Usage |
|---|---|
| GET | Retrieve a resource or a list of resources. |
| POST | Create a new resource. |
| PUT | Update an existing resource. |
| DELETE | Remove a resource. |
The Qryx API uses API keys to authenticate requests. You can view and manage your API key under the **API Integration** section in your dashboard. Your API key is secret, so please do not share it or expose it in client-side code.
All API requests must include the API key in the request headers:
{
"success": false,
"error": "Invalid API Key."
}
Retrieve a list of all QR Codes created by your authenticated account.
Retrieve the configurations and details of a single QR Code by its numeric ID.
Create a new static or dynamic QR Code. The request body must contain JSON or form data parameters.
name (string, Required) - Label for identification.type (string, Required) - "Static" or "Dynamic".format (string, Required) - "URL", "Text", "Phone", or "Email".destinationUrl (string, Optional) - Target URL (required for Dynamic Type).staticContent (string, Optional) - Content to encode (required for Static Type).Update fields on an existing QR Code. Dynamic codes can update the `destinationUrl` if supported by your subscription plan.
Delete a QR Code permanetly from your account.
curl -X POST "https://www.qryx.in/api/v1/qrcodes" \
-H "X-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"name": "My API QR",
"type": "Dynamic",
"format": "URL",
"destinationUrl": "https://example.com"
}'
fetch("https://www.qryx.in/api/v1/qrcodes", {
method: 'POST',
headers: {
'X-API-KEY': 'your_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'My API QR',
type: 'Dynamic',
format: 'URL',
destinationUrl: 'https://example.com'
})
})
.then(res => res.json())
.then(data => console.log(data));
import requests
url = "https://www.qryx.in/api/v1/qrcodes"
headers = {
"X-API-KEY": "your_api_key",
"Content-Type": "application/json"
}
payload = {
"name": "My API QR",
"type": "Dynamic",
"format": "URL",
"destinationUrl": "https://example.com"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
Retrieve a list of all shortened links created by your authenticated account.
Retrieve details of a single shortened link by its numeric ID.
Create a new shortened URL redirection link.
destinationUrl (string, Required) - Target URL to redirect to.name (string, Optional) - Custom label for this shortened URL.Update configurations (name, status, target URL) of an existing short link.
Delete a shortened URL link.
curl -X POST "https://www.qryx.in/api/v1/shorturls" \
-H "X-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"destinationUrl": "https://example.com",
"name": "Promo Short Link"
}'
fetch("https://www.qryx.in/api/v1/shorturls", {
method: 'POST',
headers: {
'X-API-KEY': 'your_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
destinationUrl: 'https://example.com',
name: 'Promo Short Link'
})
})
.then(res => res.json())
.then(data => console.log(data));
import requests
url = "https://www.qryx.in/api/v1/shorturls"
headers = {
"X-API-KEY": "your_api_key",
"Content-Type": "application/json"
}
payload = {
"destinationUrl": "https://example.com",
"name": "Promo Short Link"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())