---
title: "Patch Hubspot Integration"
method: PATCH
path: "/api/app-auto-gtm/projects/{project_id}/integrations/hubspot"
tags: ["AppAutoGtm"]
---

# Patch Hubspot Integration

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

## Path parameters

- `project_id` integer, required

## Cookies

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

## Request body

- PatchHubspotRequest
  - `push_enabled` boolean, nullable
  - `pipeline_id` string, nullable
  - `dealstage_id` string, nullable
  - `pipeline_label` string, nullable
  - `dealstage_label` string, nullable

## Response `200`

Successful Response

- IntegrationsResponse
  - `project_id` integer, required
  - `hubspot` HubspotIntegrationState, required
    - `provider` string
    - `available` boolean, required
    - `connected` boolean, required
    - `account_name` string, nullable
    - `push_enabled` boolean
    - `pipeline_id` string, nullable
    - `dealstage_id` string, nullable
    - `pipeline_label` string, nullable
    - `dealstage_label` string, nullable
    - `last_push_at` string, date-time, nullable
    - `last_error` string, nullable
    - `pushed_count` integer

## 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)
