Authentication mechanism of the 123captures APIs

Written By Waldemar Axt

Last updated 6 days ago

Basic Authentication

The 123onsite APIs are currently authenticated via HTTP Basic Authentication. This involves combining the username and password, encoding them using Base64, and transmitting them in the Authorization header of each request.

Here is what the
Authorization: Basic <base64(username:password)>header looks like

Example:

Authorization: Basic emVpdF9pc3RfZ2VsZDoxMjNlcmZhc3N0

Generate HTTP Basic Auth Header can be used as a tool to generate a suitable header.

However, confidential login credentials should only be entered on external websites with caution. To the best of our knowledge, the data is processed on the client side there; however, we cannot guarantee this.

API Keys

  • The 123onsite APIs currently do not support API keys as a general authentication method.

  • The "API Keys" entry in the administration section at Admin > Konto > API-Keys is intended exclusively for time tracking terminals and will be renamed "Terminal Tokens" in the future.