# Contacts and companies

Contacts created from conversations, and companies that group them.

## Overview

Contacts are created from conversations and matched by identity, then by exact phone or email; companies group contacts and email domains. Members merge and unmerge by hand, import CSV or Excel, export CSV, and erase a contact’s personal data through the erasure flow.

## Do it in the app

1. Open Customers; you will find Contacts and Companies.
2. Search for a customer and open their card to see their tickets and notes.
3. Create a segment by conditions or from a file to use in campaigns.
4. To merge two contacts, open one and choose merge.

## Or let your agent do it

```text
Find the customer by the phone number I will give you, show their card and tickets, then add a note “key customer”.
```

**MCP tools:** `search_contacts`, `get_contact`, `update_contact`, `create_company`, `merge_contacts`

Or through REST:

```bash
curl https://api.rabt.systems/v1/contacts \
  -H "Authorization: Bearer rbk_test_…"
```

> **Recommendation:** Review every merge yourself: Rabt never merges automatically or suggests duplicates, so two customers’ data are never mixed by accident.

> **Limits:** No automatic merges and no duplicate suggestions; never matched by name. A contact is never hard-deleted: it is erased after the restore window.
