Hello everyone, how are you?
Hope you can get me some help for a few questions that we have.
1) Firstly, when using the Used Defined (OAuth) credentials for an Integration, the platform will create a Data Action for Authentication automatically. This Data action runs before the actual Data Actions that we create for this integration to generate the Access Token. Correct?
How does the creation/lifetime of said token actually works?
- Does it generate a single token for the Integration that will be used for all data actions created in this integration until the token expires?
- Or does it generate multiple tokens that are used randomly between all interactions? If it's more than one, how many? Is there a fixed number or is it based on something else?
I already searched for a few old threads regarding similar questions and I believe I mostly understand how it works, but would still like some clarification with more details if possible.
Taking into consideration the information provided in these threads:
I can understand that a few tokens are created and cached, and they are used for every inbound call, until it fails for a request (after expiring) and then a new token is created and cached.
I just want to confirm all of that and if possible would like the details mentioned above regarding how many token are actually created.
Aside from that, I actually have a second question:
2) There is a limit of 2500 API requests per minute.
Does the Authentication Data Action (created automatically by the integration to generate the access token) also count for the limit per minute?
Let's say, a customer calls and goes through a Flow. At some point a Data Action needs to be executed.
It will execute the Authentication Data Action first to get the Token, and then use the token to execute the actual Data Action that we need.
Does that count as 1 or 2 executions per minute?
The answer might not be all that important depending on how exactly the lifetime of the token works (Question 1), but I would like to know for sure.
Thanks in advance for any help provided and have a great day everyone!!