Skip to main content

Authentication

This document describes the authentication mechanism for accessing the Feed API. All requests to the Feed API must be authenticated Authorization header with the operator's credentials.


Authentication Method

Feed API uses HTTP Basic Authentication. You must provide your operator credentials in the Authorization header for every request.

Required Credentials

  • Operator Access ID: Provided by Klas Gaming
  • Operator Secret ID: Provided by Klas Gaming

How to Construct the Authorization Header

  1. Concatenate the access_id and secret_id with a colon (:) separator:
    <access_id>:<secret_id>
  2. Base64 encode the resulting string.
  3. Set the Authorization header as follows:
    Authorization: <Base64-encoded string>

Example

Suppose your credentials are:

  • Access ID: my_operator_access_id
  • Secret ID: my_operator_secret_id

Concatenate:

my_operator_access_id:my_operator_secret_id

Base64 encode:

bXlfb3BlcmF0b3JfYWNjZXNzX2lkOm15X29wZXJhdG9yX3NlY3JldF9pZA==

Set the header:

Authorization: bXlfb3BlcmF0b3JfYWNjZXNzX2lkOm15X29wZXJhdG9yX3NlY3JldF9pZA==

Security Notes

  • Never share your operator credentials publicly or in client-side code.
  • If your credentials are compromised, contact Klas Gaming support immediately to rotate them.

You must include this Authorization header in every request to the Feed API endpoints.