A consumer key and consumer secret pair is needed to interact with our REST API. If you don't have one, follow the steps in this tutorial.
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:
In the Applications section, click +Create Application.
A page called Create Application will appear:
In the Name field, enter a name for your application. This should align with the purpose of the application using the StackPath API.
In the Description field, enter a short description for your application. This should expound on the name of your application.
The Application URL and Callback URL fields are optional.
Only fill them in if your application is between your website and our API server. If you're creating a simple application to send or receive information, leave these fields empty.
A page with application information will appear.
Find the consumer key and consumer secret under the section labeled OAuth Settings.
This information can be accessed any time in the future by repeating step 1 through 2 and clicking Manage next to the application: