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
      • box
        • Get Mail Box
        • List MailBoxes
        • Get Email
        • Send Webmail
      • Send Mail v2
        POST
      • 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 v2

POST
https://mail.devtcloud.com/api/v1/v2/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 Bodymultipart/form-data

Respostas

🟢200Sucesso
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mail.devtcloud.com/api/v1/v2/mail/send' \
--header 'x-api-key: <api-key>' \
--form 'from="example@example.com"' \
--form 'to="example@example.com"' \
--form 'subject="Assunto"' \
--form 'text="Sua Mensagem"' \
--form 'fromName="Seu Nome"' \
--form 'html="<html></html>"' \
--form 'attachments=@""'
Response Response Example
{
    "message": "E-mail enviado"
}
Modificado em 2025-12-17 11:08:58
Página anterior
Send Webmail
Próxima página
Send Mail
Built with