latestSwagger 2.02026-08-101561322.2 MB

3e4029d19684

User Settings

Get balance notification settings

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

get/api/v2/user/notification/balance

Response

Returned when successful.

lowBalanceNotificationboolean required

Should user receive low balance notification.

alertBalancenumber required

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

alertPhonestring required

Low balance notification phone number.

alertEmail1string required

Low balance notification email 1.

alertEmail2string required

Low balance notification email 2.

alertEmail3string required

Low balance notification email 3.

Example response

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