Eliba API Platform

Build powerful applications with our modern RESTful and WebSocket APIs. Real-time data, seamless integrations, and robust security.

Getting Started

>

Developer Account

Create your free account to get your API keys and start building.

Sign up here

API Playground

Test endpoints directly in your browser with our interactive API explorer.

Open Playground

API Endpoints

Users /api/users

GET /api/users

Retrieve a list of all users with standard profile information.


// Example request
fetch('https://eliba.com/api/users', {
    headers: {
        'Authorization': 'Bearer YOUR_API_KEY'
    }
});

// Example response
[
  {
    id: 1,
    name: "Alice",
    email: "alice@example.com",
    created_at: "2025-01-15T08:44:00Z"
  },
  {
    id: 2,
    name: "Bob",
    email: "bob@example.com",
    created_at: "2025-02-01T14:22:00Z"
  }
]

POST /api/users

Create a new user account with specified parameters.


// Example request
fetch('https://eliba.com/api/users', {
    method: 'POST',
    headers: {
        'Authorization': 'Bearer YOUR_API_KEY',
        'Content-Type': 'application/json'
    },
    body: JSON.stringify({
        name: "Charlie",
        email: "charlie@example.com"
    })
});

// Example response
{
  id: 3,
  name: "Charlie",
  email: "charlie@example.com",
  created_at: "2025-03-10T18:33:00Z"
}

Authentication

API Keys

Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
your-secure-api-key-1234567890abcdef
Expires: 2025-12-31
🔒 Store secrets securely - rotate keys regularly

OAuth 2.0

Use OAuth 2.0 for third-party integrations:
POST /oauth/token
Content-Type: application/x-www-form-urlencoded
client_id={id}&redirect_uri={uri}&grant_type=client_credentials

OAuth 2.0 supports:

  • Client Credentials
  • Authorization Code
  • Password
  • Refresh Tokens