---
title: "Enviar E-mail"
method: POST
path: "/api/v2/emails"
tags: ["5 - Gestão de E-mails"]
---

# Enviar E-mail

`POST /api/v2/emails`

Envia um e-mail avulso.

**Autenticação:** token de **usuário** (cliente → `403`). O remetente vem do usuário autenticado.

**Campos:**
- `recipient` (obrigatório)
- `content` (obrigatório, salvo quando `template_id` é usado)
- `subject` (opcional)
- `sender_name` (opcional — default: endereço do remetente)
- `reply_to` (opcional — default: endereço do remetente)
- `sign` (opcional — booleano `true` ou string `"true"`; assina com o certificado do usuário)
- `attachment` (opcional — conteúdo em base64) e `attachment_name` (opcional)
- **Múltiplos anexos:** `attachment_2`/`attachment_name_2`, `attachment_3`/`attachment_name_3`, ...
- `template_id` (opcional, int) + `template_values` (obrigatório quando há `template_id`; objeto com as variáveis do template)

**Sucesso:** `200` `{ "message": "Email sent successfully", "data": { "id", "message_id", "status": "sent" } }`.

**Erros:** `400` JSON/dados inválidos, `403` cliente tentando enviar, `409` "Email deferred", `413` anexo acima de 10MB, `500`.

## Headers

- `Authorization` string

## Request body

- object

## Response `200`

OK

- object

---

[API](https://skmtc.net/bry/apis/bry-easy-sign-api-rest.md) · [All operations](https://skmtc.net/bry/apis/bry-easy-sign-api-rest/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bry/bry-easy-sign-api-rest/revisions/c87e026e87ac/schema)
