< back to index

HTTP request

GET https://api.wevoteusa.org/apis/v1/voterFollowAllOrganizationsFollowedByOrganization (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
organization_we_vote_id string The we vote id for the endorser
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
maximum_number_to_follow integer Defaults to 40 voter guides. Enter a value to set your own limit.

Response

{
  "status": string,
  "success": boolean,
  "voter_device_id": string (88 characters long),
  "organizations_follow_all_results": list
   [
     "status": string,
     "success": boolean,
     "voter_device_id": string (88 characters long),
     "organization_id": integer,
     "organization_we_vote_id": string,
     "organization_we_vote_id_that_is_following": string,
     "organization_follow_based_on_issue": boolean,
   ],
  "organization_we_vote_id": integer,
  "maximum_number_to_follow": integer,
}

Response Status Codes

Code Description
VALID_VOTER_DEVICE_ID_MISSING Cannot proceed. A valid voter_device_id parameter was not included.
VALID_VOTER_ID_MISSING Cannot proceed. A valid voter_id was not found.

Try It Now: API Variables

Parameter name Value  
voter_device_id:
organization_we_vote_id:
maximum_number_to_follow:

(opens in new window)