Help

Discover what data silos are costing your org in our commissioned Forrester study. Learn more

Alternatives to fetch() and cookies for authentication?

Topic Labels: Scripting extentions
302 1
cancel
Showing results for 
Search instead for 
Did you mean: 

Per the documentation, it appears that we can’t send cookies in headers for fech() commands. I’m trying to access an API with a GET request in which the only authentication method I have available is a session cookie. Does anyone know of another way to be able to make a cookie/session-based get request from within an airtable script/automation?

1 Reply 1

Hi @Aaron_Hanson,

You should be able to set a cookie in your header on a fetch request from the airtable scripting app seeing as it’s just using your browser-native implementation of fetch. This is not the case with a scripting action that runs on an automation.

I think you will have to set up your own API function you can call from your automation to apply the cookie to the request headers.