IP Whitelisting

IP Whitelisting allows you to limit API access so that only specific servers can send requests to Prestmit. It’s an extra security layer to make sure your API keys are not used by anyone else, even if they somehow get exposed.


⚙️ How It Works

When IP whitelisting is turned on, Prestmit will only accept API requests coming from the IP addresses you’ve added in your dashboard.

Any request from an unlisted IP will be rejected automatically with an error response.

This feature is optional, but we strongly recommend using it for production environments.


🧭 How to Add an IP Address

  1. Go to your Developer Dashboard.
  2. Click on the “IP Whitelisting” tab.
  3. Click “Add New IP Address.”
  4. Fill in the form:
    • IP Address: Enter your server’s public IP (for example, 192.168.0.1).
    • Label: Add a name to help you identify the IP (e.g., Staging Server IP).
    • API Access Key: Choose which API key this IP should be attached to.
  5. Click “Add IP Address.”

Only once it’s active can requests from that IP access the Prestmit API using the selected key.

Note: If you don't add any IP to an API key, it means it can be accessed from any IP.


🧩 Example Use Case

If your app runs on a specific server or cloud instance (e.g., AWS, Render, Vercel), you can whitelist that server’s public IP. This way, even if someone else gets your API key, Prestmit will ignore their requests because they’re not coming from your whitelisted IP.


Note: IP Whitelisting is optional. You can use the API without it, but it’s highly recommended for live integrations.


What’s Next

Next... Let's look at a sample project we built on the Prestmit API.