๐Ÿ“˜

Use the hub_url received in the registration response as your base URL.

๐Ÿ“˜

This API requires the device to authenticate, see Device Authentication.

Add a new event to the Device Events Log.

Request

Parameter information

ParameterDescription
nameUnique string used for all instance of an event (e.g. "door_openned") and can be used to query event data or display widgets.
categoryGroup multiple events together.
int_key_1Optional 32bit integer
int_key_2Optional 32bit integer
string_key_1Optional 255 character string
string_key_2Optional 255 character string
timestampOptional - override timestamp to specify event happened in the past

Return Data

{ "status": true }

Notes

Events only work for claimed devices. Calling the API for unclaimed device will return success without adding the event.

Language
Authorization
Header
Click Try It! to start a request and see the response here!