User Communications
This privileged API is for use exclusively by applications hosted within the MOTAR system boundary who need to communicate via email with users.
Last updated
This privileged API is for use exclusively by applications hosted within the MOTAR system boundary who need to communicate via email with users.
Last updated
This API is in proposal status and is not yet available for general use. If you have questions or suggestions to improve this API please reach out to the Dynepic team.
This API is not exposed publicly. It is available to 3rd party services hosted within MOTAR. The authentication methodology is different than other APIs. Use your application client id and secret for server-to-server authentication.
POST
https://api.motar.io/email/v1/send-email
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
For the Authorization header, perform a Base64 encoding of "client_id:client_secret" and pass the value after the Basic keyword.
Authentication*
String
Basic Authentication
user_ids*
Array
List up to 50 MOTAR user ids who will receive this email. e.g. ["UUID1", "UUID2"]. MOTAR will send the email to the address stored in the user's profile.
subject*
String
The subject line of the email. Use the UTF-8 character set.
email_body_paragraphs*
Array
The content of the email as an array of paragraphs (strings). Other than plain text, the only HTML elements allowed are bold and italicized. For example ["Paragraph <strong>one</strong>.", "Paragraph <em>two</em>."]