Creates a log entry for a sleep event and returns a response in the format requested. Keep in mind that it is NOT possible to create overlapping log entries or entries for time periods that DO NOT originate from a tracker. Sleep log entries appear on website's sleep tracker interface according to the date on which the sleep event ends.
1 |
token |
An OAuth 2.0 token |
startTime |
required Start time; hours and minutes in the format HH:mm. |
duration |
required Duration in minutes. |
date |
required Log entry date in the format yyyy-MM-dd. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.