Advanced REST API
Silasyn Backend.
Omni-Channel Endpoints.
Access the server-side generation engine programmatically. The API has been upgraded to natively construct complex payloads (vCard, Wi-Fi, Events) entirely via GET parameters.
GET https://silasyn.com/tools/qr/api/api.php
Global Output Configurations
These standard parameters control the physical rendering of the matrix and can be appended to any endpoint request.
| Parameter | State | Description |
|---|---|---|
size |
Optional | Scale factor representing matrix resolution (1 to 40). Default: 10. |
level |
Optional | Error correction capability: L (7%), M (15%), Q (25%), or H (30%). Default: H. |
format |
Optional | Output routing: png (returns raw image stream) or json (returns Base64 payload wrapper). Default: png. |
margin |
Optional | White border thickness (quiet zone) around the matrix. Default: 2. |
Payload Construction Endpoints
Define the generation protocol by utilizing the type parameter.
Raw String / URL
Default protocol. Converts directly provided string or URL.
?type=raw&data=https://silasyn.com
data | Required | URL encoded string. |
Wi-Fi Protocol
Generates native OS Wi-Fi connection prompt.
?type=wifi&ssid=MyNet&pass=1234
ssid | Required | Network name. |
pass | Optional | Network password. |
enc | Optional | WPA, WEP, or nopass. |
hidden | Optional | 'true' or 'false'. |
vCard (Digital Contact)
Automatically adds a rich contact to the scanner's phonebook.
?type=vcard&fn=Aadvit&ln=More&mob=+91...&comp=Silasyn
fn | Required | First Name. |
ln | Optional | Last Name. |
mob | Optional | Mobile Phone. |
work | Optional | Work Phone. |
email | Optional | Email Address. |
comp | Optional | Company Name. |
title | Optional | Job Title. |
vurl | Optional | Website. |
adr | Optional | Physical Address. |
Email Draft
Opens native mail client with draft.
?type=email&to=dev@silasyn.com
to | Required | Recipient email. |
sub | Optional | Subject line. |
body | Optional | Message body. |
Direct Messaging
Initiates WhatsApp or SMS thread.
?type=whatsapp&to=1234567890
type | Req | whatsapp or sms. |
to | Req | Target Phone Number. |
msg | Opt | Pre-filled message text. |
Calendar Event (iCal)
Schedules a local calendar event on the scanning device.
?type=event&title=Meeting&start=20261231T235900Z
title | Required | Event Name. |
start | Required | Start time (Format: YYYYMMDDTHHMMSSZ). |
end | Optional | End time (Format: YYYYMMDDTHHMMSSZ). |
loc | Optional | Physical or virtual location. |
UPI Payment
?type=upi&vpa=name@bank
vpa | Required | UPI ID. |
name | Optional | Payee Name. |
Cryptocurrency
?type=crypto&addr=0x...
addr | Required | Wallet Address. |
coin | Optional | bitcoin, ethereum, etc. Default: bitcoin. |
Geolocation
?type=location&lat=40.7128&lng=-74.0060
lat | Required | Latitude Coordinates. |
lng | Required | Longitude Coordinates. |