<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.7kas.com/index.php?action=history&amp;feed=atom&amp;title=API_getclis</id>
	<title>API getclis - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.7kas.com/index.php?action=history&amp;feed=atom&amp;title=API_getclis"/>
	<link rel="alternate" type="text/html" href="https://wiki.7kas.com/index.php?title=API_getclis&amp;action=history"/>
	<updated>2026-09-06T23:58:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.7kas.com/index.php?title=API_getclis&amp;diff=378&amp;oldid=prev</id>
		<title>Maintenance script: API docs (generated from func=help)</title>
		<link rel="alternate" type="text/html" href="https://wiki.7kas.com/index.php?title=API_getclis&amp;diff=378&amp;oldid=prev"/>
		<updated>2026-07-21T22:33:38Z</updated>

		<summary type="html">&lt;p&gt;API docs (generated from func=help)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;7Kas VoIP REST API function. Available to: &amp;#039;&amp;#039;&amp;#039;SuperRoot, Operator, Client&amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Lists CLIs (caller-line identities / DDIs) for the account. Clients see only their own account&amp;#039;s CLIs (accountcode is forced); operators and SuperRoot see their scope.&lt;br /&gt;
&lt;br /&gt;
== Call ==&lt;br /&gt;
 GET  …/7Kas?func=getclis&amp;amp;ukey=YOUR_KEY&amp;amp;…&lt;br /&gt;
Requires the &amp;lt;code&amp;gt;ukey&amp;lt;/code&amp;gt; parameter.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Parameter !! Type !! Required !! Default !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;accountcode&amp;lt;/code&amp;gt; || string || No || — || Filter by account code. Forced to the caller&amp;#039;s own for clients. &amp;lt;small&amp;gt;(max length 20)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;active&amp;lt;/code&amp;gt; || string || No || — || Filter by active flag. &amp;lt;small&amp;gt;(max length 2)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;route&amp;lt;/code&amp;gt; || string || No || — || Filter by route. &amp;lt;small&amp;gt;(max length 32)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt; || string || No || — || Filter by CLI type. &amp;lt;small&amp;gt;(max length 2)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;limit&amp;lt;/code&amp;gt; || integer || No || &amp;lt;code&amp;gt;1000&amp;lt;/code&amp;gt; || Maximum rows to return (capped at 1000).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;offset&amp;lt;/code&amp;gt; || integer || No || &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; || Pagination offset.&lt;br /&gt;
|}&lt;br /&gt;
== Example ==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://api.7kas.com:9080/7Kas?func=getclis&amp;amp;ukey=KEY&amp;amp;limit=100&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
FillRecords2JSON records: {&amp;quot;RecordCount&amp;quot;:N,&amp;quot;fields&amp;quot;:[...],&amp;quot;1&amp;quot;:[...],...}.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[API VoIP]] · &amp;#039;&amp;#039;&amp;#039;[[API Console|▶ Try it live]]&amp;#039;&amp;#039;&amp;#039; · Profiles: [[API profile SuperRoot]], [[API profile Operator]], [[API profile Client (of operator)]], [[API profile Client (direct)]]&lt;br /&gt;
[[Category:API SuperRoot]][[Category:API Operator]][[Category:API Client]][[Category:API function]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>