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

# Close

> A Close CRM organization: leads, contacts, opportunities, activities and tasks, advanced-filter search, and activity and pipeline reports.

![](https://mintcdn.com/webrouter/Wx0iBZkUGX_VAFTN/logo/data-apis/close-crm.webp?fit=max\&auto=format\&n=Wx0iBZkUGX_VAFTN\&q=85\&s=ae0dca78e13689a5467c45f4f8868f05)

[Web Catalog · Analytics](https://docs.webrouter.net/data-apis.md?category=analytics)

Needs&#x20;

`CLOSE_API_KEY`

Endpoints

12

Auth

HTTP Basic

[Vendor docs](https://developer.close.com/api/overview)

&#x20;·&#x20;

[Pricing](https://www.close.com/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `CLOSE_API_KEY` | required | a Close API key (Settings > Developer > API Keys); it acts as its user in one organization |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Ids carry a type prefix: lead\_, cont\_, oppo\_, user\_, orga\_, stat\_, save\_.
* List calls page with \_limit and *skip; advanced-filter search pages with a cursor that expires after 30 seconds. Custom field values appear as custom.cf*... keys.
* Rate limits are per endpoint group, per API key, with an organization limit three times higher. On 429 wait the rate\_reset seconds the answer gives; the RateLimit header shows limit, remaining and reset.
* Money values (opportunity value, revenue) are in cents.

## Endpoints

GET

Get the key's user

The API key's user with their id and organization ids.

[Open](#close-crm-me)

GET

List leads

Leads (companies) the key can see, most recently updated first.

[Open](#close-crm-leads-list)

GET

Get a lead

One lead with its contacts, opportunities, tasks and custom fields.

[Open](#close-crm-leads-get)

GET

List contacts

Contacts, newest first, for the organization or one lead.

[Open](#close-crm-contacts-list)

GET

List opportunities

Deals filtered by owner, status, value period and dates, with totals across all matches.

[Open](#close-crm-opportunities-list)

GET

List activities

Calls, emails, notes, meetings, SMS and status changes, by lead, contact, user, type or date.

[Open](#close-crm-activities-list)

GET

List tasks

Tasks and inbox items, filtered by assignee, lead, completion, type or due date.

[Open](#close-crm-tasks-list)

POST

Search with advanced filters

Leads, contacts, opportunities, activities or tasks matching a filter tree, the query language behind Smart Views.

[Open](#close-crm-search)

POST

Get an activity report

Calls, emails, meetings and other activity metrics per period (overview) or per user (comparison).

[Open](#close-crm-reports-activity)

GET

List activity report metrics

The metric names an activity report accepts.

[Open](#close-crm-reports-activity-metrics)

GET

Get the opportunity status report

Per status: opportunities at the start and end of a period, and the moves in and out, overall or for a date range.

[Open](#close-crm-reports-opportunity-statuses)

GET

List pipelines

Every opportunity pipeline with its ordered statuses.

[Open](#close-crm-pipelines-list)

### Get the key's user

GET

`/me/`

`close-crm.me`

The API key's user with their id and organization ids.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `_fields`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Fields to return, comma separated.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developer.close.com/api/resources/users/get-me)

```python Python theme={null}
router.call_data_api("close-crm.me")
```

```text MCP theme={null}
call_data_api(endpoint="close-crm.me")
```

### List leads

GET

`/lead/`

`close-crm.leads.list`

Leads (companies) the key can see, most recently updated first.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `_limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page, up to 200; 100 when omitted.
      </td>
    </tr>

    <tr>
      <td>
        `_skip`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results to skip, for paging (at most 250,000; 35,000 for some organizations).
      </td>
    </tr>

    <tr>
      <td>
        `_fields`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Fields to return, comma separated; \_all adds optional ones such as primary\_email.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developer.close.com/api/resources/leads/list) · Same job: [Affinity](https://docs.webrouter.net/data-apis/affinity.md#affinity-companies-list), [Pipedrive](https://docs.webrouter.net/data-apis/pipedrive.md#pipedrive-organizations-list)

```python Python theme={null}
router.call_data_api("close-crm.leads.list")
```

```text MCP theme={null}
call_data_api(endpoint="close-crm.leads.list")
```

> [!NOTE]
>
> * Comes from the search index, so very recent changes may be missing. To filter, use close-crm.search.

### Get a lead

GET

`/lead/{id}/`

`close-crm.leads.get`

One lead with its contacts, opportunities, tasks and custom fields.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The lead id (lead\_...).
      </td>
    </tr>

    <tr>
      <td>
        `_fields`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Fields to return, comma separated; \_all adds optional ones such as primary\_email.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developer.close.com/api/resources/leads/get) · Same job: [Affinity](https://docs.webrouter.net/data-apis/affinity.md#affinity-companies-get)

### List contacts

GET

`/contact/`

`close-crm.contacts.list`

Contacts, newest first, for the organization or one lead.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `_limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page, up to 1000; 100 when omitted.
      </td>
    </tr>

    <tr>
      <td>
        `_skip`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results to skip, for paging (at most 15,000).
      </td>
    </tr>

    <tr>
      <td>
        `_fields`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Fields to return, comma separated.
      </td>
    </tr>

    <tr>
      <td>
        `lead_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only contacts on this lead. Required when the key's user lacks the View All Leads permission.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developer.close.com/api/resources/contacts/list) · Same job: [Affinity](https://docs.webrouter.net/data-apis/affinity.md#affinity-persons-list), [Pipedrive](https://docs.webrouter.net/data-apis/pipedrive.md#pipedrive-persons-list)

```python Python theme={null}
router.call_data_api("close-crm.contacts.list")
```

```text MCP theme={null}
call_data_api(endpoint="close-crm.contacts.list")
```

### List opportunities

GET

`/opportunity/`

`close-crm.opportunities.list`

Deals filtered by owner, status, value period and dates, with totals across all matches.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `_limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page; 100 when omitted, at most 250 with an API key.
      </td>
    </tr>

    <tr>
      <td>
        `_skip`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results to skip, for paging (at most 250,000).
      </td>
    </tr>

    <tr>
      <td>
        `_fields`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Fields to return, comma separated.
      </td>
    </tr>

    <tr>
      <td>
        `lead_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only opportunities on this lead.
      </td>
    </tr>

    <tr>
      <td>
        `user_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only opportunities owned by this user or group id.
      </td>
    </tr>

    <tr>
      <td>
        `status_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only this status id.
      </td>
    </tr>

    <tr><td>`status_type`</td><td>string</td><td>query</td><td>Only statuses of this type: active, won or lost. One of `active`, `won`, `lost`</td></tr>

    <tr>
      <td>
        `status_label`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only this status label, case-insensitive.
      </td>
    </tr>

    <tr>
      <td>
        `date_won__gte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Won on or after this date (YYYY-MM-DD).
      </td>
    </tr>

    <tr>
      <td>
        `date_won__lte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Won on or before this date (YYYY-MM-DD).
      </td>
    </tr>

    <tr>
      <td>
        `date_created__gte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Created at or after this time; ISO 8601 date or time; no offset means UTC.
      </td>
    </tr>

    <tr>
      <td>
        `date_created__lte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Created at or before this time; ISO 8601 date or time; no offset means UTC.
      </td>
    </tr>

    <tr>
      <td>
        `date_updated__gte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Updated at or after this time; ISO 8601 date or time; no offset means UTC.
      </td>
    </tr>

    <tr><td>`value_period`</td><td>string</td><td>query</td><td>one\_time, monthly or annual. One of `one_time`, `monthly`, `annual`</td></tr>

    <tr>
      <td>
        `lead_saved_search_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only opportunities on leads in this lead Smart View (save\_...).
      </td>
    </tr>

    <tr><td>`is_stalled`</td><td>string</td><td>query</td><td>true for stalled opportunities only, false for the others. One of `true`, `false`</td></tr>

    <tr>
      <td>
        `_order_by`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        date\_won, date\_updated, date\_created, confidence, user\_name, value, annualized\_value or annualized\_expected\_value; prefix - for descending.
      </td>
    </tr>

    <tr>
      <td>
        `_group_by`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Group by user\_id, date\_won\_\_week, date\_won\_\_month, date\_won\_\_quarter or date\_won\_\_year; data then holds groups.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developer.close.com/api/resources/opportunities/list) · Same job: [Affinity](https://docs.webrouter.net/data-apis/affinity.md#affinity-opportunities-list), [Pipedrive](https://docs.webrouter.net/data-apis/pipedrive.md#pipedrive-deals-list)

```python Python theme={null}
router.call_data_api("close-crm.opportunities.list")
```

```text MCP theme={null}
call_data_api(endpoint="close-crm.opportunities.list")
```

> [!NOTE]
>
> * Values are in cents. The answer also carries totals over every match (total\_results, total\_value\_one\_time, total\_value\_monthly, total\_value\_annual...).

### List activities

GET

`/activity/`

`close-crm.activities.list`

Calls, emails, notes, meetings, SMS and status changes, by lead, contact, user, type or date.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `_limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page, up to 100; 100 when omitted.
      </td>
    </tr>

    <tr>
      <td>
        `_skip`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results to skip, for paging (at most 250,000).
      </td>
    </tr>

    <tr>
      <td>
        `lead_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Lead ids, comma separated.
      </td>
    </tr>

    <tr>
      <td>
        `contact_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Contact ids, comma separated.
      </td>
    </tr>

    <tr>
      <td>
        `user_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        User ids, comma separated.
      </td>
    </tr>

    <tr>
      <td>
        `_type`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Activity types, comma separated, e.g. Call, Email, Note, Meeting, SMS, LeadStatusChange.
      </td>
    </tr>

    <tr>
      <td>
        `date_created__gte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Created at or after this time.
      </td>
    </tr>

    <tr>
      <td>
        `date_created__lte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Created at or before this time.
      </td>
    </tr>

    <tr>
      <td>
        `activity_at__gte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Happened at or after this time.
      </td>
    </tr>

    <tr>
      <td>
        `activity_at__lte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Happened at or before this time.
      </td>
    </tr>

    <tr>
      <td>
        `_fields`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Fields to return, comma separated.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developer.close.com/api/resources/activities) · Same job: [Pipedrive](https://docs.webrouter.net/data-apis/pipedrive.md#pipedrive-activities-list)

```python Python theme={null}
router.call_data_api("close-crm.activities.list")
```

```text MCP theme={null}
call_data_api(endpoint="close-crm.activities.list")
```

> [!NOTE]
>
> * Some filters (user\_id, contact\_id, several types) only work together with a single lead\_id.

### List tasks

GET

`/task/`

`close-crm.tasks.list`

Tasks and inbox items, filtered by assignee, lead, completion, type or due date.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `_limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page, up to 1000; 100 when omitted.
      </td>
    </tr>

    <tr>
      <td>
        `_skip`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results to skip, for paging.
      </td>
    </tr>

    <tr>
      <td>
        `assigned_to`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only tasks assigned to this user id.
      </td>
    </tr>

    <tr>
      <td>
        `lead_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only tasks on this lead.
      </td>
    </tr>

    <tr>
      <td>
        `is_complete`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        true for completed, false for open tasks.
      </td>
    </tr>

    <tr><td>`_type`</td><td>string</td><td>query</td><td>Task type; lead (tasks on a lead) when omitted, all for every inbox item. One of `all`, `lead`, `outgoing_call`, `draft_email`, `draft_sms`, `incoming_email`, `lead_suggestion_incoming_email`, `incoming_sms`, `incoming_whatsapp_message`, `missed_call`, `voicemail`, `opportunity_due`, `answered_detached_call`, `email_followup`, `opportunities_awaiting_action_notification`</td></tr>
    <tr><td>`view`</td><td>string</td><td>query</td><td>inbox (open, due by today), future (open, due later) or archive (completed). One of `inbox`, `future`, `archive`</td></tr>

    <tr>
      <td>
        `date__gte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Due on or after this date or time; ISO 8601 date or time; no offset means UTC.
      </td>
    </tr>

    <tr>
      <td>
        `date__lte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Due on or before this date or time; ISO 8601 date or time; no offset means UTC.
      </td>
    </tr>

    <tr>
      <td>
        `_order_by`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        date, due\_date, date\_created or date\_updated; prefix - for descending. -date\_created when omitted.
      </td>
    </tr>

    <tr>
      <td>
        `_fields`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Fields to return, comma separated.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developer.close.com/api/resources/tasks/list)

```python Python theme={null}
router.call_data_api("close-crm.tasks.list")
```

```text MCP theme={null}
call_data_api(endpoint="close-crm.tasks.list")
```

### Search with advanced filters

POST

`/data/search/`

`close-crm.search`

Leads, contacts, opportunities, activities or tasks matching a filter tree, the query language behind Smart Views.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`query` required</td><td>object</td><td>body</td><td>The filter tree: an and query holding an object\_type query and field\_condition queries. Example `{"type": "and", "queries": [{"type": "object_type", "object_type": "contact"}, {"type": "field_condition", "field": {"type": "regular_field", "object_type": "contact", "field_name": "title"}, "condition": {"type": "text", "mode": "full_words", "value": "CEO"}}]}`</td></tr>

    <tr>
      <td>
        `_fields`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Fields to return per object type, e.g. \{"lead": \["id", "display\_name"]}. Without it only ids come back.
      </td>
    </tr>

    <tr>
      <td>
        `_limit`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Results per page; 10 when omitted.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        The cursor from the previous page; it expires after 30 seconds.
      </td>
    </tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Sort fields; sort by something stable such as date\_created when paging.
      </td>
    </tr>

    <tr>
      <td>
        `include_counts`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Add the number of matches as count.
      </td>
    </tr>

    <tr>
      <td>
        `results_limit`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Most results across all pages; 0 with include\_counts only counts.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developer.close.com/api/resources/advanced-filtering/search) · Same job: [Pipedrive](https://docs.webrouter.net/data-apis/pipedrive.md#pipedrive-search)

```python Python theme={null}
router.call_data_api("close-crm.search", {'query': {'type': 'and', 'queries': [{'type': 'object_type', 'object_type': 'contact'}, {'type': 'field_condition', 'field': {'type': 'regular_field', 'object_type': 'contact', 'field_name': 'title'}, 'condition': {'type': 'text', 'mode': 'full_words', 'value': 'CEO'}}]}})
```

```text MCP theme={null}
call_data_api(endpoint="close-crm.search", params={"query": {"type": "and", "queries": [{"type": "object_type", "object_type": "contact"}, {"type": "field_condition", "field": {"type": "regular_field", "object_type": "contact", "field_name": "title"}, "condition": {"type": "text", "mode": "full_words", "value": "CEO"}}]}})
```

> [!NOTE]
>
> * A POST that only searches; it changes no data.
> * Field names and conditions are listed on the Advanced Filtering Fields page; custom fields are custom.cf\_...

### Get an activity report

POST

`/report/activity/`

`close-crm.reports.activity`

Calls, emails, meetings and other activity metrics per period (overview) or per user (comparison).

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`type` required</td><td>string</td><td>body</td><td>overview (per time period) or comparison (per user). One of `overview`, `comparison`</td></tr>
    <tr><td>`metrics` required</td><td>array</td><td>body</td><td>Metric names from close-crm.reports.activity\_metrics. Example `["calls.outbound.all.count", "emails.sent.all.count"]`</td></tr>
    <tr><td>`datetime_range`</td><td>object</td><td>body</td><td>\{"start": ISO time, "end": ISO time}. Give this or relative\_range. Example `{"start": "2026-11-01T00:00:00Z", "end": "2026-11-08T00:00:00Z"}`</td></tr>
    <tr><td>`relative_range`</td><td>string</td><td>body</td><td>Named range instead of datetime\_range. One of `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, `all-time`</td></tr>

    <tr>
      <td>
        `query`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Limit to a Smart View: \{"type": "saved\_search", "saved\_search\_id": "save\_..."}.
      </td>
    </tr>

    <tr>
      <td>
        `users`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        User ids to limit the report to.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developer.close.com/api/resources/reporting/get-activity) · Same job: [Amplitude](https://docs.webrouter.net/data-apis/amplitude.md#amplitude-charts-query), [Cloudflare](https://docs.webrouter.net/data-apis/cloudflare.md#cloudflare-analytics-graphql), [Google Analytics 4 (Data API)](https://docs.webrouter.net/data-apis/google-analytics.md#google-analytics-report-run), [Instagram Graph API](https://docs.webrouter.net/data-apis/instagram.md#instagram-user-insights), [Klaviyo](https://docs.webrouter.net/data-apis/klaviyo.md#klaviyo-campaigns-report), [Microsoft Graph (Microsoft 365)](https://docs.webrouter.net/data-apis/microsoft-graph.md#microsoft-graph-reports-active-users)

> [!NOTE]
>
> * A POST that only reads a report.
> * Durations are in seconds and revenue in cents.

### List activity report metrics

GET

`/report/activity/metrics/`

`close-crm.reports.activity_metrics`

The metric names an activity report accepts.

Input

No inputs.

[Vendor docs](https://developer.close.com/api/resources/reporting/list-activity-metrics) · Same job: [Google Analytics 4 (Data API)](https://docs.webrouter.net/data-apis/google-analytics.md#google-analytics-metadata-get)

```python Python theme={null}
router.call_data_api("close-crm.reports.activity_metrics")
```

```text MCP theme={null}
call_data_api(endpoint="close-crm.reports.activity_metrics")
```

### Get the opportunity status report

GET

`/report/statuses/opportunity/{org_id}/`

`close-crm.reports.opportunity_statuses`

Per status: opportunities at the start and end of a period, and the moves in and out, overall or for a date range.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `org_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The organization id (orga\_...), from close-crm.me.
      </td>
    </tr>

    <tr>
      <td>
        `date_start`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Start of the period; overall when the range is omitted.
      </td>
    </tr>

    <tr>
      <td>
        `date_end`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        End of the period.
      </td>
    </tr>

    <tr>
      <td>
        `query`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        A search query limiting the opportunities; not with smart\_view\_id.
      </td>
    </tr>

    <tr>
      <td>
        `smart_view_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        A Smart View limiting the opportunities; not with query.
      </td>
    </tr>

    <tr>
      <td>
        `user_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only this user's opportunities.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developer.close.com/api/resources/reporting/get-opportunity-statuses)

> [!NOTE]
>
> * Values are in cents.

### List pipelines

GET

`/pipeline/`

`close-crm.pipelines.list`

Every opportunity pipeline with its ordered statuses.

Input

No inputs.

[Vendor docs](https://developer.close.com/api/resources/pipelines/list) · Same job: [Pipedrive](https://docs.webrouter.net/data-apis/pipedrive.md#pipedrive-pipelines-list)

```python Python theme={null}
router.call_data_api("close-crm.pipelines.list")
```

```text MCP theme={null}
call_data_api(endpoint="close-crm.pipelines.list")
```


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