elnhna.com API

Power your applications and integrations with our robust, secure, and scalable API.

What Does the API Do?

Secure Data Access

Access protected resources with token-based authentication and role-based permissions.

Real-Time Processing

Execute time-sensitive operations with low-latency endpoints optimized for performance.

Endpoints

GET /api/v1/data

Fetch processed data based on query parameters.

curl -X GET "https://elnhna.com/api/v1/data?filter=recent"

POST /api/v1/submit

Ingest new data records from external systems.

curl -X POST "https://elnhna.com/api/v1/submit" -H "Content-Type: application/json" -d '{"key":"value"}'

Authentication

Bearer Token Authentication

  1. Request a token via POST /api/v1/auth/token
  2. Receive a JSON Web Token (JWT) in response
  3. Include in requests using the Authorization: Bearer [token] header

Tokens expire in 24 hours and can be revoked remotely.