How To Authenticate API Requests

Written By Emil Hajric (Super Administrator)

Updated at May 20th, 2020

1.    When account requires API Token:

    1.1.    Guest with valid API Token can access both internal and external questions

    1.2.    Guests with invalid API Token are not able to access KB at all.

2.    When account does not require API Token:

    2.1. Guests are able to access external question, only if internal_kb option is not checked.

   

How to authorize guests through API, in order to access internal questions:

  1. Enable the Require API Token setting in the settings page
  2. Set the Public Key (or Private Key, both work) in the Authorization request header or as api_key query parameter.

Was this article helpful?