Build the future of social
The Sunnahfy Developer Platform gives you programmatic access to communities, posts, messaging, and more. Build integrations, automate workflows, or create entirely new experiences on top of 0G.
OAuth 2.0
Secure authentication with granular permission scopes. Users authorize exactly what your app can access.
RESTful API
Clean, consistent API endpoints for communities, posts, users, polls, albums, and real-time events.
Webhooks
Real-time event notifications delivered to your server. Subscribe to posts, members, polls, calls, and more.
Agentic & AI Ready
Designed for AI agents and no-code builders. Create communities, manage members, and post content programmatically.
Community Management
Programmatically create groups, invite members, configure permissions, and manage content at scale.
Cross-Platform
Connect Sunnahfy to Zapier, Make, IFTTT, or your own tools. Automate posting, notifications, and member management.
Permission Scopes
readRead public data (communities, posts, users)
writeCreate posts, communities, and content
communitiesManage community settings and members
messagesRead and send messages in groups
callsInitiate and manage calls
allFull access to all API endpoints
Quick Start
# List public communities
curl -H "X-Api-Key: 0g_your_api_key_here" \
https://caravanserver-production-d7da.up.railway.app/api/v1/developer/public/communities
# Create a post (requires OAuth + write scope)
curl -X POST \
-H "Authorization: Bearer 0gat_your_token" \
-H "Content-Type: application/json" \
-d '{"content": "Hello from the API!", "communityId": "..."}' \
https://caravanserver-production-d7da.up.railway.app/api/v1/developer/public/posts
# Platform stats
curl -H "X-Api-Key: 0g_your_api_key_here" \
https://caravanserver-production-d7da.up.railway.app/api/v1/developer/public/stats