{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Fetching User Notes","llmstxt":{"hide":true}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"fetching-user-notes","__idx":0},"children":["Fetching User Notes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can fetch user notes by issuing the following command:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"method\": \"get\",\n  \"url\": \"https://int-api.tidepool.org/message/notes/{userId}\",\n  \"headers\": {\n    \"X-Tidepool-Session-Token\": \"{sessionToken}\",\n    \"Content-Type\": \"application/json\"\n  },\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/quick-start/fetching-device-data#query-parameters"},"children":["query parameters"]},"):"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["?starttime=2015-10-10T15:00:00.000Z&endtime=2015-10-11T15:00:00.000Z"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"method\": \"get\",\n  \"url\": \"https://int-api.tidepool.org/message/notes/{userId}\",\n  \"query\": {\n    \"starttime\": \"2015-10-10T15:00:00.000Z\",\n    \"endtime\": \"2015-10-11T15:00:00.000Z\"\n  },\n  \"headers\": {\n    \"X-Tidepool-Session-Token\": \"{sessionToken}\",\n    \"Content-Type\": \"application/json\"\n  },\n}\n","lang":"json"},"children":[]}]},"headings":[{"value":"Fetching User Notes","id":"fetching-user-notes","depth":1}],"frontmatter":{"seo":{"title":"Fetching User Notes"}},"lastModified":"2023-02-09T20:41:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/quick-start/notes","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}