Authenticating
All PredictHQ API endpoints require authentication. You can authenticate your request by sending a token in the Authorization
header of your request. If you try to use an API endpoint without a token or that token has insufficient permissions, you will receive a 403 Forbidden
response.
Create an API Token
Read a more in-depth guide to creating a new API Token or follow the basic steps below:
Log into Control Center and visit the API Tokens page under API tools.
The first time you create a token - enter the name of the token and click "Create Token". For the second and subsequent times click the "Create New Token" button and enter the name, then click Create Token.
Click "Copy Token" to copy your token to the clipboard. You can now paste the token into another application. Keep a copy of your new API Token, as it will not be shown again.
Now you can use the new API Token in the Authorization
header of your API requests.
Last updated