API registerwgdevice
Appearance
7Kas VoIP REST API function. Available to: SuperRoot, Operator.
Description
Registers an SSIP device's WireGuard public key (keyed by device MAC). Operators/SuperRoot only.
Call
GET …/7Kas?func=registerwgdevice&ukey=YOUR_KEY&…
Requires the ukey parameter.
Parameters
| Parameter | Type | Required | Default | Meaning |
|---|---|---|---|---|
mac |
string | Yes | — | Device MAC address (max 17). |
wg_pubkey |
string | Yes | — | Device WireGuard public key (max 44). |
Example
https://api.7kas.com:9080/7Kas?func=registerwgdevice&ukey=OPKEY&mac=AA:BB:CC:DD:EE:FF&wg_pubkey=...
Response
Object confirming registration.
Back to API VoIP · ▶ Try it live · Profiles: API profile SuperRoot, API profile Operator