Events

Create Event

Use HTTP GET method to create a new Event on Device Timeline

/external/api/logEvent?token={token}&code={event_name}&description={event_desciption}

Parameters:

  • token: AuthToken of the device

  • code: code of the event. Can be found in Product Template - Events​

  • description: optionally you can add custom description to the event and it will be rendered on Device Timeline in mobile apps and on the web

Example:

curl --get 'https://blynk.io/external/api/logEvent?token=123&code=critical_error&description="custom description"'

Result:

>>IMAGE OF TIMELINE WITH EVENT DESCRIPTION (MOBILE AND WEB)