Skip to main content

Authorization

The API uses Basic Authentication with a Base64 encoded string in the format of ClientId:ApiKey. If the Authorization header is missing or incorrect, the endpoint will return a 401 Unauthorized error.

Example of a Valid Authorization Header

For instance, if:

  • ClientId = LAGERMAN
  • APIKey = 87ba874b8a5049beadc9710984606715


The Basic Authentication text before encoding is:

LAGERMAN:87ba874b8a5049beadc9710984606715


After encoding in Base64, the text becomes:

TEFHRVJNQU46OTQzZjM2Mjk0N2EyNDA0NTgyYTI2ODkzN2QyM2JjMzM=


To use this in the Authorization header:

  • Header Name: Authorization
  • Header Value: Basic TEFHRVJNQU46ODdiYTg3NGI4YTUwNDliZWFkYzk3MTA5ODQ2MDY3MTU=