Record Article Feedback

POST/api/knowledge-base/articles/{id}/helpful

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
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 }
MethodPOST
Path/api/knowledge-base/articles/{id}/helpful
GroupKnowledge Base
Sincev1.0.0
Defined inRestApi/Controllers/KnowledgeBaseController.php