{"info":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","description":"<html><head></head><body><p>The Micrometrics <a href=\"https://en.wikipedia.org/wiki/API\">API</a> permits the transfer and updating of Micrometrics data, returning <a href=\"https://en.wikipedia.org/wiki/JSON\">JSON</a>-encoded responses. It is organized around <a href=\"https://en.wikipedia.org/wiki/Representational_State_Transfer\">REST</a>.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<h2 id=\"what-do-i-need-to-authenticate\">What do I need to authenticate?</h2>\n<p>In order to authenticate, you will require a set of API Credentials. Each set of credentials permits certain permissions for the data that can be accessed. If you do not have them, please contact <a href=\"https://mailto:support@micrometrics.com\">support@micrometrics.com</a> and request Experience API Credentials.</p>\n<h2 id=\"how-are-authenticated-requests-made\">How are authenticated requests made?</h2>\n<p>The Micrometrics API uses <a href=\"https://en.wikipedia.org/wiki/HMAC\">HMAC</a> in order to verify the authenticity and identity of the request. With this, you do not need to send a username &amp; password, nor will sending a request to an authentication endpoint be necessary. You simply will need to have a helper method to generate a <em>request signature</em> that is sent as a header in your request.</p>\n<p>Ensure each of your requests contains the following header:</p>\n<p><strong>Key:</strong> <code>Authorization</code></p>\n<p><strong>Value:</strong> <code>APIAuth (your_api_key):(your_request_signature)</code></p>\n<h2 id=\"generating-a-request-signature\">Generating a Request Signature</h2>\n<p><strong>The format for the request signature is:</strong><br><code>Base64(HmacSHA1(request_method,content_type,content,resource_uri,timestamp, your_api_secret))</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n<th>Type</th>\n<th>Examples</th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>request_method</td>\n<td>The method you are operating on for the given endpoint.</td>\n<td>String</td>\n<td>\"GET\", \"POST\", \"PUT\"</td>\n<td></td>\n</tr>\n<tr>\n<td>content_type</td>\n<td>The content type of your request. For now, this is done in JSON</td>\n<td>String</td>\n<td>\"application/json\"</td>\n<td></td>\n</tr>\n<tr>\n<td>content</td>\n<td>A Base64-encoded MD5 hash of the body of your request. Leave this blank if there is no body (eg: GET requests)</td>\n<td>String</td>\n<td>\"ODdFNzcxMUM5Rjk1NzMzNkRFMEU4RTlDMTUyMzQ2NTE=\"</td>\n<td></td>\n</tr>\n<tr>\n<td>resource_uri</td>\n<td>The <a href=\"https://restfulapi.net/\">resource</a> you are acting on.</td>\n<td>String</td>\n<td>\"/api/experience/devices/{device_id}\"</td>\n<td></td>\n</tr>\n<tr>\n<td>Timestamp</td>\n<td>The current timestamp of the time you are making this request. We use this to ensure old request signatures cannot be re-used</td>\n<td>String</td>\n<td>\"Fri, 04 Sep 2020 13:35:05 GMT\"</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"examples-of-request-signatures\">Examples of Request Signatures</h2>\n<p>GET a device with the hash of <code>Tgc9VyKJ-8a9-89uV7wwVc</code>:<br><code>Base64(HmacSHA1(\"GET,application/json,,/api/experience/devices/Tgc9VyKJ-8a9-89uV7wwVc,Fri, 04 Sep 2020 13:35:05 GMT\", your_api_secret))</code></p>\n<p>POST a survey response to survey with the ID of <code>237</code>:</p>\n<p><code>Base64(HmacSHA1(\"POST,application/json,0/nBW1QKiUuBw1ghZBwkpg==,/api/experience/surveys/237/responses,Fri, 04 Sep 2020 13:43:56 GMT\",your_api_secret))</code></p>\n<h1 id=\"pagination\">Pagination</h1>\n<p>API responses are paginated using a cursor. When you request an index page for a resource, the response will contain a <code>Next-Cursor</code> header. To fetch the next page, set the <code>cursor</code> parameter on your next request to the value of this header.</p>\n<p>If a response does not have the <code>Next-Cursor</code> header, or if it is empty, then there are no further records to be fetched.</p>\n<h1 id=\"request-throttling\">Request Throttling</h1>\n<p>API clients are limited in the number of requests they can make in a short period of time. If a client exceeds that limit, requests they make will fail with an <code>HTTP 429: Too Many Requests</code> error.</p>\n<p>Our throttles are based on a <a href=\"https://en.wikipedia.org/wiki/Leaky_bucket\">leaky bucket algorithm</a>. Each client has a bucket, and each API request adds a token to the bucket. The bucket 'leaks' at a certain rate, making room for more tokens. If the bucket gets full then further requests cannot be made until there is room in the bucket.</p>\n<p>This means that a client can make a burst of requests that fill the bucket faster than it is being emptied, but only to a point. After that they must wait.</p>\n<p>By default, API clients have room in their bucket for 10 tokens, and it leaks at a rate of 1 token every second. Every HTTP request adds a single token to the bucket.</p>\n<p>The following response headers contain details on your client's current throttling.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Header</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>RateLimit-Rate</code></td>\n<td>How many requests per second your client supports</td>\n</tr>\n<tr>\n<td><code>RateLimit-Burst-Remaining</code></td>\n<td>How many more requests your client can make in a short period before being throttled</td>\n</tr>\n<tr>\n<td><code>RateLimit-Retry-After</code></td>\n<td>How long your client needs to wait after being throttled before requests will succeed again.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"global-url-parameters\">Global URL Parameters</h1>\n<p>Some URL Parameters can be used on any request. The following can be used:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Example</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_at</td>\n<td>\"2020-09-05T23:59:59.999-04:00\"</td>\n<td>Limits resource results to <em>after</em> the start_at value. Defaults to 1 month before end of day of today</td>\n</tr>\n<tr>\n<td>end_at</td>\n<td>\"2020-10-05T23:59:59.999-04:00\"</td>\n<td>Limits resource results to <em>before</em> the end_at value. Defaults to end of day of today</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"faq\">FAQ</h1>\n<h2 id=\"i-keep-receiving-a-401-unauthorized-status-yet-my-api-key-and-secret-are-correct\">I keep receiving a 401 unauthorized status, yet my API Key and Secret are correct</h2>\n<ol>\n<li><p>Ensure you are generating your request signature correctly from the section above</p>\n</li>\n<li><p>Ensure you have the correct default headers. We recommend having the three:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Value</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Date</td>\n<td><code>{CurrentDateTime}</code></td>\n<td>Wed, 09 Sep 2020 21:27:25 GMT</td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n<td>application/json</td>\n</tr>\n<tr>\n<td>Authentication</td>\n<td>APIAuth <code>{your_key}</code>:<code>{request_signature}</code></td>\n<td>APIAuth OaDNzi:fefNiwRCXbKgypGYDNIgPJ3FDrJns4c2++GThu=</td>\n</tr>\n</tbody>\n</table>\n</div></li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authentication","slug":"authentication"},{"content":"Pagination","slug":"pagination"},{"content":"Request Throttling","slug":"request-throttling"},{"content":"Global URL Parameters","slug":"global-url-parameters"},{"content":"FAQ","slug":"faq"}],"owner":"19265575","collectionId":"754c78b3-6a94-47f6-9825-34e50966bf24","publishedId":"2sBXqKqLe5","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-05-04T20:55:49.000Z"},"item":[{"name":"Answers","item":[{"name":"Answers","id":"73e5d0d2-96af-4467-a091-f46d4e4e1c38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"/questions/:question_id/answers","description":"<p>Return a list of answers for a particular survey</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["questions",":question_id","answers"],"host":[""],"query":[],"variable":[{"id":"b5f5c1cf-ef93-45a3-a6bc-b22092e9a22d","type":"string","value":"{{question_id}}","key":"question_id"}]}},"response":[{"id":"3e9aea9f-f390-4ece-970b-f3dff4c71b94","name":"Show Answers","originalRequest":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"APIAuth 1trfD0G93fr2:F=4wqg54m35g543==","type":"text"}],"url":"/answers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Rate","value":"1.0"},{"key":"RateLimit-Burst-Remaining","value":"9"},{"key":"RateLimit-Retry-After","value":"1.0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"52bfba61a717a4fbcc6753d14b5706e6\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_Surveys_session=TkdHeU9mSVpLVEN0RGtDRStnWGxLZUtWMk9hOFc5cGFSYndjYXJ2OEswMVZVdkJUS1ZNUFFRNVMrYTdlL1Zmb2Y4ZVZLMGVvaklMbjdMS0JpMm9hdTNwSk15N0VlU3ZZYVNwN2lBNlRKQ3RZZ2k1SHAxT0FhTmpiL2tPUzNZMHorNndlM2JPUnVobEEraE9Dano0NXh6UXVKajlQQSszNmEzelhUVndweWt5OUo2RjBteHQxVjRKTk1pNThhUkJTLS1EaHRrZklKQmVQQzA2eGpMWXFvYyt3PT0%3D--0aa4ae97aad57d068bf1a010507d5970fc0e4512; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"ef92a37c-fc92-4c89-bdad-26247f22bfce"},{"key":"X-Runtime","value":"8.787683"},{"key":"Connection","value":"close"},{"key":"Server","value":"thin"}],"cookie":[],"responseTime":null,"body":"{\n    \"answers\": [\n        {\n            \"id\": 2624,\n            \"survey_id\": 9,\n            \"question_id\": 965,\n            \"response_id\": 584,\n            \"content\": \"Yes\",\n            \"row_title\": null,\n            \"column_title\": null,\n            \"duration\": 1391,\n            \"skipped\": false,\n            \"created_at\": \"2020-10-05T15:55:24.863Z\",\n            \"updated_at\": \"2020-10-05T15:55:24.863Z\"\n        },\n        {\n            \"id\": 2625,\n            \"survey_id\": 9,\n            \"question_id\": 962,\n            \"response_id\": 584,\n            \"content\": \"Some feedback I left for a business\",\n            \"row_title\": \"issue_description\",\n            \"column_title\": null,\n            \"duration\": 0,\n            \"skipped\": false,\n            \"created_at\": \"2020-10-05T15:55:24.881Z\",\n            \"updated_at\": \"2020-10-05T15:55:24.881Z\"\n        },\n        {\n            \"id\": 2626,\n            \"survey_id\": 9,\n            \"question_id\": 962,\n            \"response_id\": 584,\n            \"content\": \"Foo Bar\",\n            \"row_title\": \"name\",\n            \"column_title\": null,\n            \"duration\": 0,\n            \"skipped\": false,\n            \"created_at\": \"2020-10-05T15:55:24.891Z\",\n            \"updated_at\": \"2020-10-05T15:55:24.891Z\"\n        },\n        {\n            \"id\": 2627,\n            \"survey_id\": 9,\n            \"question_id\": 962,\n            \"response_id\": 584,\n            \"content\": \"foo@bar.com\",\n            \"row_title\": \"email\",\n            \"column_title\": null,\n            \"duration\": 0,\n            \"skipped\": false,\n            \"created_at\": \"2020-10-05T15:55:24.902Z\",\n            \"updated_at\": \"2020-10-05T15:55:24.902Z\"\n        },\n        {\n            \"id\": 2628,\n            \"survey_id\": 9,\n            \"question_id\": 962,\n            \"response_id\": 584,\n            \"content\": \"12315415511\",\n            \"row_title\": \"phone_number\",\n            \"column_title\": null,\n            \"duration\": 0,\n            \"skipped\": false,\n            \"created_at\": \"2020-10-05T15:55:24.913Z\",\n            \"updated_at\": \"2020-10-05T15:55:24.913Z\"\n        },\n        {\n            \"id\": 2629,\n            \"survey_id\": 9,\n            \"question_id\": 962,\n            \"response_id\": 584,\n            \"content\": \"41\",\n            \"row_title\": \"room_number\",\n            \"column_title\": null,\n            \"duration\": 0,\n            \"skipped\": false,\n            \"created_at\": \"2020-10-05T15:55:24.924Z\",\n            \"updated_at\": \"2020-10-05T15:55:24.924Z\"\n        }\n    ]\n}"}],"_postman_id":"73e5d0d2-96af-4467-a091-f46d4e4e1c38"},{"name":"Answer","id":"4cd2fbf5-51af-49dd-93e0-50e93d371c39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Date","type":"text","value":"{{httpdate}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"/answers/:answer_id","description":"<p>Return a single answer</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["answers",":answer_id"],"host":[""],"query":[],"variable":[{"id":"bace97d3-e192-4455-ae7c-8dabe354a601","type":"string","value":"{{answer_id}}","key":"answer_id"}]}},"response":[{"id":"c54fd292-eb9f-4b33-8723-d481f8facd20","name":"Show Answer","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"APIAuth 1trfgra/F=4wqg54m35g543==","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"url":{"raw":"/answers/:answer_id","host":[""],"path":["answers",":answer_id"],"variable":[{"key":"answer_id","value":"{{answer_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Rate","value":"1.0"},{"key":"RateLimit-Burst-Remaining","value":"9"},{"key":"RateLimit-Retry-After","value":"1.0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"52bfba61a717a4fbcc6753d14b5706e6\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_Surveys_session=TkdHeU9mSVpLVEN0RGtDRStnWGxLZUtWMk9hOFc5cGFSYndjYXJ2OEswMVZVdkJUS1ZNUFFRNVMrYTdlL1Zmb2Y4ZVZLMGVvaklMbjdMS0JpMm9hdTNwSk15N0VlU3ZZYVNwN2lBNlRKQ3RZZ2k1SHAxT0FhTmpiL2tPUzNZMHorNndlM2JPUnVobEEraE9Dano0NXh6UXVKajlQQSszNmEzelhUVndweWt5OUo2RjBteHQxVjRKTk1pNThhUkJTLS1EaHRrZklKQmVQQzA2eGpMWXFvYyt3PT0%3D--0aa4ae97aad57d068bf1a010507d5970fc0e4512; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"ef92a37c-fc92-4c89-bdad-26247f22bfce"},{"key":"X-Runtime","value":"8.787683"},{"key":"Connection","value":"close"},{"key":"Server","value":"thin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": {{answer_id}},\n    \"survey_id\": 9,\n    \"question_id\": 965,\n    \"response_id\": 584,\n    \"content\": \"Yes\",\n    \"row_title\": null,\n    \"column_title\": null,\n    \"duration\": 1391,\n    \"skipped\": false,\n    \"created_at\": \"2020-10-05T15:55:24.863Z\",\n    \"updated_at\": \"2020-10-05T15:55:24.863Z\"\n}"}],"_postman_id":"4cd2fbf5-51af-49dd-93e0-50e93d371c39"}],"id":"6fbdf12f-1982-4492-a25e-ecaad8d02e1d","description":"<p>Return all available answers for the given credentials</p>\n","_postman_id":"6fbdf12f-1982-4492-a25e-ecaad8d02e1d","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}}},{"name":"Devices","item":[{"name":"Device","id":"7d603601-c6ef-4c9b-ab5c-565d3c4dbeb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"/devices/:hash","description":"<p>Get a single device based on its hash. The <strong>Device Hash</strong> is a unique identifier that can be used on URLs to request a given device.</p>\n<p>It also contains pertinent metadata related to the device, such as the name of the default survey associated with it, last updated, and the rules surrounding the survey to show based on number of connection times for that user.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["devices",":hash"],"host":[""],"query":[],"variable":[{"id":"e2695499-7adb-4d42-9ed2-2e6101b69545","type":"string","value":"{{device_hash}}","key":"hash"}]}},"response":[{"id":"2a34b430-6e48-4c3c-8ddf-b965ead9c845","name":"Device","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"APIAuth 1trfD0G93fr2:F=4wqg54m35g543==","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"url":{"raw":"/devices/:id","host":[""],"path":["devices",":id"],"variable":[{"key":"id","value":"{{device_id}}","description":"The device ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"device\": {\n        \"id\": {{device_id}},\n        \"name\": \"Front Desk WiFi\",\n        \"company_name\": \"Lorem Ipsum Inc.\",\n        \"type\": \"router\",\n        \"redirect\": \"https://google.com/\",\n        \"url_hash\": \"Tgc9VyKJ-8a9-89uV7wwVc\",\n        \"created_at\": \"2020-02-12T16:50:28.009Z\",\n        \"updated_at\": \"2020-06-04T20:17:27.829Z\",\n        \"account\": {\n            \"flags\": [\n                \"guestview\",\n                \"guestphone\",\n                \"helixportal\",\n                \"wifibulletins\",\n                \"helix_issues\",\n                \"survey_builder\",\n                \"alertgroups\"\n            ],\n            \"redirect_timeout\": 5\n        },\n        \"survey\": {\n            \"id\": {{survey_id}},\n            \"title\": \"My Test Survey\",\n            \"status\": \"published\",\n            \"created_at\": \"2018-07-31T14:39:20.185Z\",\n            \"updated_at\": \"2020-02-12T16:49:58.816Z\"\n        },\n        \"connection_type\": \"connection_time\",\n        \"connection_expire\": 2,\n        \"connection_config\": [\n            {\n                \"connection_count\": 1,\n                \"operator\": \"==\",\n                \"survey_id\": {{survey_id}}\n            },\n            {\n                \"connection_count\": 2,\n                \"operator\": \">=\",\n                \"survey_id\": 7\n            }\n        ]\n    }\n}"}],"_postman_id":"7d603601-c6ef-4c9b-ab5c-565d3c4dbeb0"}],"id":"bb231e1a-5d45-4de4-8744-75d0312e5d20","description":"<p><strong>Devices</strong> are access points that reside within a given location. For example, these could be WiFi routers or iPads that are used to dispatch a survey to customers.</p>\n","_postman_id":"bb231e1a-5d45-4de4-8744-75d0312e5d20","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}}},{"name":"Locations","item":[{"name":"Location","id":"653e673d-bbc0-42de-b8c7-59f90493f5ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}","type":"text"},{"key":"Connection-Type","value":"application/json","type":"text"}],"url":"/locations/:id","description":"<p>Returns a single location. This returns pertinent metadata such as location name, address, and associated device IDs.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["locations",":id"],"host":[""],"query":[],"variable":[{"id":"25036ffe-32a6-4f83-b1b0-e33dd8270147","description":{"content":"<p>The ID corresponding to our target survey</p>\n","type":"text/plain"},"type":"string","value":"{{location_id}}","key":"id"}]}},"response":[{"id":"5b2d6a1e-3e3f-464b-a53d-fdf09535f8ad","name":"Location","originalRequest":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"APIAuth 1trfD0G93fr2:F=4wqg54m35g543==","type":"text"}],"url":{"raw":"/locations/:id","host":[""],"path":["locations",":id"],"variable":[{"key":"id","value":"{{location_id}}","type":"string","description":"The ID corresponding to our target survey"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"location\": {\n        \"name\": \"Default Location\",\n        \"address\": {\n            \"id\": 2,\n            \"address_line_1\": \"123 Test Street\",\n            \"address_line_2\": \"Unit 5\",\n            \"city\": \"Toronto\",\n            \"province\": \"Ontario\",\n            \"country\": \"CA\",\n            \"postal_code\": \"K1K0F0\",\n            \"telephone\": \"1231231234\",\n            \"fax\": \"9991119999\",\n            \"created_at\": \"2018-07-31T14:39:18.217Z\",\n            \"updated_at\": \"2020-09-09T20:24:33.169Z\"\n        },\n        \"devices\": [\n            93,\n            22,\n            13\n        ]\n    }\n}"}],"_postman_id":"653e673d-bbc0-42de-b8c7-59f90493f5ef"},{"name":"Location Devices","id":"e52f98f4-c6a4-4aca-8090-cbe585ea673a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"/locations/:location_id/devices","description":"<p>Retrieves a list of devices belonging to a given location</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["locations",":location_id","devices"],"host":[""],"query":[],"variable":[{"id":"db5dfebf-3453-4ac0-b2f9-a51cc6cabbbf","type":"string","value":"{{location_id}}","key":"location_id"}]}},"response":[{"id":"73fb9f8f-87a9-428a-8857-78301e2ddf6b","name":"Location Devices","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"APIAuth 1trfD0G93fr2:F=4wqg54m35g543==","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"url":{"raw":"/locations/:id/devices","host":[""],"path":["locations",":id","devices"],"variable":[{"key":"id","value":"{{location_id}}","description":"The ID of the location"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[{\n\t\"name\": \"Front Desk\",\n\t\"type\": \"Wireless Router\",\n\t\"promo_text\": \"Test Front Desk Promo\",\n\t\"surveys\": [4901]\n},\n{\n\t\"name\": \"Rear Desk\",\n\t\"type\": \"Wireless Router\",\n\t\"promo_text\": \"Test Rear Desk Promo\",\n\t\"surveys\": [5015, 3792]\n}]"}],"_postman_id":"e52f98f4-c6a4-4aca-8090-cbe585ea673a"},{"name":"Locations","id":"aeb803e4-91f4-4d8c-bbcc-16daf26a6709","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"/locations","description":"<p>Return all locations for the requested account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["locations"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"bdb17b94-3691-4e1b-8b86-4b2658991051","name":"Locations","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"APIAuth 1trfD0G93fr2:F=4wqg54m35g543==","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"url":"/locations"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n\t{\n\t\t\"id\": 550,\n\t\t\"name\": \"Lorem Ipsum Inc. Toronto - East\"\n\t},\n\t{\n\t\t\"id\": 551,\n\t\t\"name\": \"Lorem Ipsum Inc. Toronto - West\"\n\t},\n\t{\n\t\t\"id\": 552,\n\t\t\"name\": \"Lorem Ipsum Inc. Toronto - South\"\n\t}\n]"}],"_postman_id":"aeb803e4-91f4-4d8c-bbcc-16daf26a6709"}],"id":"f3706942-7979-41ec-8701-9d175fe38397","description":"<p>A <strong>location</strong> represents a physical place. They have a name and often contain one or more associated devices.</p>\n<p>For example, The Empire State Building (Location) may have numerous WiFi access points (Devices).</p>\n","_postman_id":"f3706942-7979-41ec-8701-9d175fe38397","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}}},{"name":"Questions","item":[{"name":"Question","id":"ac0a3fdf-6f76-4600-9be7-0001de7ca0cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Date","type":"text","value":"{{httpdate}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"/questions/:question_id","description":"<p>Return single question by ID</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["questions",":question_id"],"host":[""],"query":[],"variable":[{"id":"76a5b4a9-e919-46e5-a5f7-fb4eb9f32963","type":"string","value":"{{question_id}}","key":"question_id"}]}},"response":[{"id":"2537f8ef-2407-4f6b-9186-896149306c01","name":"Show Question","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"APIAuth 1trfD0G93fr2:F=4wqg54m35g543==","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"url":{"raw":"/questions/:question_id","host":[""],"path":["questions",":question_id"],"variable":[{"key":"question_id","value":"{{question_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Rate","value":"1.0"},{"key":"RateLimit-Burst-Remaining","value":"9"},{"key":"RateLimit-Retry-After","value":"1.0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"52bfba61a717a4fbcc6753d14b5706e6\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_Surveys_session=TkdHeU9mSVpLVEN0RGtDRStnWGxLZUtWMk9hOFc5cGFSYndjYXJ2OEswMVZVdkJUS1ZNUFFRNVMrYTdlL1Zmb2Y4ZVZLMGVvaklMbjdMS0JpMm9hdTNwSk15N0VlU3ZZYVNwN2lBNlRKQ3RZZ2k1SHAxT0FhTmpiL2tPUzNZMHorNndlM2JPUnVobEEraE9Dano0NXh6UXVKajlQQSszNmEzelhUVndweWt5OUo2RjBteHQxVjRKTk1pNThhUkJTLS1EaHRrZklKQmVQQzA2eGpMWXFvYyt3PT0%3D--0aa4ae97aad57d068bf1a010507d5970fc0e4512; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"ef92a37c-fc92-4c89-bdad-26247f22bfce"},{"key":"X-Runtime","value":"8.787683"},{"key":"Connection","value":"close"},{"key":"Server","value":"thin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": {{question_id}},\n    \"type\": \"singleline\",\n    \"subtype\": \"singleline_default\",\n    \"options\": {\n        \"fields\": []\n    },\n    \"created_at\": \"2018-07-31T14:39:18.466Z\",\n    \"updated_at\": \"2018-07-31T14:39:18.466Z\"\n}"}],"_postman_id":"ac0a3fdf-6f76-4600-9be7-0001de7ca0cd"},{"name":"Questions","id":"e789bf39-c428-41d2-9616-0cc10663191d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Date","type":"text","value":"{{httpdate}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"/questions?sort=DESC","description":"<p>Return all questions available to the current credentials</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["questions"],"host":[""],"query":[{"disabled":true,"key":"field","value":"\"updated_at\""},{"key":"sort","value":"DESC"}],"variable":[]}},"response":[{"id":"293d17bf-91b4-4cb3-9dd5-2e88c5fb4b2e","name":"Show Questions","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"APIAuth 1trfD0G93fr2:F=4wqg54m35g543==","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"url":"/questions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Rate","value":"1.0"},{"key":"RateLimit-Burst-Remaining","value":"9"},{"key":"RateLimit-Retry-After","value":"1.0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"52bfba61a717a4fbcc6753d14b5706e6\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_Surveys_session=TkdHeU9mSVpLVEN0RGtDRStnWGxLZUtWMk9hOFc5cGFSYndjYXJ2OEswMVZVdkJUS1ZNUFFRNVMrYTdlL1Zmb2Y4ZVZLMGVvaklMbjdMS0JpMm9hdTNwSk15N0VlU3ZZYVNwN2lBNlRKQ3RZZ2k1SHAxT0FhTmpiL2tPUzNZMHorNndlM2JPUnVobEEraE9Dano0NXh6UXVKajlQQSszNmEzelhUVndweWt5OUo2RjBteHQxVjRKTk1pNThhUkJTLS1EaHRrZklKQmVQQzA2eGpMWXFvYyt3PT0%3D--0aa4ae97aad57d068bf1a010507d5970fc0e4512; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"ef92a37c-fc92-4c89-bdad-26247f22bfce"},{"key":"X-Runtime","value":"8.787683"},{"key":"Connection","value":"close"},{"key":"Server","value":"thin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1190,\n        \"type\": \"multiplechoice\",\n        \"subtype\": \"mc_short\",\n        \"options\": {\n            \"fields\": [\n                251,\n                252,\n                253,\n                254\n            ]\n        },\n        \"created_at\": \"2020-09-28T19:18:59.062Z\",\n        \"updated_at\": \"2020-09-28T19:18:59.472Z\"\n    },\n    {\n        \"id\": 1191,\n        \"type\": \"multiplechoice\",\n        \"subtype\": \"mc_short\",\n        \"options\": {\n            \"fields\": [\n                255,\n                256,\n                257,\n                258\n            ]\n        },\n        \"created_at\": \"2020-09-28T19:19:23.869Z\",\n        \"updated_at\": \"2020-09-28T19:19:24.120Z\"\n    },\n    {\n        \"id\": 1192,\n        \"type\": \"singleline\",\n        \"subtype\": \"singleline_default\",\n        \"options\": {\n            \"fields\": []\n        },\n        \"created_at\": \"2020-10-05T16:39:48.020Z\",\n        \"updated_at\": \"2020-10-05T16:39:48.020Z\"\n    }\n]"}],"_postman_id":"e789bf39-c428-41d2-9616-0cc10663191d"},{"name":"Question Answers","id":"14b8de5a-f5b6-4058-8747-7e60cf8214bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"/questions/:question_id/answers","description":"<p>Return a list of answers associated with the specified question</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["questions",":question_id","answers"],"host":[""],"query":[],"variable":[{"id":"cdf2084d-61b9-4e4e-94b7-a73ddd663956","type":"string","value":"{{question_id}}","key":"question_id"}]}},"response":[{"id":"858f9c45-8f49-48dc-8162-46630b2d0beb","name":"Show Answers","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"APIAuth 1trfD0G93fr2:F=4wqg54m35g543==","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"url":{"raw":"/questions/:question_id/answers","host":[""],"path":["questions",":question_id","answers"],"variable":[{"key":"question_id","value":"{{question_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Rate","value":"1.0"},{"key":"RateLimit-Burst-Remaining","value":"9"},{"key":"RateLimit-Retry-After","value":"1.0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"52bfba61a717a4fbcc6753d14b5706e6\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_Surveys_session=TkdHeU9mSVpLVEN0RGtDRStnWGxLZUtWMk9hOFc5cGFSYndjYXJ2OEswMVZVdkJUS1ZNUFFRNVMrYTdlL1Zmb2Y4ZVZLMGVvaklMbjdMS0JpMm9hdTNwSk15N0VlU3ZZYVNwN2lBNlRKQ3RZZ2k1SHAxT0FhTmpiL2tPUzNZMHorNndlM2JPUnVobEEraE9Dano0NXh6UXVKajlQQSszNmEzelhUVndweWt5OUo2RjBteHQxVjRKTk1pNThhUkJTLS1EaHRrZklKQmVQQzA2eGpMWXFvYyt3PT0%3D--0aa4ae97aad57d068bf1a010507d5970fc0e4512; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"ef92a37c-fc92-4c89-bdad-26247f22bfce"},{"key":"X-Runtime","value":"8.787683"},{"key":"Connection","value":"close"},{"key":"Server","value":"thin"}],"cookie":[],"responseTime":null,"body":"{\n    \"answers\": [\n        {\n            \"id\": 2625,\n            \"survey_id\": 9,\n            \"question_id\": {{question_id}},\n            \"response_id\": 584,\n            \"content\": \"Some feedback I left for a business\",\n            \"row_title\": \"issue_description\",\n            \"column_title\": null,\n            \"duration\": 0,\n            \"skipped\": false,\n            \"created_at\": \"2020-10-05T15:55:24.881Z\",\n            \"updated_at\": \"2020-10-05T15:55:24.881Z\"\n        },\n        {\n            \"id\": 2626,\n            \"survey_id\": 9,\n            \"question_id\": {{question_id}},\n            \"response_id\": 584,\n            \"content\": \"Foo Bar\",\n            \"row_title\": \"name\",\n            \"column_title\": null,\n            \"duration\": 0,\n            \"skipped\": false,\n            \"created_at\": \"2020-10-05T15:55:24.891Z\",\n            \"updated_at\": \"2020-10-05T15:55:24.891Z\"\n        },\n        {\n            \"id\": 2627,\n            \"survey_id\": 9,\n            \"question_id\": {{question_id}},\n            \"response_id\": 584,\n            \"content\": \"foo@bar.com\",\n            \"row_title\": \"email\",\n            \"column_title\": null,\n            \"duration\": 0,\n            \"skipped\": false,\n            \"created_at\": \"2020-10-05T15:55:24.902Z\",\n            \"updated_at\": \"2020-10-05T15:55:24.902Z\"\n        },\n        {\n            \"id\": 2628,\n            \"survey_id\": 9,\n            \"question_id\": {{question_id}},\n            \"response_id\": 584,\n            \"content\": \"12315415511\",\n            \"row_title\": \"phone_number\",\n            \"column_title\": null,\n            \"duration\": 0,\n            \"skipped\": false,\n            \"created_at\": \"2020-10-05T15:55:24.913Z\",\n            \"updated_at\": \"2020-10-05T15:55:24.913Z\"\n        },\n        {\n            \"id\": 2629,\n            \"survey_id\": 9,\n            \"question_id\": {{question_id}},\n            \"response_id\": 584,\n            \"content\": \"41\",\n            \"row_title\": \"room_number\",\n            \"column_title\": null,\n            \"duration\": 0,\n            \"skipped\": false,\n            \"created_at\": \"2020-10-05T15:55:24.924Z\",\n            \"updated_at\": \"2020-10-05T15:55:24.924Z\"\n        }\n    ]\n}"}],"_postman_id":"14b8de5a-f5b6-4058-8747-7e60cf8214bd"},{"name":"Question Translations","id":"16905690-7197-44e8-bf07-7258a5def2cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Date","type":"text","value":"{{httpdate}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"/questions/:question_id/translations","description":"<p>Return a list of translations for the specified question</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["questions",":question_id","translations"],"host":[""],"query":[],"variable":[{"id":"28fe7bff-49db-4c57-8afb-ff26c47e9f70","type":"string","value":"{{question_id}}","key":"question_id"}]}},"response":[{"id":"761b324a-e27d-462b-917d-ccdcfc8ddbbc","name":"Show Translations","originalRequest":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"APIAuth 1trfD0G93fr2:F=4wqg54m35g543==","type":"text"}],"url":{"raw":"/questions/:question_id/translations","host":[""],"path":["questions",":question_id","translations"],"variable":[{"key":"question_id","value":"{{question_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Rate","value":"1.0"},{"key":"RateLimit-Burst-Remaining","value":"9"},{"key":"RateLimit-Retry-After","value":"1.0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"52bfba61a717a4fbcc6753d14b5706e6\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_Surveys_session=TkdHeU9mSVpLVEN0RGtDRStnWGxLZUtWMk9hOFc5cGFSYndjYXJ2OEswMVZVdkJUS1ZNUFFRNVMrYTdlL1Zmb2Y4ZVZLMGVvaklMbjdMS0JpMm9hdTNwSk15N0VlU3ZZYVNwN2lBNlRKQ3RZZ2k1SHAxT0FhTmpiL2tPUzNZMHorNndlM2JPUnVobEEraE9Dano0NXh6UXVKajlQQSszNmEzelhUVndweWt5OUo2RjBteHQxVjRKTk1pNThhUkJTLS1EaHRrZklKQmVQQzA2eGpMWXFvYyt3PT0%3D--0aa4ae97aad57d068bf1a010507d5970fc0e4512; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"ef92a37c-fc92-4c89-bdad-26247f22bfce"},{"key":"X-Runtime","value":"8.787683"},{"key":"Connection","value":"close"},{"key":"Server","value":"thin"}],"cookie":[],"responseTime":null,"body":"{\n    \"translations\": [\n        {\n            \"id\": 962,\n            \"locale\": \"en\",\n            \"content\": \"Your Information\",\n            \"translations\": [\n                {\n                    \"key\": \"row_702\",\n                    \"value\": \"Issue Description\"\n                },\n                {\n                    \"key\": \"row_703\",\n                    \"value\": \"Name\"\n                },\n                {\n                    \"key\": \"row_704\",\n                    \"value\": \"Room Number\"\n                },\n                {\n                    \"key\": \"row_705\",\n                    \"value\": \"Phone Number\"\n                },\n                {\n                    \"key\": \"row_944\",\n                    \"value\": \"Email\"\n                }\n            ]\n        },\n        {\n            \"id\": 962,\n            \"locale\": \"fr\",\n            \"content\": \"Votre Information\",\n            \"translations\": [\n                {\n                    \"key\": \"row_702\",\n                    \"value\": \"Détails du problème\"\n                },\n                {\n                    \"key\": \"row_703\",\n                    \"value\": \"Nom\"\n                },\n                {\n                    \"key\": \"row_704\",\n                    \"value\": \"Numéro de chambre\"\n                },\n                {\n                    \"key\": \"row_705\",\n                    \"value\": \"Téléphone\"\n                },\n                {\n                    \"key\": \"row_944\",\n                    \"value\": \"Courriel\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"16905690-7197-44e8-bf07-7258a5def2cb"}],"id":"e4872293-6b6a-40c4-9d11-e9d8703f0aca","description":"<p>Requests within this resource section relate to survey questions.</p>\n","event":[{"listen":"prerequest","script":{"id":"b014bc44-7a9f-4c27-b397-f27946c21d20","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5449e406-81e6-40a7-9cd2-da4690ed9417","type":"text/javascript","exec":[""]}}],"_postman_id":"e4872293-6b6a-40c4-9d11-e9d8703f0aca","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}}},{"name":"Responses","item":[{"name":"Responses","id":"10e479de-559d-4186-ab99-3be5cd15d1f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"type":"multiplechoice","subtype":"mc_short","options":{"fields":[251,252,253,254]},"created_at":"2020-09-28T19:18:59.062Z","updated_at":"2020-09-28T19:18:59.472Z","key":"Content-Type","value":"application/json"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"url":"/responses","description":"<p>Returns a list of responses available to the credentials</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["responses"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"f987b7e2-1a8c-40f6-a5b5-b5427a33c9af","name":"Show Responses","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"APIAuth 1trfD0G93fr2:F=4wqg54m35g543==","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"url":"/responses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Rate","value":"1.0"},{"key":"RateLimit-Burst-Remaining","value":"9"},{"key":"RateLimit-Retry-After","value":"1.0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"82706e4e931ba6f9c15e930fad3e6113\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_Surveys_session=SEdmTDhjYUwrUTlJSFZRT1lFRXF6Yk8vV2dTL0ZQU1cvMFdkcXdjWWFNYWlMMUNwK1FkQ1NKSElvdWVIOVQ2WmRpLzd2aElSdHlGc0R0M3kwMDlrZFhGTXVTZGJHMDN2T2dCQ2ZsVVFLamJOREFrU0pTMVdlN1gweWxVUURDREpxa253cFRpWjNsTktvS1BXbDZSZHZxZ3FRb1pZVkY1WTk0WllKNmZTVkk1emlGeDdDalBkamxnRVJxNlNqLzRlLS1HYnNwZFNqaTJJTk9TdFRNY21hbmFRPT0%3D--88f4b5c9ecc3a6bb45a4edd852691178cc43e7b6; path=/; HttpOnly; SameSite=Lax"},{"key":"X-Request-Id","value":"4b3d8ca7-76dd-4911-8b85-f98e2d70f2cc"},{"key":"X-Runtime","value":"0.308002"},{"key":"Connection","value":"close"},{"key":"Server","value":"thin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 584,\n        \"survey_id\": 9,\n        \"start_at\": \"2020-10-05T15:54:50.000Z\",\n        \"end_at\": \"2020-10-05T15:55:24.000Z\",\n        \"duration\": 34000,\n        \"lang\": null,\n        \"created_at\": \"2020-10-05T15:55:24.790Z\"\n    },\n    {\n        \"id\": 585,\n        \"survey_id\": 9,\n        \"start_at\": \"2020-10-05T16:54:30.000Z\",\n        \"end_at\": \"2020-10-05T16:55:32.000Z\",\n        \"duration\": 51000,\n        \"lang\": null,\n        \"created_at\": \"2020-10-05T15:55:32.790Z\"\n    }\n]"}],"_postman_id":"10e479de-559d-4186-ab99-3be5cd15d1f2"},{"name":"Show Response","id":"7b6ba563-1844-416b-b2fa-9e42b37277c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"/responses/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["responses",":id"],"host":[""],"query":[],"variable":[{"id":"ebaad95d-e7e7-4a39-88a7-c4365489624a","type":"any","value":"1","key":"id"}]}},"response":[{"id":"d8df1c24-00c7-40a6-b77c-5b3ecb8a9ddb","name":"Completed Survey","originalRequest":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"/responses/completed_survey/:id","host":[""],"path":["responses","completed_survey",":id"],"variable":[{"key":"id","value":"38"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Rate","value":"1.0"},{"key":"RateLimit-Burst-Remaining","value":"9"},{"key":"RateLimit-Retry-After","value":"1.0"},{"key":"Access-Control-Expose-Headers","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"61dd24a852e14343da1e6b4a7e9625cc\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"a7d1abd7-ba3b-4e71-a322-5d784b88483f"},{"key":"X-Runtime","value":"0.227376"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"completed_survey\": {\n        \"title\": \"Direct Comment\",\n        \"responses\": [\n            {\n                \"question\": {\n                    \"id\": 47,\n                    \"text\": \"Thank you for choosing Best Western Inn on the Bay, how can we assist you?\"\n                },\n                \"answer\": {\n                    \"id\": 166,\n                    \"text\": \"Test multirow\"\n                }\n            },\n            {\n                \"question\": {\n                    \"id\": 284,\n                    \"text\": \"What is your favourite time of year?\"\n                },\n                \"answer\": {\n                    \"id\": 167,\n                    \"text\": \"Summer\"\n                }\n            },\n            {\n                \"question\": {\n                    \"id\": 286,\n                    \"text\": \"Multirow Question\",\n                    \"question_rows\": [\n                        {\n                            \"question_row\": {\n                                \"id\": 287,\n                                \"text\": \"Multirow Question 2\"\n                            },\n                            \"answer\": {\n                                \"id\": 169,\n                                \"test\": \"Multirow Answer 2\"\n                            }\n                        },\n                        {\n                            \"question_row\": {\n                                \"id\": 286,\n                                \"text\": \"Multirow Question 1\"\n                            },\n                            \"answer\": {\n                                \"id\": 168,\n                                \"test\": \"Multirow Answer 1\"\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"question\": {\n                    \"id\": 46,\n                    \"text\": \"Please enter your contact information so we can get in touch:\",\n                    \"question_rows\": [\n                        {\n                            \"question_row\": {\n                                \"id\": 68,\n                                \"text\": \"Room Number\"\n                            },\n                            \"answer\": {\n                                \"id\": 171,\n                                \"test\": \"23\"\n                            }\n                        },\n                        {\n                            \"question_row\": {\n                                \"id\": 67,\n                                \"text\": \"Name\"\n                            },\n                            \"answer\": {\n                                \"id\": 170,\n                                \"test\": \"Jenny 23\"\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"7b6ba563-1844-416b-b2fa-9e42b37277c9"}],"id":"f6618ab7-a74f-4ced-bd07-e24368ee3dcb","description":"<p>These resources act on survey responses</p>\n","event":[{"listen":"prerequest","script":{"id":"883c5f87-2738-4bf9-9b54-6c82f367ec85","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"45ef02ae-f511-4d48-875c-012771cfef1a","type":"text/javascript","exec":[""]}}],"_postman_id":"f6618ab7-a74f-4ced-bd07-e24368ee3dcb","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}}},{"name":"Surveys","item":[{"name":"Survey","event":[{"listen":"prerequest","script":{"id":"2877fb6b-8338-471e-85bb-fad2c044979a","exec":[""],"type":"text/javascript"}}],"id":"1e9170d9-caa9-4819-96a1-6e80c8970630","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"/surveys/:id?lang=en","description":"<p>Retrieves a survey object. This includes the corresponding survey logic, survey theme, and questions.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["surveys",":id"],"host":[""],"query":[{"key":"lang","value":"en"}],"variable":[{"id":"9a687e62-e10a-4fa3-93f9-a099415a6907","type":"string","value":"{{survey_id}}","key":"id"}]}},"response":[{"id":"88f62c06-a293-4d6c-be1c-e6eec6f38ea6","name":"Survey","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"APIAuth 1trfD0G93fr2:F=4wqg54m35g543==","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"url":{"raw":"/survey/:id","host":[""],"path":["survey",":id"],"variable":[{"key":"id","value":"{{survey_id}}","description":"The Survey ID in the backend"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"id\": {{survey_id}},\n\t\"name\": \"Lorem Ipsum Satisfaction Survey\",\n\t\"status\": \"published\",\n\t\"settings\": {\n\t\t\"timeout\": 1000,\n\t\t\"languages\": [\"en\", \"fr\", \"de\", \"en-US\"],\n\t\t\"default_language\": \"en\",\n\t\t\"email_optin\": {\n\t\t\t\"enabled\": true,\n\t\t\t\"required\": false\n\t\t}\n\t},\n\t\"logic\": [\n\t\t{\n\t\t  \"id\": 321,\n\t\t  \"question_id\": 4902,\n\t\t  \"operator\": \"equals\",\n\t\t  \"condition\": \"present\",\n\t\t  \"action_type\": \"question\",\n\t\t  \"action_id\": 4903\n\t\t},\n\t\t{\n\t\t  \"id\": 322,\n\t\t  \"question_id\": 4903,\n\t\t  \"operator\": \"equals\",\n\t\t  \"condition\": \"present\",\n\t\t  \"action_type\": \"thank_you\",\n\t\t  \"action_id\": null\n\t\t}\n\t],\n\t\"questions\": [\n\t\t{\n\t\t\t\"id\": 4901,\n\t\t\t\"type\": \"scale\",\n\t\t\t\"subtype\": null,\n\t\t\t\"logic\": null,\n\t\t\t\"options\": {\n\t\t\t\t\"min\": 0,\n\t\t\t\t\"max\": 10\n\t\t\t},\n            \"created_at\": \"2020-05-01T18:03:23.041Z\",\n            \"updated_at\": \"2020-08-10T16:21:50.581Z\",\n            \"context\": {\n                \"order\": 1,\n                \"required\": true,\n                \"next_question_id\": 4902,\n                \"created_at\": \"2020-03-19T15:05:15.657Z\",\n                \"updated_at\": \"2020-09-22T15:24:31.502Z\"\n            }\n\t\t},\n\t\t{\n\t\t\t\"id\": 4902,\n\t\t\t\"type\": \"multiline\",\n\t\t\t\"subtype\": \"guestComment\",\n\t\t\t\"logic\": 321,\n            \"created_at\": \"2020-05-01T18:03:23.041Z\",\n            \"updated_at\": \"2020-08-10T16:21:50.581Z\",\n            \"context\": {\n                \"order\": 2,\n                \"required\": true,\n                \"next_question_id\": 4903,\n                \"created_at\": \"2020-03-19T15:05:15.657Z\",\n                \"updated_at\": \"2020-09-22T15:24:31.502Z\"\n            }\n\t\t},\n\t\t{\n\t\t\t\"id\": 4903,\n\t\t\t\"type\": \"multiplechoice\",\n\t\t\t\"subtype\": \"multiple\",\n\t\t\t\"logic\": 322,\n\t\t\t\"options\": {\n\t\t\t\t\"fields\": [610, 611, 612, 613]\n\t\t\t},\n            \"created_at\": \"2020-05-01T18:03:23.041Z\",\n            \"updated_at\": \"2020-08-10T16:21:50.581Z\",\n            \"context\": {\n                \"order\": 3,\n                \"required\": false,\n                \"next_question_id\": null,\n                \"created_at\": \"2020-03-19T15:05:15.657Z\",\n                \"updated_at\": \"2020-09-22T15:24:31.502Z\"\n            }\n\t\t}\n\t],\n\t\"theme\": {\n\t\t\"style\": \"dark\",\n\t\t\"background\": \"http://test.com/example.png\",\n\t\t\"logo\": \"http://test.com/logo.png\",\n\t\t\"colors\": {\n\t\t\t\"primary\": \"#635A97\",\n\t\t\t\"secondary\": \"#fafafa\",\n\t\t\t\"tertiary\": \"#ffffff\"\n\t\t}\n\t}\n}"}],"_postman_id":"1e9170d9-caa9-4819-96a1-6e80c8970630"},{"name":"Survey Translations","id":"3c907b1d-9105-49b2-9747-db18e74ec70e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"/surveys/:id/translations","description":"<p>Get the translations available for the requested survey ID</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["surveys",":id","translations"],"host":[""],"query":[],"variable":[{"id":"1a222436-2889-47db-818a-b7f1866b226b","description":{"content":"<p>The survey ID we would like an array of translations for</p>\n","type":"text/plain"},"type":"string","value":"{{survey_id}}","key":"id"}]}},"response":[{"id":"97274f57-3d4a-4087-9bc9-0e3c56d507d4","name":"Survey Translations","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"APIAuth 1trfD0G93fr2:F=4wqg54m35g543==","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"url":{"raw":"/survey/:id/translations","host":[""],"path":["survey",":id","translations"],"variable":[{"key":"id","value":"{{survey_id}}"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"en\": {\n    \"id\": {{survey_id}},\n    \"questions\": [\n      {\n        \"question_id\": 4901,\n        \"translations\": [{\n        \t\"key\": \"title\",\n        \t\"value\": \"How did you enjoy your experience at Hyatt Regency Toronto?\"\n        },\n        {\n        \t\"key\": \"content\",\n        \t\"value\": \"Please fill out the details below in order to obtain a Wifi connection\"\n        },\n        {\n        \t\"key\": \"option1\",\n        \t\"value\": \"awful\"\n        },\n        {\n        \t\"key\": \"option2\",\n        \t\"value\": \"bad\"\n        },\n        {\n        \t\"key\": \"option3\",\n        \t\"value\": \"neutral\"\n        },\n        {\n        \t\"key\": \"option4\",\n        \t\"value\": \"good\"\n        },\n        {\n        \t\"key\": \"option5\",\n        \t\"value\": \"amazing\"\n        }]\n      },\n      {\n        \"question_id\": 4902,\n        \"translations\": [{\n        \t\"key\": \"title\",\n        \t\"value\": \"We're glad you enjoyed your stay. What could we do better?\"\n        },\n        {\n        \t\"key\": \"placeholder\",\n        \t\"value\": \"Write your answer here...\"\n        }]\n      },\n      {\n        \"question_id\": 4903,\n        \"translations\": [\n        \t{\n            \"key\": \"title\",\n            \"value\": \"What did you enjoy the most?\"\n          },\n          {\n            \"key\": \"option610\",\n            \"value\": \"Comfort\"\n          },\n          {\n            \"key\": \"option611\",\n            \"value\": \"Room Service\"\n          },\n          {\n            \"key\": \"option612\",\n            \"value\": \"Cleanliness\"\n          },\n          {\n            \"key\": \"option613\",\n            \"content\": \"Price\"\n          }\n        ]\n      }\n    ],\n    \"meta\": {\n      \"before_logo\": \"Hyatt Regency Toronto\",\n      \"submit\": \"Submit\",\n      \"skip_question\": \"Skip this question\",\n      \"skipped_question\": \"You skipped this question\",\n      \"language_heading\": \"Select Language\",\n      \"policy_text\": \"By proceeding you agree to the <a href=\\\"http://micrometrics.com\\\">Helix Privacy Policy</a> and <a  href=\\\"http://micrometrics.com\\\">Cookie Policy</a>\",\n      \"no_thanks\": \"No Thanks\",\n      \"thank_you\": {\n        \"title\": \"Thank you for helping us serve you better!\",\n        \"content\": \"Enjoy your stay at The Abu Dhabi Edition.\"\n      },\n      \"email\": {\n        \"title\": \"Thank you for agreeing to write a review. Please provide your email address so we can send you a review link.\",\n        \"placeholder\": \"Enter your email address here...\",\n        \"optin_flag\": \"By checking this box, you agree to provide your contact information to MicroMetrics Demo Hotel to follow-up with you as described in our <a target=\\\"#\\\" href=\\\"http://micrometrics.com\\\">Helix Privacy Policy</a>\",\n        \"button_text\": \"Next\"\n      }\n    }\n  },\n  \"fr\": {}\n}"}],"_postman_id":"3c907b1d-9105-49b2-9747-db18e74ec70e"},{"name":"Survey Translation Locale","id":"0c77e0aa-1ba8-448b-93b4-abfeafe670b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"url":"/surveys/:id/translations/:locale","description":"<p>The Survey Translation request, with a specific locale</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["surveys",":id","translations",":locale"],"host":[""],"query":[],"variable":[{"id":"058a8b48-c993-4518-bb06-4704a8401e83","description":{"content":"<p>The ID of the target survey</p>\n","type":"text/plain"},"type":"string","value":"{{survey_id}}","key":"id"},{"id":"8f8a2177-f410-4a2d-8bbb-6f4773443cbe","description":{"content":"<p>The locale code (\"en\", \"fr\", etc...) of the language we're requesting</p>\n","type":"text/plain"},"type":"string","value":"fr","key":"locale"}]}},"response":[{"id":"c8cfdfc7-7bb9-45f8-9485-3a6d5ffd0301","name":"Survey Translation Locale","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"APIAuth 1trfD0G93fr2:F=4wqg54m35g543==","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Date","value":"{{httpdate}}","type":"text"}],"url":{"raw":"/survey/:id/translations/:locale","host":[""],"path":["survey",":id","translations",":locale"],"variable":[{"key":"id","value":"{{survey_id}}"},{"key":"locale","value":"en"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"id\": {{survey_id}},\n    \"questions\": [{\n    \t\"question_id\": 4901,\n    \t\"translations\": [\n    \t\t{\n    \t\t\t\"key\": \"title\",\n    \t\t\t\"value\": \"How did you enjoy your experience at Hyatt Regency Toronto?\"\n    \t\t},\n    \t\t{\n\t    \t\t\"key\": \"content\",\n\t    \t\t\"value\": \"Please fill out the details below in order to obtain a Wifi connection\"\n    \t\t},\n    \t\t{\n\t    \t\t\"key\": \"option1\",\n\t    \t\t\"value\": \"awful\"\n    \t\t},\n    \t\t{\n\t    \t\t\"key\": \"option2\",\n\t    \t\t\"value\": \"bad\"\n    \t\t},\n    \t\t{\n\t    \t\t\"key\": \"option3\",\n\t    \t\t\"value\": \"neutral\"\n    \t\t},\n    \t\t{\n\t    \t\t\"key\": \"option4\",\n\t    \t\t\"value\": \"good\"\n    \t\t},\n    \t\t{\n\t    \t\t\"key\": \"option5\",\n\t    \t\t\"value\": \"amazing\"\n    \t\t}\n    \t]\n    },\n    {\n    \t\"question_id\": 4902,\n    \t\"translations\": [\n    \t\t{\n\t    \t\t\"key\": \"title\",\n\t    \t\t\"value\": \"We're glad you enjoyed your stay. What could we do better?\"\n    \t\t},\n    \t\t{\n    \t\t\t\"key\": \"content\",\n\t    \t\t\"value\": null\n    \t\t},\n    \t\t{\n    \t\t\t\"key\": \"placeholder\",\n\t    \t\t\"value\": \"Write your answer here...\"\n    \t\t}]\n    },\n    {\n    \t\"question_id\": 4903,\n    \t\"translations\": [\n\t\t\t{\n\t    \t\t\"key\": \"title\",\n\t    \t\t\"value\": \"What did you like most?\"\n    \t\t},\n    \t\t{\n    \t\t\t\"key\": \"content\",\n    \t\t\t\"value\": null\n    \t\t},\n    \t\t{\n\t    \t\t\"key\": \"placeholder\",\n\t    \t\t\"value\": null\n    \t\t},\n    \t\t{\n\t    \t\t\"key\": \"option610\",\n\t    \t\t\"value\": \"Comfort\"\n\t    \t},\n\t    \t{\n\t    \t\t\"key\": \"option611\",\n\t    \t\t\"value\": \"Room Service\"\n\t    \t},\n\t    \t{\n\t    \t\t\"key\": \"option612\",\n\t    \t\t\"value\": \"Cleanliness\"\n\t    \t},\n\t    \t{\n\t    \t\t\"key\": \"option613\",\n\t    \t\t\"value\": \"Price\"\n    \t\t}]\n    }],\n    \"meta\": {\n\t  \"before_logo\": \"Hyatt Regency Toronto\",\n\t  \"submit\": \"Submit\",\n\t  \"skip_question\": \"Skip this question\",\n\t  \"skipped_question\": \"You skipped this question\",\n\t  \"language_heading\": \"Select Language\",\n\t  \"policy_text\": \"By proceeding you agree to the <a href=\\\"http://micrometrics.com\\\">Helix Privacy Policy</a> and <a  href=\\\"http://micrometrics.com\\\">Cookie Policy</a>\",\n\t  \"no_thanks\": \"No Thanks\",\n\t  \"thank_you_title\": \"Thank you for helping us serve you better!\",\n\t  \"thank_you_content\": \"Enjoy your stay at The Abu Dhabi Edition.\",\n\t  \"email_title\": \"Thank you for agreeing to write a review.\",\n\t  \"email_content\": \"Please provide your email address so we can send you a review link.\",\n\t  \"email_placeholder\": \"Enter your email address here...\",\n\t  \"email_optin_flag\": \"By checking this box, you agree to provide your contact information to MicroMetrics Demo Hotel to follow-up with you as described in our <a target=\\\"#\\\" href=\\\"http://micrometrics.com\\\">Helix Privacy Policy</a>\",\n\t  \"email_button_text\": \"Next\"\n\t}\n}"}],"_postman_id":"0c77e0aa-1ba8-448b-93b4-abfeafe670b3"},{"name":"Surveys","id":"f59d0aff-fe19-4835-8389-b0468e955b52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/surveys/","description":"<p>Returns all available surveys</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["surveys",""],"host":[""],"query":[],"variable":[]}},"response":[{"id":"4376b397-f9c8-43e4-b9fd-41296b0918dd","name":"Surveys","originalRequest":{"method":"GET","header":[]},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 13,\n        \"title\": \"Direct Comment\",\n        \"account_id\": 1,\n        \"hash\": \"W0-aFvL8fYlqx-9LnGs_zg\",\n        \"status\": \"published\",\n        \"languages\": [\n            \"en\"\n        ],\n        \"created_at\": \"2022-01-18T16:05:35.784Z\",\n        \"updated_at\": \"2022-01-18T16:05:36.557Z\"\n    }\n]"}],"_postman_id":"f59d0aff-fe19-4835-8389-b0468e955b52"}],"id":"9d5e1c7b-20c6-442d-99f4-de5bca42be91","description":"<p><strong>Surveys</strong> are an array of questions deployed over a <strong>Device</strong>. They each have questions, logic rules, a name, settings, and a corresponding <strong>Survey Translation</strong> for the requested language.</p>\n","_postman_id":"9d5e1c7b-20c6-442d-99f4-de5bca42be91","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}}},{"name":"Issues","item":[{"name":"Create Issue","id":"22c1c453-9a6e-4507-9456-b53c35d2be88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Date","value":"{{httpdate}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Authorization-Content-SHA256","value":"{{contentSHA256}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"account_id\": 1,\n    \"description\": \"Comfort: 2 Pillows\",\n    \"source\": \"in_room_tablet\",\n    \"name\": \"Jane Doe\",\n    \"room\": \"504\",\n    \"priority_level\": 2,\n    \"owner_ids\": [\n        \"3\"\n    ],\n    \"group_ids\": [\n        \"2\"\n    ],\n    \"tag_ids\": []\n}","options":{"raw":{"language":"json"}}},"url":"/issues","description":"<p>Creates an alert (issue) in the specified account using a partner credential (<code>App::MultiAccountCredential</code>).</p>\n<h2 id=\"required-fields\">Required fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>account_id</code></td>\n<td>integer</td>\n<td>Must be in the credential's <code>scope.accounts</code>. Out-of-scope or missing returns 404.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>The alert text. Required for partner-created alerts.</td>\n</tr>\n<tr>\n<td><code>source</code></td>\n<td>string</td>\n<td>Must be in <code>Issue::PARTNER_ALLOWED_SOURCES</code> (currently only <code>in_room_tablet</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"optional-fields\">Optional fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Guest name; rendered on the alert card.</td>\n</tr>\n<tr>\n<td><code>room</code></td>\n<td>string</td>\n<td>Room or location label.</td>\n</tr>\n<tr>\n<td><code>priority_level</code></td>\n<td>integer</td>\n<td>1 (low), 2 (normal), 3 (high). Defaults to 2.</td>\n</tr>\n<tr>\n<td><code>owner_ids</code></td>\n<td>array of integers</td>\n<td>Users to assign in the resolved account. Out-of-scope IDs are silently dropped.</td>\n</tr>\n<tr>\n<td><code>group_ids</code></td>\n<td>array of integers</td>\n<td>Groups to assign in the resolved account.</td>\n</tr>\n<tr>\n<td><code>tag_ids</code></td>\n<td>array of integers</td>\n<td>Tags to attach. Each tag's <code>tag_category.account_id</code> must match the resolved account.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"where-to-get-ids\">Where to get IDs</h2>\n<p>To populate the optional ID arrays, use the partner-reachable read endpoints:</p>\n<ul>\n<li><p><code>owner_ids[]</code> → <strong>Users → List users</strong> (<code>GET /users?account_id=1</code>)</p>\n</li>\n<li><p><code>group_ids[]</code> → <strong>Groups → List groups</strong> (<code>GET /groups?account_id=1</code>)</p>\n</li>\n<li><p><code>tag_ids[]</code> → <strong>Tags → List tags</strong> (<code>GET /tags?account_id=1</code>)</p>\n</li>\n</ul>\n<p>Each list response includes <code>account_id</code> per row so you can disambiguate when the credential spans multiple accounts.</p>\n<p><code>account_id</code> itself is not API-discoverable, it is set on your credential's <code>scope.accounts</code> server-side and shared with you out-of-band when the credential is provisioned.</p>\n<h2 id=\"response\">Response</h2>\n<ul>\n<li><p><code>200 OK</code> : returns the created alert payload. <code>creator_id</code> is always <code>null</code> on partner-created alerts, attribution lives on <code>created_by_app_id</code> server-side.</p>\n</li>\n<li><p><code>404 Not Found</code> <code>account_id</code> missing, out of credential scope or alerts feature flag disabled on the resolved account.</p>\n</li>\n<li><p><code>422 Unprocessable Entity</code> : <code>description</code> missing, <code>source</code> missing or <code>source</code> not in the allow-list.</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["issues"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"94e49b13-37f2-4bd2-a245-675e47facaf2","name":"Create Issue with minimal parameters","originalRequest":{"method":"POST","header":[{"key":"Date","value":"{{httpdate}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Authorization-Content-SHA256","value":"{{contentSHA256}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"account_id\": 1,\n    \"description\": \"Comfort: 2 Pillows\",\n    \"source\": \"in_room_tablet\"\n}","options":{"raw":{"language":"json"}}},"url":"/issues"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"RateLimit-Rate","value":"1.0"},{"key":"RateLimit-Burst-Remaining","value":"9"},{"key":"RateLimit-Retry-After","value":"1.0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Git-Revision","value":"349162d37fd75c5ac0e3f92f3e88f26718ef80e7"},{"key":"X-Git-Revision-Date","value":"2026-05-04T07:46:44-04:00"},{"key":"Access-Control-Expose-Headers","value":"*"},{"key":"ETag","value":"W/\"a9c97ed8f4d2ad8c99437922a6eceb8d\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"4079b349-0e3b-4e23-af72-9ff5ec6b865c"},{"key":"X-Runtime","value":"0.110250"},{"key":"vary","value":"Origin"},{"key":"X-Frame-Options","value":"sameorigin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Content-Security-Policy-Report-Only","value":"default-src 'self' https:; connect-src 'self' wss://api.appcues.net wss://ws-mt1.pusher.com ekr.zdassets.com micrometrics.zendesk.com www.google-analytics.com; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' https:; style-src 'self' 'unsafe-inline'"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 143,\n    \"type\": \"GuestIssue\",\n    \"alert_id\": null,\n    \"hash_id\": \"07dc8abb3a7f482c2cbd25fd82156dae\",\n    \"creator_id\": null,\n    \"created_by_app_id\": 6,\n    \"created_at\": \"2026-05-04T15:06:27.913Z\",\n    \"updated_at\": \"2026-05-04T15:06:27.939Z\",\n    \"origin\": \"In room tablet\",\n    \"state\": \"open\",\n    \"closed\": false,\n    \"priority\": \"normal\",\n    \"priority_level\": 2,\n    \"details\": {\n        \"guest\": \"\",\n        \"room\": \"\",\n        \"description\": \"Comfort: 2 Pillows\",\n        \"rating\": null\n    },\n    \"owners\": {\n        \"users\": [],\n        \"groups\": []\n    },\n    \"guest\": {\n        \"id\": 132,\n        \"hash_id\": \"7ddd1884286a3ef5c16b9d786a90f6e6\",\n        \"title\": null,\n        \"email\": null,\n        \"phone\": null,\n        \"phone_source\": null,\n        \"phone_validation\": \"unvalidated\",\n        \"send_sms\": false,\n        \"phone_alpha2\": null,\n        \"block\": null,\n        \"created_at\": \"2026-05-04T15:06:27.909Z\",\n        \"names\": [],\n        \"emails\": [],\n        \"bookings\": [],\n        \"active_conversation\": false\n    },\n    \"hotsos_service_orders\": [],\n    \"attachments\": [],\n    \"conversation_id\": 205,\n    \"participants\": [\n        {\n            \"id\": 3,\n            \"account_id\": 2,\n            \"first_name\": \"John\",\n            \"last_name\": \"Doe\",\n            \"user_name\": \"john.doe@example.com\",\n            \"email\": \"john.doe@example.com\",\n            \"deactivated_at\": null,\n            \"has_mobile\": false,\n            \"groups\": [\n                2\n            ]\n        },\n        {\n            \"id\": 2,\n            \"account_id\": 2,\n            \"first_name\": \"Jane\",\n            \"last_name\": \"Doe\",\n            \"user_name\": \"jane.doe@example.com\",\n            \"email\": \"jane.doe@example.com\",\n            \"deactivated_at\": null,\n            \"has_mobile\": true,\n            \"groups\": [\n                2\n            ]\n        }\n    ]\n}"},{"id":"712a3442-b327-4bec-aff2-5def7ca2f004","name":"Create Issue","originalRequest":{"method":"POST","header":[{"key":"Date","value":"{{httpdate}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Authorization-Content-SHA256","value":"{{contentSHA256}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"account_id\": 1,\n    \"description\": \"Comfort: 2 Pillows\",\n    \"source\": \"in_room_tablet\",\n    \"name\": \"Juliette Smith\",\n    \"room\": \"504\",\n    \"priority_level\": 2,\n    \"owner_ids\": [\n        \"3\"\n    ],\n    \"group_ids\": [\n        \"2\"\n    ],\n    \"tag_ids\": []\n}","options":{"raw":{"language":"json"}}},"url":"/issues"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"RateLimit-Rate","value":"1.0"},{"key":"RateLimit-Burst-Remaining","value":"9"},{"key":"RateLimit-Retry-After","value":"1.0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Git-Revision","value":"349162d37fd75c5ac0e3f92f3e88f26718ef80e7"},{"key":"X-Git-Revision-Date","value":"2026-05-04T07:46:44-04:00"},{"key":"Access-Control-Expose-Headers","value":"*"},{"key":"ETag","value":"W/\"e5a3b766aee9c513828fb9a1f9a6ee92\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"90fa9753-3cc8-4a7f-bee2-d11471483320"},{"key":"X-Runtime","value":"0.147367"},{"key":"vary","value":"Origin"},{"key":"X-Frame-Options","value":"sameorigin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Content-Security-Policy-Report-Only","value":"default-src 'self' https:; connect-src 'self' wss://api.appcues.net wss://ws-mt1.pusher.com ekr.zdassets.com micrometrics.zendesk.com www.google-analytics.com; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' https:; style-src 'self' 'unsafe-inline'"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 142,\n    \"type\": \"GuestIssue\",\n    \"alert_id\": null,\n    \"hash_id\": \"2c2c3eb5b2af188cd84e523ecbdffefc\",\n    \"creator_id\": null,\n    \"created_by_app_id\": 6,\n    \"created_at\": \"2026-05-04T15:05:21.255Z\",\n    \"updated_at\": \"2026-05-04T15:05:21.283Z\",\n    \"origin\": \"In room tablet\",\n    \"state\": \"pending\",\n    \"closed\": false,\n    \"priority\": \"normal\",\n    \"priority_level\": 2,\n    \"details\": {\n        \"guest\": \"Juliette Smith\",\n        \"room\": \"504\",\n        \"description\": \"Comfort: 2 Pillows\",\n        \"rating\": null\n    },\n    \"owners\": {\n        \"users\": [\n            {\n                \"id\": 3,\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\"\n            }\n        ],\n        \"groups\": [\n            {\n                \"id\": 2,\n                \"name\": \"Alert Notification List\"\n            }\n        ]\n    },\n    \"guest\": {\n        \"id\": 131,\n        \"hash_id\": \"632cc18b76f21ee9b2bae17d9418b79e\",\n        \"title\": null,\n        \"email\": null,\n        \"phone\": null,\n        \"phone_source\": null,\n        \"phone_validation\": \"unvalidated\",\n        \"send_sms\": false,\n        \"phone_alpha2\": null,\n        \"block\": null,\n        \"created_at\": \"2026-05-04T15:05:21.241Z\",\n        \"names\": [\n            {\n                \"id\": 70,\n                \"name\": \"Juliette Smith\",\n                \"title\": null,\n                \"source\": \"1-staff\",\n                \"primary\": false,\n                \"created_at\": \"2026-05-04T15:05:21.243Z\",\n                \"updated_at\": \"2026-05-04T15:05:21.243Z\"\n            }\n        ],\n        \"emails\": [],\n        \"bookings\": [],\n        \"active_conversation\": false\n    },\n    \"hotsos_service_orders\": [],\n    \"attachments\": [],\n    \"conversation_id\": 204,\n    \"participants\": [\n        {\n            \"id\": 3,\n            \"account_id\": 2,\n            \"first_name\": \"John\",\n            \"last_name\": \"Doe\",\n            \"user_name\": \"john.doe@example.com\",\n            \"email\": \"john.doe@example.com\",\n            \"deactivated_at\": null,\n            \"has_mobile\": false,\n            \"groups\": [\n                2\n            ]\n        },\n        {\n            \"id\": 2,\n            \"account_id\": 2,\n            \"first_name\": \"Jane\",\n            \"last_name\": \"Doe\",\n            \"user_name\": \"jane.doe@example.com\",\n            \"email\": \"jane.doe@example.com\",\n            \"deactivated_at\": null,\n            \"has_mobile\": true,\n            \"groups\": [\n                2\n            ]\n        }\n    ]\n}"}],"_postman_id":"22c1c453-9a6e-4507-9456-b53c35d2be88"}],"id":"14897d58-a8e2-4a21-b39a-603f79c3b5a5","description":"<p>Endpoints for creating and managing alerts (issues) on partner-scoped accounts.</p>\n<p>Partner credentials (<code>App::MultiAccountCredential</code>) currently support alert creation only. The <code>account_id</code> body field selects which scoped account the alert lands in.</p>\n","_postman_id":"14897d58-a8e2-4a21-b39a-603f79c3b5a5","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}}},{"name":"Users","item":[{"name":"List users","id":"335d66e2-5679-d15d-2e68-1a7cdcdedb1e","request":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}"},{"key":"Content-Type","value":"application/json"}],"url":"/users?account_id=1","description":"<p>Lists active users across the credential's scoped accounts. Each user payload includes <code>account_id</code> so you can filter client-side to a specific account.</p>\n<h2 id=\"use-with-create-issue\">Use with Create Issue</h2>\n<p>Use the returned <code>id</code> values for <code>owner_ids[]</code> on Create Issue. The Create Issue endpoint scopes <code>owner_ids</code> to the resolved <code>account_id</code> server-side, IDs that belong to other scoped accounts are silently dropped.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["users"],"host":[""],"query":[{"key":"account_id","value":"1"}],"variable":[]}},"response":[{"id":"34dc729e-dee0-45ae-852d-1031b0359226","name":"List users","originalRequest":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"/users?account_id=1","host":[""],"path":["users"],"query":[{"key":"account_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"RateLimit-Rate","value":"1.0"},{"key":"RateLimit-Burst-Remaining","value":"9"},{"key":"RateLimit-Retry-After","value":"1.0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Git-Revision","value":"349162d37fd75c5ac0e3f92f3e88f26718ef80e7"},{"key":"X-Git-Revision-Date","value":"2026-05-04T07:46:44-04:00"},{"key":"Access-Control-Expose-Headers","value":"*"},{"key":"ETag","value":"W/\"3801af9e9ae815bb903f548630a5cad7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"2222eb57-1880-40ac-a38c-67c5db9104ca"},{"key":"X-Runtime","value":"0.061205"},{"key":"vary","value":"Origin"},{"key":"X-Frame-Options","value":"sameorigin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Content-Security-Policy-Report-Only","value":"default-src 'self' https:; connect-src 'self' wss://api.appcues.net wss://ws-mt1.pusher.com ekr.zdassets.com micrometrics.zendesk.com www.google-analytics.com; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' https:; style-src 'self' 'unsafe-inline'"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"account_id\": 2,\n        \"first_name\": \"Jane\",\n        \"last_name\": \"Doe\",\n        \"user_name\": \"jane.doe@example.com\",\n        \"email\": \"jane.doe@example.com\",\n        \"deactivated_at\": null,\n        \"has_mobile\": true,\n        \"groups\": [\n            2\n        ],\n        \"created_at\": \"2024-11-11T14:44:59.410Z\",\n        \"updated_at\": \"2026-04-22T15:09:31.512Z\"\n    },\n    {\n        \"id\": 3,\n        \"account_id\": 2,\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"user_name\": \"john.doe@example.com\",\n        \"email\": \"john.doe@example.com\",\n        \"deactivated_at\": null,\n        \"has_mobile\": false,\n        \"groups\": [\n            2\n        ],\n        \"created_at\": \"2024-11-20T18:08:09.695Z\",\n        \"updated_at\": \"2024-11-20T18:08:09.845Z\"\n    }\n]"}],"_postman_id":"335d66e2-5679-d15d-2e68-1a7cdcdedb1e"}],"id":"a9822b9b-295d-0f9b-b7b2-f4a5f6acfcc4","description":"<p><strong>Users</strong> are staff members within an account who can be assigned alerts. List endpoints return active (non-deactivated) users only and include <code>account_id</code> per row so partner credentials spanning multiple accounts can disambiguate.</p>\n","_postman_id":"a9822b9b-295d-0f9b-b7b2-f4a5f6acfcc4","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}}},{"name":"Groups","item":[{"name":"List groups","id":"390147b6-92d5-0eea-e6ce-c54e79aaeefc","request":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}"},{"key":"Content-Type","value":"application/json"}],"url":"/groups?account_id=1","description":"<p>Lists groups across the credential's scoped accounts. Each group payload includes <code>account_id</code> so you can filter client-side to a specific account.</p>\n<h2 id=\"use-with-create-issue\">Use with Create Issue</h2>\n<p>Use the returned <code>id</code> values for <code>group_ids[]</code> on Create Issue. The Create Issue endpoint scopes <code>group_ids</code> to the resolved <code>account_id</code> server-side, out-of-account IDs are silently dropped.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["groups"],"host":[""],"query":[{"key":"account_id","value":"1"}],"variable":[]}},"response":[{"id":"d71d8c84-749a-4c1b-bdd9-c93d9142d832","name":"List groups","originalRequest":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"/groups?account_id=1","host":[""],"path":["groups"],"query":[{"key":"account_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"RateLimit-Rate","value":"1.0"},{"key":"RateLimit-Burst-Remaining","value":"9"},{"key":"RateLimit-Retry-After","value":"1.0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Git-Revision","value":"349162d37fd75c5ac0e3f92f3e88f26718ef80e7"},{"key":"X-Git-Revision-Date","value":"2026-05-04T07:46:44-04:00"},{"key":"Access-Control-Expose-Headers","value":"*"},{"key":"ETag","value":"W/\"44d2c8253a13535d814afb8629c13b39\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"091d6aaa-ec13-4c35-89c3-e57b3225dd4e"},{"key":"X-Runtime","value":"0.173830"},{"key":"vary","value":"Origin"},{"key":"X-Frame-Options","value":"sameorigin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Content-Security-Policy-Report-Only","value":"default-src 'self' https:; connect-src 'self' wss://api.appcues.net wss://ws-mt1.pusher.com ekr.zdassets.com micrometrics.zendesk.com www.google-analytics.com; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' https:; style-src 'self' 'unsafe-inline'"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"account_id\": 2,\n        \"name\": \"Alert Notification List\",\n        \"member_count\": 10,\n        \"created_at\": \"2024-11-11T14:45:11.194Z\",\n        \"updated_at\": \"2024-11-11T14:45:11.194Z\"\n    },\n    {\n        \"id\": 3,\n        \"account_id\": 2,\n        \"name\": \"Front Desk\",\n        \"member_count\": 4,\n        \"created_at\": \"2024-11-11T14:45:11.194Z\",\n        \"updated_at\": \"2024-11-11T14:45:11.194Z\"\n    },\n    {\n        \"id\": 4,\n        \"account_id\": 2,\n        \"name\": \"Management\",\n        \"member_count\": 2,\n        \"created_at\": \"2024-11-11T14:45:11.194Z\",\n        \"updated_at\": \"2024-11-11T14:45:11.194Z\"\n    }\n]"}],"_postman_id":"390147b6-92d5-0eea-e6ce-c54e79aaeefc"}],"id":"003686fa-65ba-02ba-31a6-89a2c6a1e6f4","description":"<p><strong>Groups</strong> are collections of users within an account (e.g. \"Front Desk\", \"Maintenance\"). Alerts can be assigned to a group, which fans out the assignment to every member. List payloads include <code>account_id</code> per row.</p>\n","_postman_id":"003686fa-65ba-02ba-31a6-89a2c6a1e6f4","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}}},{"name":"Tags","item":[{"name":"List tags","id":"58c603dc-b3e0-b26b-3943-37bc1b769f76","request":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}"},{"key":"Content-Type","value":"application/json"}],"url":"/tags?account_id=1","description":"<p>Lists tags across the credential's scoped accounts. Each tag belongs to a <code>tag_category</code> whose <code>account_id</code> determines its scope.</p>\n<h2 id=\"use-with-create-issue\">Use with Create Issue</h2>\n<p>Use the returned <code>id</code> values for <code>tag_ids[]</code> on Create Issue. Tags whose <code>tag_category.account_id</code> doesn't match the resolved <code>account_id</code> are silently rejected server-side.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}},"urlObject":{"path":["tags"],"host":[""],"query":[{"key":"account_id","value":"1"}],"variable":[]}},"response":[{"id":"a341f872-6756-4429-8b96-45bc2d160f72","name":"List tags","originalRequest":{"method":"GET","header":[{"key":"Date","value":"{{httpdate}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"/tags?account_id=1","host":[""],"path":["tags"],"query":[{"key":"account_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"RateLimit-Rate","value":"1.0"},{"key":"RateLimit-Burst-Remaining","value":"9"},{"key":"RateLimit-Retry-After","value":"1.0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Git-Revision","value":"349162d37fd75c5ac0e3f92f3e88f26718ef80e7"},{"key":"X-Git-Revision-Date","value":"2026-05-04T07:46:44-04:00"},{"key":"Access-Control-Expose-Headers","value":"*"},{"key":"ETag","value":"W/\"380f15d2a5cdd49661912853ca17f3e7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"0307fc3c-9f11-4f7e-82b8-5e37816d5ae0"},{"key":"X-Runtime","value":"0.057400"},{"key":"vary","value":"Origin"},{"key":"X-Frame-Options","value":"sameorigin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Content-Security-Policy-Report-Only","value":"default-src 'self' https:; connect-src 'self' wss://api.appcues.net wss://ws-mt1.pusher.com ekr.zdassets.com micrometrics.zendesk.com www.google-analytics.com; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' https:; style-src 'self' 'unsafe-inline'"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 26,\n        \"account_id\": 2,\n        \"name\": \"Decor\",\n        \"keywords\": [\n            \"decor\",\n            \"carpet\",\n            \"lighting\",\n            \"lighting\",\n            \"corridor\",\n            \"hall\",\n            \"hallway\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 7,\n        \"created_at\": \"2024-11-11T14:45:10.937Z\"\n    },\n    {\n        \"id\": 27,\n        \"account_id\": 2,\n        \"name\": \"Internet\",\n        \"keywords\": [\n            \"internet\",\n            \"wifi\",\n            \"wi-fi\",\n            \"connection\",\n            \"log in\",\n            \"website\",\n            \"authentication\",\n            \"password\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 7,\n        \"created_at\": \"2024-11-11T14:45:10.942Z\"\n    },\n    {\n        \"id\": 28,\n        \"account_id\": 2,\n        \"name\": \"Parking\",\n        \"keywords\": [\n            \"parking\",\n            \"lot\",\n            \"shuttle\",\n            \"valet\",\n            \"car park\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 7,\n        \"created_at\": \"2024-11-11T14:45:10.946Z\"\n    },\n    {\n        \"id\": 29,\n        \"account_id\": 2,\n        \"name\": \"Staff\",\n        \"keywords\": [\n            \"staff\",\n            \"associates\",\n            \"housekeeper\",\n            \"bellman\",\n            \"front desk\",\n            \"concierge\",\n            \"employee\",\n            \"employees\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 7,\n        \"created_at\": \"2024-11-11T14:45:10.949Z\"\n    },\n    {\n        \"id\": 30,\n        \"account_id\": 2,\n        \"name\": \"Bell Staff\",\n        \"keywords\": [\n            \"bags\",\n            \"luggage\",\n            \"bellman\",\n            \"doorman\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 8,\n        \"created_at\": \"2024-11-11T14:45:10.958Z\"\n    },\n    {\n        \"id\": 31,\n        \"account_id\": 2,\n        \"name\": \"Billing/Rates\",\n        \"keywords\": [\n            \"pricy\",\n            \"pricey\",\n            \"expensive\",\n            \"price\",\n            \"rate\",\n            \"rates\",\n            \"charge\",\n            \"free\",\n            \"paid\",\n            \"nickel\",\n            \"expense\",\n            \"payment\",\n            \"credit card\",\n            \"billing\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 8,\n        \"created_at\": \"2024-11-11T14:45:10.962Z\"\n    },\n    {\n        \"id\": 32,\n        \"account_id\": 2,\n        \"name\": \"Check-In\",\n        \"keywords\": [\n            \"checkin\",\n            \"check-in\",\n            \"front desk\",\n            \"checking in\",\n            \"check in\",\n            \"not ready\",\n            \"on arrival\",\n            \"key didn't work\",\n            \"room ready\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 8,\n        \"created_at\": \"2024-11-11T14:45:10.966Z\"\n    },\n    {\n        \"id\": 33,\n        \"account_id\": 2,\n        \"name\": \"Noise\",\n        \"keywords\": [\n            \"noise\",\n            \"noisey\",\n            \"noisy\",\n            \"loud\",\n            \"construction\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 8,\n        \"created_at\": \"2024-11-11T14:45:10.969Z\"\n    },\n    {\n        \"id\": 34,\n        \"account_id\": 2,\n        \"name\": \"Reservations\",\n        \"keywords\": [\n            \"reservation\",\n            \"reservations\",\n            \"charge\",\n            \"charged\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 8,\n        \"created_at\": \"2024-11-11T14:45:10.972Z\"\n    },\n    {\n        \"id\": 35,\n        \"account_id\": 2,\n        \"name\": \"Rewards\",\n        \"keywords\": [\n            \"member\",\n            \"platinum\",\n            \"elite\",\n            \"rewards\",\n            \"gold\",\n            \"spg\",\n            \"upgrade\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 8,\n        \"created_at\": \"2024-11-11T14:45:10.976Z\"\n    },\n    {\n        \"id\": 36,\n        \"account_id\": 2,\n        \"name\": \"Room Location/Type\",\n        \"keywords\": [\n            \"room\",\n            \"walk\",\n            \"view\",\n            \"next door\",\n            \"too close\",\n            \"too far\",\n            \"closet\",\n            \"desk\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 8,\n        \"created_at\": \"2024-11-11T14:45:10.979Z\"\n    },\n    {\n        \"id\": 37,\n        \"account_id\": 2,\n        \"name\": \"Bathroom\",\n        \"keywords\": [\n            \"toilet\",\n            \"bathtub\",\n            \"towels\",\n            \"mirror\",\n            \"tile\",\n            \"tub\",\n            \"sink\",\n            \"shower\",\n            \"water\",\n            \"bathroom\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 9,\n        \"created_at\": \"2024-11-11T14:45:10.987Z\"\n    },\n    {\n        \"id\": 38,\n        \"account_id\": 2,\n        \"name\": \"Beds\",\n        \"keywords\": [\n            \"beds\",\n            \"mattress\",\n            \"bed\",\n            \"sheet\",\n            \"duvet\",\n            \"comforter\",\n            \"pillow\",\n            \"foam\",\n            \"sham\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 9,\n        \"created_at\": \"2024-11-11T14:45:11.034Z\"\n    },\n    {\n        \"id\": 39,\n        \"account_id\": 2,\n        \"name\": \"Cleanliness/Housekeeping\",\n        \"keywords\": [\n            \"cleanliness\",\n            \"dirty\",\n            \"clean\",\n            \"housekeeping\",\n            \"housekeeper\",\n            \"refresh\",\n            \"stain\",\n            \"stains\",\n            \"cleaned\",\n            \"vacuum\",\n            \"cleaning\",\n            \"cleaner\",\n            \"cleaners\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 9,\n        \"created_at\": \"2024-11-11T14:45:11.039Z\"\n    },\n    {\n        \"id\": 40,\n        \"account_id\": 2,\n        \"name\": \"Towels\",\n        \"keywords\": [\n            \"towel\",\n            \"towels\",\n            \"robe\",\n            \"robes\",\n            \"facecloth\",\n            \"facecloths\",\n            \"washcloth\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 9,\n        \"created_at\": \"2024-11-11T14:45:11.044Z\"\n    },\n    {\n        \"id\": 41,\n        \"account_id\": 2,\n        \"name\": \"Room Smell\",\n        \"keywords\": [\n            \"odor\",\n            \"odors\",\n            \"odour\",\n            \"odours\",\n            \"smell\",\n            \"smells\",\n            \"stink\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 9,\n        \"created_at\": \"2024-11-11T14:45:11.048Z\"\n    },\n    {\n        \"id\": 42,\n        \"account_id\": 2,\n        \"name\": \"Heating/Cooling\",\n        \"keywords\": [\n            \"hot\",\n            \"cold\",\n            \"cool\",\n            \"warm\",\n            \"air conditioner\",\n            \"heat\",\n            \"AC\",\n            \"A/C\",\n            \"air conditioning\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 10,\n        \"created_at\": \"2024-11-11T14:45:11.056Z\"\n    },\n    {\n        \"id\": 43,\n        \"account_id\": 2,\n        \"name\": \"Hotel/Room Maintenance\",\n        \"keywords\": [\n            \"air conditioner\",\n            \"A/C\",\n            \"lights\",\n            \"lighting\",\n            \"lamp\",\n            \"leak\",\n            \"pressure\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 10,\n        \"created_at\": \"2024-11-11T14:45:11.060Z\"\n    },\n    {\n        \"id\": 44,\n        \"account_id\": 2,\n        \"name\": \"Recreation Facilities\",\n        \"keywords\": [\n            \"facilities\",\n            \"recreation\",\n            \"spa\",\n            \"pool\",\n            \"gym\",\n            \"lounge\",\n            \"bar\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 10,\n        \"created_at\": \"2024-11-11T14:45:11.064Z\"\n    },\n    {\n        \"id\": 45,\n        \"account_id\": 2,\n        \"name\": \"Telephone\",\n        \"keywords\": [\n            \"phone\",\n            \"call\",\n            \"calling\",\n            \"telephone\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 10,\n        \"created_at\": \"2024-11-11T14:45:11.067Z\"\n    },\n    {\n        \"id\": 46,\n        \"account_id\": 2,\n        \"name\": \"TV/Remote\",\n        \"keywords\": [\n            \"television\",\n            \"TV\",\n            \"pay-per-view\",\n            \"PPV\",\n            \"movie\",\n            \"cable\",\n            \"channels\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 10,\n        \"created_at\": \"2024-11-11T14:45:11.071Z\"\n    },\n    {\n        \"id\": 47,\n        \"account_id\": 2,\n        \"name\": \"Restaurant\",\n        \"keywords\": [\n            \"restaurant\",\n            \"server\",\n            \"waiter\",\n            \"service\",\n            \"bartender\",\n            \"drinks\",\n            \"dinner\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 11,\n        \"created_at\": \"2024-11-11T14:45:11.079Z\"\n    },\n    {\n        \"id\": 48,\n        \"account_id\": 2,\n        \"name\": \"In Room Dining\",\n        \"keywords\": [\n            \"room service\",\n            \"in room dining\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 11,\n        \"created_at\": \"2024-11-11T14:45:11.082Z\"\n    },\n    {\n        \"id\": 49,\n        \"account_id\": 2,\n        \"name\": \"Room\",\n        \"keywords\": [\n            \"bottled water\",\n            \"tea\",\n            \"coffee\",\n            \"milk\",\n            \"cream\",\n            \"sugar\",\n            \"sweetener\",\n            \"minibar\",\n            \"mini-bar\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 11,\n        \"created_at\": \"2024-11-11T14:45:11.086Z\"\n    },\n    {\n        \"id\": 50,\n        \"account_id\": 2,\n        \"name\": \"Survey\",\n        \"keywords\": [\n            \"survey\",\n            \"question\",\n            \"questionnaire\",\n            \"feedback\"\n        ],\n        \"tag_type\": \"description\",\n        \"tag_category_id\": 12,\n        \"created_at\": \"2024-11-11T14:45:11.094Z\"\n    }\n]"}],"_postman_id":"58c603dc-b3e0-b26b-3943-37bc1b769f76"}],"id":"1d6444f2-16b3-e017-6faf-9f0c373ee65a","description":"<p><strong>Tags</strong> are labels that can be attached to alerts for categorization (e.g. \"Bathroom\", \"HVAC\"). Each tag belongs to a <code>tag_category</code> whose <code>account_id</code> scopes it. Use <code>tag_ids</code> on Create Issue to attach tags during alert creation.</p>\n","_postman_id":"1d6444f2-16b3-e017-6faf-9f0c373ee65a","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"754c78b3-6a94-47f6-9825-34e50966bf24","id":"754c78b3-6a94-47f6-9825-34e50966bf24","name":"WIP Micrometrics API External","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]}},"event":[{"listen":"prerequest","script":{"id":"94463b2c-2c6c-457d-9cee-c933f3439a84","type":"text/javascript","requests":{},"exec":["require('crypto-js');","var url = require('url');","","var timestamp = new Date().toUTCString();","var content_type = request.headers['content-type'];","var key = pm.variables.get('api_key');","var secret = pm.variables.get('api_secret');","","var body = pm.variables.replaceIn(request.data || '');","var content = body.length","  ? CryptoJS.enc.Base64.stringify(CryptoJS.SHA256(body))","  : '';","","var request_params = url.parse(pm.variables.replaceIn(request.url)).search;","var request_path = url.parse(pm.variables.replaceIn(request.url)).pathname","var request_full = request_params ? request_path + request_params : request_path;","","pm.environment.set('httpdate', timestamp);","pm.environment.set('contentSHA256', content);","pm.environment.set(\"request_signature\", get_request_signature());","","function get_request_signature() {","    var req_arr = [","        request.method,","        content_type,","        content,","        request_full,","        timestamp","    ].join(',');","    pm.environment.set('req_arr', req_arr);","    console.log(req_arr);","    var hmac = CryptoJS.HmacSHA1(req_arr, secret);","    return CryptoJS.enc.Base64.stringify(hmac)","}"]}},{"listen":"test","script":{"id":"6eb0ffb9-d94a-44de-b853-2c4d52be5659","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"path","value":""},{"key":"api_key","value":""},{"key":"api_secret","value":""},{"key":"account_id","value":"1"}]}