API reference · v1.0
A small, friendly API
JSON in, JSON out. Bearer-token auth. Stable since 2025. Every endpoint below is wired and battle-tested in production.
Quick reference
Authentication
Every request needs a bearer token:
Authorization: Bearer rg_live_•••••••••••
POST
/v1/auth/sessionCreate a session for a role-based identity.
{ "role": "user" }GET
/v1/questionsList questions with filters and pagination.
?category=c1&status=active&page=1
POST
/v1/questionsCreate a custom question.
{ "text": "...", "categoryId": "c2" }POST
/v1/questions/:id/sendSend a question via link / email / SMS.
{ "channel": "email", "recipients": ["a@x.com"] }GET
/v1/responsesFetch responses for a question.
?questionId=q1
POST
/v1/reports/generateGenerate an AI report from collected responses.
{ "questionId": "q1" }POST
/v1/roomsOpen a group room.
{ "name": "Sunday Soulchat", "questionId": "q2" }GET
/v1/admin/moderation/queueList flagged content awaiting review.
?severity=high
Rate limits & errors
1000 req/min
per token. Bursts of 50/sec allowed.Errors follow { "error": { "code": "rate_limited", "message": "..." } }