How to create an API request manager in our instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 05:10 AM
We want to create an api call manager in our instance. We do not want more than 5 api calls to be made at the same time in our entire instance.
We wanted to create a control that limits requests to 5 at the same time and stores those that could not run in a queue so that as soon as the number of requests decreases, call those that remained in the queue.
it is possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 07:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 09:18 AM
Thanks! This is very interesting documentation, but reading it I saw that it is for inbound communications.
Is there any similar documentation for outbound rest api rate limiting?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 07:19 AM
Hi @Daniel_O,
Have you taken a look at the 'Rate Limits' module provided by ServiceNow as part of the baseline configuration?
Essentially, you can prevent excessive inbound REST API requests and set rules that limit the number of inbound REST API requests processed per hour. by users, users with roles etc.
This would cater for part of your requirement and limit the API calls, the message queuing however is something that would need consideration. Queue management and processing is quite a complicated service and discipline for which you may want to see what your org currently has available to manage this. Eg: AWS
It would be interesting to see what others advise re the message queue management element.
In the meantime, I would encourage you to review 'Rate Limits' - SN Docs link below.
To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Helpful.
Thanks, Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 09:25 AM
Hey, Robbie thanks.
This is very interesting documentation, but reading it I saw that it is for inbound communications. Is there any similar documentation for outbound communications?