Votes
Votes are expressions of support or preference that users cast for submitted ideas on your Frill account.
Vote object
Field
Details
Endpoints
get
Returns a list of votes
Authorizations
AuthorizationstringRequired
API key in Authorization header with Bearer prefix (recommended)
Query parameters
limitintegerOptionalDefault:
Limits the number of items on a page
20afterstringOptional
The after cursor - used for pagination
idea_idxstringOptional
A unique identifier for the idea. Only fetch votes for this idea
user_idxstringOptional
A unique identifier for the follower. Only fetch votes for this follower
Responses
200
Successfully returned a list of votes
application/json
400
Invalid request
application/json
get
/votespost
Vote on an idea
Authorizations
AuthorizationstringRequired
API key in Authorization header with Bearer prefix (recommended)
Body
idea_idxstringOptional
voter_idxstringOptional
Responses
200
Successfully voted on an idea
application/json
400
Invalid request
application/json
post
/votesdelete
Unvote an idea
Authorizations
AuthorizationstringRequired
API key in Authorization header with Bearer prefix (recommended)
Path parameters
idea_idxstringRequired
voter_idxstringRequired
Responses
200
Request was successful
application/json
400
Invalid request
application/json
delete
/votesLast updated