StackPath Support

Whitelisting Your Server IP to Use the API

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:

  1. From any page in the StackPath control panel, click your username in the top right section of the screen.

  2. Select API from the dropdown menu:

    Screenshot of account options dropdown in the StackPath control panel

  3. At the bottom of the page, click the whitelist your IPs link under the section labeled Your API Info:

    Screenshot of API Info box in StackPath control panel

  4. Under the section labeled Whitelist IP enter the IP address of your server. Also add a short description:

    Screenshot of Whitelist IP section in the StackPath control panel

    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
  5. Click Whitelist IP.

    Your IP should be added to the section labeled Whitelisted IPs.

Return to top
Powered by Zendesk