This tutorial shows how to whitelist a server API so it can pull information from the StackPath API servers. This will allow you to seamlessly run applications that use the StackPath API.
Creating an API consumer key and secret pair is a necessary step for utilizing StackPath's API.
To whitelist your server API:
-
From any page in the StackPath control panel, click your username in the top right section of the screen.
-
Select API from the dropdown menu:
-
At the bottom of the page, click the whitelist your IPs link under the section labeled Your API Info:
-
Under the section labeled Whitelist IP enter the IP address of your server. Also add a short description:
You can also add specific IPs or wildcard IPs. Here are some examples:
Specific IP address: 122.122.122.122 (whitelists one IP) Wildcard IP address: 122.122.122.% (allows class C) GitHub Webhook: 192.30.252.% Wildcard:* (allows any IP) CIDR Notation: 122.122.122.1/24
-
Click Whitelist IP.
Your IP should be added to the section labeled Whitelisted IPs.