Skip to main content

CheckValue

Query whether a static value is referenced based on email, and return the referenced campaign information if found.

POST /api/v3/user_placeholder/check_value

Request parameters

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

AttributeData typeRemarksDescription
emailstringrequiredEmail (maximum 255 characters)
placeholder_namestringrequiredPlaceholder name (maximum 100 characters)
valuestringrequiredStatic value (maximum 255 characters)

Request sample

curl --request POST "https://openapi.smartlink.intlgame.com/api/v3/user_placeholder/check_value?gameid=${GAME_ID}&seq=${YOUR_RANDOM_STRING}&sig=${SIGNATURE}&ts=${TS}" \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "example@abc.com",
"placeholder_name": "CEK",
"value": "CD KEY1"
}'

Response parameters

AttributeData typeDescription
codeintReturn code
msgstringReturn message
dataobjectReturn data

Return data

AttributeData typeDescription
is_existboolWhether the static value is referenced
referenceobjectReference information of static value

Reference information

AttributeData typeDescription
campaign_namestringName of the referenced campaign
delivered_tsint64Timestamp of actual delivery time (in milliseconds)

Response sample

{
"code": 0,
"msg": "Success",
"data": {
"is_exist": true,
"reference": {
"campaign_name": "Campaign name",
"delivered_ts": 1728464065000
}
},
"seq": "abcdfsdfs24234asdfsfsfdsfds"
}