{"info":{"_postman_id":"dda7ba73-4ba9-490c-935e-6c31486dffeb","name":"Onmi API","description":"<html><head></head><body><p>This collection describes the APIs of various systems used at Onmi. </p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10072867","collectionId":"dda7ba73-4ba9-490c-935e-6c31486dffeb","publishedId":"SWTD7c3e","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-01-31T11:44:19.000Z"},"item":[{"name":"Alius","item":[{"name":"User-based requests","item":[{"name":"Get schedule","id":"f2a1ab7f-5aa3-4aff-90c3-3cf71baed567","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","description":"<p>The access token is retreived from Auth0 </p>\n","type":"text"}],"url":"https://{{base_url}}/getSchedule?user={{user}}&language={{language}}","description":"<p>This endpoint return the schedule for a particular users and requires correct authentication from that same user. Typically, it is used for client-side requests from a partner application consuming this api.</p>\n","urlObject":{"protocol":"https","path":["getSchedule"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>The userId from the user as defined by the project; often it is an Auth0 id.</p>\n","type":"text/plain"},"key":"user","value":"{{user}}"},{"description":{"content":"<p>(Optional) When adding a language preference parameter, the schedule will be return in that lanuage, with a fallback to English, or any available language if English is not available.</p>\n","type":"text/plain"},"key":"language","value":"{{language}}"}],"variable":[]}},"response":[],"_postman_id":"f2a1ab7f-5aa3-4aff-90c3-3cf71baed567"},{"name":"Rate message","id":"d7f4b9e4-72af-4119-a0b2-a269d0ed86f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","description":"<p>The access token as provided by Auth0</p>\n","type":"text"}],"url":"https://{{base_url}}/rateMessage?user={{user}}&messageId={{message_id}}&rating={{rating}}","description":"<p>This endpoint is used to rate and complete a message in the program. The request requires end-user authentication, so it is typically used on a client-side application that is used by the end-user.</p>\n","urlObject":{"protocol":"https","path":["rateMessage"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>The userId as defined by the project</p>\n","type":"text/plain"},"key":"user","value":"{{user}}"},{"description":{"content":"<p>The messageId of the message wanting to rate. It is available in the <code>uid</code> key of the individual message. It looks something like <code>0x2e4</code>.</p>\n","type":"text/plain"},"key":"messageId","value":"{{message_id}}"},{"description":{"content":"<p>The rating for the message can be expressed using the range [0-2]. Any other values will invalidate the entire request.</p>\n","type":"text/plain"},"key":"rating","value":"{{rating}}"}],"variable":[]}},"response":[],"_postman_id":"d7f4b9e4-72af-4119-a0b2-a269d0ed86f6"}],"id":"17902cc1-3d17-41c8-9733-f424bece55bf","description":"<p>These requests require an access-token from Auth0 in the Authorization header. No direct API access, circumventing Auth0 authentication, is possible here.</p>\n","event":[{"listen":"prerequest","script":{"id":"c5b6ad7a-4835-4082-99cd-2bf91677551e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dc6554ee-8f6a-4d37-8509-b2d6ef166942","type":"text/javascript","exec":[""]}}],"_postman_id":"17902cc1-3d17-41c8-9733-f424bece55bf"},{"name":"Partner requests","item":[{"name":"List users","id":"c4b295d9-c23a-438e-a487-d4391d592255","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"code","value":"{{partner_token}}","description":"<p>The code as provided to you by Onmi </p>\n","type":"text"}],"url":"https://{{base_url}}/listUsers","description":"<p>This endpoint returns a list of all users currently having a schedule prepared in Alius.</p>\n","urlObject":{"protocol":"https","path":["listUsers"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c4b295d9-c23a-438e-a487-d4391d592255"},{"name":"List schedule","id":"60547607-8e92-42c7-a9b1-f5e2bea0b0ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"code","value":"{{code}}","description":"<p>The code as provided by Onmi</p>\n","type":"text"}],"url":"https://{{base_url}}/listSchedule?user={{user}}&language={{language}}","description":"<p>This endpoint returns the schedule for a specific user.</p>\n","urlObject":{"protocol":"https","path":["listSchedule"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>The userId of the user's schedule</p>\n","type":"text/plain"},"key":"user","value":"{{user}}"},{"description":{"content":"<p>(Optional) When adding a language preference parameter, the schedule will be return in that lanuage, with a fallback to English, or any available language if English is not available.</p>\n","type":"text/plain"},"key":"language","value":"{{language}}"}],"variable":[]}},"response":[],"_postman_id":"60547607-8e92-42c7-a9b1-f5e2bea0b0ec"},{"name":"Submit NRS results","id":"991a7923-f559-47e8-8ce6-e448159bb247","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"ClientId","value":"{{client_id}}","description":"<p>The clientId as provided by us</p>\n","type":"text"},{"key":"Authorization","value":"{{partner_token}}","description":"<p>The partner token as provided by us</p>\n","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{base_url}}/webhook","description":"<p>This endpoint is used as a webhook for submitting the nutritional recommandations orginating from the DSS from Eurecat.</p>\n","urlObject":{"protocol":"https","path":["webhook"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"da64bc78-68b6-4ab9-b2ca-da80b7af37a9","name":"Submit NRS results","originalRequest":{"method":"POST","header":[{"key":"ClientId","value":"{{client_id}}","description":"The clientId as provided by us","type":"text"},{"key":"Authorization","value":"{{partner_token}}","description":"The partner token as provided by us","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{base_url}}/webhook"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": \"6d400d1d-0689-4047-9818-c4efbc4b4881\",\r\n    \"name\": \"User\",\r\n    \"surname\": \"User\",\r\n    \"date_of_birth\": \"09/01/2000\",\r\n    \"sex\": \"male\",\r\n    \"email\": \"user_test@gmail.com\",\r\n    \"pilot\": \"ALDI\",\r\n    \"pilot_location\": null,\r\n    \"group\": \"PN\",\r\n    \"recommendations\": {\r\n        \"date_of_measurement\": \"29/02/2020\",\r\n        \"dataset_Id\": \"9\",\r\n        \"description\": \"DSS outputs: altered cluster, list of recommended and disallowed food, adherence to healthy diet, warnings\",\r\n        \"version\": 1,\r\n        \"received\": false,\r\n        \"contents\": {\r\n            \"Cluster\": \"Lipid\",\r\n            \"Food_recommendation\": {\r\n                \"Recommended_food\": [\r\n                    \"p_oatmeal_sugarfree\",\r\n                    \"p_algae\",\r\n                    \"p_herbs\",\r\n                    \"p_canned_legumes\",\r\n                    \"p_brownbread\",\r\n                    \"p_wholegrains\",\r\n                    \"p_cereals_lglyc\",\r\n                    \"p_fresh_cheese\",\r\n                    \"p_yogurt_sugarfree\",\r\n                    \"p_fermented_milk\",\r\n                    \"p_olive_oil\",\r\n                    \"p_canola_oil\",\r\n                    \"p_rapeseed_oil\",\r\n                    \"p_sunflower_oil\",\r\n                    \"p_veg_juice\",\r\n                    \"p_fruit\",\r\n                    \"p_citrus\",\r\n                    \"p_berries\",\r\n                    \"p_oleaginous\",\r\n                    \"p_rawnuts\",\r\n                    \"p_roastednuts\",\r\n                    \"p_roots\",\r\n                    \"p_leaves\",\r\n                    \"p_cruciferous\",\r\n                    \"p_sprouts\",\r\n                    \"p_legumes\",\r\n                    \"p_vegothers\",\r\n                    \"p_mushrooms\",\r\n                    \"p_legumes_dry\",\r\n                    \"p_germinated\",\r\n                    \"p_legumes_ferment\",\r\n                    \"p_fibers\",\r\n                    \"p_cereals_others\",\r\n                    \"p_wholegrains_hglyc\",\r\n                    \"p_pastawhole\",\r\n                    \"p_curd_lf\",\r\n                    \"p_seeds\",\r\n                    \"p_roastseeds\",\r\n                    \"p_omega3\"\r\n                ],\r\n                \"Disallowed_food\": [\r\n                    \"p_convenience\",\r\n                    \"p_chips\",\r\n                    \"p_quiche\",\r\n                    \"p_icecream\",\r\n                    \"p_sweets_other\",\r\n                    \"p_whitebread\",\r\n                    \"p_pastries\",\r\n                    \"p_refined_cereals\",\r\n                    \"p_sandwiches\",\r\n                    \"p_oatmeal_sugar\",\r\n                    \"p_cereals\",\r\n                    \"p_cereals_hglyc\",\r\n                    \"p_pasta\",\r\n                    \"p_pizza\",\r\n                    \"p_milkshakes\",\r\n                    \"p_condensedmilk\",\r\n                    \"p_cream\",\r\n                    \"p_yogurt\",\r\n                    \"p_dairy_desserts\",\r\n                    \"p_hard_cheese\",\r\n                    \"p_soft_cheese\",\r\n                    \"p_mayonnaise\",\r\n                    \"p_sauces\",\r\n                    \"p_coco_oil\",\r\n                    \"p_butter\",\r\n                    \"p_margarine\",\r\n                    \"p_biscuits\",\r\n                    \"p_cakes\",\r\n                    \"p_choco\",\r\n                    \"p_bars\",\r\n                    \"p_sugar\",\r\n                    \"p_snaks\",\r\n                    \"p_soups\",\r\n                    \"p_mustard\",\r\n                    \"p_ketchup\",\r\n                    \"p_jams\",\r\n                    \"p_honey\",\r\n                    \"p_choco_drink\",\r\n                    \"p_spirits\",\r\n                    \"p_cocktails\",\r\n                    \"p_sugar_drinks\",\r\n                    \"p_energy_drinks\",\r\n                    \"p_pack_juice\",\r\n                    \"p_packveg_juice\",\r\n                    \"p_syrup_fruit\",\r\n                    \"p_friednuts\",\r\n                    \"p_whitener\",\r\n                    \"p_fortified\",\r\n                    \"p_liquor\"\r\n                ]\r\n            },\r\n            \"Reference_servings_deviations\": {\r\n                \"c_other\": {\r\n                    \"user_serving\": 74,\r\n                    \"serving_change\": -73\r\n                },\r\n                \"c_dairy\": {\r\n                    \"user_serving\": 15,\r\n                    \"serving_change\": -12\r\n                },\r\n                \"c_eggs\": {\r\n                    \"user_serving\": 0.5,\r\n                    \"serving_change\": 2.5\r\n                },\r\n                \"c_fish\": {\r\n                    \"user_serving\": 86.5,\r\n                    \"serving_change\": -82.5\r\n                },\r\n                \"c_fruits\": {\r\n                    \"user_serving\": 17,\r\n                    \"serving_change\": 0\r\n                },\r\n                \"c_legumes\": {\r\n                    \"user_serving\": 43.5,\r\n                    \"serving_change\": -40.5\r\n                },\r\n                \"c_wmeat\": {\r\n                    \"user_serving\": 1,\r\n                    \"serving_change\": 1\r\n                },\r\n                \"c_rmeat\": {\r\n                    \"user_serving\": 49,\r\n                    \"serving_change\": -48\r\n                },\r\n                \"c_water\": {\r\n                    \"user_serving\": 0,\r\n                    \"serving_change\": 1.5\r\n                },\r\n                \"c_nuts\": {\r\n                    \"user_serving\": 18.5,\r\n                    \"serving_change\": -11.5\r\n                },\r\n                \"c_fats\": {\r\n                    \"user_serving\": 21,\r\n                    \"serving_change\": -18\r\n                },\r\n                \"c_snacks\": {\r\n                    \"user_serving\": 0.5,\r\n                    \"serving_change\": 0\r\n                },\r\n                \"c_starchy\": {\r\n                    \"user_serving\": 30,\r\n                    \"serving_change\": -24\r\n                },\r\n                \"c_sweets\": {\r\n                    \"user_serving\": 213,\r\n                    \"serving_change\": -212\r\n                },\r\n                \"c_veg\": {\r\n                    \"user_serving\": 42,\r\n                    \"serving_change\": 0\r\n                },\r\n                \"c_neutral\": {\r\n                    \"user_serving\": 776,\r\n                    \"serving_change\": 0\r\n                }\r\n            },\r\n            \"Warnings\": [\r\n                \"this is a warning for celiacs\"\r\n            ]\r\n        }\r\n    }\r\n}"}],"_postman_id":"991a7923-f559-47e8-8ce6-e448159bb247"}],"id":"ae639129-d062-409c-bbee-e36e70938deb","description":"<p>These requests can be made by using tokens provided directly by Onmi. No Auth0 authentication is required herre.</p>\n","event":[{"listen":"prerequest","script":{"id":"582d2cf9-4d3d-439b-9c8a-edc9d09c1887","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"14aeebd9-bf93-414c-9e4d-c4857bfe247c","type":"text/javascript","exec":[""]}}],"_postman_id":"ae639129-d062-409c-bbee-e36e70938deb"},{"name":"Health check","id":"c0085350-c9ec-4756-8a7d-1afd97dfe046","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{base_url}}/","description":"<p>This endpoints will return a 200 if the service is available. If not, it is safe to assume that the other endpoints will not work either.</p>\n","urlObject":{"protocol":"https","path":[""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c0085350-c9ec-4756-8a7d-1afd97dfe046"}],"id":"726af76b-fb00-421b-87fa-35e1e5098c9e","_postman_id":"726af76b-fb00-421b-87fa-35e1e5098c9e","description":""},{"name":"Ampersand","item":[],"id":"2fe4bcb4-306e-4e91-b568-ac229a8d9326","_postman_id":"2fe4bcb4-306e-4e91-b568-ac229a8d9326","description":""},{"name":"Luka","item":[],"id":"b6b8a9eb-98cc-4527-bb30-7d519b4153b6","_postman_id":"b6b8a9eb-98cc-4527-bb30-7d519b4153b6","description":""},{"name":"Helio","item":[{"name":"Schedule of users","id":"ddeeeaac-3aff-487d-b47d-9f5ff3bee99f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"url":"https://{{base_url}}/program/schedule?user={{user}}&language={{language}}","description":"<p>This endpoint returns the entire schedule of a specific user in a specific language (defaults to English)</p>\n","urlObject":{"protocol":"https","path":["program","schedule"],"host":["{{base_url}}"],"query":[{"key":"user","value":"{{user}}"},{"key":"language","value":"{{language}}"}],"variable":[]}},"response":[{"id":"9b0bdc44-da1a-4199-b882-4f3302a46d26","name":"Schedule of users","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{base_url}}/program/schedule?user={{user}}&language={{language}}","protocol":"https","host":["{{base_url}}"],"path":["program","schedule"],"query":[{"key":"user","value":"{{user}}"},{"key":"language","value":"{{language}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"user\": \"USER_ID\",\n\t\"created_at\": \"YYYY-MM-DDTHH:MM:SSZ\",\n\t\"updated_at\": \"YYYY-MM-DDTHH:MM:SSZ\",\n\t\"schedule\": [\n\t\t{\n\t\t\t\"uid\": \"0x000\",\n\t\t\t\"title\": \"TITLE OF MESSAGE\",\n\t\t\t\"body\": \"BODY OF MESSAGGE\",\n\t\t\t\"link\": \"LINK IN MESSAGE\",\n\t\t\t\"category\": \"CATEGORY OF MESSAGE\",\n\t\t\t\"completed_at\": \"YYYY-MM-DDTHH:MM:SSZ\",\n\t\t\t\"completed\": false,\n\t\t\t\"scheduled_at\":\"YYYY-MM-DDTHH:MM:SSZ\",\n\t\t\t\"day\": 0,\n\t\t\t\"rating\": -1,\n\t\t\t\"target_time\": \"YYYY-MM-DDTHH:MM:SSZ\"\n\t\t}\n\t]\n}"}],"_postman_id":"ddeeeaac-3aff-487d-b47d-9f5ff3bee99f"},{"name":"List of users","id":"549da8ff-8299-4e8b-8379-f225061d6ab6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"url":"https://{{base_url}}/program/users","description":"<p>This endpoint returns a list of all users enrolled. This list is based on all users that have a program generated in Alius.</p>\n","urlObject":{"protocol":"https","path":["program","users"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ebb95d4c-c107-4c61-b528-da36ad1c5611","name":"List of users","originalRequest":{"method":"GET","header":[],"url":"https://{{base_url}}/program/users"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\"user1\",\"user2\",\"user3\",\"userN\"]"}],"_postman_id":"549da8ff-8299-4e8b-8379-f225061d6ab6"},{"name":"Summary messages","id":"f1a124ae-4480-4a09-9813-e21bdc423f6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"url":"https://{{base_url}}/messages/summary","description":"<p>This endpoint returns (for now) all messages in a specific language (defaults to English) with various summary data such as completion rate and average rating.</p>\n","urlObject":{"protocol":"https","path":["messages","summary"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cebce8be-6db8-4370-b2f3-6805e16d42f8","name":"Summary messages","originalRequest":{"method":"GET","header":[],"url":"https://{{base_url}}/messages/summary"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n\t{\n\t\t\"uid\": \"0x000\",\n\t\t\"title\": \"TITLE OF MESSAGE\",\n\t\t\"body\": \"BODY OF MESSAGE\",\n\t\t\"times_scheduled\": 0,\n\t\t\"times_completed\": 0,\n\t\t\"average_rating\": 0,\n\t\t\"bad_ratings\": 0,\n\t\t\"netural_rating\": 0,\n\t\t\"good_rating\": 0\n\t}\n]"}],"_postman_id":"f1a124ae-4480-4a09-9813-e21bdc423f6b"},{"name":"Status of program","id":"2e4a7023-032e-4a17-9145-0973c158fe25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"}],"url":"https://{{base_url}}/program/status?days={{days}}&to={{to-date}}&from={{from-date}}","description":"<p>This endpoint returns a summary of the program status. Examples are: amount of users signed up, amount of users that completed their program, amount of messages sent, amount of messages completed.</p>\n","urlObject":{"protocol":"https","path":["program","status"],"host":["{{base_url}}"],"query":[{"key":"days","value":"{{days}}"},{"key":"to","value":"{{to-date}}"},{"key":"from","value":"{{from-date}}"}],"variable":[]}},"response":[{"id":"c877400b-8e53-44df-a457-c1432b75ffd1","name":"Status of program","originalRequest":{"method":"GET","header":[],"url":"https://{{base_url}}/program/status"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"enrolled_users\": 0,\n\t\"completed_users\": 0,\n\t\"sent_messages\": 0,\n\t\"completed_messages\": 0\n}"}],"_postman_id":"2e4a7023-032e-4a17-9145-0973c158fe25"},{"name":"Data of user","id":"44a156f4-67a0-4780-a0d0-e7f7b764ded4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{base_url}}/user/data?user={{user}}&days={{days}}&to={{to-date}}&from={{from-date}}","description":"<p>The endpoint returns data from the user orginating from Ampersand. The latest data can be requested or a range of historic data.</p>\n","urlObject":{"protocol":"https","path":["user","data"],"host":["{{base_url}}"],"query":[{"key":"user","value":"{{user}}"},{"description":{"content":"<p>(optional) The amount of days from today that data is requested (e.g., 7 would return last weeks' data)</p>\n","type":"text/plain"},"key":"days","value":"{{days}}"},{"description":{"content":"<p>(optional) The date (YYYY-MM-DD) up until the data is requested from.</p>\n","type":"text/plain"},"key":"to","value":"{{to-date}}"},{"description":{"content":"<p>(optional) The date (YYYY-MM-DD) from the data is requested from.</p>\n","type":"text/plain"},"key":"from","value":"{{from-date}}"}],"variable":[]}},"response":[{"id":"676973e7-e3a8-468e-91d4-745088a19734","name":"Data of user","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{base_url}}/user/data?user={{user}}&days={{days}}&to={{to-date}}&from={{from-date}}","protocol":"https","host":["{{base_url}}"],"path":["user","data"],"query":[{"key":"user","value":"{{user}}"},{"key":"days","value":"{{days}}","description":"(optional) The amount of days from today that data is requested (e.g., 7 would return last weeks' data)"},{"key":"to","value":"{{to-date}}","description":"(optional) The date (YYYY-MM-DD) up until the data is requested from."},{"key":"from","value":"{{from-date}}","description":"(optional) The date (YYYY-MM-DD) from the data is requested from."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[{\n\t\"user\": \"USER_ID\",\n\t\"date\": \"YYYY-MM-DD\",\n\t\"activity_score\": 0,\n\t\"variety_score\": 0,\n\t\"social_score\": 0,\n\t\"current_steps\": 0,\n\t\"updated_time\": \"YYYY-MM-DDTHH:MM:SSZ\"\n}]"}],"_postman_id":"44a156f4-67a0-4780-a0d0-e7f7b764ded4"},{"name":"Status of user","id":"a9ac48c9-584a-4a4c-8abf-f0c23d77a3bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{base_url}}/user/status?user={{user}}","description":"<p>This endpoint returns a document of the current status of a user. Examples are: date enrolled, last time we receive dat from Provider X, amount of messages sent, amount of messages completed.</p>\n","urlObject":{"protocol":"https","path":["user","status"],"host":["{{base_url}}"],"query":[{"key":"user","value":"{{user}}"}],"variable":[]}},"response":[{"id":"5ff0e7ce-613e-48f4-9d1a-700dab18e5da","name":"Status of user","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{base_url}}/user/status?user={{user}}","protocol":"https","host":["{{base_url}}"],"path":["user","status"],"query":[{"key":"user","value":"{{user}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n\t\"user\":\"USER_ID\",\n\t\"date_enrolled\":\"YYYY-MM-DDTHH:MM:SSZ\",\n\t\"last_updated_luka\": \"YYYY-MM-DDTHH:MM:SSZ\",\n\t\"last_updated_nimbus\": \"YYYY-MM-DDTHH:MM:SSZ\",\n\t\"last_updated_fitbit\": \"YYYY-MM-DDTHH:MM:SSZ\",\n\t\"messages_sent\": 0,\n\t\"messages_completed\": 0\n}"}],"_postman_id":"a9ac48c9-584a-4a4c-8abf-f0c23d77a3bb"}],"id":"7b5b1458-bef8-4933-ac6d-a6e98f8cc23a","description":"<p>Helio is a backend service that provides user and program information for the research dashboard Zeno or for third-party intergrations.</p>\n","event":[{"listen":"prerequest","script":{"id":"50503329-f4d0-466a-813a-680a946760c9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"401ff5e7-244a-49a3-8fe9-11534b48f7f1","type":"text/javascript","exec":[""]}}],"_postman_id":"7b5b1458-bef8-4933-ac6d-a6e98f8cc23a"}]}