Create Vote

POST {{baseUrl}}/api/v2/help_center/:locale/articles/:article_id/up

Creates an up or down vote for a given article, article comment, post, or post comment. If a vote already exists for the source object, it's updated.

Allowed for

  • End users

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"vote":{"value":"\u003cinteger\u003e","created_at":"\u003cstring\u003e","id":"\u003cinteger\u003e","item_id":"\u003cinteger\u003e","item_type":"\u003cstring\u003e","updated_at":"\u003cstring\u003e","url":"\u003cstring\u003e","user_id":"\u003cinteger\u003e"}}