API:getPredefinedReplies - Get predefined reply categories

If category id set to 0 - return all categories, otherwise return replies from this category.

Required parameters

cid
Predefined reply category id or 0

Request

GET http://url_to_your_hostbill.com/admin/api.php?api_id=API_ID&api_key=API_KEY&call=getPredefinedReplies&cid=CID

Response

   {
      "success": true,
      "category": {
         "categories": [
            {
               "id": "1",
               "parent_cat": "0",
               "name": "Popular"
            }
         ]
      },
      "call": "getPredefinedReplies",
      "server_time": 1317713415
   }