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.
Attribute | Data type | Remarks | Description |
---|---|---|---|
string | required | Email (maximum 255 characters) | |
placeholder_name | string | required | Placeholder name (maximum 100 characters) |
value | string | required | Static 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
Attribute | Data type | Description |
---|---|---|
code | int | Return code |
msg | string | Return message |
data | object | Return data |
Return data
Attribute | Data type | Description |
---|---|---|
is_exist | bool | Whether the static value is referenced |
reference | object | Reference information of static value |
Reference information
Attribute | Data type | Description |
---|---|---|
campaign_name | string | Name of the referenced campaign |
delivered_ts | int64 | Timestamp 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"
}