Enterprise API Documentation
Comprehensive guides and technical references for building with our enterprise-grade API platform.
Getting Started
Create Account
Sign up for API access at our developer portal to receive your authentication credentials and API keys.
dev.enterpriseapi.comInstall SDK
Use our officially supported SDKs or make direct API calls to integrate with our platform.
# Example (Node.js)
npm
install
@enterpriseapi/core
Make First Call
Use your API key to make your first authenticated request to the /health endpoint.
curl -X
GET
https://api.enterprise-core.net/v2/health
-H
"Authorization: Bearer YOUR_KEY"
API Endpoint Reference
GET
/v2/resources
List available resources with filters for type, status, and location
- • Pagination: page=1, limit=100
- • Sort parameters: sort=asc|desc
- • Filter syntax: ?type=storage&status=active
Request
Response
{ "data": [ { "id": "res-4892", "type": "storage", "status": "active", "location": "fra-1" } ], "meta": { "current_page": 2, "page_size": 100 } }
POST
/v2/resources/{id}
Modify resource configuration with full validation and versioning
- • IDempotency keys required
- • Rate limit: 100 RPM
- • Response includes ETag header
Request
Response
{ "id": "res-4892", "type": "storage", "config": { "storage": {"size": "120GB"}, "etag": "38239248" } }
Code Integration Examples
🐍
Python
import requests response = requests.post( "https://api.enterprise-core.net/v2/resources", headers={ "Authorization": "Bearer YOUR_KEY", "Content-Type": "application/json" }, json={ "name": "My New Resource", "type": "compute", "metadata": { "environment": "dev" } } ) if response.status_code == 201: print("Created:", response.json()) else: print("Error:", response.status_code)
Requires requests library (pip install requests)
🔷
JavaScript
fetch("https://api.enterprise-core.net/v2/resources", { method: "POST", headers: { "Authorization": "Bearer YOUR_KEY", "Content-Type": "application/json" }, body: JSON.stringify({ name: "Cloud Database", type: "storage", metadata: { region: "us-west-2" } }) }) .then(response => { if (response.ok) return response.json(); throw new Error("API Request failed"); }) .then(data => console.log("Created resource:", data))
Works in all modern browsers