Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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

VarunK312799563
Tera Expert
 
1 ACCEPTED SOLUTION

Runjay Patel
Giga Sage

Hi @VarunK312799563 ,

 

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

Part 2. In this video i have talked about overview on ServiceNow platform/tool. How you can opt for personal dev instance (PDI)? how to login in ServiceNow instance and navigation to OOB modules. For document please visit: https://servicenowwithrunjay.com/ Follow Facebook page for latest update on
2 REPLIES 2

Runjay Patel
Giga Sage

Hi @VarunK312799563 ,

 

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

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

Part 2. In this video i have talked about overview on ServiceNow platform/tool. How you can opt for personal dev instance (PDI)? how to login in ServiceNow instance and navigation to OOB modules. For document please visit: https://servicenowwithrunjay.com/ Follow Facebook page for latest update on

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