Accept a Node

You can use this API request to accept an answer to a question node.


You can use the following parameters in your accept a node request:

Other options: wrap


Permissions & Notes:

  • You must have the Accept any answer permission under Moderation Roles in the Advanced Editor to accept any answer.

    • If the answer is your own, you must have the Accept an answer on own questions permission under Standard Roles in the Advanced Editor or the Accept own answer permission under Moderation Roles in the Advanced Editor.
  • You can find the answer's nodeId in the edit answer URL after /answers/. For example: (The answer's nodeId in this example is 17).

  • We added this request in version 1.6.3.

Sample Request

A PUT accept a node request to accept a node (nodeId: 807) sent to using a human-readable Username/Password (answerhub/test123) would look like this:

-u answerhub:test123 
-H "Accept: application/json" 
-H "Content-type: application/json" 
-X PUT ""

Expected Response

Successful Response:

  • HTTP Status 200 - OK
    "success": true,
    "result": {
        "acceptAction": {
            "id": 1055,
            "ip": "",
            "user": {
                "id": 108,
                "username": "admin",
                "avatarUrl": ""
            "actionDate": "Tue Feb 05 14:39:30 UTC 2019",
            "canceled": false,
            "extra": null,
            "private": false,
            "verb": "accepted",
            "node": {
                "id": 807,
                "type": "answer"
Click Try It! to start a request and see the response here!