Collection Object

Field Guide

Name Type Example Notes
id String 5214c83d45667acd25394b53 Unique identifier
number Int 23 Numerical identifier. Useful for creating SEO friendly URLs (combined with a slug of the Collection name).
siteId String 52404efc4566740003092640 The id of the Site the Collection belongs to.
slug String "my-article" SEO-friendly identifier for the article that can be used in a URL.
visibility String public The visibility of the Collection. Possible values:
  • public - viewable by the public
  • private - viewable only in admin
order Integer 1 The display order for the Collection.
name String My Collection  
createdBy Integer 73423 The Help Scout id of the user who created the Collection.
updatedBy Integer 73423 The Help Scout id of the user who last updated the Collection.
createdAt DateTime "2013-08-21T19:34:13Z" The UTC date/time that the Collection was created.
updatedAt DateTime "2013-08-21T19:34:13Z" The UTC date/time that the Collection was last updated.

Example

{
    "id": "5214c83d45667acd25394b53",
    "number": 33,
    "siteId": "52404efc4566740003092640",
    "slug": "my-collection",
    "visibility": "public",
    "order": 1,
    "name": "My Collection",
    "createdBy": 73423,
    "updatedBy": 73423,
    "createdAt": "2013-08-21T14:01:33Z",
    "updatedAt": "2013-08-21T14:01:33Z"
}