Developer API
Access programmatically to our community resources, user data, and system events through our REST API. All endpoints require authentication.
🔐 Get StartedBase URL & Authentication
Authentication
All API requests must include an Authorization: Bearer token in the headers.
curl -X GET 'https://api.elgggo.com/users' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json'
API Base URL
All endpoints are under the base URL:
https://api.elgggo.com/v1
Available Endpoints
GET /users
List all active community members with their current status and contribution metrics.
Query Parameters
- role: filter by user role
- status: filter by active/inactive status
GET /events
Retrieve upcoming community projects, workshops, and collaborative sprints.
Query Parameters
- type: filter by event category
- status: filter by scheduled/ongoing/past
GET /contributions
Browse contributions from community members with metadata about their impact and recognition.
Query Parameters
- type: contribution format (code, documentation, etc)
- user: filter by contributor ID
POST /moderation
Submit moderation reports or handle community guideline violations programmatically.
Requires moderator
role in authorization
Sample Request
Python Example
import requests
response = requests.get('https://api.elgggo.com/users',
headers={'Authorization': 'Bearer YOUR_KEY'})
print(response.json())
JavaScript Example
fetch('https://api.elgggo.com/events', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_KEY'
}
}).then(response => response.json());