Skip to main contentSkip to navigation

Developer Platform

Build on Sunnahfy ยท API v1

API Status: Operational

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

R
read

Read public data (communities, posts, users)

W
write

Create posts, communities, and content

C
communities

Manage community settings and members

M
messages

Read and send messages in groups

P
calls

Initiate and manage calls

A
all

Full access to all API endpoints

Quick Start

curl
# 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

0G Developer Platform ยท API v1

Rate limit: 100 req/min (free)Status: Operational