Skip to main content

We are trying to create an integration with the following scenario. The auth request to our backend is working properly. The response to the auth request has two parts: 1) a cookie is set with the expectation that Zapier will send the cookies received from the auth request on all subsequent API requests; 2) the body contains a sessionid which can be included instead of the cookie on all subsequent requests in case cookie maintenance is not possible/desirable.

It doesn’t appear that Zap is sending the cookies in subsequent requests so the subsequent API calls fail due to lack of auth. How do we tell Zap to send the cookies received in the auth request on all subsequent API requests, or 2) how do we tell Zap to take the “sessionid” key/value from the response and put that on all subsequent api requests? thanks in advance.

Hi @Ken Anderson 

Are you building a Zap app on the Zapier Developer Platform or just using APIs in Zap steps?


This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.

hi there
If you need to include cookies in subsequent requests in Zapier, you can use the "Cookies" field in the "Custom Request" action. This field allows you to specify any cookies that should be included in the request headers.
Regards
Sam


Hi @Ken Anderson ,
 
We just wanted to see how everything is going with your Zap. Feel free to reach out if you need further assistance with your Zap. We're glad to address any concerns and assist you.
 
We're looking forward to your response.