API Reference
cURL
curl --request GET \ --url https://api.flatpeak.com/devices \ --header 'Authorization: Bearer <token>'
{ "object": "list", "url": "/devices", "has_more": true, "data": [ { "id": "dev_63a6087272941ef077a8fd3e", "object": "device", "live_mode": true, "reference_id": "DEV1234567890", "last_seen": "2022-03-22T11:12:21Z", "time_created": "2022-01-24T14:15:22Z", "account_id": "acc_661677911f2197045e6cf1b1" } ] }
Lists all device identifiers.
The objects are returned sorted by creation date, with the most recent appearing first. If no parameters are specified in the request, all objects in pages of 30 are returned.
Show child attributes