Eurobate delivers a robust and scalable solution for businesses that need reliable, high-volume email delivery. With our JSON Email API, you can easily integrate email into your own systems.
Our API is built for developers who need a simple yet powerful way to send emails. Whether it's transactional emails, newsletters, or bulk campaigns, Eurobate provides the tools you need.
// Send email with cURL
curl -X POST 'https://api.eurobate.com/json_api_email.php' \ --header 'Content-Type: application/json' \ --data-raw '{ "user": "your_username", "password": "your_password", "subject": "Your order is confirmed!", "from_name": "My Webshop", "html": "<h1>Hi #FIRSTNAME#!</h1><p>Thank you for your order.</p>", "messages": [ { "to_email": "customer1@example.com", "to_name": "John Doe", "email_var": ["#FIRSTNAME#"], "email_var_data": ["John"] }, { "to_email": "customer2@example.com", "to_name": "Jane Doe", "email_var": ["#FIRSTNAME#"], "email_var_data": ["Jane"] } ] }'
// Example JSON payload
{
"user": "your_username",
"password": "your_password",
"subject": "Your order is confirmed!",
"from_name": "My Webshop",
"hash": "MY-TEMPLATE-ID", // Alternative to "html"
"html": "<h1>Hi #FIRSTNAME#!</h1><p>Thank you for your order.</p>",
"messages": [
{
"to_email": "customer1@example.com",
"to_name": "John Doe",
"email_var": ["#FIRSTNAME#"],
"email_var_data": ["John"]
},
{
"to_email": "customer2@example.com",
"to_name": "Jane Doe",
"email_var": ["#FIRSTNAME#"],
"email_var_data": ["Jane"]
}
]
}
Full documentation can be found at api.eurobate.com