Server side plugin action method to store

Hello All,

I am using server side plugin action method to make expernal call to the API from plugin.

I have set this action to be run on every page load from the website workflow where the plugin installed.

I want this action to be perform only first time when user visit the page, then I want to store API request somewhere (like in Cookie) using that I can add condition to not execute such request if cookie it set.

So, is there any way to do such thing? Please guide.