Draft an election
create_election_draftCreate a DRAFT election in the connected account: the ballot, schedule, verification, secrecy, results visibility, optional quorum and state-law checks, and optionally the voter list (emails). A draft charges nothing and contacts nobody. Returns the draft's id, what still blocks publishing, the exact price, and the finish link where the person reviews, pays if needed, and publishes. Ask the person for anything you do not know (closing date and time zone, seats, candidates) rather than guessing: this is a binding vote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Two-letter US state code of the association (e.g. CA). Turns on that state's election-law checks before publishing. | |
| title | Yes | Election title voters see, e.g. "2026 Board of Directors Election". | |
| quorum | No | Optional quorum: {type: "percentage" | "count", threshold}. E.g. {type: "percentage", threshold: 25} means a quarter of eligible voters must vote. | |
| voters | No | The eligible voters (the roster), one per owner/member. Email addresses only; people reached by text or mail are added by the organizer on the election page. | |
| results | No | after_close (default): voters see results once voting closes. live: running totals while voting is open. owner_only: only the organizer sees results. | |
| opens_at | No | When voting opens, ISO 8601 with offset. Omit to open when published. | |
| timezone | Yes | IANA timezone of the association, e.g. America/Denver. Voters see times in it. | |
| closes_at | Yes | When voting closes, ISO 8601 with offset, e.g. 2026-11-12T17:00:00-07:00. Must be in the future. | |
| questions | Yes | The ballot, in order. | |
| vote_type | No | What the vote decides, for the state-law checks. | |
| description | No | Optional instructions or background shown above the ballot. Plain text. | |
| verification | No | email: every voter confirms a code sent to their email (included free). email_or_sms: voters may also confirm by text message (paid elections only; elections of 25 voters or fewer are email-only). | |
| secret_ballot | No | Keep who voted for what private from the organizer. Defaults to true. | |
| community_type | No | hoa or condo, when the state rules differ between them. | |
| organization_name | No | Association name shown to voters and used as the email sender name. Defaults to the account's organization. |