Note: All current endpoints are using JWT authentication.
Shopping API and or Reporting API URLs must be authenticated using a JSON Web Token (JWT).
JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties. Read more about it on jwt.io.
Generate a token
The first thing to do is to generate a token on the Publisher Center.
Check out the generate token guide.
Important: this token must be kept secret, especially it must never be used from Javascript client-side code.
Use the token in your requests
Once you have a token, you just need to provide it in the Authorization HTTP header of your requests:
Authorization: Bearer <token>
cURL
For instance, using cURL it would like this:
TOKEN="<your-token>"
curl -H "Authorization: Bearer ${TOKEN}" https://api.kelkoogroup.net/publisher/shopping/v2/...
or
TOKEN="<your-token>"
curl -H "Authorization: Bearer ${TOKEN}" https://api.kelkoogroup.net/publisher/reports/v1/...
Other languages
All major languages and libraries or framework support JWT authentication (or at least sending a header with a request).
Check out your HTTP library documentation to find out how.