<?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=TuCloudAPI_addaccountcode</id>
	<title>TuCloudAPI addaccountcode - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.7kas.com/index.php?action=history&amp;feed=atom&amp;title=TuCloudAPI_addaccountcode"/>
	<link rel="alternate" type="text/html" href="https://wiki.7kas.com/index.php?title=TuCloudAPI_addaccountcode&amp;action=history"/>
	<updated>2026-09-06T23:56:27Z</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=TuCloudAPI_addaccountcode&amp;diff=660&amp;oldid=prev</id>
		<title>Maintenance script: TuCloudAPI reference: product name -&gt; FuturePBX (API surface unchanged); regenerated from func=help</title>
		<link rel="alternate" type="text/html" href="https://wiki.7kas.com/index.php?title=TuCloudAPI_addaccountcode&amp;diff=660&amp;oldid=prev"/>
		<updated>2026-08-03T14:13:50Z</updated>

		<summary type="html">&lt;p&gt;TuCloudAPI reference: product name -&amp;gt; FuturePBX (API surface unchanged); regenerated from func=help&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:13, 3 August 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;TuCloudAPI function to manage &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tucloud &lt;/del&gt;(PBX) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;services&lt;/del&gt;. Available to: &#039;&#039;&#039;SuperRoot, Operator&#039;&#039;&#039;.&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;TuCloudAPI function to manage &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;FuturePBX &lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the cloud &lt;/ins&gt;PBX). Available to: &#039;&#039;&#039;SuperRoot, Operator&#039;&#039;&#039;.&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Description ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Description ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
	<entry>
		<id>https://wiki.7kas.com/index.php?title=TuCloudAPI_addaccountcode&amp;diff=469&amp;oldid=prev</id>
		<title>Maintenance script: TuCloudAPI reference (generated from func=help)</title>
		<link rel="alternate" type="text/html" href="https://wiki.7kas.com/index.php?title=TuCloudAPI_addaccountcode&amp;diff=469&amp;oldid=prev"/>
		<updated>2026-08-01T16:33:39Z</updated>

		<summary type="html">&lt;p&gt;TuCloudAPI reference (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;TuCloudAPI function to manage tucloud (PBX) services. Available to: &amp;#039;&amp;#039;&amp;#039;SuperRoot, Operator&amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Creates a new account (client) under the caller. Requires write permission (operator/SuperRoot, not read-only). For non-SuperRoot the root is forced to the caller&amp;#039;s own.&lt;br /&gt;
&lt;br /&gt;
== Call ==&lt;br /&gt;
 GET  https://tucloudapi.7kas.com:9087/tucloud?func=addaccountcode&amp;amp;ukey=YOUR_KEY&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 || Yes || — || Account code (login). Required. Max 20.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;credit&amp;lt;/code&amp;gt; || string || Yes || — || Initial credit. Required. Max 20.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;password&amp;lt;/code&amp;gt; || string || Yes || — || Account password. Required. Max 40.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; || string || Yes || — || Contact/holder name. Required. Max 100.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;company&amp;lt;/code&amp;gt; || string || No || — || Company name. &amp;lt;small&amp;gt;(max 100)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;address&amp;lt;/code&amp;gt; || string || No || — || Postal address. &amp;lt;small&amp;gt;(max 200)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;phone&amp;lt;/code&amp;gt; || string || No || — || Phone. &amp;lt;small&amp;gt;(max 20)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;email&amp;lt;/code&amp;gt; || string || No || — || Primary e-mail. &amp;lt;small&amp;gt;(max 100)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;date_added&amp;lt;/code&amp;gt; || string || No || — || Creation date. &amp;lt;small&amp;gt;(max 20)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || string || No || — || Free description. &amp;lt;small&amp;gt;(max 200)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; || string || No || — || UI language code. &amp;lt;small&amp;gt;(max 5)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;postal_code&amp;lt;/code&amp;gt; || string || No || — || Postal code. &amp;lt;small&amp;gt;(max 10)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;city&amp;lt;/code&amp;gt; || string || No || — || City. &amp;lt;small&amp;gt;(max 50)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;province&amp;lt;/code&amp;gt; || string || No || — || Province. &amp;lt;small&amp;gt;(max 50)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;nif&amp;lt;/code&amp;gt; || string || No || — || Tax id (NIF/CIF). &amp;lt;small&amp;gt;(max 20)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;blocked&amp;lt;/code&amp;gt; || string || No || — || Blocked flag (SI/NO). &amp;lt;small&amp;gt;(max 4)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;postpaid&amp;lt;/code&amp;gt; || string || No || — || Postpaid flag. &amp;lt;small&amp;gt;(max 4)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt; || string || No || — || Admin flag. &amp;lt;small&amp;gt;(max 4)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;accountcode_comis&amp;lt;/code&amp;gt; || string || No || — || Commissioner account this account belongs to. &amp;lt;small&amp;gt;(max 20)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;comisionista&amp;lt;/code&amp;gt; || string || No || — || Is-commissioner flag (SI/NO). &amp;lt;small&amp;gt;(max 4)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;groups&amp;lt;/code&amp;gt; || string || No || — || Group memberships. &amp;lt;small&amp;gt;(max 100)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;movil_sms&amp;lt;/code&amp;gt; || string || No || — || Mobile for SMS. &amp;lt;small&amp;gt;(max 20)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;email2&amp;lt;/code&amp;gt; || string || No || — || Secondary e-mail. &amp;lt;small&amp;gt;(max 100)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;fax&amp;lt;/code&amp;gt; || string || No || — || Fax. &amp;lt;small&amp;gt;(max 20)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;nota&amp;lt;/code&amp;gt; || string || No || — || Internal note. &amp;lt;small&amp;gt;(max 500)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;web&amp;lt;/code&amp;gt; || string || No || — || Website. &amp;lt;small&amp;gt;(max 100)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;flags&amp;lt;/code&amp;gt; || string || No || — || Account flags. &amp;lt;small&amp;gt;(max 20)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;tariff&amp;lt;/code&amp;gt; || string || No || — || Tariff code. &amp;lt;small&amp;gt;(max 20)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;daycallmail&amp;lt;/code&amp;gt; || string || No || — || Daily-call report e-mail(s). &amp;lt;small&amp;gt;(max 100)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; || integer || No || — || Parent operator root. Forced to the caller&amp;#039;s own unless SuperRoot. &amp;lt;small&amp;gt;(numeric, max 10)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;credit_limit&amp;lt;/code&amp;gt; || integer || No || — || Credit limit. &amp;lt;small&amp;gt;(numeric)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;comis_minutos&amp;lt;/code&amp;gt; || integer || No || — || Commission minutes. &amp;lt;small&amp;gt;(numeric)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ratio&amp;lt;/code&amp;gt; || integer || No || — || Commission ratio. &amp;lt;small&amp;gt;(numeric)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;creditalarm&amp;lt;/code&amp;gt; || integer || No || — || Credit alarm threshold. &amp;lt;small&amp;gt;(numeric)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;aindirecto_coste&amp;lt;/code&amp;gt; || integer || No || — || Indirect-access cost. &amp;lt;small&amp;gt;(numeric)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;intlimit&amp;lt;/code&amp;gt; || integer || No || — || International limit. &amp;lt;small&amp;gt;(numeric)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;daycall&amp;lt;/code&amp;gt; || integer || No || — || Daily-call limit. &amp;lt;small&amp;gt;(numeric)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;intlock&amp;lt;/code&amp;gt; || integer || No || — || International lock flag. &amp;lt;small&amp;gt;(numeric)&amp;lt;/small&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
== Example ==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://api.7kas.com:9087/tucloud?func=addaccountcode&amp;amp;ukey=OPKEY&amp;amp;accountcode=NEW1&amp;amp;credit=0&amp;amp;password=secret&amp;amp;name=John&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
Object with the new account id / result of api_add_voip_user.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[TuCloudAPI]]&lt;br /&gt;
[[Category:TuCloudAPI SuperRoot]][[Category:TuCloudAPI Operator]][[Category:TuCloudAPI]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>