{"info":{"_postman_id":"80789a45-036f-444f-80ce-e782d3c21303","name":"UserLoop.io","description":"<html><head></head><body><p>UserLoop.io is an all in one customer feedback platform.  Create and send surveys to your customers to see how satisfied they are.</p>\n<p>You can use our API to send surveys, get response notifications and much more.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4436062","collectionId":"80789a45-036f-444f-80ce-e782d3c21303","publishedId":"TVmV6ZfH","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"2196F3"},"publishDate":"2020-12-14T19:20:55.000Z"},"item":[{"name":"Validate Key","id":"b51a25c8-1fdb-47e3-b3f3-9f7b58af7308","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"key","value":"yourapikey","type":"text","description":"<p>Your UserLoop API Key</p>\n"}]},"url":"https://userloop.io/api/1.1/wf/key-validator","description":"<p>Check your UserLoop API key is valid.</p>\n","urlObject":{"protocol":"https","path":["api","1.1","wf","key-validator"],"host":["userloop","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"b51a25c8-1fdb-47e3-b3f3-9f7b58af7308"},{"name":"Create Webhook","id":"ef19849b-061e-4113-bab4-cc961024f48a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"<p>Your UserLoop API Key</p>\n","key":"key","type":"text","value":"yourapikey"},{"key":"hookUrl","value":"https://yourwebhook.com","description":"<p>The URL for the webhook you would like to be called when a new response is received.</p>\n","type":"text"},{"key":"survey","value":"yoursurveyid","description":"<p>The ID for the survey you would like to recieve response webhooks for.</p>\n","type":"text"}]},"url":"https://userloop.io/api/1.1/wf/create-webhook","description":"<p>Creates a new webhook where UserLoop will send notifications of new responses to your survey.</p>\n","urlObject":{"protocol":"https","path":["api","1.1","wf","create-webhook"],"host":["userloop","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef19849b-061e-4113-bab4-cc961024f48a"},{"name":"Delete Webhook","id":"a6b45e33-4785-4a00-8c8a-39d3813e3909","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"<p>Your UserLoop API Key</p>\n","key":"key","type":"text","value":"yourapikey"},{"key":"hookUrl","value":"https://yourwebhook.com","description":"<p>The url of the webhook you would like to delete.</p>\n","type":"text"}]},"url":"https://userloop.io/api/1.1/wf/delete-webhook","description":"<p>Deletes a webhook, once a Webhook is deleted UserLoop will no longer send response notifications.</p>\n","urlObject":{"protocol":"https","path":["api","1.1","wf","delete-webhook"],"host":["userloop","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6b45e33-4785-4a00-8c8a-39d3813e3909"},{"name":"Get Webhooks","id":"fa7cbe06-bc2b-411a-8600-47c904b6cd0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"<p>Your UserLoop API Key</p>\n","key":"key","type":"text","value":"yourapikey"}]},"url":"https://userloop.io/api/1.1/wf/list-webhooks","description":"<p>Returns a list of all your active UserLoop webhooks.</p>\n","urlObject":{"protocol":"https","path":["api","1.1","wf","list-webhooks"],"host":["userloop","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa7cbe06-bc2b-411a-8600-47c904b6cd0a"},{"name":"Send Survey","id":"36bc71ae-f4a0-4035-8c01-dc13d89e1be0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"key","value":"yourapikey","type":"text","description":"<p>Your UserLoop API Key</p>\n"},{"key":"recipient","value":"customer@email.com","type":"text","description":"<p>The email address of who you would like to send the survey request email to.</p>\n"},{"key":"survey","value":"yoursurveyid","type":"text","description":"<p>The ID of the Survey you would like to send.</p>\n"}]},"url":"https://userloop.io/api/1.1/wf/send-survey/","description":"<p>Send a survey using the UserLoop API.  This will send an email to your declared recipient asking them for a response.  </p>\n<p>You can customize the content and design of this survey on the UserLoop website.</p>\n","urlObject":{"protocol":"https","path":["api","1.1","wf","send-survey",""],"host":["userloop","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"36bc71ae-f4a0-4035-8c01-dc13d89e1be0"},{"name":"Get Responses","id":"c185b2a5-03a8-4073-ad67-455534b150d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"key","value":"yourapikey","description":"<p>Your UserLoop API Key</p>\n","type":"text"}]},"url":"https://userloop.io/api/1.1/wf/get-responses","description":"<p>Returns a list of the responses to all your surveys.</p>\n","urlObject":{"protocol":"https","path":["api","1.1","wf","get-responses"],"host":["userloop","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"c185b2a5-03a8-4073-ad67-455534b150d6"},{"name":"Get Surveys","id":"5b01d1ad-a996-4707-9efe-70315df4abd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"key","value":"yourapikey","type":"text","description":"<p>Your UserLoop API Key</p>\n"}]},"url":"https://userloop.io/api/1.1/wf/survey-list","description":"<p>Returns a list of all the surveys in your UserLoop account.</p>\n","urlObject":{"protocol":"https","path":["api","1.1","wf","survey-list"],"host":["userloop","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b01d1ad-a996-4707-9efe-70315df4abd1"},{"name":"Get Response","id":"f4004677-487d-4f3e-a24a-0c8066e17867","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"key","value":"","type":"text","description":"<p>Your UserLoop API Key</p>\n"},{"key":"recipient","value":"","type":"text","description":"<p>The email address of the user you would like to get the response for.</p>\n"},{"key":"survey","value":"","type":"text","description":"<p>The ID of the Survey.</p>\n"}]},"url":"https://userloop.io/api/1.1/wf/get-response","description":"<p>Get an individual response to a survey.</p>\n","urlObject":{"protocol":"https","path":["api","1.1","wf","get-response"],"host":["userloop","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"f4004677-487d-4f3e-a24a-0c8066e17867"},{"name":"Widget GET","id":"20c7eacf-6623-432b-8bc5-e3807477cdc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-type","value":"application/json","type":"text"}],"url":"https://widget.userloop.io?store=userloop-development.myshopify.com","urlObject":{"protocol":"https","host":["widget","userloop","io"],"query":[{"key":"store","value":"userloop-development.myshopify.com"}],"variable":[]}},"response":[],"_postman_id":"20c7eacf-6623-432b-8bc5-e3807477cdc2"},{"name":"POST Widget Response","id":"699b1f93-88e3-40f0-99a7-e8efbf2a000d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"survey","value":"1624128792784x564539260540351000","type":"text"},{"key":"recipient","value":"james@userloop.io","type":"text"},{"key":"shopify_order_id","value":"4375381999793","type":"text"},{"key":"question","value":"1643153063577x461800620211784400","type":"text"},{"key":"answer","value":"1624128792836x939242142865382500","type":"text"},{"key":"open_response","value":"","type":"text"},{"key":"other","value":"","type":"text"}]},"url":"https://userloop.io/version-test/api/1.1/wf/widget-response","urlObject":{"protocol":"https","path":["version-test","api","1.1","wf","widget-response"],"host":["userloop","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"699b1f93-88e3-40f0-99a7-e8efbf2a000d"}],"event":[{"listen":"prerequest","script":{"id":"d9cb7f33-ef83-42b1-aff4-36bf9c3148c0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"738ee94a-ddda-4506-910b-6e9e414a5695","type":"text/javascript","exec":[""]}}],"variable":[{"key":"API Key","value":"yourapikey"},{"key":"Survey ID","value":"yoursurveyid"},{"key":"James Email","value":"customer@email.com"},{"key":"Webhook","value":"https://yourwebhook.com"}]}