---
title: "Pick a meeting's deal"
description: "Sets the meeting's deal (deal_id, from GET /api/v1/hubspot/deals); its contacts and company come with it."
canonical_url: https://docs.markdrop.in/api/hubspot/pick-a-meeting-s-deal
last_updated: 2026-11-20
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# Pick a meeting's deal

`PUT https://api.markdrop.in/api/v1/hubspot/meetings/{meeting_id}/match`

Sets the meeting's deal (`deal_id`, from `GET /api/v1/hubspot/deals`); its contacts and company come with it. `null`: none. The HubSpot meeting found for the call stays the one Log fills.

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

## Path parameters

- `meeting_id` (string, required)

## Request body

`application/json`, required.

- `deal_id` (string): The HubSpot deal; null: none of them. Matches `^[0-9]{1,20}$`.

## 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 -X PUT https://api.markdrop.in/api/v1/hubspot/meetings/MEETING_ID/match \
  -H "Authorization: Bearer $MARKDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/hubspot/meetings/MEETING_ID/match", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MARKDROP_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({}),
});
const data = await res.json();
```

**Python**

```python
import os

import requests

r = requests.put(
    "https://api.markdrop.in/api/v1/hubspot/meetings/MEETING_ID/match",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
    json={},
)
r.raise_for_status()
print(r.json())
```
