---
title: "Companies and persons | Docs | CRM by R&D Copilot"
description: "A company is who you sell to; a person is someone you deal with there. How they relate to deals."
canonical: "https://crm.rdcopilot.com/docs/concepts/companies-and-persons/"
language: en
updated: 2026-11-22
---

# Companies and persons

A company is who you sell to; a person is someone you deal with there. How they relate to deals.

A **company** holds what you know about a buyer. A **person** belongs to one company. A deal belongs to one company and is worked by an owner.

## A company

| Field | Meaning |
| --- | --- |
| `name` | Name of the company. |
| `cif` | Fiscal identification code. |
| `owner` | The person of your account who owns the company. See [Owners and permissions](https://crm.rdcopilot.com/docs/concepts/owners-and-permissions/). |
| `status` | `customer` once one of its deals is won, `prospect` until then. You do not set it: the API does, from the deals. |
| `industry` | Line of business. |
| `employees` | Number of employees. |
| `town, county` | Where the company is. |
| `source` | Where it came from: `form`, `referral`, `fair` or `phone`. |
| `summary` | A written summary with the owner who wrote it and the day. |
| `externalId` | Your own identifier. See [Your own ids](https://crm.rdcopilot.com/docs/concepts/your-own-ids/). |
| `customFields` | The values of your [custom fields](https://crm.rdcopilot.com/docs/concepts/custom-fields/). |
| `revision` | Grows with every change. Send it as `expectedRevision` to change the company. |

[Create a company](https://crm.rdcopilot.com/docs/api-reference/companies/#create-company) records a company, and [Update a company](https://crm.rdcopilot.com/docs/api-reference/companies/#update-company) changes it.

## A person

A person has a `name`, a `role` at the company and an `email`.

curl

```bash
curl -X POST "$RDC_BASE_URL/crm/v1/persons" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "76ad09e3-bdcf-43da-9133-ad270accfb69",
  "companyId": "61d54dde-e1f3-43da-b2fc-a4a21540e5f3",
  "name": "Mircea Bălan",
  "role": "Owner",
  "email": "mircea.balan@hanulozana.example"
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/crm/v1/persons`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "76ad09e3-bdcf-43da-9133-ad270accfb69",
    "companyId": "61d54dde-e1f3-43da-b2fc-a4a21540e5f3",
    "name": "Mircea Bălan",
    "role": "Owner",
    "email": "mircea.balan@hanulozana.example"
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/crm/v1/persons',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': '76ad09e3-bdcf-43da-9133-ad270accfb69',
        'companyId': '61d54dde-e1f3-43da-b2fc-a4a21540e5f3',
        'name': 'Mircea Bălan',
        'role': 'Owner',
        'email': 'mircea.balan@hanulozana.example',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "76ad09e3-bdcf-43da-9133-ad270accfb69",
  "companyId": "61d54dde-e1f3-43da-b2fc-a4a21540e5f3",
  "name": "Mircea Bălan",
  "role": "Owner",
  "email": "mircea.balan@hanulozana.example"
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/crm/v1/persons');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/crm/v1/persons");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "76ad09e3-bdcf-43da-9133-ad270accfb69",
  "companyId": "61d54dde-e1f3-43da-b2fc-a4a21540e5f3",
  "name": "Mircea Bălan",
  "role": "Owner",
  "email": "mircea.balan@hanulozana.example"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "76ad09e3-bdcf-43da-9133-ad270accfb69",
  "status": "accepted",
  "aggregateRevision": 1
}
```

## Deals and duplicates

Two leads of one company can be the same request entered twice, for example by a form that was sent twice. [Find and merge duplicates](https://crm.rdcopilot.com/docs/guides/find-and-merge-duplicates/) shows how to find and merge them.
