This endpoint registers a new voter by email address. On success, it returns the registered voter identifier. If the email is already in use, the endpoint returns an error status instead of creating a duplicate entry. Registration is only accepted while the system is in theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Crypto-Project-ENSTA/front-end/llms.txt
Use this file to discover all available pages before exploring further.
register phase — calls made after voting has started will be rejected.
Request body
The voter’s email address. Must be unique across all registered voters.
Response fields
Indicates whether the registration succeeded or failed.
Human-readable description of the outcome.
The registered voter identifier, typically the email address supplied in the request.
Example request
Example responses
Registration is only available when
voting_status === "register". Once the voting phase begins, this endpoint will no longer accept new registrations.