Send an Email

Send an email through the ServiceM8 Messaging API.

Email Signature

You can include a staff member's email signature in your message by using the <platform-user-signature /> tag in your htmlBody or textBody. When this tag is present, the specified staff member's signature will be inserted at that location.

Important: When using the <platform-user-signature /> tag, you must include the x-impersonate-uuid header with the UUID of the staff member whose signature you want to include. Without this header, the API will return an error.

Example:

<p>Hello,</p>
<p>This is the main content of the email.</p>
<platform-user-signature />
<p>Additional footer information</p>

Note: The tag is case-insensitive.

Note: you must supply one of htmlBody or textBody in order to send a message, or you may specify both parameters. If you don't have a HTML-formatted or text-formatted version available, then simply supply the version that you do have and omit the other parameter. Submitting an empty string for either htmlBody or textBody will result in messages that cannot be viewed on some email clients.

You may specify a Reply To address, but the From address is controlled by ServiceM8.

Language
Click Try It! to start a request and see the response here!