Skip to content
POST/posts/{postId}/vote/proxy

Add a proxy vote

Add a vote on behalf of another user (insert-only, never toggles). Requires team role.

Parameters

NameInTypeDescription
postIdrequiredpathstringPost ID

Request body

FieldTypeDescription
voterPrincipalIdrequiredstringPrincipal ID of the voter

Response

Proxy vote added

FieldTypeDescription
votedrequiredbooleanWhether the post is now voted
voteCountrequirednumberCurrent vote count

Errors

400Validation error
401Unauthorized
404Post not found

Example request

curl \
  -X POST \
  "https://feedback.quackback.io/api/v1/posts/:postId/vote/proxy" \
  -H "Authorization: Bearer qb_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
  "voterPrincipalId": "post_01h455vb4pex5vsknk084sn02q"
}'