How can I cache an Access Token in Send Phone Message action? If it is not possible, can I cache it in Machine to Machine action?
Hey there @spoudel !
Unfortunately, caching is not supported in the send phone message flow. Caching is however supported for M2M flow - See the methods on the credentials-exchange API object here:
Hey tyf, Thanks for the prompt response. I would like to cache the access tokens so that I would not go past the M2M token utilization quota. I ask for an M2M token in the Send Phone Message Action. If I cache the token in Machine to Machine action, will I be able to overcome the problem?
Hey @spoudel no problem, happy to help!
That is correct - This allows you to use 1 token until it expires and only then do you need to request another.