---
title: "Sync Hubspot Hot Leads"
method: POST
path: "/api/app-auto-gtm/projects/{project_id}/integrations/hubspot/sync"
tags: ["AppAutoGtm"]
---

# Sync Hubspot Hot Leads

`POST /api/app-auto-gtm/projects/{project_id}/integrations/hubspot/sync`

Backfill all EXISTING hot leads into the connected HubSpot (the live
hook only covers hot leads that happen after connect). Idempotent per lead
via the push ledger — pressing Sync repeatedly never duplicates deals.
Runs in the background; the page's pushed counter reflects progress.

## Path parameters

- `project_id` integer, required

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Response `200`

Successful Response

- SyncResponse
  - `queued` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/f169bc6e9447/schema)
