< back to index

HTTP request

GET https://api.wevoteusa.org/apis/v1/organizationStopIgnoring (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

Response

{
  "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 ignoring this organization. Logically equivalentto never ignoring in the first place, but leaves a record in the database.

Parameter name Value  
voter_device_id:
organization_id:
organization_we_vote_id:

(opens in new window)