If an agent has an API token, can they only get agent level data? | Community
Skip to main content

If an agent has an API token, can they only get agent level data?

  • February 18, 2022
  • 1 reply
  • 0 views

Kristin11

We have some data analysts who are doing some analysis and pulling data from API, but would we have to upgrade their role to Admins in order for them to pull ticket field data? 

Or can they stay normal agents and still have API access?

1 reply

Dane13
  • February 20, 2022
@Kristin,
 
Every API call has restriction (Allowed for) for user types. It can be found on the API documentation.
 

 
For your use case, if their only purpose is just to make API calls, you don't need to assign them an Admin role. What you can do is generate an API token and use basic authentication with one of your Admin emails.
 

 
By using this method they can make API calls that require admin access without being an actual admin. All they need to have is the API token and one admin email.
 
Hope this helps.