Jump to content

API profile Operator

From Wiki 7Kas
Revision as of 22:26, 22 July 2026 by Maintenance script (talk | contribs) (API docs: add recording transcript/summary endpoints)

Profile Operator (reseller): 35 functions over its own root. Sees account and root prices and profit (VOC). No SuperRoot-only functions.

Meta / discovery

  • API help — Lists the API functions available to the role of the calling ukey, with each function's description, parameters (meaning, optional/default), an example call and the response format.

Outgoing call billing

Pay-per-use services

  • API getservices — Detail of pay-per-use services (dtype=SERVICIOS, e.g.
  • API getservicestotal — Aggregate total of pay-per-use services for the period (all services, or one via service=<prefix>).

Incoming calls

CDR (call detail)

  • API getcdr — Call Detail Records (CDR) for a period.

CLIs / lines

  • API getclis — Lists CLIs (caller-line identities / DDIs) for the account.

Tucloud PBX

Account management

WireGuard / VPN

  • API getwgpeers — Lists WireGuard peers of a server (SSIP-transparent union of SSIP + VPN pairs).
  • API setwgstatus — Enables/disables a WireGuard peer.
  • API registerwgserver — Registers/updates a WireGuard server (public key, listen port, endpoint).
  • API registerwgdevice — Registers an SSIP device's WireGuard public key (keyed by device MAC).
  • API getwgconfig — Returns the WireGuard config for an SSIP device, authenticated by the device's vpnpassword (no role gate — any valid ukey with the correct password).
  • API registervpnwgdevice — Registers a non-SSIP VPN WireGuard device, authenticated by (host, password) of the VPN pair (voip_vtun).
  • API getvpnwgconfig — Returns the WireGuard config for a non-SSIP VPN device, authenticated by (host, password) of the VPN pair.

Diagnostics


API VoIP · ▶ Try it live