Messente avatar logo

How to Whitelist IP Address Range for Messente API

- 5 MIN READ - 27 Aug 2014

How to Whitelist IP Address Range for Messente API

Dynamic IP addresses are the number one enemy for web service providers. Some third party services may require you to whitelist your IP address, which may cause failed API calls in case you forget to update the list when required. What a hassle.

Fret no more – as of today you can specify IP address range using CIDR notation feature just added to Messente API settings!

IP Address Format of CIDR Notation

I am pretty sure you have seen IP address ranges in the format of 192.168.2.0/24, but what does that mean?

Technically it means, that 24 bit of the address in the IP address must match the same as 192.168.2.0. In this example, the IP address range is from 192.168.2.0 to 192.168.2.255.

Another example: if you added 192.168.2.0/25 to Messente API Whitelisted IP addresses list, then the allowed IP range would be just 192.168.2.0 to 192.168.2.127.

Still sounds too complicated? You can simply use a CIDR Utility Tool to calculate the CIDR notation for your IP address ranges.

Whitelisting Range of IP Addresses

Most cloud web service providers also share their public IP address ranges already as CIDR notations, so you can just copy-paste the list to Messente API settings.

Here is a short list of some of the most popular cloud web service providers and their public IP address ranges:

Limitations and Workaround

Using CIDR IP address format, you can not always specify your required range of IP addresses as one line.

For example, if you wanted to whitelist IP address range of 192.168.2.12 to 192.168.2.34, then you would need to add three CIDR notations:

At least you won’t have to insert all 23 IP addresses separately

Also, you can simply just use the CIDR Utility Tool mentioned above to calculate the ranges for you.

Disabling IP Address Validation

We strongly suggest you to get a fixed public IP address if possible. However, if you really-really want to disable the IP address validation (we really strongly suggest against doing this), you could add “0.0.0.0/0″ to the allowed IP address list.

If you still want to disable the IP address validation – at least make sure you use HTTPS for communication. This way you make it pretty hard for anyone to sniff at your traffic.

Jaanus Rõõmus

Jaanus Rõõmus - CTO

Jaanus is co-founder and CTO of Messente and makes sure its wheels keep spinning and Messente always has a full tank of fuel.

Have you met 1oT? Mobile data connectivity for IoT companies.

24 Apr 2018

Last week, Lauri wrote a good piece about keeping things real, because businesses have simple business models at their core. As one of our values, simplicity has led Messente to build a reliable and powerful SMS API and user authentication API for businesses and brands to communicate with their customers globally.

While we pride ourselves in doing global A2P SMS and 2FA very well, one of our sister companies, 1oT, uses a similar methodology of simplicity to do global internet of things (IoT) and machine-to-machine (M2M) connectivity really well.

Yuriy Mikitchenko

Yuriy Mikitchenko

A note on keeping things real

17 Apr 2018

Over the years, I've had the good fortune of talking to and doing business with many entrepreneurs and CEOs from a variety of industries. Some are first-time founders of small startups, while others are amazingly experienced serial entrepreneurs. Many of them are extremely successful in what they do.

So naturally, while listening to them talk about their businesses, I've always tried to spot any fundamental takeaways –the small drops of universal business advice distilled from those hundreds of conversations.

And it seems to me that a lot of the most profound business truths seem to point to a direction that I would call, "keeping it real.”

Lauri Kinkar

Lauri Kinkar

Next-generation Omnichannel API is well underway

10 Apr 2018

Over the last few months we’ve been setting the direction of our Omnichannel messaging API and our development team has started working on it. Considering transparency, we wanted to share the progress we’ve made on the API and give our clients something to look forward to, as well as helping clients prepare their systems for the next generation of our A2P messaging API.

Uku Loskit

Uku Loskit

Start sending messages to

for € N/A

Contact us