> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thanx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Communication Settings

These webhooks are sent anytime a user's communication settings are updated.

### Payload Description

<ParamField body="id" type="string">
  Communication Setting ID
</ParamField>

<ParamField body="merchant_id" type="string">
  Merchant ID
</ParamField>

<ParamField body="user_id" type="string">
  User ID
</ParamField>

<ParamField body="reward_progress" type="hash">
  Settings for when a user earns loyalty progress

  <Expandable title="reward_progress">
    <ParamField body="email" type="boolean">
      email setting
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="reward_offer" type="hash">
  Settings for when a merchant sends an offer

  <Expandable title="reward_offer">
    <ParamField body="notification" type="boolean">
      app notification setting
    </ParamField>

    <ParamField body="email" type="boolean">
      email setting
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="marketing_general" type="hash">
  Settings for when a merchant sends general marketing

  <Expandable title="marketing_general">
    <ParamField body="email" type="boolean">
      email setting
    </ParamField>
  </Expandable>
</ParamField>

<ResponseExample>
  ```json theme={null}
  {
    "communication_setting": {
      "id": "weori234098",
      "merchant_id": "owierywtwt",
      "user_id": "woeruijsfwer",
      "reward_progress": {
        "email": true
      },
      "reward_offer": {
        "notification": true,
        "email": true
      },
      "marketing_general": {
        "email": true
      }
    }
  }
  ```
</ResponseExample>
