API – Email Tool Endpoint
General
If you want to send an email to a list of your loans, you can use the endpoint:
POST https://loanpro.simnang.com/api/public/api/1/email.tool/next
The payload should look something like this:
{
"loans":[
"630"
],
"emailContent":"<p>Test Message</p>",
"emailSubject":"Test Subject",
"companyEmailId":76
}
- The loans array is a list of loan ids. The should be strings and be separated by commas.
- The emailContent is the body of your message. This can contain HTML and variable values. Variable information will be merged in after you send this request.
- The emailSubject is the subject of your email.
- companyEmailId is the id of the from email address. The options will be all the verified email addresses for your company.