{"info":{"_postman_id":"83299876-32c6-426c-b137-8df6172b7bac","name":"TRYB Review API Documentation","description":"<html><head></head><body><p>🚀 This is the official TRYB Review API Version 1.0.0!</p>\n<p>⚙️ API are useful to automate processes!</p>\n<p>For example, you can automate the process of adding new seats, or automate review invitations!</p>\n<p><strong>AUTHORIZATION:</strong></p>\n<p>HOW TO FIND YOUR API TOKEN:</p>\n<ol>\n<li>Log in into the webapp</li>\n<li>Go to 'Settings' on the top-right corner</li>\n<li>Click on 'Automate'</li>\n<li>Click copy on the 'x-api-key'</li>\n</ol>\n<p>HOW TO FIND YOUR SEAT ID:</p>\n<ol>\n<li>Log in into the webapp</li>\n<li>Go to 'Settings' on the top-right corner</li>\n<li>Click on 'Automate'</li>\n<li>Click on 'Seat ID' to copy the selected ID you want to use</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"27467657","collectionId":"83299876-32c6-426c-b137-8df6172b7bac","publishedId":"2s93kxdSAw","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-05-17T08:46:59.000Z"},"item":[{"name":"Review Invitations","item":[{"name":"Schedule review invitation","id":"ab5e08ea-3f58-4d95-9aa4-0ebe4e33d3c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"YOUR-API-TOKEN","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"send_datetime\":\"2021-09-23T15:52:55+02:00\",\n    \"retry\":3,\n    \"template\":{\n        \"subject\":\"Ciao {{name}}\",\n        \"html\":\"test {{name}} {{company_name}} {{review_link}}\",\n        \"text\":\"test {{name}} {{company_name}} {{review_link}}\"\n    },\n    \"name\":\"Marco\",\n    \"email\":\"mattamarco88@gmail.com\",\n    \"user_defined_id\":\"xxx\",\n    \"seat\":\"{{seat_api}}\"\n}"},"url":"https://server.onlinereviews.tech/public-api/v1.0.0/review/invitation","description":"<p><strong>BODY DESCRIPTION:</strong></p>\n<p><code>send_datetime</code>: DateTime,</p>\n<p>When you want the invitation to be sent.</p>\n<p><code>retry</code>: Int,</p>\n<p>How many time do you want to re-send this invitation if the client does not click on the review link.</p>\n<p><code>Template</code>: Dict,</p>\n<ul>\n<li><code>subject</code>: String,<ul>\n<li>The subject of the email</li>\n</ul>\n</li>\n<li><code>html</code>: String,<ul>\n<li>The text of the email: any parameters will need to be inside double brackets</li>\n</ul>\n</li>\n<li><code>text</code>:String,<ul>\n<li>The text of the email: any parameters will need to be inside double brackets</li>\n</ul>\n</li>\n</ul>\n<p><code>name</code>: String,</p>\n<p>Name of the client you want to send the invitation to.</p>\n<p><code>email</code>: String,</p>\n<p>Email of the client.</p>\n<p><code>user_defined_id</code>: Optional, String,</p>\n<p>If you pass this parameter, as a response to a successful invitation, we will send you back this ID, as a tracking method</p>\n<p><code>seat</code>: String,</p>\n<p>The ID of the seat</p>\n<p><strong>RESPONSE DESCRIPTION:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": \"\",\n    \"tracking\": \"\",\n    \"send_datetime\": \"\",\n    \"retry\": \"\",\n    \"template\":{},\n    \"name\": \"\",\n    \"email\": \"\",\n    \"user_defined_id\": \"\",\n    \"idempotency_id\": \"\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["public-api","v1.0.0","review","invitation"],"host":["server","onlinereviews","tech"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab5e08ea-3f58-4d95-9aa4-0ebe4e33d3c6"},{"name":"Delete review invitation","id":"c2e65a3e-50f4-4bf3-9a49-d8c1b66ca846","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-api-key","value":"YOUR_API_TOKEN","type":"text"}],"url":"https://server.onlinereviews.tech/public-api/v1.0.0/review/invitation/:invitation_id","description":"<p>Delete the invitation.</p>\n<p><strong>PATH VARIABLES DESCRIPTION</strong>:</p>\n<p><code>invitation_id</code>: String,</p>\n<p>The ID of the Invitation.</p>\n","urlObject":{"protocol":"https","path":["public-api","v1.0.0","review","invitation",":invitation_id"],"host":["server","onlinereviews","tech"],"query":[],"variable":[{"id":"2b29eb97-d3d4-4a16-947f-aa365d330359","type":"any","value":null,"key":"invitation_id"}]}},"response":[],"_postman_id":"c2e65a3e-50f4-4bf3-9a49-d8c1b66ca846"},{"name":"Get review Invitation","id":"713bdd6d-2881-48d8-a004-8935bacd5a6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"YOUR_API_TOKEN","type":"text"}],"url":"https://server.onlinereviews.tech/public-api/v1.0.0/review/invitation/:invitation_id","description":"<p>Get invitation description.</p>\n<p><strong>PATH VARIABLES DESCRIPTION</strong>:</p>\n<p><code>invitation_id</code>: String,</p>\n<p>The ID of the invitation.</p>\n<p><strong>RESPONSE DESCRIPTION</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": \"\",\n    \"tracking\": \"\",\n    \"send_datetime\": \"\",\n    \"retry\": \"\",\n    \"template\":{},\n    \"name\": \"\",\n    \"email\": \"\",\n    \"user_defined_id\": \"\",\n    \"idempotency_id\": \"\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["public-api","v1.0.0","review","invitation",":invitation_id"],"host":["server","onlinereviews","tech"],"query":[],"variable":[{"id":"6a647e64-477f-46fe-8e79-c88ccf0645dd","type":"any","value":"","key":"invitation_id"}]}},"response":[],"_postman_id":"713bdd6d-2881-48d8-a004-8935bacd5a6d"},{"name":"Get review stats","id":"cb6414e6-a7e3-47c3-b322-d2d23853a74a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://server.onlinereviews.tech/public-api/v1.0.0/review/stats/:seat_id","description":"<p>Return reviews stats of your seats.</p>\n<p><strong>PATH VARIABLES DESCRIPTION</strong>:</p>\n<p><code>seat_id:</code> String,</p>\n<p>The ID of the seat.</p>\n","urlObject":{"protocol":"https","path":["public-api","v1.0.0","review","stats",":seat_id"],"host":["server","onlinereviews","tech"],"query":[],"variable":[{"id":"13058b8a-7174-46fe-99d9-060aeb2690f1","type":"any","value":null,"key":"seat_id"}]}},"response":[],"_postman_id":"cb6414e6-a7e3-47c3-b322-d2d23853a74a"}],"id":"3e4b643b-d1ff-4908-a1ba-fbf560d7640d","description":"<p>Automate the review invitations.</p>\n","_postman_id":"3e4b643b-d1ff-4908-a1ba-fbf560d7640d"}]}