< back to index

HTTP request

GET https://api.wevoteusa.org/apis/v1/organizationStopFollowing (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_id integer Internal database unique identifier for organization
organization_we_vote_id string The unique identifier for this organization across all networks (either organization_id OR organization_we_vote_id required -- not both.) NOTE: In the future we might support other identifiers used in the industry.
api_key string (from post, cookie, or get (in that order)) The unique key provided to any organization using the WeVoteServer APIs


  "status": string,
  "success": boolean,
  "voter_device_id": string (88 characters long),
  "organization_id": integer,
  "organization_we_vote_id": string,

Response Status Codes

Code Description
VALID_VOTER_DEVICE_ID_MISSING A valid voter_device_id parameter was not included. Cannot proceed.
VALID_VOTER_ID_MISSING A valid voter_id was not found from voter_device_id. Cannot proceed.
VALID_ORGANIZATION_ID_MISSING A valid organization_id was not found. Cannot proceed.
ORGANIZATION_NOT_FOUND_ON_CREATE STOP_FOLLOWING An organization with that organization_id was not found. Cannot proceed.
STOPPED_FOLLOWING Successfully stopped following this organization

Try It Now: API Variables

Call this to save that the voter has decided to stop following this organization. Logically equivalentto never following in the first place, but leaves a record in the database.

Parameter name Value  

(opens in new window)