How To Authenticate API Requests
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:
- Enable the Require API Token setting in the settings page
- Set the Public Key (or Private Key, both work) in the Authorization request header or as api_key query parameter.