Skip to main content
GET
List poll votes

Authorizations

Authorization
string
header
required

Personal API token — find yours under My Account → API.

Path Parameters

poll_id
string
required

Poll member_hash or admin_hash

Query Parameters

voter_id
string

Voter public_id: only list the votes of this participant.

option_id
string

Option public_id: only list the votes for this option. Ignored when voter_id is given.

page
integer

Page to return, 1-based. Defaults to 1.

per
integer

Votes per page. Defaults to 30. At most 100.

organization_id
string

public_id of an organization the user belongs to. When given, the request runs in that organization context instead of the personal account.

Response

votes listed

id
string
required

Vote id

type
string
required
Example:

"Votes::RatingVote"

created_at
string<date-time> | null
updated_at
string<date-time> | null
option_id
string | null

Option public_id. For pairwise comparisons the option that won the comparison.

loser_option_id
string | null

Pairwise comparisons only: option public_id of the option that lost the comparison.

voter_id
string | null

Voter public_id

vote

The value of the vote, whichever of vote, vote_date, vote_text or the decimal value is set.

vote_date
string<date> | null

Day the vote was cast on, for polls with vote_per_day.

vote_text
string | null

Value of text votes, e.g. table columns.

paid
boolean | null

Admin access only, and only for polls with a voting wallet. false while bought votes are not paid yet.

voting_category_id
integer | null

Only for polls with voting_categories.