---
title: "Get Associated Deal"
method: GET
path: "/api/hubspot/contacts/{contact_id}/deal"
tags: ["hubspot"]
---

# Get Associated Deal

`GET /api/hubspot/contacts/{contact_id}/deal`

## Request

- Base URL: `https://api.hogarsolar.es` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hogarsolar.es/api/hubspot/contacts/{contact_id}/deal`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/docs/api/hubspot/contacts/:contact_id/deal/get.ts> (a function with typed inputs; its response is checked against the schema)

Devuelve el **deal asociado** a un contacto.

**🔒 Endpoint Protegido:** Requiere autenticación JWT y rol 'ui_hubspot' o 'admin'

## Path parameters

- `contact_id` string, required

## Response `200`

Successful Response

- DealIdResponse: Respuesta con el ID de un deal
  - `deal_id` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api.md) - [All operations](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/revisions/1dc9ad769f97?raw)
