GetValueByEmail
Query reference information of static values based on email and campaign name.
POST /api/v3/user_placeholder/get_value_by_email
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) |
Request sample
curl --request POST "https://openapi.smartlink.intlgame.com/api/v3/user_placeholder/get_value_by_email?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"
}'
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 reference list exists |
reference_list | array | Reference list of static value |
Reference list
Attribute | Data type | Description |
---|---|---|
campaign_name | string | Name of the referenced campaign |
delivered_ts | int64 | Timestamp of actual delivery time (in milliseconds) |
value | string | Static value |
Response sample
{
"code": 0,
"msg": "Success",
"data": {
"is_exist": true,
"reference_list": [
{
"campaign_name": "Campaign name",
"delivered_ts": 1728464065000,
"value": "CD KEY1"
}
]
}
}