Skip to main content
POST
/
sendReferralEmail
Send referral email(s)
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/sendReferralEmail \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "referral_email": [
    "test@example.com",
    "test2@example.com"
  ]
}
'

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.

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
referral_email
string<email>[]
required

Array of email addresses to send referrals to

Example:
["test@example.com", "test2@example.com"]

Response

200

Referral email(s) sent