Get Device List
Quick Guide
Prerequisites
In the Playground, sign in to Dot and select Authorize. In a script, use a personal API key or an OAuth access token as a Bearer token.
Each client IP can send up to 10 requests per second to this path. See API rate limits.
Request Examples
GET
/api/authV2/open/devicesGenerated Code
Before running an example, replace placeholders such as {{VARIABLE}} with actual values and remove the surrounding double braces.
1// Generating...Response Example
[
{
"alias": "My Dot",
"location": "Study",
"series": "quote",
"model": "quote_0",
"edition": 1,
"id": "ABCD1234ABCD"
},
{
"alias": "Desk Dot",
"location": "Office",
"series": "quote",
"model": "quote_0",
"edition": 2,
"id": "ABCD5112ABCD"
}
]Troubleshooting
Endpoint
/api/authV2/open/devices
Method
GET
Request Schema
This interface does not require a request body, only an API key in the request header.
Response Schema
Prop
Type
Devices available to this API key.
Array Items
objectParameters
Name assigned by the user to identify the device.
User-assigned label for where the device is placed.
Device serial number
Product family the device belongs to.
Specific model within the product family.
Hardware edition of the device.
Status Codes
| code | Meaning | Description |
|---|---|---|
200 | Success | Successfully retrieved device list |
401 | Unauthorized | Invalid or expired API key |
500 | Server Error | Internal server error |
Did this solve your problem?
Join our community