Authenticating to the API
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 access token
Read a more in-depth guide to creating a new API Client and Token or follow the basic steps below:
Log into Control Center and visit the API Clients page.
Select "New Client" and fill in the required information.
Make sure to keep a copy of your new Client Secret as this cannot be shown to you again.
Use the new Client Secret to create a new Token.
Make sure to keep a copy of your new API Token as this cannot be shown to you again.
Now you can use the new API Token in the Authorization
header of your API requests.