< back to index

HTTP request

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

Optional Parameters

Parameter name Value Description
statement_text string A text comment.
visibility_setting string Two values are currently supported: 'FRIENDS_ONLY' or 'SHOW_PUBLIC'.

Response

{
  "status": string,
  "success": boolean,
  "date_created": string,
  "date_last_changed": string,
  "date_of_notice": string,
  "id": integer,
  "activity_post_id": integer,
  "kind_of_activity": string,
  "kind_of_seed": string,
  "new_positions_entered_count": integer,
  "position_we_vote_id_list": list,
  "speaker_name": string,
  "speaker_organization_we_vote_id": string,
  "speaker_voter_we_vote_id": string,
  "speaker_profile_image_url_medium": string,
  "speaker_profile_image_url_tiny": string,
  "speaker_twitter_handle": string,
  "speaker_twitter_followers_count": number,
  "statement_text": string,
  "visibility_is_public": boolean,
}

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

Save a new comment posted to the news feed.

Parameter name Value  
voter_device_id:
statement_text:
visibility_setting:

(opens in new window)