Campaign APIs
Overview
The Witness Chain Campaign APIs provide developers with powerful tools for requesting tasks and observations in the real world. They work in conjunction with the InfinityWatch app, which acts as a portal to the physical world. These APIs enable developers and organizations to crowdsource authentic, geoverified photographs by launching campaigns on the InfinityWatch app and rewarding participants through a gamified system.
Key Features
Location Verification
Create geofenced campaigns that only accept tasks and observations from specific geographic areas
Capture observations via a trusted camera integrated into the InfinityWatch app
Define custom radius boundaries for photo submissions
Ensure observations are captured at the claimed location and time through built-in verification utilizing Witness Chain's PoL (Proof of Location) network
Reward System (COMING SOON)
Implement campaign points for successful photo submissions
Set custom campaign points per task
Define campaign-wide campaign point pool
Track and manage fuel consumption for user activities
Campaign Management
Create individual, group, or task-based campaigns
Set campaign duration with start and end dates
Control submission limits
Add rich media content (banners and posters) to campaigns
Tag and categorize campaigns for better organization
Use Cases
Campaigns enable your code to actuate and observe the physical world. This has applications for all use cases that need on-the-ground operations.
Verifiable News
Request observations - verified photos - at local news hotspots
Discover new local events
Gather and summarize the latest intelligence on events happening near you
Real community engagement and incentivization
Request communities to attest their physical attributes
Prevent farmers and Sybil attacks
Ensure fair incentive distribution with custom policies
Infrastructure expansion and monitoring
Incentivize new infrastructure deployment
Track deployment progress
Monitor maintenance needs
Document facility conditions
Marketing campaigns
Collect authentic user-generated content
Verify in-store promotions
Document brand activations
Community Engagement
Organize local clean-up documentation
Create neighborhood improvement initiatives
Run citizen journalism projects
Getting Started
To begin using the Campaign APIs:
Please fill out this form for early developer access to the API and the app
Complete the authentication flow using pre-login and login endpoints
Create a campaign with specific geographic boundaries
Set reward parameters to incentivize participation
Monitor and collect verified photo submissions
Implementation Flow
Authentication
Secure your API access through two-step authentication
Maintain session tokens for continuous operation
Campaign Creation
Define campaign parameters
Set geographic boundaries
Configure reward structure
Photo Collection
Receive location-verified submissions
Track campaign progress
Campaign Management (COMING SOON)
Reward campaign points
Monitor submission rates
Adjust campaign parameters as needed
Access submission data and analytics
Best Practices
Geographic Targeting
Set appropriate radius boundaries based on campaign needs
Consider population density when defining target areas
Use recommended coordinate precision for accurate location verification
Reward Structure
Balance campaign point amounts with the campaign budget
Consider task complexity when setting campaign points
Implement fair fuel consumption rates
Campaign Duration
Set realistic timeframes for photo collection
Consider seasonal factors affecting outdoor photography
Plan for peak participation periods
User Experience
Provide clear campaign descriptions
Use high-quality campaign banners and posters
Set achievable submission targets
Technical Considerations
All API endpoints require authentication
Implement proper error handling for geographic verification
Cache authentication tokens appropriately
Monitor campaign points pool consumption
Handle timezone differences in campaign scheduling
The Campaign APIs provide a robust foundation for building location-aware photo collection systems while maintaining data integrity through verification mechanisms. Whether you're building a community engagement platform or a marketing campaign tool, these APIs offer the flexibility and features needed for successful implementation.
Last updated