Skip to main content

SendEmail

The sendEmail API is used to send parental consent emails.

In high-risk regions (such as South Korea), games must send authorization emails to the parents or legal guardians of minors before they can enter the game.

Request Parameter

ParameterTypeDescription
emailstringDestination email address
userNamestringEmail salutation

Request Sample

complianceApi.sendEmail(
{
email: "user@email.com",
userName: "test",
},
(res) => {
console.log(res);
}
);

Response Parameter

ParameterTypeDescription
retnumberReturn code
0: Request success, parse related returned field information.
!=0: Request failure, check msg for the detailed return message.
msgstringReturn message

Response Sample

{
msg: "success",
ret: 0,
seq: "1636536177-1006943754-007094-0000352128",
}