Skip to main content

Vocdoni for developers

Build verifiable voting into your product

Add secure, anonymous and end-to-end verifiable elections to your software with one REST API. Create organizations, build censuses, run processes and read results - without becoming a cryptography expert.

Authenticate, then create your first election
import { VocdoniApiClient } from "@vocdoni/api-client"

// 1. Your scoped API key from platform.vocdoni.io (no login step)
const client = new VocdoniApiClient({ apiUrl: "https://saas-api-stg.vocdoni.net", authToken: "vsk_your_api_key" })

// 2. Create a voting process for your organization
await client.elections.create({
  orgAddress,
  censusId,
  electionParams: {
    title: { default: "Board election 2026" },
    questions: [{ title: { default: "Who should chair the board?" } }],
  },
})

Quickstart

Run a full election end to end - create an org, build a census, open a process and read the tally - in a few API calls.

Run the quickstart

SaaS API

A REST API to run managed elections: organizations, members, censuses, processes, results and async jobs.

Explore the API

SDK

The TypeScript SDK adds client-side voting to your app - CSP auth, ballot encoding and vote signing - all through the SaaS API.

SDK quickstart

Built on guarantees you can prove

Configurable privacy

Privacy is configurable to match your governance requirements. Support anonymous voting with zkSNARKs, blind signatures, or other cryptographic approaches, while preserving end-to-end verifiability.

End-to-end verifiable

Voters and observers can independently verify that every vote was counted.

Flexible census

Authenticate voters by email, SMS or custom fields, with optional weighting.

Multi-tenant ready

Run elections for many customers from a single integrator account.