Jump to content

TuCloudAPI getextensions

From Wiki 7Kas
Revision as of 14:31, 3 August 2026 by Maintenance script (talk | contribs) (TuCloudAPI reference: pbx param help -> FuturePBX (API surface unchanged))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

TuCloudAPI function to manage FuturePBX (the cloud PBX). Available to: SuperRoot, Operator, Client.

Description

List the PBX extensions (safe display fields; NEVER the SIP password). Tenant resolved from (ukey, pbx). Live presence/status is not included (deferred).

Call

GET  https://tucloudapi.7kas.com:9087/tucloud?func=getextensions&ukey=YOUR_KEY

Requires the ukey parameter.

Parameters

Parameter Type Required Default Meaning
pbx string Yes FuturePBX NAME (e.g. tucall). The (ukey, pbx) pair is the tenant boundary; the server verifies the ukey owns this PBX.
q string No Optional name/number search (contains).

Example

https://tucloudapi.7kas.com:9087/tucloud?func=getextensions&ukey=KEY&pbx=tucall

Response

{ok, rows:[EXT...]}. EXT={_id,num,name,teamsopt,teamsnum,peerid,toext_id,is_trunk,cli_id,music,tom,voicemail,ringtime,only_contacts,recoutgoing}.


Back to TuCloudAPI