- To get started with our APIs, use the endpoint below to generate an Access Token with your API credentials or authorization code.
- The Access Token is a Bearer token to be included in the Authorization Header of all API requests
- Multiple tokens may be generated and each is valid for 15 minutes, or 900 seconds
Endpoint
POST https://api.criteo.com/oauth2/tokenGenerate an Access Token
Generate another access token when it expires, signaled by a
401 Unauthorized HTTP status codeParameters
Generate an Access Token
- This endpoint generates a new access token using your API credentials or authorization code.
- To comply with the OAuth2 standards of using client_credentials, Criteo API authorization supports Content-Type: ‘application/x-www-form-urlencoded’. See the example below.
Use an Access Token
- Once you have obtained your access token, you can authenticate all subsequent requests by including an
AuthorizationHTTP header, as in the example below:
OAuth FlowYou can find more details about how to implement OAuth flow for the different authentication methods in OAuth implementation guides.