Class HelpCenterClient


  • public class HelpCenterClient
    extends java.lang.Object
    • Constructor Detail

      • HelpCenterClient

        public HelpCenterClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public RawHelpCenterClient withRawResponse()
        Get responses with HTTP metadata like headers
      • listAllCollections

        public CollectionList listAllCollections()
        You can fetch a list of all collections by making a GET request to https://api.intercom.io/help_center/collections.

        Collections will be returned in descending order on the updated_at attribute. This means if you need to iterate through results then we'll show the most recently updated collections first.

      • listAllCollections

        public CollectionList listAllCollections​(RequestOptions requestOptions)
        You can fetch a list of all collections by making a GET request to https://api.intercom.io/help_center/collections.

        Collections will be returned in descending order on the updated_at attribute. This means if you need to iterate through results then we'll show the most recently updated collections first.

      • createCollection

        public Collection createCollection​(CreateCollectionRequest request)
        You can create a new collection by making a POST request to https://api.intercom.io/help_center/collections.
      • retrieveCollection

        public Collection retrieveCollection​(RetrieveCollectionRequest request)
        You can fetch the details of a single collection by making a GET request to https://api.intercom.io/help_center/collections/<id>.
      • retrieveCollection

        public Collection retrieveCollection​(RetrieveCollectionRequest request,
                                             RequestOptions requestOptions)
        You can fetch the details of a single collection by making a GET request to https://api.intercom.io/help_center/collections/<id>.
      • updateCollection

        public Collection updateCollection​(UpdateCollectionRequest request)
        You can update the details of a single collection by making a PUT request to https://api.intercom.io/collections/<id>.
      • updateCollection

        public Collection updateCollection​(UpdateCollectionRequest request,
                                           RequestOptions requestOptions)
        You can update the details of a single collection by making a PUT request to https://api.intercom.io/collections/<id>.
      • retrieveHelpCenter

        public HelpCenter retrieveHelpCenter​(RetrieveHelpCenterRequest request)
        You can fetch the details of a single Help Center by making a GET request to https://api.intercom.io/help_center/help_center/<id>.
      • retrieveHelpCenter

        public HelpCenter retrieveHelpCenter​(RetrieveHelpCenterRequest request,
                                             RequestOptions requestOptions)
        You can fetch the details of a single Help Center by making a GET request to https://api.intercom.io/help_center/help_center/<id>.
      • listHelpCenters

        public HelpCenterList listHelpCenters()
        You can list all Help Centers by making a GET request to https://api.intercom.io/help_center/help_centers.
      • listHelpCenters

        public HelpCenterList listHelpCenters​(RequestOptions requestOptions)
        You can list all Help Centers by making a GET request to https://api.intercom.io/help_center/help_centers.