---
title: "Create HubSpot tasks"
description: "Creates the chosen proposed tasks (keys) in HubSpot, on the deal and contacts, each once: results says created, exists or failed for each."
canonical_url: https://docs.markdrop.in/api/hubspot/create-hubspot-tasks
last_updated: 2026-11-20
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# Create HubSpot tasks

`POST https://api.markdrop.in/api/v1/hubspot/meetings/{meeting_id}/tasks`

Creates the chosen proposed tasks (`keys`) in HubSpot, on the deal and contacts, each once: `results` says `created`, `exists` or `failed` for each.

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

## Path parameters

- `meeting_id` (string, required)

## Request body

`application/json`, required.

- `keys` (array of string, required): The proposed tasks' keys (from GET /meetings/{id}). 1–50 items.

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

**JavaScript**

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

**Python**

```python
import os

import requests

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