User Settings

Update balance notification settings

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/undefined/updateBalanceNotificationSettings" target="_blank">Try in sandbox</a><br>

put/api/v2/user/notification/balance

Request

Request body

lowBalanceNotificationboolean

Should user receive low balance notification.

alertBalancestring required

If balance is below this value, user receive low balance notification.

alertPhonestring

Low balance notification phone number.

alertEmail1string

Low balance notification email 1.

alertEmail2string

Low balance notification email 2.

alertEmail3string

Low balance notification email 3.

Example request

{
  "lowBalanceNotification": true,
  "alertBalance": "50",
  "alertPhone": "15417543010",
  "alertEmail1": "test@test.com",
  "alertEmail2": "test@test.com",
  "alertEmail3": "test@test.com"
}

Response

Request executed with success

Changes

No recorded changes to this operation across all 4 revisions of this API.