hkremer
4 years agoHelper
API Authentication
Hi,
I'm new to the Khoros community and looking for some clarification on API authentication.
Specifically, is it required for GET requests? I see it is listed as required in the API documentation but in practice, I am not running into any permissions error when testing on community.khoros.com.
Example:
GET https://community.khoros.com/api/2.0/search?q=SELECT * FROM categories
Thank you for any insight!
Yes, the unauthenticated call will only return results if the community's permissions are set up to grant API read access to everyone. I've seen communities that restrict API access to signed in users or even only users with a specific role, so in that case API authenticatio is a must to access anything.