# API: Get predefined reply categories
# getPredefinedReplies
If category id set to 0 - return all categories, otherwise return replies from this category.
# Required parameters
Parameter | Description |
---|---|
cid | Predefined reply category id or 0 |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getPredefinedReplies&cid=CID
# PHP Samples
# Response
{
"success": true,
"category": {
"categories": [
{
"id": "1",
"parent_cat": "0",
"name": "Popular"
}
]
},
"call": "getPredefinedReplies",
"server_time": 1317713415
}