List Collections

  • REST Method: GET
  • URL: https://docsapi.helpscout.net/v1/collections

Request

Name Type Required Default Options Notes
page Int No 1    
siteId String No     Use this parameter to filter Collections for a specific Site. If this parameter is not present, all Collections are returned.
visibility String No all
  • all
  • public
  • private
 
sort String No order
  • number
  • visibility
  • order
  • name
  • createdAt
  • updatedAt
 
order String No asc
  • asc: ascending order
  • desc: descending order
 

To request subsequent pages:
https://docsapi.helpscout.net/v1/collections?page=2

Response

Response Name Type Notes
Header Status Int 200
Body page Int Current page that was passed in on the request
  pages Int Total number of pages available
  count Int Total number of objects available
  items Collection Collection of Collection objects.
{   
    "page": 1,
    "pages": 1,
    "count": 4,
    "items": [
        {
            "id": "5214c83d45667acd25394b53",
            "number": 33,
            "siteId": "52404efc4566740003092640",
            "slug": "my-collection",
            "visibility": "public",
            "order": 1,
            "name": "My Collection",
            "createdBy": 73423,
            "updatedBy": null,
            "createdAt": "2013-08-21T14:01:33Z",
            "updatedAt": null
        },
        {... collection object ...},
        {... collection object ...},
        {... collection object ...}
    ]
}