MailLeader
  1. Mail
MailLeader
  • Inicio
  • Comece Aqui
  • Comece a receber e-mails
  • Api
    • Authentication
      • Api Keys
        • Create ApiKey
        • Search ApiKeys
        • Remove ApiKey
    • User
      • Get authenticated user
    • Domain
      • Accounts
        • Create Account
        • List Accounts
        • Delete Account
      • Create Domain
      • Domains
      • Delete Domain
    • Mail
      • Send Mail
        POST
    • Billing
      • Licenses
        • Search License
        • Get License
      • Invoice
        • Get Invoice Details
        • Search Invoices
        • Get Invoice
      • Expenses
        • List Expenses
      • Profile
      • Domain Usage
      • Domain Usage Operational
      • Usage
      • Current License
    • Webhook
      • Create Webhook
      • Update Webhook
      • Search Webhook
  1. Mail

Send Mail

POST
https://mail.devtcloud.com/api/v1/mail/send
Envie e-mails simples de texto ou providencie um template html,
você pode usar qualquer email cadastrado por você para enviar e-mail

Requisição

Authorization
Adicionar parâmetro em header
x-api-key
Exemplo:
x-api-key: ********************
Parâmetros Bodyapplication/json

Examples

Respostas

🟢200Sucesso
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mail.devtcloud.com/api/v1/mail/send' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "from": "example@example.com",
  "to": "example@example.com",
  "subject": "Assunto",
  "fromName": "Seu Nome",
  "text": "Sua Mensagem",
  "html": "<html></html>"
}'
Response Response Example
{
    "message": "E-mail enviado"
}
Modificado em 2025-12-12 10:55:22
Página anterior
Delete Domain
Próxima página
Search License
Built with