Skip to main content

VOTR Integration Guide

Welcome to the VOTR developer documentation. This guide walks you through integrating shareholder voting into your React or React Native app using the VOTR API and the VoteNowButton SDK.

Quick start

Four steps from zero to ballot:

  1. Install the SDK — drop VoteNowButton into your project.
  2. Get an OAuth token — authenticate server-side with client credentials.
  3. Generate a voting URL — pass account + event details, receive a one-shot URL.
  4. Render the SDK component — hand the URL to VoteNowButton and let it open VOTR's ballot.

How it fits together

The frontend only ever talks to your backend. Your backend holds the OAuth credentials and proxies to VOTR. The user never sees the client secret.

Key features

  • Secure by design — OAuth credentials live server-side only; the SDK never sees them.
  • Cross-platform — React Native and React applications.
  • Minimal configuration — one component, four props.
  • Best practices baked in — token caching, retry, deep links, error surfaces.

Environments

EnvironmentBase URL
Developmenthttps://api-dev.govotr.com
Productionhttps://api.govotr.com

Next steps