cURL
curl --request GET \ --url https://api.amberflow.io/v1/devices \ --header 'X-API-Key: <api-key>'
{ "data": [ { "id": "991fced7-024c-4162-abbe-320fec9de64f", "created_at": "2024-09-23T12:00:00.000Z", "location_id": "loc_lBHRyynPDIsPJNmj", "name": "My Solar Inverter", "device_type": "SOLAR_INVERTER", "brand": "ENPHASE", "icon_url": "https://database.amberflow.io/storage/v1/object/public/media/logos/enphase-logo-w200.png" } ] }
Returns a list of your devices. The devices are returned in sorted order, with the most recently created device appearing first.
The offset of the query
The number of objects to return
x <= 100
Successful Response
The response is of type object.
object