Prerequisites
Before you begin, you’ll need:- An Amps AI customer account
- API keys (sandbox and/or live)
- A webhook endpoint URL (optional but recommended)
- Access to the Link UI for device authentication
Step 1: Get Your API Keys
You will need to request Sandbox access before completing these steps. Get sandbox access to continue.
Create Account
Sign up for an Amps AI account in the dashboard
Generate API Keys
Create separate API keys for sandbox and live environments in your dashboard settings
Step 2: Connect Devices via Link UI
Direct your end users to the Link UI to authenticate with OEMs and connect their devices: Base URL:Replace
{appId} with your actual application ID from the dashboard. The Link UI handles the entire authentication flow including OEM selection, credential entry, MFA (if required), device selection, and consent collection.Environments Guide
Learn more about Sandbox and Live environments
Step 3: Make Your First API Call
Test your integration by retrieving device data:curl
Example Response
Step 4: Set Up Webhooks
Configure webhook endpoints to receive real-time notifications:- Add your webhook URL in the dashboard
- Subscribe to the events you want to receive:
device.connecteddevice.disconnectedpush.completedpush.failed
- Verify webhook signatures to ensure requests are from Amps AI
Webhook Setup Guide
Learn more about configuring webhooks
Step 5: Push Your First Command
Send a command to a device (example: set HVAC temperature):curl
Next Steps
Authentication
Learn about API authentication
Link UI Guide
Understand the device connection flow
Webhooks
Set up webhook endpoints
API Reference
Explore the full API documentation
Common Tasks
How do I test without real devices?
How do I test without real devices?
Use the sandbox environment! It provides realistic device simulations based on UTC time patterns, allowing you to test your integration without connecting real devices. See the Environments Guide for details on sandbox behavior.
How do I handle multiple devices?
How do I handle multiple devices?
Each device has a unique
deviceId. You can list all devices for a user using the list endpoints (e.g., GET /battery) and filter by userId.What happens if a device goes offline?
What happens if a device goes offline?
The API will return cached data if available, or you’ll receive a
404 error. Webhooks will notify you of connection status changes.How do I check action status?
How do I check action status?
Actions are processed asynchronously. Use the action ID returned from push endpoints to:
- Poll the action status endpoint (e.g.,
GET /hvac/actions/{actionId}) - Receive webhook notifications when actions complete