Test your API token by sending a test email. This will help you
verify that your configuration is working correctly.
You can find your API token in your account dashboard
Request Body Example
{
"from": "Your Name",
"to": "recipient@example.com",
"subject": "Hello from Email Service",
"body": "<h1>Hello!</h1><p>This is a test email sent via API.</p>",
"replyTo": "reply@yourdomain.com"
}
Request Body Example (with SMTP credentials)
{
"from": "My App",
"to": "recipient@example.com",
"subject": "Email with custom user/pass",
"body": "<h1>Hello</h1><p>This uses SMTP with default host.</p>",
"credentials": {
"user": "myuser@mydomain.com",
"pass": "mySecurePassword"
}
}
Request Body Example (using template with variables)