Record Article Feedback
POST/api/knowledge-base/articles/{id}/helpful
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| id | Number | Article unique ID |
| status | String | Mandatory yes or no |
| created_by | Number | optional Optional user ID to attribute the vote to |
curl -X POST "https://yoursite.com/api/knowledge-base/articles/123/helpful" \
-H "authtoken: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "status": "..." }' Success-Response:
HTTP/1.1 201 Created
{ "status": 200, "messages": {"success": "The record has been saved."}, "id": 5 }