Jump to content

API registervpnwgdevice

From Wiki 7Kas

7Kas VoIP REST API function. Available to: SuperRoot, Operator, Client.

Description

Registers a non-SSIP VPN WireGuard device, authenticated by (host, password) of the VPN pair (voip_vtun). No role gate.

Call

GET  …/7Kas?func=registervpnwgdevice&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).
wg_pubkey string Yes Device WireGuard public key (max 44).

Example

https://api.7kas.com:9080/7Kas?func=registervpnwgdevice&ukey=KEY&host=h1&password=PASS&wg_pubkey=...

Response

Object confirming registration.


Back to API VoIP · ▶ Try it live · Profiles: API profile SuperRoot, API profile Operator, API profile Client (of operator), API profile Client (direct)