curl --request POST \
--url http://localhost/mogl/mogl-backend/api/sendEmailRequest \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"template": "email_notification",
"replace_data": [],
"receiver_email": "recipient@example.com"
}
'{
"status": "success",
"message": "Email sent successfully."
}Called by internal services/Lambda to send an email notification.
curl --request POST \
--url http://localhost/mogl/mogl-backend/api/sendEmailRequest \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"template": "email_notification",
"replace_data": [],
"receiver_email": "recipient@example.com"
}
'{
"status": "success",
"message": "Email sent successfully."
}Documentation Index
Fetch the complete documentation index at: https://developer.mogl.online/llms.txt
Use this file to discover all available pages before exploring further.
Server-to-Server API Key for internal/lambda/cron calls