Rest APIs : REST API : Getting started : REST headers : Understanding the Cookie header
Understanding the Cookie header
The Cookie header contains the authenticated session ID that you obtained after creating a REST API session. Having this header with the session ID allows your subsequent requests to be authenticated. Without it, you will receive a 401 Unauthorized on any request attempt made.