curl https://api.thanxsandbox.com/communication_settings/4235d6d0-2698-4b27-aece-55c204d9aaab \
-X GET
{
"communication_setting": {
"id": "weori234098",
"merchant_id": "owierywtwt",
"merchant_handle": "example-merchant",
"user_id": "woeruijsfwer",
"reward_earned": {
"notification": true,
"email": true
},
"reward_unused": {
"notification": true,
"email": true
},
"reward_progress": {
"notification": true,
"email": true
},
"reward_offer": {
"notification": true,
"email": true
},
"feedback_available": {
"notification": true
},
"marketing_general": {
"email": true,
"sms": true
}
}
}
Communication Settings
Get Communication Setting by UID
This endpoint returns a specific communication setting by its UID. No authentication is required for this endpoint.
GET
/
communication_settings
/
:uid
curl https://api.thanxsandbox.com/communication_settings/4235d6d0-2698-4b27-aece-55c204d9aaab \
-X GET
{
"communication_setting": {
"id": "weori234098",
"merchant_id": "owierywtwt",
"merchant_handle": "example-merchant",
"user_id": "woeruijsfwer",
"reward_earned": {
"notification": true,
"email": true
},
"reward_unused": {
"notification": true,
"email": true
},
"reward_progress": {
"notification": true,
"email": true
},
"reward_offer": {
"notification": true,
"email": true
},
"feedback_available": {
"notification": true
},
"marketing_general": {
"email": true,
"sms": true
}
}
}
Parameters
Response
curl https://api.thanxsandbox.com/communication_settings/4235d6d0-2698-4b27-aece-55c204d9aaab \
-X GET
{
"communication_setting": {
"id": "weori234098",
"merchant_id": "owierywtwt",
"merchant_handle": "example-merchant",
"user_id": "woeruijsfwer",
"reward_earned": {
"notification": true,
"email": true
},
"reward_unused": {
"notification": true,
"email": true
},
"reward_progress": {
"notification": true,
"email": true
},
"reward_offer": {
"notification": true,
"email": true
},
"feedback_available": {
"notification": true
},
"marketing_general": {
"email": true,
"sms": true
}
}
}