Eseniia API

Build powerful integrations and custom experiences with our developer-friendly API.

Authentication

API Keys

Authenticate using your API key via request header: Authorization: Bearer YOUR_API_KEY

curl "https://eseniia.com/api/v1/data" \
  -H "Authorization: Bearer YOUR_API_KEY"

Available Endpoints

Get Data

Retrieve processed data from the Eseniia platform

GET /api/v1/data
Query Parameters
type string (optional)
limit integer (optional)

Example Response

{
  "data": [/* processed items */],
  "total": 100,
  "limit": 20,
  "page": 1
}
                                

Create Resource

Create new resources with custom metadata

POST /api/v1/resources
Request Body
{ "title": "string", "content": "string", "metadata": { "custom": "data" } }

Example Code

fetch('/api/v1/resources', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    title: 'My Resource',
    content: 'Example content',
    metadata: { custom: 'data' }
  })
});
                                

Interactive API Explorer

Try the Data Endpoint

Get sample data with different parameters