TuCloudAPI getagentlookups: Difference between revisions
Appearance
TuCloudAPI reference: product name -> FuturePBX (API surface unchanged); regenerated from func=help |
TuCloudAPI reference: pbx param help -> FuturePBX (API surface unchanged) |
||
| Line 12: | Line 12: | ||
! Parameter !! Type !! Required !! Default !! Meaning | ! Parameter !! Type !! Required !! Default !! Meaning | ||
|- | |- | ||
| <code>pbx</code> || string || Yes || — || | | <code>pbx</code> || string || Yes || — || FuturePBX name (tenant boundary). | ||
|} | |} | ||
== Example == | == Example == | ||
Latest revision as of 14:31, 3 August 2026
TuCloudAPI function to manage FuturePBX (the cloud PBX). Available to: SuperRoot, Operator, Client.
Description
Dropdown data for the agent screens: this PBX's queues (assign an agent to a queue) and its extensions {_id,num,name}. The front sends ext_id on a write; addagent derives the member's membername (Agent/<sipuser>), interface (SIP/<sipuser>) and name server-side.
Call
GET https://tucloudapi.7kas.com:9087/tucloud?func=getagentlookups&ukey=YOUR_KEY
Requires the ukey parameter.
Parameters
| Parameter | Type | Required | Default | Meaning |
|---|---|---|---|---|
pbx |
string | Yes | — | FuturePBX name (tenant boundary). |
Example
https://tucloudapi.7kas.com:9087/tucloud?func=getagentlookups&ukey=KEY&pbx=tucall
Response
{ok, queues:[{_id,label}], extensions:[{_id,num,name}]}.
Back to TuCloudAPI