{"info":{"_postman_id":"6b38042b-1d06-4f20-8891-a85e56b88512","name":"Run-API","description":"<html><head></head><body><p>Please note, the example API requests use a previously generated API key for the \"Authorization\" value in the header. To run your own requests, first create an API key and replace the “Authorization” value with the new API key.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1811325","collectionId":"6b38042b-1d06-4f20-8891-a85e56b88512","publishedId":"SW7aXSsX","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-11-20T17:45:04.000Z"},"item":[{"name":"Get API Key","id":"9fe74502-fc58-4987-9028-fda845217eb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://run-api.com/v1/key","description":"<p>Create a new organization and API Key.</p>\n<p>Use the \"api_key\" in the Authorization header of the API requests.</p>\n","urlObject":{"protocol":"https","path":["v1","key"],"host":["run-api","com"],"query":[],"variable":[]}},"response":[{"id":"4380c0b5-1d4c-4f52-ab06-ba49dcd51c4d","name":"Get API Key","originalRequest":{"method":"GET","header":[],"url":"https://run-api.com/v1/key"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 20 Nov 2019 17:17:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"538c13e8afcf5709-IAD"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"result\": {\n        \"api_key\": \"2f5c19c5-bc39-4861-89e8-c127ed804f79\"\n    },\n    \"error\": false\n}"}],"_postman_id":"9fe74502-fc58-4987-9028-fda845217eb7"},{"name":"Create User","id":"0b779e5e-d3e6-4fb5-8030-ae4a159617aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"2f5c19c5-bc39-4861-89e8-c127ed804f79"}],"body":{"mode":"raw","raw":"{\"firstName\":\"Robert\",\"lastName\":\"Smith\",\"email\":\"rsmith@run-api.com\"}"},"url":"https://run-api.com/v1/users","description":"<p>Create a new user in your organization.</p>\n<p>Note the “userId” created in the response of your request. The “userId” is used in the Get User, Update User and Delete User API requests.</p>\n","urlObject":{"protocol":"https","path":["v1","users"],"host":["run-api","com"],"query":[],"variable":[]}},"response":[{"id":"256713a0-ba46-4c43-b887-749042aaf9e8","name":"Create User","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"2f5c19c5-bc39-4861-89e8-c127ed804f79"}],"body":{"mode":"raw","raw":"{\"firstName\":\"Robert\",\"lastName\":\"Smith\",\"email\":\"rsmith@run-api.com\"}"},"url":"https://run-api.com/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 20 Nov 2019 17:40:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"538c3578fb465709-IAD"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"result\": {\n        \"success\": \"userId 24 created\"\n    },\n    \"error\": false\n}"}],"_postman_id":"0b779e5e-d3e6-4fb5-8030-ae4a159617aa"},{"name":"Get All Users","id":"85886ecb-af77-4183-9389-84a17b07c278","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"2f5c19c5-bc39-4861-89e8-c127ed804f79","description":"<p>API Key</p>\n"}],"url":"https://run-api.com/v1/users/","description":"<p>Retrieve all users in your organization.</p>\n","urlObject":{"protocol":"https","path":["v1","users",""],"host":["run-api","com"],"query":[],"variable":[]}},"response":[{"id":"0ee0b752-80e6-466c-905b-4032467229dd","name":"Get All Users","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"2f5c19c5-bc39-4861-89e8-c127ed804f79","description":"API Key"}],"url":"https://run-api.com/v1/users/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 20 Nov 2019 17:40:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"538c362d1d645709-IAD"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"result\": [\n        {\n            \"userId\": \"24\",\n            \"api_user_id\": \"45\",\n            \"firstName\": \"Robert\",\n            \"lastName\": \"Smith\",\n            \"email\": \"rsmith@run-api.com\",\n            \"created\": \"2019-11-20 17:40:25\"\n        }\n    ],\n    \"error\": false\n}"}],"_postman_id":"85886ecb-af77-4183-9389-84a17b07c278"},{"name":"Get User","id":"ec3c6976-697e-4b03-b509-f0d4f53563d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"2f5c19c5-bc39-4861-89e8-c127ed804f79","description":"<p>API Key</p>\n"}],"url":"https://run-api.com/v1/users/24","description":"<p>Retrieve the user information of a single user in your organization.</p>\n<p>Replace the example “userId” of 24 with a “userId” of a user you have previously created.</p>\n","urlObject":{"protocol":"https","path":["v1","users","24"],"host":["run-api","com"],"query":[],"variable":[]}},"response":[{"id":"be5157d1-ccfb-44e6-8737-19a7e9e2527e","name":"Get User","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"2f5c19c5-bc39-4861-89e8-c127ed804f79","description":"API Key"}],"url":"https://run-api.com/v1/users/24"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 20 Nov 2019 17:41:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"538c36e6ca7a5709-IAD"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"result\": {\n        \"userId\": \"24\",\n        \"api_user_id\": \"45\",\n        \"firstName\": \"Robert\",\n        \"lastName\": \"Smith\",\n        \"email\": \"rsmith@run-api.com\",\n        \"created\": \"2019-11-20 17:40:25\"\n    },\n    \"error\": false\n}"}],"_postman_id":"ec3c6976-697e-4b03-b509-f0d4f53563d0"},{"name":"Update User","id":"5d6a20df-1c9f-4a88-a4ce-dd8c6827b1ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"2f5c19c5-bc39-4861-89e8-c127ed804f79"}],"body":{"mode":"raw","raw":"{\"firstName\":\"Bob\",\"lastName\":\"Smith\",\"email\":\"rsmith@run-api.com\"}"},"url":"https://run-api.com/v1/users/24","description":"<p>Update the profile of a user in your organization.</p>\n<p>Replace the example “userId” of 24 with a “userId” of a user you have previously created.</p>\n","urlObject":{"protocol":"https","path":["v1","users","24"],"host":["run-api","com"],"query":[],"variable":[]}},"response":[{"id":"220919cc-6862-4cd3-ae14-c8c007a2a22b","name":"Update User","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"2f5c19c5-bc39-4861-89e8-c127ed804f79"}],"body":{"mode":"raw","raw":"{\"firstName\":\"Bob\",\"lastName\":\"Smith\",\"email\":\"rsmith@run-api.com\"}"},"url":"https://run-api.com/v1/users/24"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 20 Nov 2019 17:41:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"538c3784fd4d5709-IAD"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"result\": {\n        \"success\": \"userId 24 updated\"\n    },\n    \"error\": false\n}"}],"_postman_id":"5d6a20df-1c9f-4a88-a4ce-dd8c6827b1ce"},{"name":"Delete User","id":"c09efdb8-ef0b-42cd-8f64-5f2d10db1ba8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"2f5c19c5-bc39-4861-89e8-c127ed804f79"}],"url":"https://run-api.com/v1/users/24","description":"<p>Delete a user from your organization.</p>\n<p>Replace the example “userId” of 24 with a “userId” of a user you have previously created.</p>\n","urlObject":{"protocol":"https","path":["v1","users","24"],"host":["run-api","com"],"query":[],"variable":[]}},"response":[{"id":"2442cb68-0b63-4d95-a1ff-b7b3e0e97b77","name":"Delete User","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"2f5c19c5-bc39-4861-89e8-c127ed804f79"}],"url":"https://run-api.com/v1/users/24"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 20 Nov 2019 17:42:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"538c38288d805709-IAD"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"result\": {\n        \"success\": \"userId 24 deleted\"\n    },\n    \"error\": false\n}"}],"_postman_id":"c09efdb8-ef0b-42cd-8f64-5f2d10db1ba8"}],"event":[{"listen":"prerequest","script":{"id":"7026c40f-e1bb-4ee5-93d2-c6602c2bf3a2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"80692d2d-3603-4fe7-b476-3425f7990604","type":"text/javascript","exec":[""]}}]}