--- title: "Collection.GetPublisher - Web Scraping API - Mozenda" slug: "collectiongetpublisher" description: "Use the Mozenda API to return a list of the collections, and their respective publishing configurations, using Collection.GetPublisher." updated: 2026-04-28T14:08:40Z published: 2026-04-28T14:08:40Z canonical: "help.mozenda.com/collectiongetpublisher" --- > ## 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.GetPublisher ### Description Returns a list of **collections** and their current publishing configuration. Note The `PublishWhenAgentCompletes` field will be removed if the **collection** is publishing on a schedule. ### URL parameters URL parameter ordering The **URL parameters** below are listed in the order they should be entered in the API **URL**. `CollectionID` or `AgentID` or `PublisherID` (comma separated lists) | Name | Required | Type | Description | | --- | --- | --- | --- | | `CollectionID` | False | numeric | Unique identifier of the **collection**. | | `AgentID` | False | numeric | Unique identifier of the **agent**. | | `PublisherID` | False | numeric | Unique identifier of the **publisher**. | | ` IncludeSequencePublishers` | False | boolean | Set to true to include sequence publishers. Defaults to false. | ### Responses A list of **collections** with their current publishing configuration. | Name | Type | Description | | --- | --- | --- | | `Result` | string | `Success` if the operation was successful. | | `Collection (Publisher)` | [Collection](https://help.mozenda.com/docs/api-response-objects/#collection-publisher) | An object representing the **collection** and its corresponding publish settings. | ### Sample request ``` curl -X GET 'https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=Collection.GetPublisher&CollectionID=131794&AgentID=152029' ``` ### Sample responses #### XML ``` Success 2138 BuilderWelcome-FileDownloads 131794 152029 152029 True 2023-11-29 10:34:32 Curtis, Christopher 151876 0 JSON True zip sevenzip AmazonS3 True False False False False False False AuthenticationToken> SignRequestToken moztestingbucket/gzipped bucketregion.amazonaws.com ``` #### JSON - (add `&ResponseFormat=JSON`) ``` { "Collection": [ { "PublisherID": 2138, "CollectionName": "BuilderWelcome-FileDownloads", "CollectionID": 131794, "AgentID": 152029, "SequenceID": 1520, "Created": "2023-11-29 10:34:32", "CreatedBy": "Curtis, Christopher", "Description": "", "ViewID": 151876, "BookmarkID": 0, "FileFormat": "JSON", "FileName": "", "FileIncludeHeader": "True", "FileCompressionFormat": "zip", "FilePackageCompressionFormat": "sevenzip", "Method": "AmazonS3", "IncludePackages": "True", "ItemStatusIncludeColumn": "False", "ItemStatusIncludeAdded": "False", "ItemStatusIncludeChanged": "False", "ItemStatusIncludeChangeMarkup": "False", "ItemStatusIncludeUnchanged": "False", "ItemStatusIncludeRemoved": "False", "SearchText": "", "SearchField": "", "AmazonS3AuthenticationToken": "AuthenticationToken", "AmazonS3SignRequestToken": "SignRequestToken", "AmazonS3BucketPath": "moztestingbucket/gzipped", "AmazonS3BucketRegion": "bucketregion.amazonaws.com" } ], "JsonResult": { "Command": "Collection.GetPublisher", "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 } } } ```