Hi.
Context - Instance Setup
- I have a free-tier FreshService instance.
- I have created some knowledge articles in it.
Context - API - successful tests
Using my base-admin account that was setup during instance provisioning, I’m able fetch all knowledge articles via FS REST API.
API URL - https://.freshservice.com/api/v2/solutions/articles
Request Headers:
- Authorization = Basic <api_key>
The above API works fine with the admin account API key.
API Issues
New account setup
- I created a new agent account in my FreshService instance (from Admin > Agents > New Agent) menu. I gave it the IT Agent role.
- I turned on API key for the new account.
- I did the email verification and activation for the new account > logged in with new account
- I confirmed I can view Solution (knowledge articles) from FS UI using this account
- I copied API key from profile settings and tried making the same API call I described above.
With the new agent account’s API key, I always get a HTTP 403 “access_denied” error.
I also tried giving Account Admin permissions to the new account - the API call still fails.
Any idea on what I’m missing here?