API Reference
cURL
curl --request GET \ --url https://api.flatpeak.com/events/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "evt_65e42b7827c0526548432b9f", "object": "event", "time_created": "2022-01-24T14:15:22Z", "type": "device.create", "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" } }
Retrieves the details of an event.
Authenticate with bearer_token you obtained from /login endpoint.
bearer_token
unique FlatPeak event identifier
"evt_3e82b87128ad42c0a352a7305219bfa2"
The response is of type object.
object
Was this page helpful?