Eseniiaia

API Documentation

Full-featured REST API with real-time GraphQL support for seamless integration with your apps and systems.

API Diagram
REST + GraphQL

Authentication

OAuth 2.0 Integration

Secure API access using OAuth 2.0 with client credentials or authorization code flows.


POST /auth/token
Content-Type: application/json

{
  "client_id": "YOUR_CLIENT_ID",
  "client_secret": "YOUR_SECRET",
  "grant_type": "client_credentials"
}

                    

Bearer Tokens

Use the returned access token in Authorization headers for secure API access.


Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9

                    

Endpoints

GET

/api/v1/components

Retrieve a list of available UI components with metadata for integration.
Example Response
{ "components": [ {"name": "Button", "version": "2.4.1", "last_updated": "2025-09-20T14:00:00Z"}, {"name": "Card", "version": "2.4.0", "last_updated": "2025-09-18T10:30:00Z"} ] }
POST

/api/v1/feedback

Submit user feedback or bug reports for analysis and improvement tracking.
Example Request
{ "type": "bug", "description": "Button loading state not updating in v2.4.1", "severity": "high" }

GraphQL Support

Real-Time Query Capabilities

Execute complex queries with GraphQL to fetch only the data you need from our components library.


query {
  component(name: "Button", version: "2.4.1") {
    features
    dependencies
    supportedThemes
  }
}

                        
View Full Reference