List Votes

GET {{baseUrl}}/api/v2/help_center/users/:user_id/votes

Lists all votes cast by a given user, or all votes cast by all users for a given article, article comment, post, or post comment.

To list only your own votes, specify me as the user id.

The {locale} for article and article comment votes is required only for end users. Admins and agents can omit it.

Allowed for

  • End users

Pagination

  • Cursor pagination (recommended)
  • Offset pagination

See Pagination.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"votes":[{"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"},{"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"}]}