VOTR Integration Guide

A complete guide to integrate voting functionality using VOTR API and VoteNowButton SDK

Quick Start

The VOTR integration process has 4 simple steps:

  1. Install SDK → Add VoteNowButton component to your project

  2. Get OAuth Token → Authenticate with VOTR API using client credentials

  3. Get Voting URL → Use OAuth token to generate voting URL for specific user/event

  4. Use SDK Component → Pass the voting URL to VoteNowButton component

Your App → OAuth API → Voting API → SDK Component → Voting Interface

Key Features

  • 🔒 Secure Integration - OAuth-based authentication with proper credential handling
  • 📱 Cross-Platform - Works with React Native and React applications
  • 🎯 Easy to Use - Simple SDK component with minimal configuration
  • 🛡️ Best Practices - Built-in security recommendations and error handling

Architecture Overview

Frontend (React/RN) ←→ Your Backend API ←→ VOTR API
     ↓                       ↓                ↓
- VoteNowButton SDK     - Client ID         - OAuth Token
- User Interface        - Client Secret     - Voting URLs
- No Credentials        - Secure Storage    - User Validation
                        - Environment URLs  - Development/Production

Environment URLs

  • Development: https://api-dev.govotr.com
  • Production: https://api.govotr.com

Getting Help


Ready to get started? Head over to the Getting Started guide to begin your integration.