Skip to main content

Create new voter tokens for a specific voter group

GET 

/voterGroups/:voterGroupId/createVoterTokens

Creates and returns new voter tokens for every voter in the requested voter group. The user of the API access token needs access to the voter group. The voter tokens for a voter group can only be created if all linked elections (ballot papers) are frozen. If you call this endpoint a second time, the existing voter tokens will be invalidated and new ones will be created. You never see generated tokens a second time.

If one linked election will be unfrozen, the voter tokens for all voter groups with a link to this election will be invalid.The voting tokens can be created again after all linked elections of the voter group are frozen again.

Request

Responses

OK. The request was successfully executed. Returns the requested voter tokens for the requested voter group.