to) ou a uma lista (listId, exige o módulo de campanhas). Informe text, html ou ambos.multipart/form-data com o campo attachments (até 10 arquivos, 10 MiB cada; a mensagem toda tem limite de 16 MiB).accepted e rejected descrevem a aceitação pelo MailLeader. Aceito não significa entregue: acompanhe em GET /mail/logs ou por webhook.curl --location 'https://mailleader.com.br/api/v1/mail/send' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"from": "notificacoes@empresa.com.br",
"fromName": "Empresa",
"to": "cliente@exemplo.com",
"subject": "Sua fatura chegou",
"text": "Olá! Sua fatura está disponível.",
"html": "<p>Olá! Sua fatura está disponível.</p>"
}'{
"accepted": [
"string"
],
"rejected": [
"string"
],
"messageId": "string"
}