Send test email
1const response = await fetch("https://reloop.sh/api/template/v1/{id}/test", {2 method: "POST",3 headers: {4 "Authorization": "Bearer re_123456789",5 "Content-Type": "application/json",6 },7 body: JSON.stringify({8 "to": "to_value",9 "fromEmail": "fromEmail_value",10 "subject": "subject_value",11 "html": "html_value",12 "variables": "variables_value"13})14});15
16const data = await response.json();1{2 "success": true3}Path Parameters
idstringRequired
Body Parameters
tostringRequired
- Minimum length:
1
fromEmailstring
subjectstring
htmlstring
variablesobject
Was this page helpful?
- Need help? Contact Support.
- Chat with Reloop developers on Discord.
- Check out our changelog.
- Questions? Contact Sales.
- LLM? Read llms.txt.