Cookie - extract only connect.sid, ignore other values, e.g., { “cookie”: “connect.sid=*************”}
Use a tool like n8n to perform the same web request in your workflow. You only need GET/POST, endpoint URL, body (payload), and Cookie (with connect.sid).
That’s it. Examples below.
New to n8n?
My post (below) might help.
Important
The authentication token (connect.sid) stays valid for months if you do not sign out — even with MFA enabled.
Store it securely. Consider creating an extra account with only the necessary permissions. Rotate it regularly by signing out and signing in again (even if you do not use the API).
The API has been reliable in all my tests, but remember it’s not official or documented. According to my tests: avoid sending more than 1 request/sec.
---
After 3 years, this completely changed my workflows. I wish I had found it earlier.