API Overview
The ECOSIRE API allows you to programmatically manage licenses, validate activations, and access your account data.
Base URL
https://api.ecosire.com/api
Authentication
All API requests require authentication via an API key or Bearer token.
API Key Authentication
Include your API key in the Authorization header:
curl -H "Authorization: Bearer eco_live_..." \
https://api.ecosire.com/api/licenses
Getting an API Key
- Log in to your ECOSIRE Dashboard
- Navigate to API Keys
- Click Generate Key
- Copy and securely store your key (it's only shown once)
Rate Limits
- 60 requests per minute per API key
- Rate limit headers are included in every response
Response Format
All responses are JSON:
{
"data": { ... },
"error": null
}
Error Codes
| Code | Description |
|---|---|
| 400 | Bad Request — Invalid parameters |
| 401 | Unauthorized — Invalid or missing API key |
| 403 | Forbidden — Insufficient permissions |
| 404 | Not Found — Resource doesn't exist |
| 429 | Too Many Requests — Rate limit exceeded |
| 500 | Internal Server Error |
Available Endpoints
- Authentication — Login, refresh tokens
- Licenses — Validate, activate, deactivate licenses