Get your credentials and make your first API call
Before you start, you’ll need to get your credentials so that you can make API requests. Your credentials are made up of an API Key and API Secret.
These allow you to access the API without needing to provide a username and password each time you make a call. Your credentials also determines which permissible actions that your app can perform.
To get your credentials:
- Login to the Criteo Developer Dashboard and go your App page (My Apps and click on view to select an App)
- Click on Generate and download new key to generate your set of credentials
- A text file will be automatically downloaded with both your API Key and API Secret. You will be able to copy your key from the credentials dashboard, but we will only communicate you once the secret. Please keep it preciously!
- You can then authenticate using the key and the secret using the /oauth2/token endpoint to get your token.
https://api.criteo.com/oauth2/token
You can use this dashboard to manage your API keys. You can also delete an API key from this dashboard. The key will stay valid for fifteen minutes before deactivating.
💡 You can change the name of your set of credentials by clicking directly on the credentials name on in the dashboard. For example: Troubleshooting Credentials, Production Credentials, etc.
💡 You will be limited to 5 API credentials at for an App (for ex. 1 for production, 1 for troubleshooting and 3 others for any other use case you can imagine)
Updated about 4 years ago