<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://docs.callproof.com/index.php?action=history&amp;feed=atom&amp;title=Microsoft_User_Login</id>
	<title>Microsoft User Login - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://docs.callproof.com/index.php?action=history&amp;feed=atom&amp;title=Microsoft_User_Login"/>
	<link rel="alternate" type="text/html" href="http://docs.callproof.com/index.php?title=Microsoft_User_Login&amp;action=history"/>
	<updated>2026-08-06T00:25:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://docs.callproof.com/index.php?title=Microsoft_User_Login&amp;diff=2359&amp;oldid=prev</id>
		<title>Ashley DeBon: /* Microsoft Login */</title>
		<link rel="alternate" type="text/html" href="http://docs.callproof.com/index.php?title=Microsoft_User_Login&amp;diff=2359&amp;oldid=prev"/>
		<updated>2026-07-20T05:21:35Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Microsoft Login&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 05:21, 20 July 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=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;== Microsoft Login ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;==&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Mobile_API]] &amp;amp;#187; &lt;/ins&gt;Microsoft Login ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;=== Base URL ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;=== Base URL ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ashley DeBon</name></author>
		
	</entry>
	<entry>
		<id>http://docs.callproof.com/index.php?title=Microsoft_User_Login&amp;diff=1389&amp;oldid=prev</id>
		<title>Ashley DeBon: Created page with &quot;== Microsoft Login ==  === Base URL === https://apimobile.callproof.com  === Endpoint === /api/microsoft-login  === Purpose === Authenticates an existing CallProof user throug...&quot;</title>
		<link rel="alternate" type="text/html" href="http://docs.callproof.com/index.php?title=Microsoft_User_Login&amp;diff=1389&amp;oldid=prev"/>
		<updated>2026-07-15T07:35:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Microsoft Login ==  === Base URL === https://apimobile.callproof.com  === Endpoint === /api/microsoft-login  === Purpose === Authenticates an existing CallProof user throug...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Microsoft Login ==&lt;br /&gt;
&lt;br /&gt;
=== Base URL ===&lt;br /&gt;
https://apimobile.callproof.com&lt;br /&gt;
&lt;br /&gt;
=== Endpoint ===&lt;br /&gt;
/api/microsoft-login&lt;br /&gt;
&lt;br /&gt;
=== Purpose ===&lt;br /&gt;
Authenticates an existing CallProof user through their Microsoft account. The Microsoft account email must match an existing, active CallProof account that is eligible for mobile access.&lt;br /&gt;
&lt;br /&gt;
=== HTTP Method ===&lt;br /&gt;
POST&lt;br /&gt;
&lt;br /&gt;
=== Headers ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Header !! Required !! Description&lt;br /&gt;
|-&lt;br /&gt;
| Content-Type || Yes || application/x-www-form-urlencoded&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Security ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;No&amp;#039;&amp;#039;&amp;#039; – No prior CallProof authentication is required. Valid Microsoft authentication credentials must be supplied.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
==== Request Body Fields ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter !! Type !! Required !! Description&lt;br /&gt;
|-&lt;br /&gt;
| access_token || string || Yes || A valid Microsoft access token used to retrieve and verify the user&amp;#039;s Microsoft identity.&lt;br /&gt;
|-&lt;br /&gt;
| token || string || Yes || The Microsoft identity token associated with the sign-in session.&lt;br /&gt;
|-&lt;br /&gt;
| device_type || string || Yes || The mobile platform. Accepted values are &amp;lt;code&amp;gt;android&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ios&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| refresh_token || string || No || A Microsoft refresh token used to maintain access to connected Microsoft services.&lt;br /&gt;
|-&lt;br /&gt;
| expires_in || integer || No || The number of seconds before the supplied Microsoft access token expires.&lt;br /&gt;
|-&lt;br /&gt;
| device_id_app || string || No || The device notification token used for notifications and device recognition.&lt;br /&gt;
|-&lt;br /&gt;
| device_phone_number || string || No || The phone number associated with the mobile device.&lt;br /&gt;
|-&lt;br /&gt;
| device_time_zone || string || No || The device&amp;#039;s time zone. When omitted, a time zone may be determined automatically.&lt;br /&gt;
|-&lt;br /&gt;
| cp_version || string || No || The installed CallProof application version.&lt;br /&gt;
|-&lt;br /&gt;
| product || string || No || The device product or model identifier.&lt;br /&gt;
|-&lt;br /&gt;
| resolution || string || No || The device screen resolution.&lt;br /&gt;
|-&lt;br /&gt;
| device_name || string || No || The user-visible device name.&lt;br /&gt;
|-&lt;br /&gt;
| is_tablet || boolean || No || Indicates whether the device is a tablet.&lt;br /&gt;
|-&lt;br /&gt;
| android_version || string || No || The Android operating-system version.&lt;br /&gt;
|-&lt;br /&gt;
| android_api_version || string || No || The Android API version.&lt;br /&gt;
|-&lt;br /&gt;
| android_apk_version || string || No || The installed Android application package version.&lt;br /&gt;
|-&lt;br /&gt;
| is_callLog_build || boolean || No || Indicates whether the Android application supports call-log capabilities.&lt;br /&gt;
|-&lt;br /&gt;
| ios_version || string || No || The iOS operating-system version.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Successful Response (200) ===&lt;br /&gt;
The Microsoft identity was verified, matched to an eligible CallProof account, and authenticated access credentials were issued.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| clientStatusCode || integer || Business-level response status. A successful login returns &amp;lt;code&amp;gt;200&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| data.token_type || string || The authentication token type.&lt;br /&gt;
|-&lt;br /&gt;
| data.expires_in || integer || The CallProof access token validity period.&lt;br /&gt;
|-&lt;br /&gt;
| data.access_token || string || The credential used to access authenticated CallProof API endpoints.&lt;br /&gt;
|-&lt;br /&gt;
| data.refresh_token || string || The credential used to obtain a new CallProof access token.&lt;br /&gt;
|-&lt;br /&gt;
| data.is_2fa_enabled || boolean || Indicates whether two-factor authentication is enabled for the user or company.&lt;br /&gt;
|-&lt;br /&gt;
| data.is_verified || boolean || Indicates whether the applicable two-factor authentication requirement has been satisfied.&lt;br /&gt;
|-&lt;br /&gt;
| data.email || string || The authenticated user&amp;#039;s Microsoft email address.&lt;br /&gt;
|-&lt;br /&gt;
| uri || string || The URL of the Microsoft login request.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Error Responses ===&lt;br /&gt;
Microsoft login failures are generally returned with HTTP status &amp;lt;code&amp;gt;200&amp;lt;/code&amp;gt;. The business-level result is provided through &amp;lt;code&amp;gt;clientStatusCode&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! HTTP Status Code !! Client Status Code !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 401 || A required field, such as &amp;lt;code&amp;gt;access_token&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;token&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;device_type&amp;lt;/code&amp;gt;, was not supplied.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 401 || Device information could not be associated with the user.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 400 || The device type is not supported.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 400 || The Microsoft access token is invalid, expired, or could not be verified.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 400 || The Microsoft email does not match an existing CallProof account.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 400 || The user or associated company account is disabled.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 400 || The account is not eligible for this type of access and must be updated through CallProof Support.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 400 || Microsoft authentication could not be completed.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Error Response Fields ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| clientStatusCode || integer || The business-level error status, typically &amp;lt;code&amp;gt;400&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;401&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| error.code || integer || The business error code, generally &amp;lt;code&amp;gt;1500&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| error.message || string || A plain-language explanation of the login failure.&lt;br /&gt;
|-&lt;br /&gt;
| uri || string || The URL of the Microsoft login request.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashley DeBon</name></author>
		
	</entry>
</feed>