How to block countries on the basis of SMS price?

To prevent untargeted and undesired SMS traffic to countries with higher pricing, you can take measures that also aid in addressing bot attacks and spamming. There are two approaches to achieve this:



1. Limit by Country (Prefix)

2. Limit by Price


Please follow the steps outlined below:-


Step 1. Login to your MSG91 account and select the Settings option from the username dropdown.



Step 2. Select the 'Limit Communication' option from the sidebar. 

In the 'Limit' field on the right, set a maximum price above which you wish to block the SMS requests from your account and click on the Save button. 



All SMS API requests whose country price is more than the set price will be blocked.