---
title: "Enviar Email Html"
method: POST
path: "/api/email/html"
tags: ["external_services", "email"]
---

# Enviar Email Html

`POST /api/email/html`

Envía un correo con formato HTML

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

## Request body

- EmailHtmlRequest
  - `destinatario` string, email, required
  - `asunto` string, required
  - `contenido_html` string, required
  - `remitente` string, nullable
  - `contenido_texto` string, nullable

## Response `200`

Successful Response

- EmailResponse
  - `success` boolean, required
  - `message` string, required
  - `destinatario` string, nullable
  - `documentos_enviados` string[], nullable
  - `documentos_fallidos` 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)
