---
title: "The HubSpot team's deals"
description: "Every deal folder of the HubSpot team: open deals, and closed ones marked closed_label (Closed won / Closed lost), each with stage, pipeline, amount, owner,…"
canonical_url: https://docs.markdrop.in/api/hubspot/the-hubspot-team-s-deals
last_updated: 2026-11-20
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# The HubSpot team's deals

`GET https://api.markdrop.in/api/v1/hubspot/deals/board`

Every deal folder of the HubSpot team: open deals, and closed ones marked `closed_label` (Closed won / Closed lost), each with stage, pipeline, amount, owner, close date, company, how many calls are filed in it (`calls`), the last call, `quiet` (no call in 14 days) and calls waiting for someone to pick the deal (`pick`). Also the pipeline stages, the sync state (`sync`), whether you can Sync now (`can_sync`: workspace admins) and, for admins, the optional read scopes the key is missing. The HubSpot team's members and workspace admins.

- **Authentication:** API token required: `Authorization: Bearer mdk_…`.
- **Rate limit:** 60 per minute per IP address.
- **Guide:** [HubSpot](https://docs.markdrop.in/integrations/hubspot#deal-folders)

## Query parameters

- `workspace_id` (string, required): The workspace's id, from the address of its settings page (`markdrop.in/settings/workspaces/<workspace-id>`) or from [List workspaces](https://docs.markdrop.in/api/workspaces/list-workspaces). Matches `^[0-9a-f]{24}$`.

## Responses

- `200`: OK.
- `401`: No token, or the token is revoked or mistyped.
- `422`: The request didn't validate. `detail` lists each problem, with where it is (`loc`) and why (`msg`).
- `429`: Too many requests from your IP address. Wait the seconds in `Retry-After`.

## Examples

**curl**

```bash
curl 'https://api.markdrop.in/api/v1/hubspot/deals/board?workspace_id=WORKSPACE_ID' \
  -H "Authorization: Bearer $MARKDROP_TOKEN"
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/hubspot/deals/board?workspace_id=WORKSPACE_ID", {
  headers: {
    Authorization: `Bearer ${process.env.MARKDROP_TOKEN}`,
  },
});
const data = await res.json();
```

**Python**

```python
import os

import requests

r = requests.get(
    "https://api.markdrop.in/api/v1/hubspot/deals/board?workspace_id=WORKSPACE_ID",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
)
r.raise_for_status()
print(r.json())
```
