How to export cookies with Postman
The Cookie Export endpoint allows you to export cookies from profiles with automation, using folder_id
and profile_id
. It is an essential feature for automation users.
Before you start
- Complete setup: follow all steps in the Getting started with Postman guide, including how to use your bearer token for authentication
-
Find the endpoint:
- Open Postman
- Navigate to the “Launcher” folder
- Select “Cookie Export”
-
Insert required values:
- Add your
folder_id
andprofile_id
in the request body - Need help? Follow the guide Retrieving profile, folder, and workspace IDs
- Add your
How to run the request
- Click “Send” to execute the request: a “200” status means success
- In the response, the cookies are stored under:
"data": {
"cookies": "[{...}]"
}
- Copy the entire value of
"cookies"
(inside the quotes)
The exported cookies are wrapped in extra quotes, making them a string instead of a proper JSON format. To fix this, just remove the outer quotes so it becomes a clean JSON array.
An easy way? Use a tool like JSON Fixer – just paste the data in, and it’ll format it for you instantly!
