| articles | Array
(
[0] => Array
(
[groupid] => 1
[name] => API Docs
[group_slug] => api-docs
[description] => REST API: Available commands documentation & examples
[active] => 1
[color] =>
[group_order] => 1
[articles] => Array
(
[0] => Array
(
[slug] => lead-add-new-lead
[subject] => Lead - Add New Lead [code]
[description] => <p><span class="type type__post">POST</span><span></span></p>
<pre class="language-http"><code>api/leads</code></pre>
<h2>Header</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">Authtoken</td>
<td>String</td>
<td>
<p>Basic Access Authentication token.</p>
</td>
</tr>
</tbody>
</table>
<h2>Parameter</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">source</td>
<td>String</td>
<td>
<p>Mandatory Lead source.</p>
</td>
</tr>
<tr>
<td class="code">status</td>
<td>String</td>
<td>
<p>Mandatory Lead Status.</p>
</td>
</tr>
<tr>
<td class="code">name</td>
<td>String</td>
<td>
<p>Mandatory Lead Name.</p>
</td>
</tr>
<tr>
<td class="code">assigned<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead assigned.</p>
</td>
</tr>
<tr>
<td class="code">client_id<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead From Customer.</p>
</td>
</tr>
<tr>
<td class="code">tags<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead tags.</p>
</td>
</tr>
<tr>
<td class="code">contact<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead contact.</p>
</td>
</tr>
<tr>
<td class="code">title<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Position.</p>
</td>
</tr>
<tr>
<td class="code">email<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead Email Address.</p>
</td>
</tr>
<tr>
<td class="code">website<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead Website.</p>
</td>
</tr>
<tr>
<td class="code">phonenumber<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead Phone.</p>
</td>
</tr>
<tr>
<td class="code">company<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead company.</p>
</td>
</tr>
<tr>
<td class="code">address<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead address.</p>
</td>
</tr>
<tr>
<td class="code">city<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead City.</p>
</td>
</tr>
<tr>
<td class="code">state<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead state.</p>
</td>
</tr>
<tr>
<td class="code">country<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead Country.</p>
</td>
</tr>
<tr>
<td class="code">default_language<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead Default Language.</p>
</td>
</tr>
<tr>
<td class="code">description<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead description.</p>
</td>
</tr>
<tr>
<td class="code">custom_contact_date<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead From Customer.</p>
</td>
</tr>
<tr>
<td class="code">contacted_today<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead Contacted Today.</p>
</td>
</tr>
<tr>
<td class="code">is_public<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead google sheet id.</p>
</td>
</tr>
</tbody>
</table>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-markup"><code>array (size=20)
'status' => string '2' (length=1)
'source' => string '6' (length=1)
'assigned' => string '1' (length=1)
'client_id' => string '5' (length=1)
'tags' => string '' (length=0)
'name' => string 'Lead Name' (length=9)
'contact' => string 'Contact A' (length=9)
'title' => string 'Position A' (length=10)
'email' => string 'AAA@gmail.com' (length=13)
'website' => string '' (length=0)
'phonenumber' => string '123456789' (length=9)
'company' => string 'Gap Trade' (length=20)
'address' => string '710-712 Cách Mạng Tháng Tám, P. 5, Q. Tân Bình' (length=33)
'city' => string 'London' (length=6)
'state' => string '' (length=0)
'default_language' => string 'english' (length=10)
'description' => string 'Description' (length=11)
'custom_contact_date' => string '' (length=0)
'is_public' => string 'on' (length=2)
'contacted_today' => string 'on' (length=2)</code></pre>
</div>
</div>
<h2>Success 200</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">status</td>
<td>Boolean</td>
<td>
<p>Request status.</p>
</td>
</tr>
<tr>
<td class="code">message</td>
<td>String</td>
<td>
<p>Lead add successful.</p>
</td>
</tr>
</tbody>
</table>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-json"><code>HTTP/1.1 200 OK
{
"status": true,
"message": "Lead add successful."
}</code></pre>
</div>
</div>
<h2>Error 4xx</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">status</td>
<td>Boolean</td>
<td>
<p>Request status.</p>
</td>
</tr>
<tr>
<td class="code">message</td>
<td>String</td>
<td>
<p>add fail.</p>
</td>
</tr>
</tbody>
</table>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-json"><code>HTTP/1.1 404 Not Found
{
"status": false,
"message": "Lead add fail."
}</code></pre>
</div>
</div>
[active_article] => 1
[articlegroup] => 1
[articleid] => 1
[staff_article] => 0
[datecreated] => 2021-12-15 13:37:08
)
[1] => Array
(
[slug] => lead-request-lead-information
[subject] => Lead - Request lead information [code]
[description] => <p><span class="type type__get">GET</span><span></span></p>
<pre class="language-http"><code>api/leads/:id</code></pre>
<h2>Header</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">Authorization</td>
<td>String</td>
<td>
<p>Basic Access Authentication token.</p>
</td>
</tr>
</tbody>
</table>
<h2>Parameter</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">id</td>
<td>Number</td>
<td>
<p>Lead unique ID.</p>
</td>
</tr>
</tbody>
</table>
<h2>Success 200</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">Lead</td>
<td>Object</td>
<td>
<p>information.</p>
</td>
</tr>
</tbody>
</table>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#success-examples-Lead-GetLead-0_0_0-0">Success-Response:</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-markup"><code>HTTP/1.1 200 OK
{
"id": "17",
"hash": "c6e938f8b7a40b1bcfd98dc04f6eeee0-60d9c039da373a685fc0f74d4bfae631",
"name": "Lead name",
"contact": "",
"title": "",
"company": "Gap Trade",
"description": "",
"country": "243",
"zip": null,
"city": "London",
"state": "London",
"address": "1a The Alexander Suite Silk Point",
"assigned": "5",
"dateadded": "2019-07-18 08:59:28",
"from_form_id": "0",
"status": "0",
"source": "4",
...
}</code></pre>
</div>
</div>
<h2>Error 4xx</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">status</td>
<td>Boolean</td>
<td>
<p>Request status.</p>
</td>
</tr>
<tr>
<td class="code">message</td>
<td>String</td>
<td>
<p>No data were found.</p>
</td>
</tr>
</tbody>
</table>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#error-examples-Lead-GetLead-0_0_0-0">Error-Response:</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-json"><code>HTTP/1.1 404 Not Found
{
"status": false,
"message": "No data were found"
}</code></pre>
</div>
</div>
[active_article] => 1
[articlegroup] => 1
[articleid] => 2
[staff_article] => 0
[datecreated] => 2021-12-15 13:39:36
)
[2] => Array
(
[slug] => lead-search-lead-information
[subject] => Lead - Search Lead Information [code]
[description] => <div class="show-api-article show-api-Lead-article show-api-Lead-GetLeadSearch-article">
<article><span class="type type__get">GET</span>
<pre class="language-http"><code>api/leads/search/:keysearch</code></pre>
<h2>Header</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">Authorization</td>
<td>String</td>
<td>
<p>Basic Access Authentication token.</p>
</td>
</tr>
</tbody>
</table>
<h2>Parameter</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">keysearch</td>
<td>String</td>
<td>
<p>Search Keywords.</p>
</td>
</tr>
</tbody>
</table>
<h2>Success 200</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">Lead</td>
<td>Object</td>
<td>
<p>information.</p>
</td>
</tr>
</tbody>
</table>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#success-examples-Lead-GetLeadSearch-0_0_0-0">Success-Response:</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-json"><code>HTTP/1.1 200 OK
{
"id": "17",
"hash": "c6e938f8b7a40b1bcfd98dc04f6eeee0-60d9c039da373a685fc0f74d4bfae631",
"name": "Lead name",
"contact": "",
"title": "",
"company": "Themesic Interactive",
"description": "",
"country": "243",
"zip": null,
"city": "London",
"state": "London",
"address": "1a The Alexander Suite Silk Point",
"assigned": "5",
"dateadded": "2019-07-18 08:59:28",
"from_form_id": "0",
"status": "0",
"source": "4",
...
}</code></pre>
</div>
</div>
<h2>Error 4xx</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">status</td>
<td>Boolean</td>
<td>
<p>Request status.</p>
</td>
</tr>
<tr>
<td class="code">message</td>
<td>String</td>
<td>
<p>No data were found.</p>
</td>
</tr>
</tbody>
</table>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#error-examples-Lead-GetLeadSearch-0_0_0-0">Error-Response:</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-json"><code>HTTP/1.1 404 Not Found
{
"status": false,
"message": "No data were found"
}</code></pre>
</div>
</div>
</article>
</div>
<div class="show-api-article show-api-Lead-article show-api-Lead-PutLead-article">
<article>
<div class="pull-left"> </div>
<div class="pull-left"></div>
</article>
</div>
[active_article] => 1
[articlegroup] => 1
[articleid] => 3
[staff_article] => 0
[datecreated] => 2021-12-15 13:40:04
)
[3] => Array
(
[slug] => lead-update-a-lead
[subject] => Lead - Update a lead [code]
[description] => <section class="show-api-group show-api-Lead-group">
<div class="show-api-article show-api-Lead-article show-api-Lead-PutLead-article">
<article><span class="type type__put">PUT</span>
<pre class="language-http"><code>api/leads/:id</code></pre>
<h2>Header</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">Authorization</td>
<td>String</td>
<td>
<p>Basic Access Authentication token.</p>
</td>
</tr>
</tbody>
</table>
<h2>Parameter</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">source</td>
<td>String</td>
<td>
<p>Mandatory Lead source.</p>
</td>
</tr>
<tr>
<td class="code">status</td>
<td>String</td>
<td>
<p>Mandatory Lead Status.</p>
</td>
</tr>
<tr>
<td class="code">name</td>
<td>String</td>
<td>
<p>Mandatory Lead Name.</p>
</td>
</tr>
<tr>
<td class="code">assigned<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead assigned.</p>
</td>
</tr>
<tr>
<td class="code">client_id<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead From Customer.</p>
</td>
</tr>
<tr>
<td class="code">tags<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead tags.</p>
</td>
</tr>
<tr>
<td class="code">contact<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead contact.</p>
</td>
</tr>
<tr>
<td class="code">title<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Position.</p>
</td>
</tr>
<tr>
<td class="code">email<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead Email Address.</p>
</td>
</tr>
<tr>
<td class="code">website<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead Website.</p>
</td>
</tr>
<tr>
<td class="code">phonenumber<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead Phone.</p>
</td>
</tr>
<tr>
<td class="code">company<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead company.</p>
</td>
</tr>
<tr>
<td class="code">address<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead address.</p>
</td>
</tr>
<tr>
<td class="code">city<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead City.</p>
</td>
</tr>
<tr>
<td class="code">state<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead state.</p>
</td>
</tr>
<tr>
<td class="code">country<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead Country.</p>
</td>
</tr>
<tr>
<td class="code">default_language<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead Default Language.</p>
</td>
</tr>
<tr>
<td class="code">description<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead description.</p>
</td>
</tr>
<tr>
<td class="code">lastcontact<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead Last Contact.</p>
</td>
</tr>
<tr>
<td class="code">is_public<span class="label label-optional">optional</span></td>
<td>String</td>
<td>
<p>Optional Lead google sheet id.</p>
</td>
</tr>
</tbody>
</table>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#parameter-examples-Lead-PutLead-0_0_0-0">Request-Example:</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-markup"><code>{
"name": "Lead name",
"contact": "contact",
"title": "title",
"company": "gaptrade",
"description": "description",
"tags": "",
"city": "London",
"state": "London",
"address": "1a The Alexander Suite Silk Point",
"assigned": "5",
"source": "4",
"email": "AA@gmail.com",
"website": "www.gaptrade.io",
"phonenumber": "123456789",
"is_public": "on",
"default_language": "english",
"client_id": "3",
"lastcontact": "25/07/2019 08:38:04"
}</code></pre>
</div>
</div>
<h2>Success 200</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">status</td>
<td>Boolean</td>
<td>
<p>Request status.</p>
</td>
</tr>
<tr>
<td class="code">message</td>
<td>String</td>
<td>
<p>Lead Update Successful.</p>
</td>
</tr>
</tbody>
</table>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#success-examples-Lead-PutLead-0_0_0-0">Success-Response:</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-json"><code>HTTP/1.1 200 OK
{
"status": true,
"message": "Lead Update Successful."
}</code></pre>
</div>
</div>
<h2>Error 4xx</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">status</td>
<td>Boolean</td>
<td>
<p>Request status.</p>
</td>
</tr>
<tr>
<td class="code">message</td>
<td>String</td>
<td>
<p>Lead Update Fail.</p>
</td>
</tr>
</tbody>
</table>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#error-examples-Lead-PutLead-0_0_0-0">Error-Response:</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-json"><code>HTTP/1.1 404 Not Found
{
"status": false,
"message": "Lead Update Fail."
}</code></pre>
</div>
</div>
</article>
</div>
</section>
<section class="show-api-group show-api-Milestone-group"></section>
[active_article] => 1
[articlegroup] => 1
[articleid] => 4
[staff_article] => 0
[datecreated] => 2021-12-15 13:40:31
)
[4] => Array
(
[slug] => usage-of-the-api
[subject] => Usage of the API [code]
[description] => <p>the AUTOLOGIN process meant to receive form information by POST method and register the lead to the CRM, as well as register user onto the platform, and redirect user with auto login.<br><br>to follow the lead status, you use the API (GET LEADS BY DATE / BY ID) to get the statuses of all your leads by the source_id field you have from onboarding.<br><br>the API, and the AUTOLOGIN are separated processes.</p>
<p>Auto login uses: username, password, email, source_id and name as mandatory fields.<br>the email field will be setup as username to the platform cause the login is by email.<br>username, and name are for CRM and PLATFORM use, and also have to be provided.</p>
<p></p>
<p>Available commands of the API are described below, along with their responses.</p>
<p>For this example, we will use a dummy token and a random command.</p>
<p>Let’s say your new token is<span> </span><code>jEheVytlAoFl7F8MqUQ7jAo2hOXASztXjEheVytlAoFl7F8MqUQ7jAo2hOXASztXjEheVytlAoFl7F8MqUQ7jAo2hOXASztX</code><span> </span>and that you need to list<span> </span><strong>all available customers</strong>, using the API, through a<span> </span><strong>cURL request</strong>.<br><br></p>
<h3>Command Request</h3>
<hr>
<pre class="prettyprint">curl -H "authtoken: jEheVytlAoFl7F8MqUQ7jAo2hOXASztXjEheVytlAoFl7F8MqUQ7jAo2hOXASztXjEheVytlAoFl7F8MqUQ7jAo2hOXASztX" https://mysite.com/api/customers
</pre>
<p><br><br></p>
<h3>Response of command request</h3>
<hr>
<pre class="prettyprint">[
{
"stripe_id" : null,
"active" : "1",
"vat" : "1234567890",
"address" : "Test Address",
"billing_country" : "0",
"phonenumber" : "1234567890",
"registration_confirmed" : "1",
"longitude" : null,
"billing_city" : "",
"state" : "Test State",
"shipping_zip" : "",
"billing_zip" : "",
"city" : "Test City",
"shipping_country" : "0",
"billing_street" : "",
"datecreated" : "2019-11-29 12:34:56",
"company" : "Jk Technologies",
"shipping_street" : "",
"zip" : "123456",
"billing_state" : "",
"leadid" : null,
"addedfrom" : "8",
"userid" : "3",
"default_language" : "english",
"shipping_state" : "",
"show_primary_contact" : "0",
"country" : "102",
"default_currency" : "3",
"shipping_city" : "",
"latitude" : null,
"website" : "https://example.com"
},
{
"website" : "https://example2.com",
"latitude" : null,
"default_currency" : "0",
"shipping_city" : "London",
"country" : "235",
"show_primary_contact" : "0",
"shipping_state" : "Greater London",
"default_language" : "",
"addedfrom" : "1",
"userid" : "1",
"leadid" : null,
"billing_state" : "Greater London",
"zip" : "WC1 ASW",
"shipping_street" : "123 Road Street",
"company" : "Sample Company LTD",
"datecreated" : "2019-04-02 13:38:28",
"billing_street" : "123 Road Street",
"shipping_country" : "235",
"city" : "London",
"billing_zip" : "WC1 ASW",
"shipping_zip" : "WC1 ASW",
"longitude" : null,
"registration_confirmed" : "1",
"billing_city" : "London",
"state" : "Greater London",
"phonenumber" : "+44 210 7298299",
"billing_country" : "235",
"address" : "123 Road Street",
"vat" : "123456789",
"active" : "1",
"stripe_id" : null
}
]<span style="font-family:Verdana, Arial, Helvetica, sans-serif;"><span style="white-space:normal;">
</span></span></pre>
[active_article] => 1
[articlegroup] => 1
[articleid] => 5
[staff_article] => 0
[datecreated] => 2021-12-15 13:47:16
)
[5] => Array
(
[slug] => lead-search-by-dates-range
[subject] => Lead - Search By Dates Range [code]
[description] => <section class="show-api-group show-api-Lead-group">
<div class="show-api-article show-api-Lead-article show-api-Lead-PutLead-article">
<article><span class="type type__put">GET</span>
<pre class="language-markup"><code>api/leads/dates/{from_date}/{to_date}</code></pre>
<h2>Header</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">Authtoken</td>
<td>String</td>
<td>
<p>Basic Access Authentication token.</p>
</td>
</tr>
</tbody>
</table>
<br><br>
<h2>Parameter</h2>
<table style="height:127px;width:353px;">
<thead>
<tr>
<th style="width:105.375px;">Field</th>
<th style="width:64.625px;">Type</th>
<th style="width:161px;">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code" style="width:105.375px;">from_date</td>
<td style="width:64.625px;">String</td>
<td style="width:161px;">
<p>format: 2021-01-31</p>
</td>
</tr>
<tr>
<td style="width:105.375px;">to_date</td>
<td style="width:64.625px;">String</td>
<td style="width:161px;">
<p>format: 2021-01-31</p>
</td>
</tr>
</tbody>
</table>
<br><br>
<h2>Success 200</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">Lead</td>
<td>Object</td>
<td>
<p>information.</p>
</td>
</tr>
</tbody>
</table>
<div class="tab-content">
<div class="tab-pane active">
<p></p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#success-examples-Lead-GetLeadSearch-0_0_0-0">Success-Response:</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-markup"><code>HTTP/1.1 200 OK
{
"id": "17",
"hash": "c6e938f8b7a40b1bcfd98dc04f6eeee0-60d9c039da373a685fc0f74d4bfae631",
"name": "Lead name",
"contact": "",
"title": "",
"company": "Gap Trade",
"description": "",
"country": "243",
"zip": null,
"city": "London",
"state": "London",
"address": "1a The Alexander Suite Silk Point",
"assigned": "5",
"dateadded": "2019-07-18 08:59:28",
"from_form_id": "0",
"status": "0",
"source": "4",
...
}</code></pre>
</div>
</div>
<h2>Error 4xx</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">status</td>
<td>Boolean</td>
<td>
<p>Request status.</p>
</td>
</tr>
<tr>
<td class="code">message</td>
<td>String</td>
<td>
<p>No data were found.</p>
</td>
</tr>
</tbody>
</table>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#error-examples-Lead-GetLeadSearch-0_0_0-0">Error-Response:</a></li>
</ul>
<pre class="language-markup"><code>HTTP/1.1 404 Not Found
{
"status": false,
"message": "No Data Found."
}</code></pre>
<p></p>
<div class="pull-left">Lead statuses definition</div>
<div class="pull-left"></div>
<div class="pull-left">
<table class="table dt-table dt-inline dataTable no-footer" style="height:457px;width:265px;">
<thead>
<tr style="height:19px;">
<th class="sorting sorting_asc" style="width:31.7656px;height:19px;">ID</th>
<th class="sorting" style="width:217.234px;height:19px;">Status Name</th>
</tr>
</thead>
<tbody>
<tr class="odd" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">1</td>
<td style="width:217.234px;height:20px;">FTD Success</td>
</tr>
<tr class="even" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">2</td>
<td style="width:217.234px;height:20px;">Busy</td>
</tr>
<tr class="odd" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">3</td>
<td style="width:217.234px;height:20px;">Failed to connect</td>
</tr>
<tr class="even" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">4</td>
<td style="width:217.234px;height:20px;">Call Back General</td>
</tr>
<tr class="odd" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">5</td>
<td style="width:217.234px;height:20px;">System Check Number</td>
</tr>
<tr class="even" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">6</td>
<td style="width:217.234px;height:20px;">Language Barrier</td>
</tr>
<tr class="odd" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">7</td>
<td style="width:217.234px;height:20px;">New Lead</td>
</tr>
<tr class="even" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">8</td>
<td style="width:217.234px;height:20px;">No Answer</td>
</tr>
<tr class="odd" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">9</td>
<td style="width:217.234px;height:20px;">Not Interested</td>
</tr>
<tr class="even" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">10</td>
<td style="width:217.234px;height:20px;">Call Back Personal</td>
</tr>
<tr class="odd" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">11</td>
<td style="width:217.234px;height:20px;">System Answer Dropped</td>
</tr>
<tr class="even" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">12</td>
<td style="width:217.234px;height:20px;">VoiceMail</td>
</tr>
<tr class="odd" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">13</td>
<td style="width:217.234px;height:20px;">Potential High</td>
</tr>
<tr class="even" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">14</td>
<td style="width:217.234px;height:20px;">Potential</td>
</tr>
<tr class="odd" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">15</td>
<td style="width:217.234px;height:20px;">Insufficient data</td>
</tr>
<tr class="even" style="height:20px;">
<td class="sorting_1" style="width:31.7656px;height:20px;">17</td>
<td style="width:217.234px;height:20px;">Closed not interested</td>
</tr>
</tbody>
</table>
<br><br>Please FOLLOW "status" field from our API for updated lead statuses.</div>
</div>
</div>
</article>
</div>
</section>
<section class="show-api-group show-api-Milestone-group"></section>
[active_article] => 1
[articlegroup] => 1
[articleid] => 6
[staff_article] => 0
[datecreated] => 2021-12-20 17:53:41
)
[6] => Array
(
[slug] => lead-country-list
[subject] => Lead - Country List [code]
[description] => <pre>"country_id","iso2","short_name","calling_code"
"1","AF","Afghanistan","93"
"2","AX","Aland Islands","358"
"3","AL","Albania","355"
"4","DZ","Algeria","213"
"5","AS","American Samoa","1+684"
"6","AD","Andorra","376"
"7","AO","Angola","244"
"8","AI","Anguilla","1+264"
"9","AQ","Antarctica","672"
"10","AG","Antigua and Barbuda","1+268"
"11","AR","Argentina","54"
"12","AM","Armenia","374"
"13","AW","Aruba","297"
"14","AU","Australia","61"
"15","AT","Austria","43"
"16","AZ","Azerbaijan","994"
"17","BS","Bahamas","1+242"
"18","BH","Bahrain","973"
"19","BD","Bangladesh","880"
"20","BB","Barbados","1+246"
"21","BY","Belarus","375"
"22","BE","Belgium","32"
"23","BZ","Belize","501"
"24","BJ","Benin","229"
"25","BM","Bermuda","1+441"
"26","BT","Bhutan","975"
"27","BO","Bolivia","591"
"28","BQ","Bonaire, Sint Eustatius and Saba","599"
"29","BA","Bosnia and Herzegovina","387"
"30","BW","Botswana","267"
"31","BV","Bouvet Island","NONE"
"32","BR","Brazil","55"
"33","IO","British Indian Ocean Territory","246"
"34","BN","Brunei","673"
"35","BG","Bulgaria","359"
"36","BF","Burkina Faso","226"
"37","BI","Burundi","257"
"38","KH","Cambodia","855"
"39","CM","Cameroon","237"
"40","CA","Canada","1"
"41","CV","Cape Verde","238"
"42","KY","Cayman Islands","1+345"
"43","CF","Central African Republic","236"
"44","TD","Chad","235"
"45","CL","Chile","56"
"46","CN","China","86"
"47","CX","Christmas Island","61"
"48","CC","Cocos (Keeling) Islands","61"
"49","CO","Colombia","57"
"50","KM","Comoros","269"
"51","CG","Congo","242"
"52","CK","Cook Islands","682"
"53","CR","Costa Rica","506"
"54","CI","Cote d'ivoire (Ivory Coast)","225"
"55","HR","Croatia","385"
"56","CU","Cuba","53"
"57","CW","Curacao","599"
"58","CY","Cyprus","357"
"59","CZ","Czech Republic","420"
"60","CD","Democratic Republic of the Congo","243"
"61","DK","Denmark","45"
"62","DJ","Djibouti","253"
"63","DM","Dominica","1+767"
"64","DO","Dominican Republic","1+809, 8"
"65","EC","Ecuador","593"
"66","EG","Egypt","20"
"67","SV","El Salvador","503"
"68","GQ","Equatorial Guinea","240"
"69","ER","Eritrea","291"
"70","EE","Estonia","372"
"71","ET","Ethiopia","251"
"72","FK","Falkland Islands (Malvinas)","500"
"73","FO","Faroe Islands","298"
"74","FJ","Fiji","679"
"75","FI","Finland","358"
"76","FR","France","33"
"77","GF","French Guiana","594"
"78","PF","French Polynesia","689"
"79","TF","French Southern Territories",""
"80","GA","Gabon","241"
"81","GM","Gambia","220"
"82","GE","Georgia","995"
"83","DE","Germany","49"
"84","GH","Ghana","233"
"85","GI","Gibraltar","350"
"86","GR","Greece","30"
"87","GL","Greenland","299"
"88","GD","Grenada","1+473"
"89","GP","Guadaloupe","590"
"90","GU","Guam","1+671"
"91","GT","Guatemala","502"
"92","GG","Guernsey","44"
"93","GN","Guinea","224"
"94","GW","Guinea-Bissau","245"
"95","GY","Guyana","592"
"96","HT","Haiti","509"
"97","HM","Heard Island and McDonald Islands","NONE"
"98","HN","Honduras","504"
"99","HK","Hong Kong","852"
"100","HU","Hungary","36"
"101","IS","Iceland","354"
"102","IN","India","91"
"103","ID","Indonesia","62"
"104","IR","Iran","98"
"105","IQ","Iraq","964"
"106","IE","Ireland","353"
"107","IM","Isle of Man","44"
"108","IL","Israel","972"
"109","IT","Italy","39"
"110","JM","Jamaica","1+876"
"111","JP","Japan","81"
"112","JE","Jersey","44"
"113","JO","Jordan","962"
"114","KZ","Kazakhstan","7"
"115","KE","Kenya","254"
"116","KI","Kiribati","686"
"117","XK","Kosovo","381"
"118","KW","Kuwait","965"
"119","KG","Kyrgyzstan","996"
"120","LA","Laos","856"
"121","LV","Latvia","371"
"122","LB","Lebanon","961"
"123","LS","Lesotho","266"
"124","LR","Liberia","231"
"125","LY","Libya","218"
"126","LI","Liechtenstein","423"
"127","LT","Lithuania","370"
"128","LU","Luxembourg","352"
"129","MO","Macao","853"
"130","MK","North Macedonia","389"
"131","MG","Madagascar","261"
"132","MW","Malawi","265"
"133","MY","Malaysia","60"
"134","MV","Maldives","960"
"135","ML","Mali","223"
"136","MT","Malta","356"
"137","MH","Marshall Islands","692"
"138","MQ","Martinique","596"
"139","MR","Mauritania","222"
"140","MU","Mauritius","230"
"141","YT","Mayotte","262"
"142","MX","Mexico","52"
"143","FM","Micronesia","691"
"144","MD","Moldava","373"
"145","MC","Monaco","377"
"146","MN","Mongolia","976"
"147","ME","Montenegro","382"
"148","MS","Montserrat","1+664"
"149","MA","Morocco","212"
"150","MZ","Mozambique","258"
"151","MM","Myanmar (Burma)","95"
"152","NA","Namibia","264"
"153","NR","Nauru","674"
"154","NP","Nepal","977"
"155","NL","Netherlands","31"
"156","NC","New Caledonia","687"
"157","NZ","New Zealand","64"
"158","NI","Nicaragua","505"
"159","NE","Niger","227"
"160","NG","Nigeria","234"
"161","NU","Niue","683"
"162","NF","Norfolk Island","672"
"163","KP","North Korea","850"
"164","MP","Northern Mariana Islands","1+670"
"165","NO","Norway","47"
"166","OM","Oman","968"
"167","PK","Pakistan","92"
"168","PW","Palau","680"
"169","PS","Palestine","970"
"170","PA","Panama","507"
"171","PG","Papua New Guinea","675"
"172","PY","Paraguay","595"
"173","PE","Peru","51"
"174","PH","Philippines","63"
"175","PN","Pitcairn","NONE"
"176","PL","Poland","48"
"177","PT","Portugal","351"
"178","PR","Puerto Rico","1+939"
"179","QA","Qatar","974"
"180","RE","Reunion","262"
"181","RO","Romania","40"
"182","RU","Russia","7"
"183","RW","Rwanda","250"
"184","BL","Saint Barthelemy","590"
"185","SH","Saint Helena","290"
"186","KN","Saint Kitts and Nevis","1+869"
"187","LC","Saint Lucia","1+758"
"188","MF","Saint Martin","590"
"189","PM","Saint Pierre and Miquelon","508"
"190","VC","Saint Vincent and the Grenadines","1+784"
"191","WS","Samoa","685"
"192","SM","San Marino","378"
"193","ST","Sao Tome and Principe","239"
"194","SA","Saudi Arabia","966"
"195","SN","Senegal","221"
"196","RS","Serbia","381"
"197","SC","Seychelles","248"
"198","SL","Sierra Leone","232"
"199","SG","Singapore","65"
"200","SX","Sint Maarten","1+721"
"201","SK","Slovakia","421"
"202","SI","Slovenia","386"
"203","SB","Solomon Islands","677"
"204","SO","Somalia","252"
"205","ZA","South Africa","27"
"206","GS","South Georgia and the South Sandwich Islands","500"
"207","KR","South Korea","82"
"208","SS","South Sudan","211"
"209","ES","Spain","34"
"210","LK","Sri Lanka","94"
"211","SD","Sudan","249"
"212","SR","Suriname","597"
"213","SJ","Svalbard and Jan Mayen","47"
"214","SZ","Swaziland","268"
"215","SE","Sweden","46"
"216","CH","Switzerland","41"
"217","SY","Syria","963"
"218","TW","Taiwan","886"
"219","TJ","Tajikistan","992"
"220","TZ","Tanzania","255"
"221","TH","Thailand","66"
"222","TL","Timor-Leste (East Timor)","670"
"223","TG","Togo","228"
"224","TK","Tokelau","690"
"225","TO","Tonga","676"
"226","TT","Trinidad and Tobago","1+868"
"227","TN","Tunisia","216"
"228","TR","Turkey","90"
"229","TM","Turkmenistan","993"
"230","TC","Turks and Caicos Islands","1+649"
"231","TV","Tuvalu","688"
"232","UG","Uganda","256"
"233","UA","Ukraine","380"
"234","AE","United Arab Emirates","971"
"235","GB","United Kingdom","44"
"236","US","United States","1"
"237","UM","United States Minor Outlying Islands","NONE"
"238","UY","Uruguay","598"
"239","UZ","Uzbekistan","998"
"240","VU","Vanuatu","678"
"241","VA","Vatican City","39"
"242","VE","Venezuela","58"
"243","VN","Vietnam","84"
"244","VG","Virgin Islands, British","1+284"
"245","VI","Virgin Islands, US","1+340"
"246","WF","Wallis and Futuna","681"
"247","EH","Western Sahara","212"
"248","YE","Yemen","967"
"249","ZM","Zambia","260"
"250","ZW","Zimbabwe","263"</pre>
[active_article] => 1
[articlegroup] => 1
[articleid] => 7
[staff_article] => 0
[datecreated] => 2022-01-26 08:06:08
)
[7] => Array
(
[slug] => lead-register-w-autologin
[subject] => Lead - Register / AutoLogin [code]
[description] => <div>
<div><strong>Mandatory (MUST HAVE) Parameters:</strong></div>
<div></div>
<div><span>password (String),</span></div>
<div><span>name (String),</span></div>
<div><span>email (String),</span></div>
<div><span>source_id (Integer as String),</span></div>
<span><span style="color:#ff0000;"><span style="color:#000000;"><br></span></span></span>
<div><strong>Optional Parameters:</strong></div>
<span><span style="color:#ff0000;"><span style="color:#000000;"><br></span></span></span>
<div><span>phone (String),<br>description (String),<br></span></div>
<div><span>username (String) (if not passed it will contain passed email by default),</span></div>
<div><span>country (String) (iso2 format) (for example "UA" - Ukraine) (country can be defined by phone),<br>website (String),</span><span></span></div>
<div><span>tags (String) (if you need tags more then 1 you have to divide it with "," for example "tag1,tag2")</span></div>
<div><span></span></div>
<h4><span>Custom fields:</span></h4>
<div><span>You can also use Custom fields as optional parameters</span></div>
<div><span>To do so - just add key-value pair to your POST data, where Custom field <strong>slug</strong> is the key and your data - is the value</span></div>
<div><span><img src="https://crm.podcator.com/media/public/cf_slug_2023-07-28_20-08.jpeg" width="595" height="166" alt=""></span></div>
<div><br><span></span></div>
<span></span></div>
<div><span></span></div>
<div><span><br><span style="background-color:#ff6600;"><strong>REGISTER method</strong></span> -> client will fill your form -> your form will POST to <strong>https://{{crm_system.com}}/nanza/webhooks/register </strong>-><strong><br></strong><strong>client will be automatically redirected to the platform after sign up to CRM as lead and to platform as Client.</strong><br><br></span></div>
<div><br><strong>PHP EXAMPLE:</strong><br><br>
<div>
<div><span><?php</span></div>
<br>
<div><span>$curl</span><span> = curl_init();</span></div>
<br>
<div><span>curl_setopt_array(</span><span>$curl</span><span>, </span><span>array</span><span>(</span></div>
<div><span>  CURLOPT_URL => </span><span>'https://{{crm_system.com}}/nanza/webhooks/register'</span><span>,</span></div>
<div><span>  CURLOPT_RETURNTRANSFER => </span><span>true</span><span>,</span></div>
<div><span>  CURLOPT_ENCODING => </span><span>''</span><span>,</span></div>
<div><span>  CURLOPT_MAXREDIRS => </span><span>10</span><span>,</span></div>
<div><span>  CURLOPT_TIMEOUT => </span><span>0</span><span>,</span></div>
<div><span>  CURLOPT_FOLLOWLOCATION => </span><span>true</span><span>,</span></div>
<div><span>  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,</span></div>
<div><span>  CURLOPT_CUSTOMREQUEST => </span><span>'POST'</span><span>,</span></div>
<div><span>  CURLOPT_POSTFIELDS => </span><span>'username=user%40email.com&source_id=19&email=user%40email.com&name=USER_FULL_NAME&password=USER_PASSWORD'</span><span>,</span></div>
<div><span>  CURLOPT_HTTPHEADER => </span><span>array</span><span>(</span></div>
<div><span>    </span><span>'authtoken: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyIjoiZ2FwdHJhZGVfYWZmMSIsIm5hbWUiOiJHYXBUcmFkZSIsIkFQSV9USU1FIjoxNjM5NTcyMzk1fQ.mdTZhumtFzVGgPkYZ6GAiGfKvu1ekmYOt23DWZUTWv8'</span><span>,</span></div>
<div><span>    </span><span>'Content-Type: application/x-www-form-urlencoded'</span></div>
<div><span>  ),</span></div>
<div><span>));</span></div>
<br>
<div><span>$response</span><span> = curl_exec(</span><span>$curl</span><span>);</span></div>
<br>
<div><span>curl_close(</span><span>$curl</span><span>);</span></div>
<div><span>echo</span><span> </span><span>$response</span><span>;</span></div>
</div>
?><br><br><strong>CURL EXAMPLE:<br></strong><br>
<div>
<div><span>curl --location --request POST </span><span>'https://{{crm_system.com}}/nanza/webhooks/register'</span><span> </span></div>
<div><span>--header </span><span>'authtoken: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyIjoiZ2FwdHJhZGVfYWZmMSIsIm5hbWUiOiJHYXBUcmFkZSIsIkFQSV9USU1FIjoxNjM5NTcyMzk1fQ.mdTZhumtFzVGgPkYZ6GAiGfKvu1ekmYOt23DWZUTWv8'</span><span> </span></div>
<div><span>--header </span><span>'Content-Type: application/x-www-form-urlencoded'</span><span> </span></div>
<div><span>--data-urlencode </span><span>'username=user@email.com'</span><span> </span></div>
<div><span>--data-urlencode </span><span>'source_id=19'</span><span> </span></div>
<div><span>--data-urlencode </span><span>'email=user@email.com'</span><span> </span></div>
<div><span>--data-urlencode </span><span>'name=USER_FULL_NAME'</span><span> </span></div>
<div><span>--data-urlencode </span><span><span><span>'password=USER PASSWORD'<br><br><br><strong>Response:<br></strong></span></span></span>
<div>{<br>    "success":"test@test.com had been successfully<br>    registered",<br>    "autologin_link":"http://app.cn.loc/app/modules/nz-user/src/actions/get_login.php?token=cng4TzU1aU0zZmJ1d2dTMXlvZ1RvZz09",<br>    "lead_id":25105<br>}</div>
<span><span><strong><br></strong></span></span>
<div>
<div><span>{"error":"Lead with email test@gmail.com already exists!"}</span></div>
</div>
<span><strong><br></strong></span></div>
</div>
<span></span></div>
[active_article] => 1
[articlegroup] => 1
[articleid] => 8
[staff_article] => 0
[datecreated] => 2022-01-26 10:52:51
)
[8] => Array
(
[slug] => lead-country-list-json-format
[subject] => Lead - Country List JSON Format [code]
[description] => <pre class="language-markup"><code>[
{
"country_id": 1,
"iso2": "AF",
"short_name": "Afghanistan",
"calling_code": 93
},
{
"country_id": 2,
"iso2": "AX",
"short_name": "Aland Islands",
"calling_code": 358
},
{
"country_id": 3,
"iso2": "AL",
"short_name": "Albania",
"calling_code": 355
},
{
"country_id": 4,
"iso2": "DZ",
"short_name": "Algeria",
"calling_code": 213
},
{
"country_id": 5,
"iso2": "AS",
"short_name": "American Samoa",
"calling_code": "1+684"
},
{
"country_id": 6,
"iso2": "AD",
"short_name": "Andorra",
"calling_code": 376
},
{
"country_id": 7,
"iso2": "AO",
"short_name": "Angola",
"calling_code": 244
},
{
"country_id": 8,
"iso2": "AI",
"short_name": "Anguilla",
"calling_code": "1+264"
},
{
"country_id": 9,
"iso2": "AQ",
"short_name": "Antarctica",
"calling_code": 672
},
{
"country_id": 10,
"iso2": "AG",
"short_name": "Antigua and Barbuda",
"calling_code": "1+268"
},
{
"country_id": 11,
"iso2": "AR",
"short_name": "Argentina",
"calling_code": 54
},
{
"country_id": 12,
"iso2": "AM",
"short_name": "Armenia",
"calling_code": 374
},
{
"country_id": 13,
"iso2": "AW",
"short_name": "Aruba",
"calling_code": 297
},
{
"country_id": 14,
"iso2": "AU",
"short_name": "Australia",
"calling_code": 61
},
{
"country_id": 15,
"iso2": "AT",
"short_name": "Austria",
"calling_code": 43
},
{
"country_id": 16,
"iso2": "AZ",
"short_name": "Azerbaijan",
"calling_code": 994
},
{
"country_id": 17,
"iso2": "BS",
"short_name": "Bahamas",
"calling_code": "1+242"
},
{
"country_id": 18,
"iso2": "BH",
"short_name": "Bahrain",
"calling_code": 973
},
{
"country_id": 19,
"iso2": "BD",
"short_name": "Bangladesh",
"calling_code": 880
},
{
"country_id": 20,
"iso2": "BB",
"short_name": "Barbados",
"calling_code": "1+246"
},
{
"country_id": 21,
"iso2": "BY",
"short_name": "Belarus",
"calling_code": 375
},
{
"country_id": 22,
"iso2": "BE",
"short_name": "Belgium",
"calling_code": 32
},
{
"country_id": 23,
"iso2": "BZ",
"short_name": "Belize",
"calling_code": 501
},
{
"country_id": 24,
"iso2": "BJ",
"short_name": "Benin",
"calling_code": 229
},
{
"country_id": 25,
"iso2": "BM",
"short_name": "Bermuda",
"calling_code": "1+441"
},
{
"country_id": 26,
"iso2": "BT",
"short_name": "Bhutan",
"calling_code": 975
},
{
"country_id": 27,
"iso2": "BO",
"short_name": "Bolivia",
"calling_code": 591
},
{
"country_id": 28,
"iso2": "BQ",
"short_name": "Bonaire, Sint Eustatius and Saba",
"calling_code": 599
},
{
"country_id": 29,
"iso2": "BA",
"short_name": "Bosnia and Herzegovina",
"calling_code": 387
},
{
"country_id": 30,
"iso2": "BW",
"short_name": "Botswana",
"calling_code": 267
},
{
"country_id": 31,
"iso2": "BV",
"short_name": "Bouvet Island",
"calling_code": "NONE"
},
{
"country_id": 32,
"iso2": "BR",
"short_name": "Brazil",
"calling_code": 55
},
{
"country_id": 33,
"iso2": "IO",
"short_name": "British Indian Ocean Territory",
"calling_code": 246
},
{
"country_id": 34,
"iso2": "BN",
"short_name": "Brunei",
"calling_code": 673
},
{
"country_id": 35,
"iso2": "BG",
"short_name": "Bulgaria",
"calling_code": 359
},
{
"country_id": 36,
"iso2": "BF",
"short_name": "Burkina Faso",
"calling_code": 226
},
{
"country_id": 37,
"iso2": "BI",
"short_name": "Burundi",
"calling_code": 257
},
{
"country_id": 38,
"iso2": "KH",
"short_name": "Cambodia",
"calling_code": 855
},
{
"country_id": 39,
"iso2": "CM",
"short_name": "Cameroon",
"calling_code": 237
},
{
"country_id": 40,
"iso2": "CA",
"short_name": "Canada",
"calling_code": 1
},
{
"country_id": 41,
"iso2": "CV",
"short_name": "Cape Verde",
"calling_code": 238
},
{
"country_id": 42,
"iso2": "KY",
"short_name": "Cayman Islands",
"calling_code": "1+345"
},
{
"country_id": 43,
"iso2": "CF",
"short_name": "Central African Republic",
"calling_code": 236
},
{
"country_id": 44,
"iso2": "TD",
"short_name": "Chad",
"calling_code": 235
},
{
"country_id": 45,
"iso2": "CL",
"short_name": "Chile",
"calling_code": 56
},
{
"country_id": 46,
"iso2": "CN",
"short_name": "China",
"calling_code": 86
},
{
"country_id": 47,
"iso2": "CX",
"short_name": "Christmas Island",
"calling_code": 61
},
{
"country_id": 48,
"iso2": "CC",
"short_name": "Cocos (Keeling) Islands",
"calling_code": 61
},
{
"country_id": 49,
"iso2": "CO",
"short_name": "Colombia",
"calling_code": 57
},
{
"country_id": 50,
"iso2": "KM",
"short_name": "Comoros",
"calling_code": 269
},
{
"country_id": 51,
"iso2": "CG",
"short_name": "Congo",
"calling_code": 242
},
{
"country_id": 52,
"iso2": "CK",
"short_name": "Cook Islands",
"calling_code": 682
},
{
"country_id": 53,
"iso2": "CR",
"short_name": "Costa Rica",
"calling_code": 506
},
{
"country_id": 54,
"iso2": "CI",
"short_name": "Cote d'ivoire (Ivory Coast)",
"calling_code": 225
},
{
"country_id": 55,
"iso2": "HR",
"short_name": "Croatia",
"calling_code": 385
},
{
"country_id": 56,
"iso2": "CU",
"short_name": "Cuba",
"calling_code": 53
},
{
"country_id": 57,
"iso2": "CW",
"short_name": "Curacao",
"calling_code": 599
},
{
"country_id": 58,
"iso2": "CY",
"short_name": "Cyprus",
"calling_code": 357
},
{
"country_id": 59,
"iso2": "CZ",
"short_name": "Czech Republic",
"calling_code": 420
},
{
"country_id": 60,
"iso2": "CD",
"short_name": "Democratic Republic of the Congo",
"calling_code": 243
},
{
"country_id": 61,
"iso2": "DK",
"short_name": "Denmark",
"calling_code": 45
},
{
"country_id": 62,
"iso2": "DJ",
"short_name": "Djibouti",
"calling_code": 253
},
{
"country_id": 63,
"iso2": "DM",
"short_name": "Dominica",
"calling_code": "1+767"
},
{
"country_id": 64,
"iso2": "DO",
"short_name": "Dominican Republic",
"calling_code": "1+809, 8"
},
{
"country_id": 65,
"iso2": "EC",
"short_name": "Ecuador",
"calling_code": 593
},
{
"country_id": 66,
"iso2": "EG",
"short_name": "Egypt",
"calling_code": 20
},
{
"country_id": 67,
"iso2": "SV",
"short_name": "El Salvador",
"calling_code": 503
},
{
"country_id": 68,
"iso2": "GQ",
"short_name": "Equatorial Guinea",
"calling_code": 240
},
{
"country_id": 69,
"iso2": "ER",
"short_name": "Eritrea",
"calling_code": 291
},
{
"country_id": 70,
"iso2": "EE",
"short_name": "Estonia",
"calling_code": 372
},
{
"country_id": 71,
"iso2": "ET",
"short_name": "Ethiopia",
"calling_code": 251
},
{
"country_id": 72,
"iso2": "FK",
"short_name": "Falkland Islands (Malvinas)",
"calling_code": 500
},
{
"country_id": 73,
"iso2": "FO",
"short_name": "Faroe Islands",
"calling_code": 298
},
{
"country_id": 74,
"iso2": "FJ",
"short_name": "Fiji",
"calling_code": 679
},
{
"country_id": 75,
"iso2": "FI",
"short_name": "Finland",
"calling_code": 358
},
{
"country_id": 76,
"iso2": "FR",
"short_name": "France",
"calling_code": 33
},
{
"country_id": 77,
"iso2": "GF",
"short_name": "French Guiana",
"calling_code": 594
},
{
"country_id": 78,
"iso2": "PF",
"short_name": "French Polynesia",
"calling_code": 689
},
{
"country_id": 79,
"iso2": "TF",
"short_name": "French Southern Territories",
"calling_code": ""
},
{
"country_id": 80,
"iso2": "GA",
"short_name": "Gabon",
"calling_code": 241
},
{
"country_id": 81,
"iso2": "GM",
"short_name": "Gambia",
"calling_code": 220
},
{
"country_id": 82,
"iso2": "GE",
"short_name": "Georgia",
"calling_code": 995
},
{
"country_id": 83,
"iso2": "DE",
"short_name": "Germany",
"calling_code": 49
},
{
"country_id": 84,
"iso2": "GH",
"short_name": "Ghana",
"calling_code": 233
},
{
"country_id": 85,
"iso2": "GI",
"short_name": "Gibraltar",
"calling_code": 350
},
{
"country_id": 86,
"iso2": "GR",
"short_name": "Greece",
"calling_code": 30
},
{
"country_id": 87,
"iso2": "GL",
"short_name": "Greenland",
"calling_code": 299
},
{
"country_id": 88,
"iso2": "GD",
"short_name": "Grenada",
"calling_code": "1+473"
},
{
"country_id": 89,
"iso2": "GP",
"short_name": "Guadaloupe",
"calling_code": 590
},
{
"country_id": 90,
"iso2": "GU",
"short_name": "Guam",
"calling_code": "1+671"
},
{
"country_id": 91,
"iso2": "GT",
"short_name": "Guatemala",
"calling_code": 502
},
{
"country_id": 92,
"iso2": "GG",
"short_name": "Guernsey",
"calling_code": 44
},
{
"country_id": 93,
"iso2": "GN",
"short_name": "Guinea",
"calling_code": 224
},
{
"country_id": 94,
"iso2": "GW",
"short_name": "Guinea-Bissau",
"calling_code": 245
},
{
"country_id": 95,
"iso2": "GY",
"short_name": "Guyana",
"calling_code": 592
},
{
"country_id": 96,
"iso2": "HT",
"short_name": "Haiti",
"calling_code": 509
},
{
"country_id": 97,
"iso2": "HM",
"short_name": "Heard Island and McDonald Islands",
"calling_code": "NONE"
},
{
"country_id": 98,
"iso2": "HN",
"short_name": "Honduras",
"calling_code": 504
},
{
"country_id": 99,
"iso2": "HK",
"short_name": "Hong Kong",
"calling_code": 852
},
{
"country_id": 100,
"iso2": "HU",
"short_name": "Hungary",
"calling_code": 36
},
{
"country_id": 101,
"iso2": "IS",
"short_name": "Iceland",
"calling_code": 354
},
{
"country_id": 102,
"iso2": "IN",
"short_name": "India",
"calling_code": 91
},
{
"country_id": 103,
"iso2": "ID",
"short_name": "Indonesia",
"calling_code": 62
},
{
"country_id": 104,
"iso2": "IR",
"short_name": "Iran",
"calling_code": 98
},
{
"country_id": 105,
"iso2": "IQ",
"short_name": "Iraq",
"calling_code": 964
},
{
"country_id": 106,
"iso2": "IE",
"short_name": "Ireland",
"calling_code": 353
},
{
"country_id": 107,
"iso2": "IM",
"short_name": "Isle of Man",
"calling_code": 44
},
{
"country_id": 108,
"iso2": "IL",
"short_name": "Israel",
"calling_code": 972
},
{
"country_id": 109,
"iso2": "IT",
"short_name": "Italy",
"calling_code": 39
},
{
"country_id": 110,
"iso2": "JM",
"short_name": "Jamaica",
"calling_code": "1+876"
},
{
"country_id": 111,
"iso2": "JP",
"short_name": "Japan",
"calling_code": 81
},
{
"country_id": 112,
"iso2": "JE",
"short_name": "Jersey",
"calling_code": 44
},
{
"country_id": 113,
"iso2": "JO",
"short_name": "Jordan",
"calling_code": 962
},
{
"country_id": 114,
"iso2": "KZ",
"short_name": "Kazakhstan",
"calling_code": 7
},
{
"country_id": 115,
"iso2": "KE",
"short_name": "Kenya",
"calling_code": 254
},
{
"country_id": 116,
"iso2": "KI",
"short_name": "Kiribati",
"calling_code": 686
},
{
"country_id": 117,
"iso2": "XK",
"short_name": "Kosovo",
"calling_code": 381
},
{
"country_id": 118,
"iso2": "KW",
"short_name": "Kuwait",
"calling_code": 965
},
{
"country_id": 119,
"iso2": "KG",
"short_name": "Kyrgyzstan",
"calling_code": 996
},
{
"country_id": 120,
"iso2": "LA",
"short_name": "Laos",
"calling_code": 856
},
{
"country_id": 121,
"iso2": "LV",
"short_name": "Latvia",
"calling_code": 371
},
{
"country_id": 122,
"iso2": "LB",
"short_name": "Lebanon",
"calling_code": 961
},
{
"country_id": 123,
"iso2": "LS",
"short_name": "Lesotho",
"calling_code": 266
},
{
"country_id": 124,
"iso2": "LR",
"short_name": "Liberia",
"calling_code": 231
},
{
"country_id": 125,
"iso2": "LY",
"short_name": "Libya",
"calling_code": 218
},
{
"country_id": 126,
"iso2": "LI",
"short_name": "Liechtenstein",
"calling_code": 423
},
{
"country_id": 127,
"iso2": "LT",
"short_name": "Lithuania",
"calling_code": 370
},
{
"country_id": 128,
"iso2": "LU",
"short_name": "Luxembourg",
"calling_code": 352
},
{
"country_id": 129,
"iso2": "MO",
"short_name": "Macao",
"calling_code": 853
},
{
"country_id": 130,
"iso2": "MK",
"short_name": "North Macedonia",
"calling_code": 389
},
{
"country_id": 131,
"iso2": "MG",
"short_name": "Madagascar",
"calling_code": 261
},
{
"country_id": 132,
"iso2": "MW",
"short_name": "Malawi",
"calling_code": 265
},
{
"country_id": 133,
"iso2": "MY",
"short_name": "Malaysia",
"calling_code": 60
},
{
"country_id": 134,
"iso2": "MV",
"short_name": "Maldives",
"calling_code": 960
},
{
"country_id": 135,
"iso2": "ML",
"short_name": "Mali",
"calling_code": 223
},
{
"country_id": 136,
"iso2": "MT",
"short_name": "Malta",
"calling_code": 356
},
{
"country_id": 137,
"iso2": "MH",
"short_name": "Marshall Islands",
"calling_code": 692
},
{
"country_id": 138,
"iso2": "MQ",
"short_name": "Martinique",
"calling_code": 596
},
{
"country_id": 139,
"iso2": "MR",
"short_name": "Mauritania",
"calling_code": 222
},
{
"country_id": 140,
"iso2": "MU",
"short_name": "Mauritius",
"calling_code": 230
},
{
"country_id": 141,
"iso2": "YT",
"short_name": "Mayotte",
"calling_code": 262
},
{
"country_id": 142,
"iso2": "MX",
"short_name": "Mexico",
"calling_code": 52
},
{
"country_id": 143,
"iso2": "FM",
"short_name": "Micronesia",
"calling_code": 691
},
{
"country_id": 144,
"iso2": "MD",
"short_name": "Moldava",
"calling_code": 373
},
{
"country_id": 145,
"iso2": "MC",
"short_name": "Monaco",
"calling_code": 377
},
{
"country_id": 146,
"iso2": "MN",
"short_name": "Mongolia",
"calling_code": 976
},
{
"country_id": 147,
"iso2": "ME",
"short_name": "Montenegro",
"calling_code": 382
},
{
"country_id": 148,
"iso2": "MS",
"short_name": "Montserrat",
"calling_code": "1+664"
},
{
"country_id": 149,
"iso2": "MA",
"short_name": "Morocco",
"calling_code": 212
},
{
"country_id": 150,
"iso2": "MZ",
"short_name": "Mozambique",
"calling_code": 258
},
{
"country_id": 151,
"iso2": "MM",
"short_name": "Myanmar (Burma)",
"calling_code": 95
},
{
"country_id": 152,
"iso2": "NA",
"short_name": "Namibia",
"calling_code": 264
},
{
"country_id": 153,
"iso2": "NR",
"short_name": "Nauru",
"calling_code": 674
},
{
"country_id": 154,
"iso2": "NP",
"short_name": "Nepal",
"calling_code": 977
},
{
"country_id": 155,
"iso2": "NL",
"short_name": "Netherlands",
"calling_code": 31
},
{
"country_id": 156,
"iso2": "NC",
"short_name": "New Caledonia",
"calling_code": 687
},
{
"country_id": 157,
"iso2": "NZ",
"short_name": "New Zealand",
"calling_code": 64
},
{
"country_id": 158,
"iso2": "NI",
"short_name": "Nicaragua",
"calling_code": 505
},
{
"country_id": 159,
"iso2": "NE",
"short_name": "Niger",
"calling_code": 227
},
{
"country_id": 160,
"iso2": "NG",
"short_name": "Nigeria",
"calling_code": 234
},
{
"country_id": 161,
"iso2": "NU",
"short_name": "Niue",
"calling_code": 683
},
{
"country_id": 162,
"iso2": "NF",
"short_name": "Norfolk Island",
"calling_code": 672
},
{
"country_id": 163,
"iso2": "KP",
"short_name": "North Korea",
"calling_code": 850
},
{
"country_id": 164,
"iso2": "MP",
"short_name": "Northern Mariana Islands",
"calling_code": "1+670"
},
{
"country_id": 165,
"iso2": "NO",
"short_name": "Norway",
"calling_code": 47
},
{
"country_id": 166,
"iso2": "OM",
"short_name": "Oman",
"calling_code": 968
},
{
"country_id": 167,
"iso2": "PK",
"short_name": "Pakistan",
"calling_code": 92
},
{
"country_id": 168,
"iso2": "PW",
"short_name": "Palau",
"calling_code": 680
},
{
"country_id": 169,
"iso2": "PS",
"short_name": "Palestine",
"calling_code": 970
},
{
"country_id": 170,
"iso2": "PA",
"short_name": "Panama",
"calling_code": 507
},
{
"country_id": 171,
"iso2": "PG",
"short_name": "Papua New Guinea",
"calling_code": 675
},
{
"country_id": 172,
"iso2": "PY",
"short_name": "Paraguay",
"calling_code": 595
},
{
"country_id": 173,
"iso2": "PE",
"short_name": "Peru",
"calling_code": 51
},
{
"country_id": 174,
"iso2": "PH",
"short_name": "Philippines",
"calling_code": 63
},
{
"country_id": 175,
"iso2": "PN",
"short_name": "Pitcairn",
"calling_code": "NONE"
},
{
"country_id": 176,
"iso2": "PL",
"short_name": "Poland",
"calling_code": 48
},
{
"country_id": 177,
"iso2": "PT",
"short_name": "Portugal",
"calling_code": 351
},
{
"country_id": 178,
"iso2": "PR",
"short_name": "Puerto Rico",
"calling_code": "1+939"
},
{
"country_id": 179,
"iso2": "QA",
"short_name": "Qatar",
"calling_code": 974
},
{
"country_id": 180,
"iso2": "RE",
"short_name": "Reunion",
"calling_code": 262
},
{
"country_id": 181,
"iso2": "RO",
"short_name": "Romania",
"calling_code": 40
},
{
"country_id": 182,
"iso2": "RU",
"short_name": "Russia",
"calling_code": 7
},
{
"country_id": 183,
"iso2": "RW",
"short_name": "Rwanda",
"calling_code": 250
},
{
"country_id": 184,
"iso2": "BL",
"short_name": "Saint Barthelemy",
"calling_code": 590
},
{
"country_id": 185,
"iso2": "SH",
"short_name": "Saint Helena",
"calling_code": 290
},
{
"country_id": 186,
"iso2": "KN",
"short_name": "Saint Kitts and Nevis",
"calling_code": "1+869"
},
{
"country_id": 187,
"iso2": "LC",
"short_name": "Saint Lucia",
"calling_code": "1+758"
},
{
"country_id": 188,
"iso2": "MF",
"short_name": "Saint Martin",
"calling_code": 590
},
{
"country_id": 189,
"iso2": "PM",
"short_name": "Saint Pierre and Miquelon",
"calling_code": 508
},
{
"country_id": 190,
"iso2": "VC",
"short_name": "Saint Vincent and the Grenadines",
"calling_code": "1+784"
},
{
"country_id": 191,
"iso2": "WS",
"short_name": "Samoa",
"calling_code": 685
},
{
"country_id": 192,
"iso2": "SM",
"short_name": "San Marino",
"calling_code": 378
},
{
"country_id": 193,
"iso2": "ST",
"short_name": "Sao Tome and Principe",
"calling_code": 239
},
{
"country_id": 194,
"iso2": "SA",
"short_name": "Saudi Arabia",
"calling_code": 966
},
{
"country_id": 195,
"iso2": "SN",
"short_name": "Senegal",
"calling_code": 221
},
{
"country_id": 196,
"iso2": "RS",
"short_name": "Serbia",
"calling_code": 381
},
{
"country_id": 197,
"iso2": "SC",
"short_name": "Seychelles",
"calling_code": 248
},
{
"country_id": 198,
"iso2": "SL",
"short_name": "Sierra Leone",
"calling_code": 232
},
{
"country_id": 199,
"iso2": "SG",
"short_name": "Singapore",
"calling_code": 65
},
{
"country_id": 200,
"iso2": "SX",
"short_name": "Sint Maarten",
"calling_code": "1+721"
},
{
"country_id": 201,
"iso2": "SK",
"short_name": "Slovakia",
"calling_code": 421
},
{
"country_id": 202,
"iso2": "SI",
"short_name": "Slovenia",
"calling_code": 386
},
{
"country_id": 203,
"iso2": "SB",
"short_name": "Solomon Islands",
"calling_code": 677
},
{
"country_id": 204,
"iso2": "SO",
"short_name": "Somalia",
"calling_code": 252
},
{
"country_id": 205,
"iso2": "ZA",
"short_name": "South Africa",
"calling_code": 27
},
{
"country_id": 206,
"iso2": "GS",
"short_name": "South Georgia and the South Sandwich Islands",
"calling_code": 500
},
{
"country_id": 207,
"iso2": "KR",
"short_name": "South Korea",
"calling_code": 82
},
{
"country_id": 208,
"iso2": "SS",
"short_name": "South Sudan",
"calling_code": 211
},
{
"country_id": 209,
"iso2": "ES",
"short_name": "Spain",
"calling_code": 34
},
{
"country_id": 210,
"iso2": "LK",
"short_name": "Sri Lanka",
"calling_code": 94
},
{
"country_id": 211,
"iso2": "SD",
"short_name": "Sudan",
"calling_code": 249
},
{
"country_id": 212,
"iso2": "SR",
"short_name": "Suriname",
"calling_code": 597
},
{
"country_id": 213,
"iso2": "SJ",
"short_name": "Svalbard and Jan Mayen",
"calling_code": 47
},
{
"country_id": 214,
"iso2": "SZ",
"short_name": "Swaziland",
"calling_code": 268
},
{
"country_id": 215,
"iso2": "SE",
"short_name": "Sweden",
"calling_code": 46
},
{
"country_id": 216,
"iso2": "CH",
"short_name": "Switzerland",
"calling_code": 41
},
{
"country_id": 217,
"iso2": "SY",
"short_name": "Syria",
"calling_code": 963
},
{
"country_id": 218,
"iso2": "TW",
"short_name": "Taiwan",
"calling_code": 886
},
{
"country_id": 219,
"iso2": "TJ",
"short_name": "Tajikistan",
"calling_code": 992
},
{
"country_id": 220,
"iso2": "TZ",
"short_name": "Tanzania",
"calling_code": 255
},
{
"country_id": 221,
"iso2": "TH",
"short_name": "Thailand",
"calling_code": 66
},
{
"country_id": 222,
"iso2": "TL",
"short_name": "Timor-Leste (East Timor)",
"calling_code": 670
},
{
"country_id": 223,
"iso2": "TG",
"short_name": "Togo",
"calling_code": 228
},
{
"country_id": 224,
"iso2": "TK",
"short_name": "Tokelau",
"calling_code": 690
},
{
"country_id": 225,
"iso2": "TO",
"short_name": "Tonga",
"calling_code": 676
},
{
"country_id": 226,
"iso2": "TT",
"short_name": "Trinidad and Tobago",
"calling_code": "1+868"
},
{
"country_id": 227,
"iso2": "TN",
"short_name": "Tunisia",
"calling_code": 216
},
{
"country_id": 228,
"iso2": "TR",
"short_name": "Turkey",
"calling_code": 90
},
{
"country_id": 229,
"iso2": "TM",
"short_name": "Turkmenistan",
"calling_code": 993
},
{
"country_id": 230,
"iso2": "TC",
"short_name": "Turks and Caicos Islands",
"calling_code": "1+649"
},
{
"country_id": 231,
"iso2": "TV",
"short_name": "Tuvalu",
"calling_code": 688
},
{
"country_id": 232,
"iso2": "UG",
"short_name": "Uganda",
"calling_code": 256
},
{
"country_id": 233,
"iso2": "UA",
"short_name": "Ukraine",
"calling_code": 380
},
{
"country_id": 234,
"iso2": "AE",
"short_name": "United Arab Emirates",
"calling_code": 971
},
{
"country_id": 235,
"iso2": "GB",
"short_name": "United Kingdom",
"calling_code": 44
},
{
"country_id": 236,
"iso2": "US",
"short_name": "United States",
"calling_code": 1
},
{
"country_id": 237,
"iso2": "UM",
"short_name": "United States Minor Outlying Islands",
"calling_code": "NONE"
},
{
"country_id": 238,
"iso2": "UY",
"short_name": "Uruguay",
"calling_code": 598
},
{
"country_id": 239,
"iso2": "UZ",
"short_name": "Uzbekistan",
"calling_code": 998
},
{
"country_id": 240,
"iso2": "VU",
"short_name": "Vanuatu",
"calling_code": 678
},
{
"country_id": 241,
"iso2": "VA",
"short_name": "Vatican City",
"calling_code": 39
},
{
"country_id": 242,
"iso2": "VE",
"short_name": "Venezuela",
"calling_code": 58
},
{
"country_id": 243,
"iso2": "VN",
"short_name": "Vietnam",
"calling_code": 84
},
{
"country_id": 244,
"iso2": "VG",
"short_name": "Virgin Islands, British",
"calling_code": "1+284"
},
{
"country_id": 245,
"iso2": "VI",
"short_name": "Virgin Islands, US",
"calling_code": "1+340"
},
{
"country_id": 246,
"iso2": "WF",
"short_name": "Wallis and Futuna",
"calling_code": 681
},
{
"country_id": 247,
"iso2": "EH",
"short_name": "Western Sahara",
"calling_code": 212
},
{
"country_id": 248,
"iso2": "YE",
"short_name": "Yemen",
"calling_code": 967
},
{
"country_id": 249,
"iso2": "ZM",
"short_name": "Zambia",
"calling_code": 260
},
{
"country_id": 250,
"iso2": "ZW",
"short_name": "Zimbabwe",
"calling_code": 263
}
]</code></pre>
[active_article] => 1
[articlegroup] => 1
[articleid] => 9
[staff_article] => 0
[datecreated] => 2022-01-26 12:25:59
)
[9] => Array
(
[slug] => get-ftd-leads
[subject] => GET FTD Leads [code]
[description] => <p><span class="type type__get">GET</span><span></span></p>
<pre class="language-markup"><code>api/leads/deposits</code></pre>
<h2>Header</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code"><span>authtoken</span></td>
<td>String</td>
<td>
<p>Basic Access Authentication token.</p>
</td>
</tr>
</tbody>
</table>
<h2><br>Success 200</h2>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#success-examples-Lead-GetLead-0_0_0-0">Success-Response:</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-markup"><code>HTTP/1.1 200 OK
[
{
"id": "5090",
"hash": "3ba748b5d1884c177b36c2c2ffec51b8-5fb749ef7ce554bb8090eb83d105b882",
"name": "test testov",
"title": "",
"company": "",
"description": "",
"country": "0",
"zip": "",
"city": "",
"state": "",
"address": "",
"assigned": "0",
"dateadded": "2022-02-09 11:52:31",
"from_form_id": "0",
"status": "1",
"source": "10",
"lastcontact": "2022-02-09 11:52:31",
"dateassigned": null,
"last_status_change": null,
"addedfrom": "0",
"email": "test@testov.com",
"website": "",
"leadorder": "1",
"phonenumber": "",
"date_converted": "2022-02-09 12:16:57",
"lost": "0",
"junk": "0",
"last_lead_status": "0",
"is_imported_from_email_integration": "0",
"email_integration_uid": null,
"is_public": "0",
"default_language": "",
"client_id": "0",
"converted_by_lead_manager": "0",
"lead_value": null,
"lm_follow_up": "0"
}
]</code></pre>
</div>
</div>
<h2>Error 4xx</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">status</td>
<td>Boolean</td>
<td>
<p>Request status.</p>
</td>
</tr>
<tr>
<td class="code">message</td>
<td>String</td>
<td>
<p>No data were found.</p>
</td>
</tr>
</tbody>
</table>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#error-examples-Lead-GetLead-0_0_0-0">Error-Response:</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-json"><code>HTTP/1.1 404 Not Found
{
"status": false,
"message": "No data were found"
}</code></pre>
</div>
</div>
[active_article] => 1
[articlegroup] => 1
[articleid] => 10
[staff_article] => 0
[datecreated] => 2022-02-09 12:57:05
)
[10] => Array
(
[slug] => get-deposited-leads-by-dates
[subject] => Get Deposited Leads by Dates [code]
[description] => <div class="col-md-8">
<div class="mtop10 tc-content kb-article-content">
<section class="show-api-group show-api-Lead-group">
<div class="show-api-article show-api-Lead-article show-api-Lead-PutLead-article">
<article><strong><span class="type type__put">GET</span></strong>
<pre class="language-markup"><code>api/leads/deposit/{from_date}/{to_date}</code></pre>
<h2>Header</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">authtoken</td>
<td>String</td>
<td>
<p>Basic Access Authentication token.</p>
</td>
</tr>
</tbody>
</table>
<br><br>
<h2>Parameter Segments</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">from_date</td>
<td>String</td>
<td>
<p>format: 2021-01-31</p>
</td>
</tr>
<tr>
<td>to_date</td>
<td>String</td>
<td>
<p>format: 2021-01-31</p>
</td>
</tr>
</tbody>
</table>
<br><br>
<h2>Success 200</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">Lead</td>
<td>Object</td>
<td>
<p>information.</p>
</td>
</tr>
</tbody>
</table>
<div class="tab-content">
<div class="tab-pane active">
<p></p>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#success-examples-Lead-GetLeadSearch-0_0_0-0">Success-Response:</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-markup"><code>HTTP/1.1 200 OK
{
"id": "5108",
"hash": "4e2c75a010a4d88cb9b3a0c902ece4ff-551db57ec960784382b3de5b76d02c4a",
"name": "test testov",
"title": "",
"company": "",
"description": "",
"country": "0",
"zip": "",
"city": "",
"state": "",
"address": "",
"assigned": "0",
"dateadded": "2022-02-17 07:32:23",
"from_form_id": "0",
"status": "1",
"source": "10",
"lastcontact": "2022-02-17 07:32:23",
"dateassigned": null,
"last_status_change": null,
"addedfrom": "0",
"email": "newtest239856@gmail.com",
"website": "",
"leadorder": "1",
"phonenumber": null,
"date_converted": "2022-02-17 07:46:14",
"lost": "0",
"junk": "0",
"last_lead_status": "0",
"is_imported_from_email_integration": "0",
"email_integration_uid": null,
"is_public": "0",
"default_language": "",
"client_id": "0",
"converted_by_lead_manager": "0",
"lead_value": null,
"lm_follow_up": "0"
}</code></pre>
</div>
</div>
<h2>Error 4xx</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">status</td>
<td>Boolean</td>
<td>
<p>Request status.</p>
</td>
</tr>
<tr>
<td class="code">message</td>
<td>String</td>
<td>
<p>No data were found.</p>
</td>
</tr>
</tbody>
</table>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#error-examples-Lead-GetLeadSearch-0_0_0-0">Error-Response:</a></li>
</ul>
<pre class="language-markup"><code>HTTP/1.1 404 Not Found
{
"status": false,
"message": "No Data Found."
}</code></pre>
<p></p>
<div class="pull-left">Lead statuses definition</div>
<div class="pull-left"></div>
<div class="pull-left"><a href="https://crm.podcator.com/knowledge-base/article/leads-status">Request to fetch statuses</a><br><br>Please FOLLOW "status" field from our API for updated lead statuses.<br><br><br><br></div>
</div>
</div>
</article>
</div>
</section>
</div>
</div>
[active_article] => 1
[articlegroup] => 1
[articleid] => 11
[staff_article] => 0
[datecreated] => 2022-02-17 09:35:32
)
[11] => Array
(
[slug] => leads-status
[subject] => Leads Status [code]
[description] => <p><span class="type type__get">GET</span><span></span></p>
<pre class="language-markup"><code>api/leads/statuses</code></pre>
<h2>Header</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code"><span>authtoken</span></td>
<td>String</td>
<td>
<p>Basic Access Authentication token.</p>
</td>
</tr>
</tbody>
</table>
<h2><br>Success 200</h2>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#success-examples-Lead-GetLead-0_0_0-0">Success-Response:</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-markup"><code>HTTP/1.1 200 OK
[
{
"id": "1",
"name": "FTD Success"
},
{
"id": "2",
"name": "Busy"
},
{
"id": "3",
"name": "Failed to connect"
}
]</code></pre>
</div>
</div>
<h2>Error 4xx</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="code">status</td>
<td>Boolean</td>
<td>
<p>Request status.</p>
</td>
</tr>
<tr>
<td class="code">message</td>
<td>String</td>
<td>
<p>No data were found.</p>
</td>
</tr>
</tbody>
</table>
<ul class="nav nav-tabs nav-tabs-examples">
<li class="active"><a href="https://perfexcrm.themesic.com/apiguide/#error-examples-Lead-GetLead-0_0_0-0">Error-Response:</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
<pre class="language-json"><code>HTTP/1.1 404 Not Found
{
"status": false,
"message": "No data were found"
}</code></pre>
</div>
</div>
[active_article] => 1
[articlegroup] => 1
[articleid] => 12
[staff_article] => 0
[datecreated] => 2022-07-11 15:23:40
)
)
)
)
|