--- title: "Collection.GetList - Web Scraping API - Mozenda" slug: "collectiongetlist" description: "Use the Collection.GetList operation to return a list of all collections associated with an account. " updated: 2024-05-14T14:22:29Z published: 2024-05-14T14:22:29Z canonical: "help.mozenda.com/collectiongetlist" --- > ## 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. # Collection.GetList ### Description Returns a list of **collections** for an account. ### URL parameters None ### Responses A list of the **collections** in an account. | Name | Type | Description | | --- | --- | --- | | `Result` | string | `Success` if the operation was successful. | | `Collection` | [Collection](https://help.mozenda.com/docs/api-response-objects/#collection) | An object representing a **collection**. | ### Sample request ``` curl -X GET 'https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=Collection.GetList' ``` ### Sample responses #### XML ``` Success 1005 My First Collection Sample description of 'My 1st Collection'. 1003 1002 1067 ZipCodes Sample description of the 'ZipCodes' repository. 1036 ``` #### JSON (add `&ResponseFormat=JSON`) ``` { "Collection": [ { "CollectionID": 5303, "Name": "100MileZipList", "Description": "Sample description of the Collection.", "DefaultViewID": 5407, "AgentID": null }, { "CollectionID": 5347, "Name": "QuarterlyProducts", "Description": "Sample description of the Collection.", "DefaultViewID": 5486, "AgentID": 5163 } ], "JsonResult": { "Command": "Collection.GetList", "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 } } } ```