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

# Read CRM records

> List and read the deals, companies, contacts and leads in your CRM, as Pulse shows them, with their AI insights and linked meetings.

The CRM endpoints give you what Pulse shows: your CRM's deals, companies, contacts and (on Salesforce) leads, with their owner, stage, linked meetings, meters and AI insights. They need a key with the **CRM** (`crm.read`) scope and access to all workspaces, and Pulse turned on for your company.

## Object types and ids

Call `GET /crm-object-types` to see which types your CRM has and what it calls them. A Salesforce `deal` is an Opportunity and a `company` is an Account.

A CRM record keeps its CRM's own id, which is unique only within its type. So a record is addressed by both:

```bash theme={null}
curl "https://app.triplesession.com/api/public/v2/crm-objects/deal/12345" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

A meeting's `crm_objects` field lists the records it is linked to with the same `type` and `id`, so you can go from a meeting to its deal and back.

## List records

`GET /crm-objects?type=deal` returns the records linked to your reviewed meetings, newest activity first.

These filters search your CRM itself instead:

* `search`
* `stage_id`
* `pipeline_id`
* `include_closed=false`

A CRM search can return records with no linked meetings, and their `linked_call_count` is `0`. Its results come in the CRM's own order (most recently modified first; HubSpot deals by last activity), not by `last_activity_at`.

`user_id` keeps only records linked to that member's meetings. `meter_id` with `meter_state` keeps records whose meter has that state; send `meter_state=none` for records with no state.

Most fields are read live from your CRM. A field that doesn't apply to a type is `null`: only deals have an amount and a pipeline, for example.

## Read one record

`GET /crm-objects/{type}/{crmObjectId}` returns everything the list does, plus:

* `playbook`: the average score of the record's scored meetings.
* `team`: the members on its linked meetings. The CRM owner is `owner_user_id`.
* `associations`: the company, deals and contacts your CRM links to it.
* `evidence`: how many meetings and emails it had in the last 90 days.
* `created_at`: when the deal was created. Deals only.

## AI insights

`GET /crm-objects/{type}/{crmObjectId}/insights` returns the stored AI insights:

* deals and companies have a summary, stakeholders, risks and next steps;
* contacts have a summary and their projects;
* leads have none.

The API never starts generating insights. Each insight's `status` says how fresh it is:

| Status | Meaning |
| - | - |
| `ready` | Generated in the last day. |
| `stale` | Older than a day. It refreshes when someone opens the record in Pulse. |
| `pending` | Being generated now. Try again in a few minutes. |
| `missing` | Never generated. |

## Meetings of a record

To list a record's meetings, filter the meetings list by the record:

```bash theme={null}
curl "https://app.triplesession.com/api/public/v2/calls?crm_object_type=deal&crm_object_id=12345" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

This needs the **Meetings** (`calls.read`) scope, and it doesn't count against the CRM limit.

## Limits and errors

Every CRM request calls your CRM, so CRM endpoints have a lower rate limit. See [Pagination, errors and rate limits](https://docs.triplesession.com/api-v2/conventions.md).

If your CRM isn't connected, or it doesn't answer, you get `503` with a message naming the CRM. A record your CRM doesn't know returns `404`.


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