organizationSuggestionTasks
< back to index
HTTP request
GET https://api.wevoteusa.org/apis/v1/organizationSuggestionTasks (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 |
kind_of_suggestion_task |
string |
Default is UPDATE_SUGGESTIONS_FROM_TWITTER_IDS_I_FOLLOW. Other options include UPDATE_SUGGESTIONS_FROM_WHAT_FRIENDS_FOLLOW, UPDATE_SUGGESTIONS_FROM_WHAT_FRIENDS_FOLLOW_ON_TWITTER, UPDATE_SUGGESTIONS_FROM_WHAT_FRIEND_FOLLOWS, UPDATE_SUGGESTIONS_FROM_WHAT_FRIEND_FOLLOWS_ON_TWITTER or UPDATE_SUGGESTIONS_ALL |
Optional Parameters
Parameter name |
Value |
Description |
kind_of_follow_task |
string |
Default is FOLLOW_SUGGESTIONS_FROM_TWITTER_IDS_I_FOLLOW. Other options include FOLLOW_SUGGESTIONS_FROM_FRIENDS, or FOLLOW_SUGGESTIONS_FROM_FRIENDS_ON_TWITTER, |
Response
{
"status": string,
"success": boolean,
"voter_device_id": string (88 characters long),
}
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
This will provide list of suggested endorsers to follow. These suggestions are generated from twitter ids i follow, or organization of my friends follow