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.

ParameterStateDescription
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
dataRequiredURL encoded string.

Wi-Fi Protocol

Generates native OS Wi-Fi connection prompt.

?type=wifi&ssid=MyNet&pass=1234
ssidRequiredNetwork name.
passOptionalNetwork password.
encOptionalWPA, WEP, or nopass.
hiddenOptional'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
fnRequiredFirst Name.
lnOptionalLast Name.
mobOptionalMobile Phone.
workOptionalWork Phone.
emailOptionalEmail Address.
compOptionalCompany Name.
titleOptionalJob Title.
vurlOptionalWebsite.
adrOptionalPhysical Address.

Email Draft

Opens native mail client with draft.

?type=email&to=dev@silasyn.com
toRequiredRecipient email.
subOptionalSubject line.
bodyOptionalMessage body.

Direct Messaging

Initiates WhatsApp or SMS thread.

?type=whatsapp&to=1234567890
typeReqwhatsapp or sms.
toReqTarget Phone Number.
msgOptPre-filled message text.

Calendar Event (iCal)

Schedules a local calendar event on the scanning device.

?type=event&title=Meeting&start=20261231T235900Z
titleRequiredEvent Name.
startRequiredStart time (Format: YYYYMMDDTHHMMSSZ).
endOptionalEnd time (Format: YYYYMMDDTHHMMSSZ).
locOptionalPhysical or virtual location.

UPI Payment

?type=upi&vpa=name@bank
vpaRequiredUPI ID.
nameOptionalPayee Name.

Cryptocurrency

?type=crypto&addr=0x...
addrRequiredWallet Address.
coinOptionalbitcoin, ethereum, etc. Default: bitcoin.

Geolocation

?type=location&lat=40.7128&lng=-74.0060
latRequiredLatitude Coordinates.
lngRequiredLongitude Coordinates.