API getwgpeers: Difference between revisions
Appearance
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: ''' | ''7Kas VoIP REST API function. Available to: '''Operator'''.'' | ||
== Description == | == Description == | ||
| Line 21: | Line 21: | ||
---- | ---- | ||
Back to [[API VoIP]] · '''[[API Console|▶ Try it live]]''' · Profiles: | Back to [[API VoIP]] · '''[[API Console|▶ Try it live]]''' · Profiles: [[API profile Operator]] | ||
[[Category:API Operator]][[Category:API function]] | |||
Latest revision as of 13:47, 5 November 2026
7Kas VoIP REST API function. Available to: Operator.
Description
Lists WireGuard peers of a server (SSIP-transparent union of SSIP + VPN pairs). Operators see their own scope; SuperRoot all. Not available to clients.
Call
GET …/7Kas?func=getwgpeers&ukey=YOUR_KEY&…
Requires the ukey parameter.
Parameters
| Parameter | Type | Required | Default | Meaning |
|---|---|---|---|---|
server_id |
integer | Yes | — | WireGuard server id. |
Example
https://api.7kas.com:9080/7Kas?func=getwgpeers&ukey=OPKEY&server_id=1
Response
FillRecords2JSON: peer rows.
Back to API VoIP · ▶ Try it live · Profiles: API profile Operator