copilot_frontend
citas
Get Contact By Email With Details
Endpoint Unificado: Busca un contacto por email y devuelve toda su información incluida la dirección.
Este endpoint combina las operaciones de:
- Buscar contacto por email (/contacts/search)
- Obtener dirección del contacto (/contacts/{id}/address)
En una sola llamada, optimizando el rendimiento del frontend.
🔒 Endpoint Protegido: Requiere autenticación JWT y rol 'ui_hubspot', 'admin', 'ui_citas' o 'ui_mantenimiento'
Args: email: Email del contacto a buscar
Returns: ContactDetailsResponse con todos los datos del contacto
Raises: 404: Si el contacto no existe 500: Error interno del servidor
get/api/citas/contacts/get-by-email
Request
- Base URLhttps://api.hogarsolar.es (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/docs/api/citas/contacts/get-by-email/get.tsA function with typed inputs. Its response is checked against the schema.
Query parameters
emailstring required
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.