Want to clarify the exact permissions required to access the /api/v2/agents
endpoint via API to get all users/agents’ information.
We're encountering a 403 Forbidden
error as shown below when attempting to retrieve agent data, even though the API credentials appear valid.
session.get(' https://<mycompany>.freshservice.com/api/v2/agents').text
'{"code":"access_denied","message":"You are not authorized to perform this action."}'
Which specific role or permission must be assigned to the user associated with the API key? Any guidance or documentation would be greatly appreciated.