POST
https://api.myidvirtual.com
/
mail
/
register
Send Registration Email
curl --request POST \
  --url https://api.myidvirtual.com/mail/register \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "name": "<string>"
}
'
{
  "success": true,
  "message": "<string>"
}

Query Parameters

system
string
Operating system type for customized email content
  • ios - Send iOS-specific registration email
  • Other values or omitted - Send standard registration email

Body Parameters

email
string
required
Recipient’s email address
name
string
Recipient’s name for personalization

Response

success
boolean
Indicates if the email was sent successfully
message
string
Success or error message

Example Request

curl -X POST "http://localhost:3333/mail/register?system=ios" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "[email protected]",
    "name": "John Doe"
  }'

Response Example

{
  "success": true,
  "message": "Registration email sent successfully"
}