<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mesibo Phone Contacts APIs - Introduction on mesibo documentation</title><link>https://docs.mesibo.com/api/phone-contacts-and-addressbook/</link><description>Recent content in Mesibo Phone Contacts APIs - Introduction on mesibo documentation</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.mesibo.com/api/phone-contacts-and-addressbook/index.xml" rel="self" type="application/rss+xml"/><item><title>Mesibo Phone Contacts Validation and Formatting</title><link>https://docs.mesibo.com/api/phone-contacts-and-addressbook/validation-and-formatting/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/api/phone-contacts-and-addressbook/validation-and-formatting/</guid><description>&lt;p&gt;mesibo simplifies the process of validating, correcting, and formatting phone numbers to a great extent. mesibo&amp;rsquo;s phone APIs offer faster performance compared to other APIs like &lt;code&gt;libphonenumber&lt;/code&gt; while maintaining the same or even better accuracy and reducing unnecessary overhead.&lt;/p&gt;
&lt;p&gt;You can utilize the &lt;code&gt;getPhoneNumberInfo()&lt;/code&gt; function to validate and format phone numbers. It will also attempt to detect and add the country code if it&amp;rsquo;s missing. This function returns a &lt;code&gt;MesiboPhoneContact&lt;/code&gt; object that contains various fields such as name, country, and type, as described below.&lt;/p&gt;</description></item><item><title>Mesibo Phone Contacts Monitoring and Synchronization</title><link>https://docs.mesibo.com/api/phone-contacts-and-addressbook/monitoring-and-synchronization/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/api/phone-contacts-and-addressbook/monitoring-and-synchronization/</guid><description>&lt;p&gt;In the previous section, we covered the basic phone contacts APIs. Now, we will discuss the mesibo APIs for synchronizing phone contacts and monitoring contact changes. The phone contact synchronization API uses &lt;a href=""&gt;mesibo contact syncronization APIs&lt;/a&gt; internally and hence familaize yourself with it before reading further.&lt;/p&gt;
&lt;h3 id="why-phone-contacts-synchronization-is-important"&gt;Why Phone Contacts Synchronization is important?&lt;a class="td-heading-self-link" href="#why-phone-contacts-synchronization-is-important" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Contact synchronization is important for several reasons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If your app logs in users based on their phone number, syncing contacts allows identifying which of the user&amp;rsquo;s contacts are also using your app. This facilitates connecting users with their contacts seamlessly.&lt;/p&gt;</description></item><item><title>Mesibo Phone Contacts Utility Functions</title><link>https://docs.mesibo.com/api/phone-contacts-and-addressbook/utility-functions/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/api/phone-contacts-and-addressbook/utility-functions/</guid><description>&lt;p&gt;You can also use the followng functions as needed:&lt;/p&gt;
&lt;h3 id="country-information"&gt;Country Information&lt;a class="td-heading-self-link" href="#country-information" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;You can use one of the following functions to get country information:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-proto" data-lang="proto"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;MesiboPhoneContact&lt;/span&gt; &lt;span class="n"&gt;getCountryCode&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;&lt;span class="err"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;MesiboPhoneContact&lt;/span&gt; &lt;span class="n"&gt;getCountryCode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;countryCode&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="err"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;where &lt;code&gt;countryCode&lt;/code&gt; is the ISO country code (for example, &amp;lsquo;US&amp;rsquo;) or phone code (for example, &amp;lsquo;1&amp;rsquo;). If invoked without any parameters, &lt;code&gt;getCountryCode&lt;/code&gt; returns the information about the currently set country.&lt;/p&gt;
&lt;h3 id="name-lookup-options"&gt;Name Lookup Options&lt;a class="td-heading-self-link" href="#name-lookup-options" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The mesibo phone contact API allows you to retrieve contact names, country information, and more from phone numbers. mesibo uses native Android and iOS APIs for this purpose and maintains a cache for efficient lookups.&lt;/p&gt;</description></item></channel></rss>