Operation
List device events
GET
/devices/{deviceId}/eventsThe device-operational event log (most recent first).
Path parameters
deviceIdstringRequired
Returns
Device events
Errors
- 400
- Bad Request - Invalid input
- 401
- Unauthorized - Authentication required
- 403
- Forbidden - Insufficient permissions
- 404
- Not Found - Resource not found
- 500
- Internal Server Error
Every error names its code and links to it. All error codes
curl -X GET "https://api.ticketlayer.com/v1/devices/{deviceId}/events" \ -H "Authorization: Bearer tlak_..." \ -H "X-Ticketlayer-Org: your-org-slug"Response 200
{
"events": [
{
"id": "string",
"type": "string",
"payload": {},
"occurredAt": "string",
"receivedAt": "string"
}
]
}