< back to index

HTTP request

GET https://api.wevoteusa.org/apis/v1/voterAllPositionsRetrieve (Jump to "Try It Now")

Required Parameters

Parameter name Value Description
voter_device_id string An 88 character unique identifier linked to a voter record on the server
api_key string (from post, cookie, or get (in that order)) The unique key provided to any organization using the WeVoteServer APIs

Optional Parameters

Parameter name Value Description
google_civic_election_id integer The unique identifier for a particular election. If not provided, return all positions for this voter.

Response

{
  "success": boolean,
  "status": string,
  "position_list": list
   [
     "ballot_item_we_vote_id": string,
     "is_support": boolean,
     "is_oppose": boolean,
   ],
}

Try It Now: API Variables

Retrieve all support/oppose stances held by this voter in one list. For a list of positions with full data, use positionListForVoter.

Parameter name Value  
voter_device_id:
google_civic_election_id:

(opens in new window)