Latest News: MIDAS v4.28 Out Now | Refer-a-Friend | MIDAS Turns 15

MIDAS API Addon MIDAS API: email_client

Available in API 2.0+
Send an email to an existing client.
Required ParametersPossible ValuesDescription
clientClient IDThe numeric ID of the existing client to email
subjectStringThe subject line of the email
bodyTextThe main body of the email. HTML is allowed. This parameter becomes optional if the optional "invoice" parameter is used, otherwise it is required
Optional ParametersPossible ValuesDescription
invoiceInvoice IDThe number/reference of an invoice to include within the email.
Note: Only invoices for the specific client being emailed can be included. Attempting to include an invoice that's for a different client than is being emailed will not include the invoice with the email
receipt0 | 1
Available in API 2.45+
If a "receipt" parameter is included along with the "invoice" parameter, a receipt for specified invoice will be included
styleString | Text
Available in API 2.45+
This optional parameter can be used to include custom CSS styling rules within the email
Example Response
{
	"completed":"1"
}
Variables ReturnedDescription
completedReturns "1" once the API call has completed