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

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: (whitelists one IP)
    Wildcard IP address: 122.122.122.% (allows class C)
    GitHub Webhook: 192.30.252.%
    Wildcard:* (allows any IP)
    CIDR Notation:
  5. Click Whitelist IP.

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

Return to top