Email

‚ÄčSend Email

https://flashyapp.com/api/email/send
JSON
PHP
{
"key": "__API_KEY__",
"email": {
"subject": "Your amazing subject!",
"template": "sl5cf4po7z8c", // Find your template id on Flashy dashboard
"html": "", // If you don't want to use template use HTML
"from": {
"name": "Company Name",
"email": "company@domain.com"
},
"to": {
"name": "Snow",
"email": "snow@business.com"
},
"vars": { // Any vars you want to add.
"unique_hash": "somethinghere"
}
}
}
<?php
$send = $flashy->email->send(array(
"subject" => "Your amazing subject!",
"template" => "sl5cf4po7z8c",
"from" => array(
"name" => "Something",
"email" => "sender@domain.com"
),
"to" => array(
"name" => "Contact",
"email" => "email@domain.com"
),
"vars" => array(
"data_key" => "data_value"
)
));
?>