Are OAuth token generation transaction counted towards API volume and chargable?

varunkumar11863
Tera Expert
 
1 ACCEPTED SOLUTION

Runjay Patel
Giga Sage

Hi @varunkumar11863 ,

 

Yes, OAuth token generation transactions are typically counted towards the API volume in ServiceNow and are chargeable, depending on your subscription and licensing agreement.

 

Best Practices to Optimize Usage:

  • Token Reuse: If possible, reuse tokens instead of generating a new one for every API call.
  • Token Lifespan: Adjust the token expiration time to a longer duration (if security policies allow) to reduce the frequency of token generation.
  • Monitor API Usage: Use the System Logs > Transactions module or create a custom report to track API usage and identify areas for optimization.

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

View solution in original post

2 REPLIES 2

Runjay Patel
Giga Sage

Hi @varunkumar11863 ,

 

Yes, OAuth token generation transactions are typically counted towards the API volume in ServiceNow and are chargeable, depending on your subscription and licensing agreement.

 

Best Practices to Optimize Usage:

  • Token Reuse: If possible, reuse tokens instead of generating a new one for every API call.
  • Token Lifespan: Adjust the token expiration time to a longer duration (if security policies allow) to reduce the frequency of token generation.
  • Monitor API Usage: Use the System Logs > Transactions module or create a custom report to track API usage and identify areas for optimization.

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

Thanks @Runjay Patel, eventually it depends upon license agreement with SN.