VotePipe

API Endpoints

Complete reference for all VotePipe API endpoints

Base URL

All API requests should be made to:

https://api.votepipe.com/v1

Response Format

All API responses follow a consistent format:

Success Response

json
{ "data": { // Response data }, "meta": { "request_id": "req_abc123" } }

Error Response

json
{ "error": { "code": "VALIDATION_ERROR", "message": "Invalid input", "details": [ { "field": "slug", "message": "Slug already taken" } ] }, "meta": { "request_id": "req_abc123" } }

Endpoint Groups

Error Codes

CodeHTTPDescription
VALIDATION_ERROR400Invalid request data
AUTH_REQUIRED401No auth provided
AUTH_FAILED401Invalid credentials
API_KEY_REQUIRED401API key required in Authorization header
INVALID_API_KEY401Invalid or revoked API key
FORBIDDEN403Insufficient permissions
ORG_SUSPENDED403Organization is suspended
PLAN_UPGRADE_REQUIRED403Feature requires a higher plan tier
SUBSCRIPTION_INACTIVE403Subscription is not active
INSUFFICIENT_SCOPE403API key scope insufficient for this operation
NOT_FOUND404Resource not found
RATE_LIMITED429Too many requests
PLAN_LIMIT403Plan limit exceeded
INTERNAL_ERROR500Server error

Quick Links

Learn More