HTTP request
GET https://api.wevoteusa.org/apis/v1/voterReactionLikeOnSave (Jump to "Try It Now")
Required Parameters
| Parameter name | Value | Description |
| api_key | string (from post, cookie, or get (in that order)) | The unique key provided to any organization using the WeVoteServer APIs |
| voter_device_id | string | An 88 character unique identifier linked to a voter record on the server |
| liked_item_we_vote_id | integer | The position that the voter is liking. |
Response
{
"status": string (description of what happened),
"success": boolean (did the save happen?),
"reaction_like_id": integer,
"liked_item_we_vote_id": 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. Missing voter_id while trying to save. |
| REACTION_LIKE_CREATED | |
| REACTION_LIKE_FOUND_WITH_VOTER_ID_AND_POSITION_ID | |
| UNABLE_TO_SAVE_REACTION_LIKE-INSUFFICIENT_VARIABLES |
Try It Now: API Variables
Mark that the voter wants to Like this position.