Skip to content
Last updated

You can fetch user notes by issuing the following command:

{
  "method": "get",
  "url": "https://int-api.tidepool.org/message/notes/{userId}",
  "headers": {
    "X-Tidepool-Session-Token": "{sessionToken}",
    "Content-Type": "application/json"
  },
}

You can also specify start time and end time in ISO date/time format to search for data relating to a specific event (similar to query parameters):

?starttime=2015-10-10T15:00:00.000Z&endtime=2015-10-11T15:00:00.000Z

{
  "method": "get",
  "url": "https://int-api.tidepool.org/message/notes/{userId}",
  "query": {
    "starttime": "2015-10-10T15:00:00.000Z",
    "endtime": "2015-10-11T15:00:00.000Z"
  },
  "headers": {
    "X-Tidepool-Session-Token": "{sessionToken}",
    "Content-Type": "application/json"
  },
}