What is the problem with passing the cookies to that api thing? Why can’t it be a server action itself? Please provide a codesandbox with the code so we can get better overview of what you are trying to do?
Reasons:
RegEx Blacklisted phrase (2.5): Please provide a code