<?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=Create_a_New_Contact</id>
	<title>Create a New Contact - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://docs.callproof.com/index.php?action=history&amp;feed=atom&amp;title=Create_a_New_Contact"/>
	<link rel="alternate" type="text/html" href="http://docs.callproof.com/index.php?title=Create_a_New_Contact&amp;action=history"/>
	<updated>2026-07-24T07:20:21Z</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=Create_a_New_Contact&amp;diff=2076&amp;oldid=prev</id>
		<title>Ashley DeBon: Created page with &quot;== Create Contact ==  === Base URL === https://apimobile.callproof.com  === Endpoint === /api/contacts  === Purpose === Creates a new contact / account for the authenticated u...&quot;</title>
		<link rel="alternate" type="text/html" href="http://docs.callproof.com/index.php?title=Create_a_New_Contact&amp;diff=2076&amp;oldid=prev"/>
		<updated>2026-07-17T07:23:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Create Contact ==  === Base URL === https://apimobile.callproof.com  === Endpoint === /api/contacts  === Purpose === Creates a new contact / account for the authenticated u...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Create Contact ==&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/contacts&lt;br /&gt;
&lt;br /&gt;
=== Purpose ===&lt;br /&gt;
Creates a new contact / account for the authenticated user’s company. The request captures company details, address, phone, email, website, and optional location information. On success, the new contact is saved, related notes and assignment activity can be recorded, and the newly created contact identifier is returned.&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;
| Authorization || Yes || Bearer access token&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Security ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Yes&amp;#039;&amp;#039;&amp;#039; – Requires Bearer Token authentication.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
==== Path Parameters ====&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
==== Query Parameters ====&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
==== Request Body ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter !! Type !! Required !! Description&lt;br /&gt;
|-&lt;br /&gt;
| company_name || string || Yes || Company / account name&lt;br /&gt;
|-&lt;br /&gt;
| account_type_id || integer || Yes || Contact / account type identifier&lt;br /&gt;
|-&lt;br /&gt;
| account_number || number / string || No || Account number&lt;br /&gt;
|-&lt;br /&gt;
| parent_company || string || No || Parent company / title&lt;br /&gt;
|-&lt;br /&gt;
| address || string || No || Primary street address (maximum 80 characters)&lt;br /&gt;
|-&lt;br /&gt;
| address2 || string || No || Secondary street address (maximum 80 characters)&lt;br /&gt;
|-&lt;br /&gt;
| city || string || No || City&lt;br /&gt;
|-&lt;br /&gt;
| state_id || integer || No || State identifier&lt;br /&gt;
|-&lt;br /&gt;
| zipcode || string || No || Postal / ZIP code&lt;br /&gt;
|-&lt;br /&gt;
| country_id || integer || No || Country identifier&lt;br /&gt;
|-&lt;br /&gt;
| company_email || string || No || Company email address. Must be a valid email format when provided&lt;br /&gt;
|-&lt;br /&gt;
| phone || string || No || Primary phone number (7–15 digits). When provided, phone type becomes required&lt;br /&gt;
|-&lt;br /&gt;
| extension || string || No || Phone extension&lt;br /&gt;
|-&lt;br /&gt;
| phone_type_id || integer || No || Phone type identifier. Required when &amp;lt;code&amp;gt;phone&amp;lt;/code&amp;gt; is provided&lt;br /&gt;
|-&lt;br /&gt;
| country_code || string || No || Country calling code for the phone number&lt;br /&gt;
|-&lt;br /&gt;
| website || string || No || Website URL&lt;br /&gt;
|-&lt;br /&gt;
| notes || string || No || Notes to store with the new contact&lt;br /&gt;
|-&lt;br /&gt;
| contact_company_id || integer || No || Existing contact company identifier, when linking to an existing company record&lt;br /&gt;
|-&lt;br /&gt;
| is_business_upload || boolean || No || Indicates whether the contact is being created from a business card upload&lt;br /&gt;
|-&lt;br /&gt;
| business_card_id || integer || No || Business card identifier to associate with the new contact when created from a business card&lt;br /&gt;
|-&lt;br /&gt;
| latitude || string || No || Latitude used for location logging / geocoding of the new contact&lt;br /&gt;
|-&lt;br /&gt;
| longitude || string || No || Longitude used for location logging / geocoding of the new contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Successful Response (200) ===&lt;br /&gt;
Indicates that the contact was created successfully.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| clientStatusCode || integer || Status indicator for the client (for example, 200)&lt;br /&gt;
|-&lt;br /&gt;
| user_id || integer || Identifier of the authenticated user&lt;br /&gt;
|-&lt;br /&gt;
| company_id || integer || Identifier of the authenticated user’s company&lt;br /&gt;
|-&lt;br /&gt;
| message || string || Confirmation message (for example, &amp;quot;{company_name} was added to Callproof Successfully&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| contact_id || integer || Unique identifier of the newly created contact&lt;br /&gt;
|-&lt;br /&gt;
| uri || string || Requested resource URI&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Error Responses ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Status Code !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| 200 || Validation failure – request body failed validation (returned with an error payload and &amp;lt;code&amp;gt;clientStatusCode&amp;lt;/code&amp;gt; 401)&lt;br /&gt;
|-&lt;br /&gt;
| 400 || Bad Request – the contact could not be created&lt;br /&gt;
|-&lt;br /&gt;
| 401 || Unauthorized – missing, invalid, or expired Bearer token&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;200 (validation failure)&amp;#039;&amp;#039;&amp;#039; – Required fields are missing or invalid (for example, missing company name or account type, invalid email, invalid phone format, address too long, or missing phone type when a phone number is provided).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;400&amp;#039;&amp;#039;&amp;#039; – An error occurred while creating the contact, phone details, notes, or related assignment information.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;401&amp;#039;&amp;#039;&amp;#039; – Authentication failed or the access token is missing/expired.&lt;/div&gt;</summary>
		<author><name>Ashley DeBon</name></author>
		
	</entry>
</feed>