--- title: "CookieStore.Add - Web Scraping API - Mozenda" slug: "cookiestoreadd" description: "No surprises here - use CookieStore.Add to add a new cookie store. Cookie stores are great for web scraping projects that require two-factor authentication or CAPTCHA. " updated: 2024-05-14T14:25:18Z published: 2024-05-14T14:25:18Z canonical: "help.mozenda.com/cookiestoreadd" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mozenda.com/llms.txt > Use this file to discover all available pages before exploring further. # CookieStore.Add ### Description Adds a new **cookie store**. ### URL parameters URL parameter ordering The **URL parameters** below are listed in the order they should be entered in the API **URL**. | Name | Required | Type | Description | | --- | --- | --- | --- | | `Name` | True | string | Name for the created **cookie store**. | | `Description` | False | string | Description of the **cookie store**. | ### Responses | Name | Type | Description | | --- | --- | --- | | `Result` | string | `Success` if the operation was successful. | | `CookieStoreID` | numeric | Unique identifier of the **cookie store**. | | `Name` | string | Name of the **cookie store**. | | `CookieCount` | numeric | Number of **cookies** in the **cookie store**. | ### Example request url ``` curl -X GET "https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=CookieStore.Add&Name=AllCookies" ``` ### Sample responses #### **XML** ``` Success 1005 Lowes Cart 0 ``` #### JSON (add `&ResponseFormat=JSON`) ``` { "CookieStoreID": 1001, "Name": "AllCookies", "CookieCount": 0, "JsonResult": { "Command": "CookieStore.Add", "AutoLoggedIn": false, "WebConsoleKey": "", "Result": "Success", "ErrorCode": "", "ErrorDescription": "", "ErrorList": [], "ExecutionTime": { "Ticks": 0, "Days": 0, "Hours": 0, "Milliseconds": 0, "Minutes": 0, "Seconds": 0, "TotalDays": 0, "TotalHours": 0, "TotalMilliseconds": 0, "TotalMinutes": 0, "TotalSeconds": 0 } } } ```