Jump to content

API registerwgdevice: Difference between revisions

From Wiki 7Kas
API docs (generated from func=help)
 
API docs regenerated from func=help (operator catalogue)
 
Line 1: Line 1:
''7Kas VoIP REST API function. Available to: '''SuperRoot, Operator'''.''
''7Kas VoIP REST API function. Available to: '''Operator'''.''


== Description ==
== Description ==
Line 23: Line 23:


----
----
Back to [[API VoIP]] · '''[[API Console|▶ Try it live]]''' · Profiles: [[API profile SuperRoot]], [[API profile Operator]]
Back to [[API VoIP]] · '''[[API Console|▶ Try it live]]''' · Profiles: [[API profile Operator]]
[[Category:API SuperRoot]][[Category:API Operator]][[Category:API function]]
[[Category:API Operator]][[Category:API function]]

Latest revision as of 13:47, 5 November 2026

7Kas VoIP REST API function. Available to: 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 Operator