{"info":{"_postman_id":"5eeba2f1-73f7-42a9-af10-ac5502018d71","name":"Enterprise API v1","description":"<html><head></head><body><p>FitRankings' Enterprise API provides the tools to leverage your users' fitness data in conjunction with the FitRankings platform.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6096913","collectionId":"5eeba2f1-73f7-42a9-af10-ac5502018d71","publishedId":"TzCFgASk","public":true,"customColor":{"top-bar":"323232","right-sidebar":"323232","highlight":"ECA620"},"publishDate":"2021-03-22T22:36:23.000Z"},"item":[{"name":"Authorization","item":[{"name":"Obtain Tokens","id":"4f59b2aa-9946-4e43-9aa3-d7cee2e74a16","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"","description":"<p>Required. Must be <code>authorization_code</code> </p>\n","type":"text"},{"key":"code","value":"","description":"<p>Required. The authorization code received in the previous step.</p>\n","type":"text"},{"key":"client_id","value":"","description":"<p>Required. A key provided by FitRankings.</p>\n","type":"text"},{"key":"client_secret","value":"","type":"text","description":"<p>Required. A secret provided by FitRankings.</p>\n"},{"key":"redirect_uri","value":"","description":"<p>Required. Client provided redirect_uri</p>\n","type":"text"}]},"url":"https://api.fitrankings.com/v1/token","description":"<p>A valid request to this endpoint will use <code>Content-Type: application/x-www-form-urlencoded</code>. A pair of tokens will be issued and available in the response body. These tokens must be saved to operate on a user's behalf. The <code>access_token</code> is used to authenticate every request for a user's resources. The <code>refresh_token</code> is used to obtain a new pair of tokens once the access token expires. The <code>expires_in</code> attribute declares the number of seconds until the access token expires. The refresh token will either expire immediately if it is used or automatically after 3 days.</p>\n","urlObject":{"protocol":"https","path":["v1","token"],"host":["api","fitrankings","com"],"query":[],"variable":[]}},"response":[{"id":"d9bba7a7-e958-465d-be1b-8b8ff4c73420","name":"Obtain Tokens","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"authorization_code","type":"text"},{"key":"code","value":"redacted","type":"text"},{"key":"client_id","value":"redacted","type":"text"},{"key":"client_secret","value":"redacted","type":"text"},{"key":"redirect_uri","value":"https://example.com/noexist","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://api.fitrankings.com/v1/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"token_type\": \"Bearer\",\n    \"scope\": \"read\",\n    \"expires_in\": \"28800\",\n    \"access_token\": \"<redacted>\",\n    \"refresh_token\": \"<redacted>\"\n}"}],"_postman_id":"4f59b2aa-9946-4e43-9aa3-d7cee2e74a16"},{"name":"Refresh Tokens","id":"3c4e3bdb-f84f-435a-8f6e-6ccc95613a6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"","description":"<p>Required. Must be <code>refresh_token</code></p>\n","type":"text"},{"key":"refresh_token","value":"","description":"<p>Required. The refresh_token from your last request for new tokens.</p>\n","type":"text"},{"key":"client_id","value":"","description":"<p>Required. A key provided by FitRankings.</p>\n","type":"text"},{"key":"client_secret","value":"","description":"<p>Required. A secret provided by FitRankings.</p>\n","type":"text"}]},"url":"https://api.fitrankings.com/v1/token","description":"<p>A valid request to this endpoint will use <code>Content-Type: application/x-www-form-urlencoded</code>. It will issue a new pair of tokens. A new <code>access_token</code> will be included in the response body, along with the number of seconds it <code>expires_in</code>. Additionally, a new <code>refresh_token</code>.</p>\n","urlObject":{"protocol":"https","path":["v1","token"],"host":["api","fitrankings","com"],"query":[],"variable":[]}},"response":[{"id":"c752c898-2d07-40e3-a5c8-03e91e6259f8","name":"Refresh Tokens","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"refresh_token","type":"text"},{"key":"refresh_token","value":"redacted","type":"text"},{"key":"client_id","value":"redacted","type":"text"},{"key":"client_secret","value":"redacted","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://api.fitrankings.com/v1/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"token_type\": \"Bearer\",\n    \"scope\": \"read\",\n    \"expires_in\": \"28800\",\n    \"access_token\": \"<redacted>\",\n    \"refresh_token\": \"<redacted>\"\n}"}],"_postman_id":"3c4e3bdb-f84f-435a-8f6e-6ccc95613a6c"}],"id":"2beed239-5876-4f7c-905c-09baf635d873","description":"<p>FitRankings' Enterprise API uses the <a href=\"https://oauth.net/2/\">OAuth2 protocol</a>. You must obtain permission to access a user's resources on their behalf. Outlined below is the <a href=\"https://oauth.net/2/grant-types/authorization-code/\">Authorization Code grant</a> that your application must implement to request permission and obtain the tokens that prove you are authorized.</p>\n<p>A user must authorize your application to access their fitness data. You may prompt a user to authorize your application by sending them to the <em>Authorization URL</em> with the expected URL parameters encoded.</p>\n<p><strong>Authorization URL: <a href=\"https://api.fitrankings.com/v1/authorize\">https://api.fitrankings.com/v1/authorize</a></strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Expected URL Parameters</th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>response_type</code></td>\n<td>(Required) The value must be: <code>code</code></td>\n</tr>\n<tr>\n<td><code>client_id</code></td>\n<td>(Required) An API key provided by FitRankings.</td>\n</tr>\n<tr>\n<td><code>redirect_url</code></td>\n<td>(Required) A view where users will be directed having completed authentication and authorization. The value must be URL-encoded. Must match the list of URLs provided to FitRankings when registering for Enterprise API access.</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>(Optional) Alphanumeric string.This parameter can be used to prevent cross- site request forgery (CSRF) attacks</td>\n</tr>\n</tbody>\n</table>\n</div><p>When a user is directed to the <em>Authorization URL</em>, they will be prompted to:</p>\n<ol>\n<li>Signup or Login with FitRankings</li>\n<li>Connect a device</li>\n<li>Authorize your application</li>\n</ol>\n<p>Finally, the user will be returned to the <code>redirect_uri</code> with the following attributes available in the URL. These values should be used to obtain tokens in the following POST request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Available URL Parameters</th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>code</code></td>\n<td>An authorization code to be used in the following request for tokens. Excluded if authorization was not granted.</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>The (optional) alphanumeric string provided to FitRankings by your application.</td>\n</tr>\n<tr>\n<td><code>scope</code></td>\n<td>The permissions granted to your application.</td>\n</tr>\n<tr>\n<td><code>error</code></td>\n<td>Included if authorization was not granted.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"connect-a-device\">Connect a Device</h3>\n<p>As noted above, a user will have the opportunity to connect a device in the same sequence they authorize your application. They may connect to one of the following: Apple Health, Garmin, Fitbit, MapMyFitness, Oura Ring, Suunto, Wahoo, Polar, Coros, Google Fit, Runkeeper.</p>\n<p><strong>In some cases a user may wish to add or update connections later.</strong> This can be facilitated in two ways:</p>\n<ol>\n<li><p>You may direct the user to the Authorization URL for a second time. If their previous authorization can be validated automatically, they will not be prompted again. After making a change to their connections, the user will click \"Authorize\" and will be sent to the <code>redirect_uri</code> provided. A new authorization code will be issued and previous tokens will be revoked.</p>\n</li>\n<li><p>Ask users to manage their connections on <a href=\"https://www.fitrankings.com\">FitRankings.com</a>. When possible, a user will land on their profile page without needing to login. From their profile a user will be able to: manually add activities, initiate syncing of all their devices, contact FitRankings support.</p>\n</li>\n</ol>\n","_postman_id":"2beed239-5876-4f7c-905c-09baf635d873"},{"name":"Resources","item":[{"name":"Retrieve User","id":"e4bc833f-c2cd-4434-af6a-f865be9e5774","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.fitrankings.com/v1/user/","description":"<h2 id=\"user-model\">User Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Atrribute</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>The user's first name.</td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>The user's surname.</td>\n</tr>\n<tr>\n<td><code>gender</code></td>\n<td>string</td>\n<td>The user's gender. Possible values are: Male, Female, Non-binary, Not Specified</td>\n</tr>\n<tr>\n<td><code>age</code></td>\n<td>number</td>\n<td>The user's age.</td>\n</tr>\n<tr>\n<td><code>height</code></td>\n<td>number</td>\n<td>The user's height, in centimeters.</td>\n</tr>\n<tr>\n<td><code>weight</code></td>\n<td>number</td>\n<td>The user's weight, in kilograms.</td>\n</tr>\n<tr>\n<td><code>resting_heart_rate</code></td>\n<td>number</td>\n<td>The user's resting heart rate, if available.</td>\n</tr>\n<tr>\n<td><code>utc_offset</code></td>\n<td>number</td>\n<td>The difference between UTC and the user's timezone, in seconds. East of UTC this value will be negative.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","user",""],"host":["api","fitrankings","com"],"query":[],"variable":[]}},"response":[{"id":"66ae9e81-9972-4de5-bedf-2a8b021adf33","name":"Retrieve User","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"url":"https://api.fitrankings.com/v1/user/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"first_name\": \"John\",\n    \"last_name\": \"Smith\",\n    \"gender\": \"Male\",\n    \"age\": 29,\n    \"resting_heart_rate\": 56.0,\n    \"height\": 190.5,\n    \"weight\": 88.45,\n    \"utc_offset\": -18000.0\n}"}],"_postman_id":"e4bc833f-c2cd-4434-af6a-f865be9e5774"},{"name":"List Workouts","id":"af3917ae-e781-4adc-81e4-c0f7e7d0b8b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.fitrankings.com/v1/workouts","description":"<h2 id=\"workout-model\">Workout Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Atribute</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>number</td>\n<td>A unique identifier of the workout activity.</td>\n</tr>\n<tr>\n<td><code>start</code></td>\n<td>string</td>\n<td>The date and time the workout was started, in ISO format.</td>\n</tr>\n<tr>\n<td><code>duration</code></td>\n<td>number</td>\n<td>The total time elapsed during the workout.</td>\n</tr>\n<tr>\n<td><code>distance</code></td>\n<td>number</td>\n<td>The distance completed during the workout, in meters.</td>\n</tr>\n<tr>\n<td><code>steps</code></td>\n<td>number</td>\n<td>The number of steps completed during the workout.</td>\n</tr>\n<tr>\n<td><code>elevation_gain</code></td>\n<td>number</td>\n<td>The total elevation gained during the workout, in meters, if available.</td>\n</tr>\n<tr>\n<td><code>calories</code></td>\n<td>number</td>\n<td>The total calories burned during the workout.</td>\n</tr>\n<tr>\n<td><code>met_minutes</code></td>\n<td>number</td>\n<td>The corresponding met minutes calculated for the workout.</td>\n</tr>\n<tr>\n<td><code>activity_type</code></td>\n<td>string</td>\n<td>The type of workout completed. See below for possible values.</td>\n</tr>\n<tr>\n<td><code>avg_heart_rate</code></td>\n<td>number</td>\n<td>The average heart rate during the workout, if available.</td>\n</tr>\n<tr>\n<td><code>max_heart_rate</code></td>\n<td>number</td>\n<td>The maximum heart rate reached during the workout, if available.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"activity-types\">Activity Types</h3>\n<p>May be equal to any one of the following: <code>\"WALK\", \"RUN\", \"SWIM\", \"BIKE\", \"HIKE\", \"SKI\", \"YOGA\", \"WEIGHT_TRAINING\", \"ROLLER_SKATE\", \"SURF\", \"STAIR_STEPPER\", \"ROW\", \"CANOE\", \"DANCE\", \"BOWL\", \"SAIL\", \"OTHER\", \"CROSSFIT\", \"SUP\", \"KAYAK\", \"ROCK_CLIMB\", \"KITESURF\", \"SNOWSHOE\", \"WINDSURF\", \"SITUP\", \"PUSHUP\", \"BASKETBALL\", \"GYMNASTICS\", \"DIVE\", \"BOOTCAMP\", \"ELLIPTICAL\", \"SNOWBOARD\", \"TENNIS\", \"PARAGLIDE\", \"ICE_SKATE\", \"HORSEBACK_RIDE\", \"BREATHING\", \"GOLF\", \"FIGHT\", \"VOLLEYBALL\"</code></p>\n","urlObject":{"protocol":"https","path":["v1","workouts"],"host":["api","fitrankings","com"],"query":[{"disabled":true,"description":{"content":"<p>Required. The date and time whereby all workouts returned will have occured after. Should be in ISO format, like: <code>YYYY-MM-DDThh:mm:ss</code></p>\n","type":"text/plain"},"key":"start","value":""},{"disabled":true,"description":{"content":"<p>Optional. The date and time whereby all workouts returned will have occured before. Defaults to the current time in UTC if omitted. Should be in ISO format, like: <code>YYYY-MM-DDThh:mm:ss</code></p>\n","type":"text/plain"},"key":"end","value":null},{"disabled":true,"description":{"content":"<p>Optional. Defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":""},{"disabled":true,"description":{"content":"<p>Optional. Defaults to 25; must be no greater than 50.</p>\n","type":"text/plain"},"key":"page_size","value":""}],"variable":[]}},"response":[{"id":"dc9566eb-c8f1-4c4b-9182-57ce821d12ce","name":"List Workouts","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"url":{"raw":"https://api.fitrankings.com/v1/workouts?start=2021-03-15T00:00:00","protocol":"https","host":["api","fitrankings","com"],"path":["v1","workouts"],"query":[{"key":"start","value":"2021-03-15T00:00:00"},{"key":"end","value":"2021-03-31T23:59:59","disabled":true},{"key":"page","value":"1","disabled":true},{"key":"page_size","value":"25","disabled":true}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 12651490,\n        \"start\": \"2021-03-16T21:52:49+00:00\",\n        \"duration\": 4008.072,\n        \"distance\": 0.0,\n        \"steps\": 0,\n        \"elevation_gain\": 0.0,\n        \"calories\": 364.0,\n        \"met_minutes\": 304.9853,\n        \"activity_type\": \"WEIGHT_TRAINING\",\n        \"avg_heart_rate\": 108.0,\n        \"avg_speed\": 0.0,\n        \"max_heart_rate\": 131.0\n    },\n    {\n        \"id\": 12651491,\n        \"start\": \"2021-03-16T19:56:52+00:00\",\n        \"duration\": 3640.528,\n        \"distance\": 0.0,\n        \"steps\": 1227,\n        \"elevation_gain\": 0.0,\n        \"calories\": 500.0,\n        \"met_minutes\": 418.9359,\n        \"activity_type\": \"OTHER\",\n        \"avg_heart_rate\": 154.0,\n        \"avg_speed\": 0.0,\n        \"max_heart_rate\": null\n    }\n]"}],"_postman_id":"af3917ae-e781-4adc-81e4-c0f7e7d0b8b7"},{"name":"List Sleep","id":"eab4ce35-6241-4a5e-a0dc-663e44099b73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.fitrankings.com/v1/sleep","description":"<h2 id=\"sleep-model\">Sleep Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Atrribute</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>number</td>\n<td>A unique identifier of the sleep activity.</td>\n</tr>\n<tr>\n<td><code>start</code></td>\n<td>string</td>\n<td>The date and time sleep was started, in ISO format.</td>\n</tr>\n<tr>\n<td><code>duration</code></td>\n<td>number</td>\n<td>The total time elapsed during the entire period of sleep, in seconds.</td>\n</tr>\n<tr>\n<td><code>light_sleep_duration</code></td>\n<td>number</td>\n<td>The time elapsed during light periods of sleep, in seconds.</td>\n</tr>\n<tr>\n<td><code>deep_sleep_duration</code></td>\n<td>number</td>\n<td>The time elapsed during deep periods of sleep, in seconds.</td>\n</tr>\n<tr>\n<td><code>rem_sleep_duration</code></td>\n<td>number</td>\n<td>The time elapsed during REM sleep periods, in seconds.</td>\n</tr>\n<tr>\n<td><code>avg_heart_rate</code></td>\n<td>number</td>\n<td>The average heart rate while sleeping, if available. This can also be interpreted as resting heart rate.</td>\n</tr>\n<tr>\n<td><code>max_heart_rate</code></td>\n<td>number</td>\n<td>The maximum heart rate reached while sleeping, if available.</td>\n</tr>\n<tr>\n<td><code>min_heart_rate</code></td>\n<td>number</td>\n<td>The minimum heart rate reached reached while sleeping, if available.</td>\n</tr>\n<tr>\n<td><code>respiratory_rate</code></td>\n<td>number</td>\n<td>The average number of breaths per minute while sleeping, if available.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","sleep"],"host":["api","fitrankings","com"],"query":[{"disabled":true,"description":{"content":"<p>Required. The date and time whereby all sleep activities returned will have occured after. Should be in ISO format, like: <code>YYYY-MM-DDThh:mm:ss</code></p>\n","type":"text/plain"},"key":"start","value":""},{"disabled":true,"description":{"content":"<p>Optional. The date and time whereby all sleep activities returned will have occured before. Defaults to the current time in UTC if omitted. Should be in ISO format, like: <code>YYYY-MM-DDThh:mm:ss</code></p>\n","type":"text/plain"},"key":"end","value":""},{"disabled":true,"description":{"content":"<p>Optional. Defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":""},{"disabled":true,"description":{"content":"<p>Optional. Defaults to 25; must be no greater than 50.</p>\n","type":"text/plain"},"key":"page_size","value":""}],"variable":[]}},"response":[{"id":"fd69e1bf-eee7-4fae-88eb-c31e1924b2f9","name":"List Sleep","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"url":{"raw":"https://api.fitrankings.com/v1/sleep?start=2021-03-27T00:00:00&end=2021-03-27T23:59:59","protocol":"https","host":["api","fitrankings","com"],"path":["v1","sleep"],"query":[{"key":"start","value":"2021-03-27T00:00:00"},{"key":"end","value":"2021-03-27T23:59:59"},{"key":"page","value":"1","disabled":true},{"key":"page_size","value":"25","disabled":true}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 12651585,\n        \"start\": \"2021-03-27T02:49:17+00:00\",\n        \"duration\": 27540.0,\n        \"light_sleep_duration\": 16590.0,\n        \"deep_sleep_duration\": 8040.0,\n        \"rem_sleep_duration\": 1470.0,\n        \"max_heart_rate\": 66.0,\n        \"avg_heart_rate\": 55.32,\n        \"min_heart_rate\": 45.0,\n        \"respiratory_rate\": 14.625\n    }\n]"}],"_postman_id":"eab4ce35-6241-4a5e-a0dc-663e44099b73"},{"name":"Retrieve Daily Summary","id":"696eb589-bf17-446f-9084-b09c32113963","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.fitrankings.com/v1/summary","description":"<h2 id=\"summary-model\">Summary Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Atrribute</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>workouts</code></td>\n<td>number</td>\n<td>The number of workouts completed on the provided date.</td>\n</tr>\n<tr>\n<td><code>duration</code></td>\n<td>number</td>\n<td>The total elapsed time during workouts.</td>\n</tr>\n<tr>\n<td><code>distance</code></td>\n<td>number</td>\n<td>The total distance traversed throughout the day, including workouts.</td>\n</tr>\n<tr>\n<td><code>steps</code></td>\n<td>number</td>\n<td>The total steps taken throughout the day, including workouts.</td>\n</tr>\n<tr>\n<td><code>elevation_gain</code></td>\n<td>number</td>\n<td>The total elevation climbed throughout the day, including workouts.</td>\n</tr>\n<tr>\n<td><code>calories</code></td>\n<td>number</td>\n<td>The total calories burned with workouts.</td>\n</tr>\n<tr>\n<td><code>met_minutes</code></td>\n<td>number</td>\n<td>The total met minutes completed with workouts.</td>\n</tr>\n<tr>\n<td><code>avg_heart_rate</code></td>\n<td>number</td>\n<td>The daily average heart rate, if available.</td>\n</tr>\n<tr>\n<td><code>max_heart_rate</code></td>\n<td>number</td>\n<td>The maximum heart rate reached on the provided date, if available.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","summary"],"host":["api","fitrankings","com"],"query":[{"disabled":true,"description":{"content":"<p>Required. The calendar date for which a summary is to be provided. Should be in ISO format, like: <code>YYYY-MM-DD</code>.</p>\n","type":"text/plain"},"key":"date","value":null}],"variable":[]}},"response":[{"id":"17f1a6fc-58d8-4916-a61c-e688d374bdfd","name":"Retrieve Daily Summary","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"url":{"raw":"https://api.fitrankings.com/v1/summary?date=2021-03-09","protocol":"https","host":["api","fitrankings","com"],"path":["v1","summary"],"query":[{"key":"date","value":"2021-03-09"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"workouts\": 2,\n    \"duration\": 6773.531,\n    \"distance\": 5426.9314,\n    \"steps\": 1255,\n    \"elevation_gain\": 0.0,\n    \"calories\": 748.0,\n    \"met_minutes\": 626.7281,\n    \"avg_heart_rate\": 108.0,\n    \"max_heart_rate\": 165.0\n}"}],"_postman_id":"696eb589-bf17-446f-9084-b09c32113963"}],"id":"7efbeae4-ba4f-4761-900d-4953f793d2d4","description":"<p>The following resources may be used to understand a user's fitness activity. Each successful request will respond with the applicable resource corresponding to the user whose <code>access_token</code> is provided. Every request must include a user's <code>access_token</code> in the headers, like so: <code>Authorization: Bearer &lt;access_token&gt;</code></p>\n","event":[{"listen":"prerequest","script":{"id":"c01141d7-f0bc-434d-8853-ca69bd37a44d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b1ad9ded-88dc-4eee-92a0-8acf81e97135","type":"text/javascript","exec":[""]}}],"_postman_id":"7efbeae4-ba4f-4761-900d-4953f793d2d4"}],"event":[{"listen":"prerequest","script":{"id":"3331277d-ad79-4412-96ae-faa0bdd9ec7e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0fee5cc0-3aa6-4048-ace7-510a3b57edf5","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://v1.fitrankings.com"}]}