Getting Started
Base URL
https://api.eleni.dev/v1
Supported Methods
- GET
- POST
- PUT
Response Formats
- • JSON
- • XML (optional)
- • CSV (batch requests)
Authentication
API Key Authentication
All requests must include an API key in the Authorization
header:
curl -X GET "https://api.eleni.dev/v1/users"
-H "Authorization: Bearer YOUR_API_KEY"
You can generate API keys in your Eleni dashboard here.
Endpoints
GET /users
Retrieve user information by ID
{ "id": "12345", "name": "Jane Smith", "email": "jane@example.com", "created_at": "2025-01-15T08:30:00Z" }
Parameters
- user_id required
Example
curl -X GET "https://api.eleni.dev/v1/users?user_id=12345"
-H "Authorization: Bearer YOUR_API_KEY"
POST /events
Create a new event
Request Body
-
name-string (required)
-
datetime-ISO 8601 string (required)
-
location-object
Example
curl -X POST "https://api.eleni.dev/v1/events"
-H "Authorization: Bearer YOUR_API_KEY"
-H "Content-Type: application/json"
-d '{"name":"Team Meeting","datetime":"2025-09-15T15:00:00Z","location":{"building":"A","room":"301"}}'
Try the Eleni API
Test endpoints with our interactive API console
Headers
Response will appear here after sending request