---
title: "HubSpot connection status"
description: "What Workspace settings › Integrations › HubSpot shows: whether HubSpot works on this server (configured), whether the workspace is connected (connected,…"
canonical_url: https://docs.markdrop.in/api/hubspot/hubspot-connection-status
last_updated: 2026-11-20
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# HubSpot connection status

`GET https://api.markdrop.in/api/v1/hubspot/status`

What Workspace settings › Integrations › HubSpot shows: whether HubSpot works on this server (`configured`), whether the workspace is connected (`connected`, `mode`), the team whose calls go to HubSpot (`team`), whether Log calls automatically is on (`auto_log`), whether you can change the settings (`can_manage`: admins and owners) and use HubSpot on the team's meetings (`can_use`: the team's members and admins), and the HubSpot account and counts (`connection`). Admins also get the scopes the key needs (`scopes_needed`), the ones it's missing (`connection.missing_scopes`) and the ones HubSpot couldn't confirm (`connection.unchecked_scopes`). Never returns the key. Members of the workspace only.

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

## 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/status?workspace_id=WORKSPACE_ID' \
  -H "Authorization: Bearer $MARKDROP_TOKEN"
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/hubspot/status?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/status?workspace_id=WORKSPACE_ID",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
)
r.raise_for_status()
print(r.json())
```
