How to pass parameters and result from the API calls tab to the Actions tab (and vice versa) in a custom plugin

I have an API call to do which require a json-web-signature (JWS) of the body of the request in its header.

I plan to build my own plugin but I wonder how I can pass parameters and result from the API calls tab to the Actions tab and vice versa : the body of the call (a json with variables defined in the API calls tab) being a parameter of an action which will generate the JWS (in the Actions tab) and the result of that action being the value of the JWS header (in the API calls tab).

Thanks by advance for your advice.

+1

@emmanuel is this possible?

+1 to this as well. Would be good to know if there’s a way to get the data from the api calls to an Action