/docs/soova/correo-certificado

Correo con Validez Jurídica y RFC 3161

Envío de correos electrónicos con valor probatorio legal (Ley 527/1999 y Ley 2213/2022). Al confirmar la entrega (SMTP 250), se estampa un sello cronológico RFC 3161 y se genera un certificado probatorio en PDF con hash SHA-256.

POST/v1/emails
POST /v1/emails
Authorization: Bearer sk_live_...
Idempotency-Key: f3e2a1b9-7711...

{
  "type": "certified",
  "domain": "cliente-demo.co",
  "to": "destinatario@empresa.com",
  "subject": "Notificación Judicial / Contrato A-2291",
  "html": "<h1>Notificación Oficial</h1><p>Adjuntamos el contrato...</p>",
  "attachments": [
    {
      "filename": "contrato.pdf",
      "contentType": "application/pdf",
      "content": "JVBERi0xLjQKJcTl8uXrp..."
    }
  ]
}

PARÁMETROS

type
enum
certified (con acta legal y RFC 3161) o transactional (estándar)
domain
string
Dominio raíz verificado del cliente (ej. cliente-demo.co)
to
string
Dirección de correo electrónico del destinatario
subject
string
Asunto oficial del correo
attachments
array
Adjuntos en Base64 con filename y contentType