> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://rockwell.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://rockwell.ferndocs.com/_mcp/server.

# Create Contact

POST https://connect.plex.com/crm/v1/contacts
Content-Type: application/json

Create a new contact record in the Plex system.

Reference: https://rockwell.ferndocs.com/api-reference/contacts-api/create-contact

## Request

### Body (application/json)

This endpoint expects an object.

- `customerId` (string, optional)
- `firstName` (string, optional)
- `lastName` (string, optional)
- `supplierId` (string, optional)
- `phone` (string, optional)
- `fax` (string, optional)
- `mobilePhone` (string, optional)
- `title` (string, optional)
- `note` (string, optional)
- `email` (string, optional)
- `companyName` (string, optional)
- `officeAddress` (string, optional)
- `homeAddress` (string, optional)
- `private` (integer, optional)
- `description` (string, optional)
- `birthDate` (datetime, optional)
- `url` (string, optional)
- `sortOrder` (integer, optional)
- `type` (string, optional)

## Response

### 201

Created

- `id` (string, optional)
- `customerId` (string, optional)
- `firstName` (string, optional)
- `lastName` (string, optional)
- `supplierId` (string, optional)
- `phone` (string, optional)
- `fax` (string, optional)
- `mobilePhone` (string, optional)
- `title` (string, optional)
- `note` (string, optional)
- `email` (string, optional)
- `companyName` (string, optional)
- `officeAddress` (string, optional)
- `homeAddress` (string, optional)
- `private` (integer, optional)
- `description` (string, optional)
- `birthDate` (datetime, optional)
- `url` (string, optional)
- `sortOrder` (integer, optional)
- `type` (string, optional)
- `associatedWithId` (string, optional)
- `modifiedById` (string, optional)
- `modifiedDate` (datetime, optional)
- `createdById` (string, optional)
- `createdDate` (datetime, optional)

## Errors

### 400 Bad Request Error

Bad Request

- `error` (CrmV1ContactsPostResponsesContentApplicationJsonSchemaError, optional)

### 401 Unauthorized Error

Unauthorized - Missing Token

- `error` (CrmV1ContactsPostResponsesContentApplicationJsonSchemaError, optional)

### 403 Forbidden Error

Forbidden - Insufficient Permissions

- `error` (CrmV1ContactsPostResponsesContentApplicationJsonSchemaError, optional)

### 409 Conflict Error

Conflict - Duplicate Email

- `error` (CrmV1ContactsPostResponsesContentApplicationJsonSchemaError, optional)

### 422 Unprocessable Entity Error

Unprocessable Entity - Invalid Customer ID

- `error` (CrmV1ContactsPostResponsesContentApplicationJsonSchemaError, optional)

### 429 Too Many Requests Error

Rate Limit Exceeded

- `error` (CrmV1ContactsPostResponsesContentApplicationJsonSchemaError, optional)

### 500 Internal Server Error

Internal Server Error

- `error` (CrmV1ContactsPostResponsesContentApplicationJsonSchemaError, optional)

### 503 Service Unavailable Error

Service Unavailable

- `error` (CrmV1ContactsPostResponsesContentApplicationJsonSchemaError, optional)

## Types

### CrmV1ContactsPostResponsesContentApplicationJsonSchemaError

- `code` (string, optional)
- `message` (string, optional)
- `details` (string, optional)
- `timestamp` (datetime, optional)
- `requestId` (string, optional)
- `retryAfter` (integer, optional)
- `maintenanceWindow` (CrmV1ContactsPostResponsesContentApplicationJsonSchemaErrorMaintenanceWindow, optional)
- `statusPage` (string, optional)

### CrmV1ContactsPostResponsesContentApplicationJsonSchemaErrorMaintenanceWindow

- `start` (datetime, optional)
- `end` (datetime, optional)

## Examples

**Request**

```json
{
  "customerId": "00000000-0000-0000-0000-000000000000",
  "firstName": "John",
  "lastName": "Smith",
  "supplierId": "00000000-0000-0000-0000-000000000000",
  "phone": "+1-555-0123",
  "fax": "+1-555-0124",
  "mobilePhone": "+1-555-0125",
  "title": "Purchasing Manager",
  "note": "Primary contact for purchasing decisions",
  "email": "john.smith@example.com",
  "companyName": "ACME Corporation",
  "officeAddress": "123 Business St, Suite 100, New York, NY 10001",
  "homeAddress": "456 Residential Ave, Brooklyn, NY 11201",
  "private": 0,
  "description": "Main purchasing contact for ACME Corp",
  "birthDate": "1985-03-15T00:00:00Z",
  "url": "https://www.linkedin.com/in/johnsmith",
  "sortOrder": 1,
  "type": "Business"
}
```

**Response**

```json
{
  "id": "contact-123e4567-e89b-12d3-a456-426614174000",
  "customerId": "123e4567-e89b-12d3-a456-426614174000",
  "firstName": "John",
  "lastName": "Smith",
  "supplierId": "00000000-0000-0000-0000-000000000000",
  "phone": "+1-555-0123",
  "fax": "",
  "mobilePhone": "",
  "title": "Purchasing Manager",
  "note": "",
  "email": "john.smith@example.com",
  "companyName": "ACME Corporation",
  "officeAddress": "",
  "homeAddress": "",
  "private": 0,
  "description": "",
  "birthDate": "1985-03-15T00:00:00.00Z",
  "url": "",
  "sortOrder": 1,
  "type": "Business",
  "associatedWithId": "00000000-0000-0000-0000-000000000000",
  "modifiedById": "user-001",
  "modifiedDate": "2026-02-10T20:50:00.00Z",
  "createdById": "user-001",
  "createdDate": "2026-02-10T20:50:00.00Z"
}
```

**SDK Code**

```python createContact_example
import requests

url = "https://connect.plex.com/crm/v1/contacts"

payload = {
    "customerId": "00000000-0000-0000-0000-000000000000",
    "firstName": "John",
    "lastName": "Smith",
    "supplierId": "00000000-0000-0000-0000-000000000000",
    "phone": "+1-555-0123",
    "fax": "+1-555-0124",
    "mobilePhone": "+1-555-0125",
    "title": "Purchasing Manager",
    "note": "Primary contact for purchasing decisions",
    "email": "john.smith@example.com",
    "companyName": "ACME Corporation",
    "officeAddress": "123 Business St, Suite 100, New York, NY 10001",
    "homeAddress": "456 Residential Ave, Brooklyn, NY 11201",
    "private": 0,
    "description": "Main purchasing contact for ACME Corp",
    "birthDate": "1985-03-15T00:00:00Z",
    "url": "https://www.linkedin.com/in/johnsmith",
    "sortOrder": 1,
    "type": "Business"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript createContact_example
const url = 'https://connect.plex.com/crm/v1/contacts';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: '{"customerId":"00000000-0000-0000-0000-000000000000","firstName":"John","lastName":"Smith","supplierId":"00000000-0000-0000-0000-000000000000","phone":"+1-555-0123","fax":"+1-555-0124","mobilePhone":"+1-555-0125","title":"Purchasing Manager","note":"Primary contact for purchasing decisions","email":"john.smith@example.com","companyName":"ACME Corporation","officeAddress":"123 Business St, Suite 100, New York, NY 10001","homeAddress":"456 Residential Ave, Brooklyn, NY 11201","private":0,"description":"Main purchasing contact for ACME Corp","birthDate":"1985-03-15T00:00:00Z","url":"https://www.linkedin.com/in/johnsmith","sortOrder":1,"type":"Business"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go createContact_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://connect.plex.com/crm/v1/contacts"

	payload := strings.NewReader("{\n  \"customerId\": \"00000000-0000-0000-0000-000000000000\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Smith\",\n  \"supplierId\": \"00000000-0000-0000-0000-000000000000\",\n  \"phone\": \"+1-555-0123\",\n  \"fax\": \"+1-555-0124\",\n  \"mobilePhone\": \"+1-555-0125\",\n  \"title\": \"Purchasing Manager\",\n  \"note\": \"Primary contact for purchasing decisions\",\n  \"email\": \"john.smith@example.com\",\n  \"companyName\": \"ACME Corporation\",\n  \"officeAddress\": \"123 Business St, Suite 100, New York, NY 10001\",\n  \"homeAddress\": \"456 Residential Ave, Brooklyn, NY 11201\",\n  \"private\": 0,\n  \"description\": \"Main purchasing contact for ACME Corp\",\n  \"birthDate\": \"1985-03-15T00:00:00Z\",\n  \"url\": \"https://www.linkedin.com/in/johnsmith\",\n  \"sortOrder\": 1,\n  \"type\": \"Business\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby createContact_example
require 'uri'
require 'net/http'

url = URI("https://connect.plex.com/crm/v1/contacts")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n  \"customerId\": \"00000000-0000-0000-0000-000000000000\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Smith\",\n  \"supplierId\": \"00000000-0000-0000-0000-000000000000\",\n  \"phone\": \"+1-555-0123\",\n  \"fax\": \"+1-555-0124\",\n  \"mobilePhone\": \"+1-555-0125\",\n  \"title\": \"Purchasing Manager\",\n  \"note\": \"Primary contact for purchasing decisions\",\n  \"email\": \"john.smith@example.com\",\n  \"companyName\": \"ACME Corporation\",\n  \"officeAddress\": \"123 Business St, Suite 100, New York, NY 10001\",\n  \"homeAddress\": \"456 Residential Ave, Brooklyn, NY 11201\",\n  \"private\": 0,\n  \"description\": \"Main purchasing contact for ACME Corp\",\n  \"birthDate\": \"1985-03-15T00:00:00Z\",\n  \"url\": \"https://www.linkedin.com/in/johnsmith\",\n  \"sortOrder\": 1,\n  \"type\": \"Business\"\n}"

response = http.request(request)
puts response.read_body
```

```java createContact_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://connect.plex.com/crm/v1/contacts")
  .header("Content-Type", "application/json")
  .body("{\n  \"customerId\": \"00000000-0000-0000-0000-000000000000\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Smith\",\n  \"supplierId\": \"00000000-0000-0000-0000-000000000000\",\n  \"phone\": \"+1-555-0123\",\n  \"fax\": \"+1-555-0124\",\n  \"mobilePhone\": \"+1-555-0125\",\n  \"title\": \"Purchasing Manager\",\n  \"note\": \"Primary contact for purchasing decisions\",\n  \"email\": \"john.smith@example.com\",\n  \"companyName\": \"ACME Corporation\",\n  \"officeAddress\": \"123 Business St, Suite 100, New York, NY 10001\",\n  \"homeAddress\": \"456 Residential Ave, Brooklyn, NY 11201\",\n  \"private\": 0,\n  \"description\": \"Main purchasing contact for ACME Corp\",\n  \"birthDate\": \"1985-03-15T00:00:00Z\",\n  \"url\": \"https://www.linkedin.com/in/johnsmith\",\n  \"sortOrder\": 1,\n  \"type\": \"Business\"\n}")
  .asString();
```

```php createContact_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://connect.plex.com/crm/v1/contacts', [
  'body' => '{
  "customerId": "00000000-0000-0000-0000-000000000000",
  "firstName": "John",
  "lastName": "Smith",
  "supplierId": "00000000-0000-0000-0000-000000000000",
  "phone": "+1-555-0123",
  "fax": "+1-555-0124",
  "mobilePhone": "+1-555-0125",
  "title": "Purchasing Manager",
  "note": "Primary contact for purchasing decisions",
  "email": "john.smith@example.com",
  "companyName": "ACME Corporation",
  "officeAddress": "123 Business St, Suite 100, New York, NY 10001",
  "homeAddress": "456 Residential Ave, Brooklyn, NY 11201",
  "private": 0,
  "description": "Main purchasing contact for ACME Corp",
  "birthDate": "1985-03-15T00:00:00Z",
  "url": "https://www.linkedin.com/in/johnsmith",
  "sortOrder": 1,
  "type": "Business"
}',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp createContact_example
using RestSharp;

var client = new RestClient("https://connect.plex.com/crm/v1/contacts");
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"customerId\": \"00000000-0000-0000-0000-000000000000\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Smith\",\n  \"supplierId\": \"00000000-0000-0000-0000-000000000000\",\n  \"phone\": \"+1-555-0123\",\n  \"fax\": \"+1-555-0124\",\n  \"mobilePhone\": \"+1-555-0125\",\n  \"title\": \"Purchasing Manager\",\n  \"note\": \"Primary contact for purchasing decisions\",\n  \"email\": \"john.smith@example.com\",\n  \"companyName\": \"ACME Corporation\",\n  \"officeAddress\": \"123 Business St, Suite 100, New York, NY 10001\",\n  \"homeAddress\": \"456 Residential Ave, Brooklyn, NY 11201\",\n  \"private\": 0,\n  \"description\": \"Main purchasing contact for ACME Corp\",\n  \"birthDate\": \"1985-03-15T00:00:00Z\",\n  \"url\": \"https://www.linkedin.com/in/johnsmith\",\n  \"sortOrder\": 1,\n  \"type\": \"Business\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift createContact_example
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = [
  "customerId": "00000000-0000-0000-0000-000000000000",
  "firstName": "John",
  "lastName": "Smith",
  "supplierId": "00000000-0000-0000-0000-000000000000",
  "phone": "+1-555-0123",
  "fax": "+1-555-0124",
  "mobilePhone": "+1-555-0125",
  "title": "Purchasing Manager",
  "note": "Primary contact for purchasing decisions",
  "email": "john.smith@example.com",
  "companyName": "ACME Corporation",
  "officeAddress": "123 Business St, Suite 100, New York, NY 10001",
  "homeAddress": "456 Residential Ave, Brooklyn, NY 11201",
  "private": 0,
  "description": "Main purchasing contact for ACME Corp",
  "birthDate": "1985-03-15T00:00:00Z",
  "url": "https://www.linkedin.com/in/johnsmith",
  "sortOrder": 1,
  "type": "Business"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://connect.plex.com/crm/v1/contacts")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```