< back to index

HTTP request

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

Response

{
  "voter_device_id": string (88 characters long),
}

Try It Now: API Variables

Generate a transient unique identifier (voter_device_id - stored on client) which ties the device to a persistent voter_id (mapped together and stored on the server).Note: This call does not create a voter account -- that must be done in voterCreate.

Parameter name Value  

(opens in new window)