You are viewing the legacy StackPath SecureCDN Help Center. Please use support.stackpath.com if you signed up after July 1, 2018 or log in through control.stackpath.com

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:

    Control panel navigation

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

    API info navigation

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

    Whitelist IP 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