Skip to main content

UpdateUserLocationByEmail

Update contact location according to email address.

POST /api/v3/userinfo/update_user_location_by_email

Request parameters

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

AttributeData typeRemarksDescription
emailstringrequiredEmail
modify_tsbigintrequiredTimestamp of last update (in milliseconds)
locationstringrequiredThree-digit country code, see number_code from Country or region information
If the parameter is unknown or empty, the existing value will not be overwritten

Request sample

curl --request POST "https://openapi.smartlink.intlgame.com/api/v3/userinfo/update_user_location_by_email?gameid=${GAME_ID}&seq=${YOUR_RANDOM_STRING}&sig=${SIGNATURE}&ts=${TS}" \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "545058834@qq.com",
"modify_ts": 1691225447577,
"location": "004"
}'

Response parameters

AttributeData typeDescription
codeintReturn code
msgstringReturn message

Response sample

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