Content Events
Here's an instruction on how to create and test Content Events
Events content can be created by the user with the permissions of the Super admin.
Create Content Event
Open Blynk.Console
Navigate to Templates -> Your Template
Click Edit button
Switch to Events tab
Click Add New Event
Select the type of event: Content
Fill in the fields:
Name – name of the Event
Subtitle – (e.g. category name, content type)
Image Link – URL to an image that will be shown on the event card
Description – event's reason and/or purpose, other information
Action Title – description or appeal (e.g. “Get update”, “Proceed to the shop”) to Action Link
Action Link – URL to new library, firmware, application version, your/partner's website, etc.
Apply Tag – enable for the Device to be tagged when this Event is recorded. The tag can’t be removed manually. When event is resolved, the tag will be removed automatically.
Switch to Notifications tab
Enable Notifications – lets you set notifications about events occured to Devices so you get them via SMS, Push or E-mail
Select the type of notification (email, push, sms) and recipients
Set Notifications Limit if necessary and turn on Notifications management
Click Create button
Save Template
Send API request
The event content can be sent using the API by placing a request in the browser line now:
HTTPS API for Log event testing:
https://{server_address}/external/api/logEvent?token={token}&code={event_name}
https://{server_address}/external/api/logevent?token={token}&code={event_name}&description={event_description}
Check Content Event
Email: Check specified email
Check your Device's Timeline:
Web application
Navigate to the Device which token you've specified in the request,
switch to Timeline tab
specify the time period you want to view and select the Content type of event
click Action Link
You will see all the content of this notification
Mobile app:
Sign in to Blynk.Apps
Go to the Notifications tab (29)
Follow this link (30)
You will see all the content of this notification
Last updated