userportal-public

Authenticated Vote

Cast an authenticated vote on a feature.

Requires authentication via session token in Authorization header. Toggles vote on/off - if user already voted, removes the vote.

Accepts both JSON and FormData (for file attachments).

post/userportal/votes

Request

  • Base URL: https://api.feedback1.ai/api/v1
  • URL: https://api.feedback1.ai/api/v1/userportal/votes
  • Auth: none declared

Query parameters

accessstring nullable

Access token for token-protected roadmaps

Headers

F1-Productstring
authorizationstring nullable

Response

Successful Response

successboolean required

Whether the vote was recorded

feature_idinteger required

Feature pub_id that was voted on

votes_countinteger required

Updated vote count for the feature

user_votedboolean required

Whether the user has voted for this feature

messagestring nullable

Optional message (e.g., 'Vote removed')

Example response

{
  "feature_id": 123,
  "success": true,
  "user_voted": true,
  "votes_count": 42
}

Changes

No recorded changes to this operation across all 1 revision of this API.