API getvpnwgconfig
Appearance
7Kas VoIP REST API function. Available to: SuperRoot, Operator, Client.
Description
Returns the WireGuard config for a non-SSIP VPN device, authenticated by (host, password) of the VPN pair. No role gate.
Call
GET …/7Kas?func=getvpnwgconfig&ukey=YOUR_KEY&…
Requires the ukey parameter.
Parameters
| Parameter | Type | Required | Default | Meaning |
|---|---|---|---|---|
host |
string | Yes | — | VPN host id (max 32). |
password |
string | Yes | — | VPN password (max 128). |
Example
https://api.7kas.com:9080/7Kas?func=getvpnwgconfig&ukey=KEY&host=h1&password=PASS
Response
Object/records with the WireGuard configuration.
Back to API VoIP · ▶ Try it live · Profiles: API profile SuperRoot, API profile Operator, API profile Client (of operator), API profile Client (direct)