Integrate community features into your app. Create threads, manage members, and enable real-time messaging.
Global edge network with <100ms response times.
JWT auth, rate limiting, row-level security.
Intuitive endpoints. JSON in, JSON out.
Get up and running in minutes
Sign up at relie.app
Get your access token
Include token in header
All responses are JSON
const response = await fetch('https://relie.app/api/auth/login', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
email: 'user@example.com',
password: 'your-password',
}),
});
const { user, session } = await response.json();The API uses JWT tokens. Include the access token in all requests.
Authorization: Bearer YOUR_ACCESS_TOKENShort-lived (1 hour) for API requests.
Long-lived for obtaining new tokens.
Complete list of endpoints
/api/auth/register/api/auth/login/api/auth/logout/api/auth/password-resetConsistent JSON responses
{
"thread": {
"id": "uuid-here",
"title": "My Community",
"slug": "my-community",
"is_public": true,
"member_count": 42
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid input data",
"details": ["title: Required"]
}
}Requests are rate limited for fair usage.