---
title: "Get Owner Id By Email Endpoint"
method: GET
path: "/api/hubspot/owner-id/{email}"
tags: ["hubspot", "hubspot"]
---

# Get Owner Id By Email Endpoint

`GET /api/hubspot/owner-id/{email}`

Obtiene el ID numérico de un propietario de HubSpot por su email.

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

## Path parameters

- `email` string, required

## Response `200`

Successful Response

- OwnerIdResponse — Respuesta con el ID de un propietario/owner de HubSpot
  - `status` string, required
  - `owner_id` string, nullable
  - `message` string, nullable

## 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-service-production.skmtc.workers.dev/v1/apis/hogarsolar/hogarsolar-backend-api/revisions/d9861e46bef8/schema)
