Developer Resources

API Documentation

Integrate AI-powered voter intelligence directly into your campaign tools and workflows with our comprehensive API.

RESTful API
JSON responses
Real-time Data
Live updates
99.9% Uptime
Enterprise SLA
Secure
OAuth 2.0
Quick Start
// Initialize the Persuadables.AI SDK
import { PersuadablesAI } from '@persuadables/sdk';

const client = new PersuadablesAI({
  apiKey: process.env.PERSUADABLES_API_KEY,
  environment: 'production'
});

// Analyze voter persuadability
const analysis = await client.voters.analyze({
  district: 'CA-07',
  demographics: {
    age_range: '25-45',
    party_affiliation: 'independent'
  }
});

console.log(analysis.persuadability_score);
// Output: 0.73 (73% persuadable)

console.log(analysis.top_issues);
// Output: ['healthcare', 'economy', 'education']

API Endpoints

GET
/api/v1/voters/analyze

Analyze voter persuadability scores for a given demographic

Parameters

  • district
  • age_range
  • party_affiliation

Response

Persuadability scores, issue priorities, recommended messaging

POST
/api/v1/campaigns/optimize

Optimize campaign messaging based on real-time voter feedback

Parameters

  • campaign_id
  • message_variants
  • target_demographics

Response

Optimized message recommendations, A/B test results

GET
/api/v1/issues/trending

Get trending issues and sentiment analysis for a specific region

Parameters

  • region
  • timeframe
  • demographic_filters

Response

Issue rankings, sentiment scores, trend analysis

POST
/api/v1/outreach/personalize

Generate personalized voter outreach content

Parameters

  • voter_profile
  • issue_priorities
  • communication_channel

Response

Personalized messaging, optimal timing, channel recommendations

Authentication

All API requests require authentication using your API key. Include your key in the Authorization header:

Authorization: Bearer YOUR_API_KEY
Rate Limits
1,000
Requests per hour
Starter Plan
10,000
Requests per hour
Professional Plan
Unlimited
Custom limits
Enterprise Plan

Ready to Integrate?

Get started with our API and bring AI-powered voter intelligence to your campaign tools.