Send test email
Path Parameters
idstringRequired
Body Parameters
tostringRequired
- Minimum length:
1
fromEmailstring
subjectstring
htmlstring
variablesobject
const response = await fetch("https://reloop.sh/api/template/v1/{id}/test", {
method: "POST",
headers: {
"Authorization": "Bearer re_123456789",
"Content-Type": "application/json",
},
body: JSON.stringify({
"to": "to_value",
"fromEmail": "fromEmail_value",
"subject": "subject_value",
"html": "html_value",
"variables": "variables_value"
})
});
const data = await response.json();{
"success": true
}Was this page helpful?