Skip to main content

ReportEventRegister

Reports the user's account creation event to SmartLink, which makes it possible for in-game behavior analysis.

note

Permissions are required before this API can be called, reach out to the SmartLink representative for more information. The error code 22010 will be returned if the API is called while permissions have not been obtained.

POST /api/v3/report/register

Request parameters

For more information on the query parameters, see Query parameters.

AttributeData typeRemarksDescription
reg_timeintrequiredAccount creation time (unix timestamp)
openidstringrequiredUnique user ID (up to 20 numeric characters)
locationstringrequiredThree-digit country code, see number_code from Country or region information
languagestringrequiredLanguage code, see language_code from Language information

Request sample

curl --request POST "https://openapi.smartlink.intlgame.com/api/v3/report/register?gameid=${GAME_ID}&seq=${YOUR_RANDOM_STRING}&sig=${SIGNATURE}&ts=${TS}" \
--header 'Content-Type: application/json' \
--data-raw '{
"reg_time": 1694917726,
"openid": "5450588341569",
"location": "004",
"language": "ar"
}'

Response parameters

AttributeData typeDescription
codeintReturn code
msgstringReturn message

Response sample

{
"code": 0,
"msg": "Success",
"seq": "{YOUR_RANDOM_STRING}"
}