Send Email to Specific Recipients
Endpoint
Authentication
Requires JWT authentication token withadmin or monitor role.
Required Roles: admin, monitor
Request Body
Email recipient(s). Can be a single email address string or an array of email addresses.Examples:
- Single:
"[email protected]" - Multiple:
["[email protected]", "[email protected]"]
Email subject line
Email message body. Supports HTML formatting.Example:
Response Fields
Indicates whether the email was sent successfully
Status message describing the result
Number of recipients the email was sent to
Notes
- The endpoint accepts both single email addresses and arrays of email addresses
- HTML formatting is supported in the message body
- Only users with
adminormonitorroles can send emails - Email addresses are validated before sending
- The mail service uses the configured SMTP settings from the application
