Automata API Access
Integrate Automata BMS with your existing systems using our comprehensive RESTful API for seamless data exchange, control, and automation.
Powerful API Capabilities
Our comprehensive API provides developers with the tools they need to integrate, extend, and customize Automata BMS to meet their specific requirements.
RESTful Architecture
Built on industry-standard REST principles for easy integration with any programming language or framework.
Comprehensive Data Access
Access real-time and historical data from all your building systems, sensors, and devices with flexible querying options.
Secure Authentication
OAuth 2.0 authentication and API key management with granular permission controls for secure access.
Webhooks & Events
Subscribe to real-time events and receive instant notifications when specific conditions are met or thresholds are crossed.
Versioned API
Backward compatibility through versioned endpoints ensures your integrations remain stable as we evolve our platform.
Rate Limiting
Generous rate limits with clear headers to help you optimize your API usage and ensure system stability.
Comprehensive Documentation
Our detailed API documentation makes it easy to get started and implement advanced integrations.
API Resources
- Authentication
- Buildings
- Devices
- Sensors
- Data Points
- Alarms
- Schedules
- Users
- Webhooks
- Reports
Authentication
OAuth 2.0 Authentication
Automata API uses OAuth 2.0 for secure authentication. You'll need to register your application to receive a client ID and secret.
POST https://api.automatabms.com/v1/oauth/token Content-Type: application/x-www-form-urlencoded grant_type=client_credentials& client_id=YOUR_CLIENT_ID& client_secret=YOUR_CLIENT_SECRET& scope=read:buildings write:devices
Response
{ "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "token_type": "Bearer", "expires_in": 3600, "scope": "read:buildings write:devices" }
Code Examples
Get started quickly with sample code in multiple programming languages.
JavaScript
// Fetch building data async function fetchBuildings() { const response = await fetch( 'https://api.automatabms.com/v1/buildings', { headers: { 'Authorization': 'Bearer ' + accessToken, 'Content-Type': 'application/json' } } ); const data = await response.json(); console.log(data); return data; } // Update device settings async function updateDevice(deviceId, settings) { const response = await fetch( `https://api.automatabms.com/v1/devices/${deviceId}`, { method: 'PATCH', headers: { 'Authorization': 'Bearer ' + accessToken, 'Content-Type': 'application/json' }, body: JSON.stringify(settings) } ); const data = await response.json(); return data; }
Python
import requests API_BASE_URL = "https://api.automatabms.com/v1" ACCESS_TOKEN = "your_access_token" # Fetch sensor data def get_sensor_data(sensor_id): headers = { "Authorization": f"Bearer {ACCESS_TOKEN}", "Content-Type": "application/json" } response = requests.get( f"{API_BASE_URL}/sensors/{sensor_id}/data", headers=headers, params={"limit": 100} ) if response.status_code == 200: return response.json() else: print(f"Error: {response.status_code}") print(response.text) return None # Create a webhook subscription def create_webhook(event_type, callback_url): headers = { "Authorization": f"Bearer {ACCESS_TOKEN}", "Content-Type": "application/json" } payload = { "event_type": event_type, "callback_url": callback_url, "active": True } response = requests.post( f"{API_BASE_URL}/webhooks", headers=headers, json=payload ) return response.json()
Integration Use Cases
Discover how our API can be used to create powerful integrations and custom solutions.
Custom Dashboards
Create tailored dashboards that combine Automata BMS data with other business metrics for comprehensive insights.
Learn moreAutomated Workflows
Build automated workflows that trigger actions based on building events, such as adjusting HVAC based on weather forecasts.
Learn moreMobile Applications
Develop custom mobile applications that provide specific functionality for different user roles within your organization.
Learn moreEnterprise-Grade Security
Our API is built with security as a top priority, ensuring your data and systems remain protected.
OAuth 2.0 & JWT
Industry-standard authentication protocols with short-lived access tokens and secure refresh mechanisms.
TLS Encryption
All API communications are encrypted using TLS 1.3, ensuring data confidentiality during transmission.
Granular Permissions
Fine-grained access control with scoped permissions allows you to limit what each integration can access.
Security Certifications
Our API infrastructure is regularly audited and certified to meet the highest security standards.
Flexible API Pricing
Choose the plan that best fits your integration needs and scale as your requirements grow.
Developer
Perfect for small projects and individual developers.
- 10,000 API calls per day
- Basic authentication
- Standard support
- 7-day data retention
Business
Ideal for growing businesses with multiple integrations.
- 100,000 API calls per day
- OAuth 2.0 & API keys
- Priority support
- 30-day data retention
- Webhook subscriptions
Enterprise
For large organizations with advanced requirements.
- Unlimited API calls
- Advanced security features
- 24/7 dedicated support
- Custom data retention
- Custom SLAs
Ready to Integrate with Automata BMS?
Get started with our API today and unlock the full potential of your building management system.