Vote on an idea, or take the vote back
POST /v1/board/widget/posts/{id}/vote
One vote per idea per voter: a signed-in user (user_id with user_hash), else client_id. vote: false takes it back. Only approved ideas can be voted on.
Auth: Publishable key from the browser (CORS *, no cookies, limited per IP address), or a secret key. A user_id must come with user_hash = HMAC-SHA256(notifications signing secret, user_id) as lowercase hex; a wrong or missing hash answers USER_HASH_INVALID (403), never an anonymous vote. The signed user’s id is stored only as a one-way hash.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Request Body required
Section titled “Request Body required ”object
Responses
Section titled “ Responses ”votes and voted
Error envelope. See error.code for the discriminator.
object
object
object
Error envelope. See error.code for the discriminator.
object
object
object
Error envelope. See error.code for the discriminator.
object
object
object
Error envelope. See error.code for the discriminator.
object
object
object
Error envelope. See error.code for the discriminator.