> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postsyncer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Contacts

> The people who commented on a workspace's posts, the team's notes about them, and contact lists.

> [!NOTE]
>
> Each route needs its `contacts` permission: `contacts:read` to list and read, `contacts:update` to change notes and lists, `contacts:delete` to delete a contact, a note or a list. The same permission gates the matching [MCP tool](https://docs.postsyncer.com/mcp/tools-reference.md#contacts). See [Permissions](https://docs.postsyncer.com/essentials/authentication.md#permissions).

A contact is someone who commented on one of the workspace's posts. PostSyncer keeps them from those comments: their name and username on the network, their public profile numbers, and how often they commented. In the app, they are on the **Contacts** page. Your team can keep notes about a contact and group contacts in lists.

None of these routes contacts anyone or changes anything on a social network. They read and change only what PostSyncer keeps.

Contacts are on paid plans, as in the app, where the **Contacts** page is locked on Free. On Free every route here is refused with `403`, `error: plan_limit_reached` and `limit: crm`, and nothing changes. The owner's key gets `upgrade_url` and `upgrade_plan`; anyone else's is told to ask the owner (`owner_plan: true`, no `upgrade_url`). See [Plan limits](https://docs.postsyncer.com/plan-limits.md#on-paid-plans-only).

| Method | Path | What it does | MCP tool |
| - | - | - | - |
| GET | [`/contacts`](https://docs.postsyncer.com/api-reference/contacts/list) | A page of a workspace's contacts, and its lists. | `list-contacts` |
| GET | [`/contacts/{id}`](https://docs.postsyncer.com/api-reference/contacts/get) | One contact, with notes, lists and comments. | `get-contact` |
| PATCH | [`/contacts/{id}`](https://docs.postsyncer.com/api-reference/contacts/update) | Add or edit notes, join or leave lists. | `update-contact` |
| DELETE | [`/contacts/{id}`](https://docs.postsyncer.com/api-reference/contacts/delete) | Delete the contact from PostSyncer. | `delete-contact` |
| DELETE | [`/contacts/{id}/notes/{note_id}`](https://docs.postsyncer.com/api-reference/contacts/notes-delete) | Delete one note about the contact. | `delete-contact-note` |
| PUT | [`/contact-lists`](https://docs.postsyncer.com/api-reference/contacts/lists-upsert) | Create or rename lists. | `update-contact-lists` |
| DELETE | [`/contact-lists/{id}`](https://docs.postsyncer.com/api-reference/contacts/lists-delete) | Delete a list. | `delete-contact-list` |

## The contact object

| Field | Type | Description |
| - | - | - |
| `id` | integer | The contact's id. |
| `platform` | string | The network they commented on. |
| `platform_user_id` | string or null | Their id on that network. |
| `name`, `username` | string or null | As the network shows them. |
| `bio`, `profile_url`, `cover_image_url` | string or null | Their public bio and pictures (`profile_url` is the profile picture). |
| `followers_count`, `following_count`, `posts_count` | integer or null | Their public numbers, when the network gives them. |
| `is_verified` | boolean or null | Verified on the network. |
| `total_interactions` | integer or null | Their comments on the workspace's posts. |
| `first_seen_at`, `last_interaction_at`, `last_active_at` | string or null | When PostSyncer first saw them, and when they last commented. |
| `lists` | array | The workspace's lists they are on. |
| `notes` | array | Your team's notes about them: `id`, `note`, `created_at`, `updated_at`. |
| `notes_count` | integer | How many notes there are. |
| `platform_profile_url` | string or null | Their profile on the network. |
| `dm_url` | string or null | A link that opens a message to them on the network, where it has one. PostSyncer never sends one. |

```json theme={null}
{
  "id": 501,
  "platform": "instagram",
  "name": "Selam Bekele",
  "username": "selam.brews",
  "followers_count": 1240,
  "total_interactions": 4,
  "last_interaction_at": "2030-03-02T09:14:00.000000Z",
  "lists": [{ "id": 5, "name": "Guide requests" }],
  "notes": [{ "id": 88, "crm_contact_id": 501, "note": "Wants the brewing guide." }],
  "notes_count": 1,
  "platform_profile_url": "https://www.instagram.com/selam.brews",
  "dm_url": "https://ig.me/m/selam.brews"
}
```

## Contact lists

A list groups a workspace's contacts, such as everyone who asked for a guide. It has an `id`, a `name` (up to 255 characters) and, in [List contacts](https://docs.postsyncer.com/api-reference/contacts/list.md) and [Create or rename contact lists](https://docs.postsyncer.com/api-reference/contacts/lists-upsert.md), `contacts_count`. A contact joins and leaves lists through [Update a contact](https://docs.postsyncer.com/api-reference/contacts/update.md).

## Roles

Contacts are people's details, so only owners and managers of the workspace reach them, as in the app. Any other role is refused with `403`.

A contact or list of a workspace the key's person is not in is answered with `404`, as if it did not exist.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.