Devices
Manage and monitor all connected devices in your LEXOH system. The Devices API allows you to list, create, update, and delete device registrations.
/api/v1/devices
List all devices registered in your account with their current status and configuration.
Request Example
curl -X GET "https://api.lexoh.com/v1/devices" \ -H "Authorization: Bearer YOUR_API_KEY"
Response Example
{ "devices": [ { "id": "dev_123456", "name": "Gate Controller 1", "type": "access_control", "location": "Main Entrance", "status": "online", "created_at": "2024-01-15T10:30:00Z" } ], "total": 1 }
/api/v1/devices
Register a new device in your LEXOH system.
Request Example
curl -X POST "https://api.lexoh.com/v1/devices" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Gate Controller 1", "type": "access_control", "location": "Main Entrance", "serial_number": "GC-2024-001" }'
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Device name |
| type | string | Yes | Device type |
| location | string | No | Physical location |
| serial_number | string | No | Device serial number |
/api/v1/devices/{id}
Retrieve detailed information about a specific device.
/api/v1/devices/{id}
Remove a device from the system.
Next: Access Control
Learn how to manage access permissions and entry points
Continue to Access Control →