register_device
Register or update a device in the partner's network.
WHEN TO USE:
Adding a new screen/kiosk/vending machine to the network
Updating device location or configuration
Re-registering a device after maintenance
RETURNS:
device_id: Your internal device ID (echoed back)
trillboards_device_id: Internal Trillboards device ID
fingerprint: Device fingerprint (e.g., "P_abc123")
embed_url: URL to load in the device's WebView
status: Device status
EXAMPLE: User: "Register a vending machine in NYC" register_device({ device_id: "vending-001-nyc", name: "NYC Office Lobby Vending", device_type: "vending_machine", location: { lat: 40.7128, lng: -74.0060, city: "New York", state: "NY", venue_type: "office" } })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Human-readable device name | |
| specs | No | Device specifications | |
| location | No | Device location information | |
| metadata | No | Additional custom metadata | |
| device_id | Yes | Your internal unique device identifier | |
| device_type | No | Type of device |