Jump to content

API profile Operator

From Wiki 7Kas
Revision as of 07:39, 23 July 2026 by Maintenance script (talk | contribs) (API docs (generated from func=help))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Profile Operator (reseller): 37 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.

Call recordings

  • API getrecordings — Lists the caller's call recordings with availability flags (has_transcript, has_summary, has_audio).
  • API getrecordingtranscript — Returns the transcription of one of the caller's recordings, with or without the summary (resumen).
  • API getrecordingfile — Downloads the audio recording (stereo MP3) of one of the caller's calls.
  • API getrecordingcertification — Downloads the integrity/veracity certification file (.txt) of one of the caller's recordings: file, user, date, time, uniqueid, src, dst and the SHA-512 hash (matches voip_callrecord.recordhash).

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