{"info":{"_postman_id":"f7a08767-035e-4fff-a57a-f813c4f53558","name":"SB360-DB-Update","description":"<html><head></head><body><p>These API calls allow accessing past chatlogs, adding users or updating their fields, adding agents, and more.</p>\n<p>Note that we sometimes use 'user' and 'SDFuser' interchangeably to refer to a user. An ID of a user is referred to with SDFuserid for backward compatibility.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6849619","collectionId":"f7a08767-035e-4fff-a57a-f813c4f53558","publishedId":"S17m1ri5","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-03-14T22:58:26.000Z"},"item":[{"name":"Agent management","item":[{"name":"Add Agent","id":"6daf64b2-964a-4093-90d4-4269434084ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/addAgent","description":"<p>Add an agent.</p>\n<p>Note that agent cannot be \"admin\" or \"superadmin\" and it has to be an existing role.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>role</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>Agent's role, default value is <em>agent</em></td>\n</tr>\n<tr>\n<td>agentEmail</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Agent's email</td>\n</tr>\n<tr>\n<td>firstName</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Agent's first name</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Agent's last name</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","addAgent"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"3dc87f71-79da-4668-ab70-d057436f3cbf","name":"Add Agent","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"role\": \"agent\",\n    \"agentEmail\": \"example@example.com\",\n    \"firstName\": \"$FNAME\",\n    \"lastName\": \"$LNAME\",\n    \"securityToken\": \"$TOKEN\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/addAgent"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"Agent created.\"\n}"}],"_postman_id":"6daf64b2-964a-4093-90d4-4269434084ca"},{"name":"Add Agent Alert","id":"6a8fdcdf-b9b6-4498-8781-b412c6f721cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"message\": \"createAgentAlert test meddage.\",\n    \"securityToken\": \"h6Jsan0WemHpMoV1rUEGwHouGf32IYQr7nDi1Zr5q9Df8hZfHpjeiY4NlCyLqwDmWmsJMBiZwwbYrMxFxtukLPoYXHXMyjAguyxx\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/createAgentAlert","description":"<p>Creates and activates an agent alert. If adminId or agentRole is not specified, alerts are shown to everyone.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>message</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Alert message</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>adminId</td>\n<td><em>optional</em></td>\n<td>int</td>\n<td>Admin ID</td>\n</tr>\n<tr>\n<td>agentRole</td>\n<td><em>optional</em></td>\n<td>int</td>\n<td>Agent role</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","createAgentAlert"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"db8898cc-daa4-4469-a77b-537e2d1aafe2","name":"Add Agent Alert","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"message\": \"$MESSAGE\",\r\n    \"securityToken\": \"$TOKEN\",\r\n    \"adminId\": \"$ADMINID\",\r\n    \"agentRole\": \"$ROLE\"\r\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/createAgentAlert"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"Agent alert has been created.\"\n}"}],"_postman_id":"6a8fdcdf-b9b6-4498-8781-b412c6f721cc"},{"name":"Get Agents","id":"84a9bf07-1b0d-40c2-be9c-441bdae45092","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"securityToken\": \"$TOKEN\",\n\t\"batch\": 1\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getAgents","description":"<p>This request will return an array of agents within the SmartBot360 system.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>batch</td>\n<td><em>required</em></td>\n<td>integer</td>\n<td>group of 20 users sorted by adminid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","getAgents"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"46ada26b-55c3-4495-ac0f-e236149ce3e2","name":"Get Agents","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"securityToken\": \"$TOKEN\",\n\t\"batch\": 1\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getAgents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Length","value":"1100"},{"key":"Content-Encoding","value":"gzip"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Wed, 11 Sep 2019 20:14:07 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"agents\": [\n        {\n            \"email\": \"user1@smartbot360.com\",\n            \"adminid\": 29,\n            \"fname\": \"first name\",\n            \"lname\": \"last name\",\n            \"role\": \"admin\",\n            \"away\": false,\n            \"availability\": true\n        },\n        {\n            \"email\": \"user2@smartbot360.com\",\n            \"adminid\": 30,\n            \"fname\": \"first name\",\n            \"lname\": \"last name\",\n            \"role\": \"QATester\",\n            \"away\": true,\n            \"availability\": true,\n            \"awayNote\": \"test\"\n        }\n    ]\n}"}],"_postman_id":"84a9bf07-1b0d-40c2-be9c-441bdae45092"},{"name":"Get Agent Alerts","id":"bc0c556a-4044-4412-ba1b-0d2b7757c24d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"securityToken\": \"$TOKEN\"\r\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getAgentAlerts","description":"<p>This request will return an array of agent alerts within the SmartBot360 system.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","getAgentAlerts"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"1de09a6e-22a0-4e8c-be3b-0e9f787bd40c","name":"Get Agent Alerts","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"securityToken\": \"$TOKEN\"\r\n}"},"url":"https://xxx.smartbot360.com/chatapi/smartdash/public/getAgentAlerts"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"alerts\": [\r\n        {\r\n            \"alertId\": 1,\r\n            \"timestamp\": \"2017-09-26 23:55:09.0\",\r\n            \"adminId\": \"4\",\r\n            \"agentRole\": \"agent\",\r\n            \"message\": \"Agent alert 1\"\r\n        },\r\n                {\r\n            \"alertId\": 2,\r\n            \"timestamp\": \"2017-10-15 18:42:54.0\",\r\n            \"adminId\": \"4\",\r\n            \"agentRole\": \"agent\",\r\n            \"message\": \"Agent alert 2\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"bc0c556a-4044-4412-ba1b-0d2b7757c24d"},{"name":"Get User Notes","id":"74983e1b-4d0f-49fa-9952-5d8a9e3693f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getUserNotes","description":"<p>Get notes of one user by ID or phone number.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userPhone</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's phone number, optional if <em>SDFuserid</em> is given</td>\n</tr>\n<tr>\n<td>SDFuserid</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's ID, optional if <em>userPhone</em> is given</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div><p>Notes: Phone numbers must be in the format like +12223334444, where +1 is the country code.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","getUserNotes"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"4cd927a8-f1e4-40e9-8855-43f41a6c716f","name":"Get User Notes by Phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userPhone\": \"+12223334444\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getUserNotes"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    \"this is note 1 on March 2 2019 at 8:40 pm\",\n    \"this is 2nd note\",\n    \"3\",\n    \"4\",\n    \"5\",\n    \"6\",\n    \"sjsso fjoiwj fowj foe jcoiejvoe\",\n    \"wfjowi jfoiwej oiew jfowe wfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowe\",\n    \"wfjowi jfoiwej oiew jfowe\",\n    \"wfjowi jfoiwej oiew jfowe\",\n    \"wfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfo\"\n]"},{"id":"ab36f02f-e7ae-4b4e-88a2-6efade1df460","name":"Get User Notes by ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"SDFuserid\": \"$USERID\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getUserNotes"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    \"this is note 1 on March 2 2019 at 8:40 pm\",\n    \"this is 2nd note\",\n    \"3\",\n    \"4\",\n    \"5\",\n    \"6\",\n    \"sjsso fjoiwj fowj foe jcoiejvoe\",\n    \"wfjowi jfoiwej oiew jfowe wfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowe\",\n    \"wfjowi jfoiwej oiew jfowe\",\n    \"wfjowi jfoiwej oiew jfowe\",\n    \"wfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfowewfjowi jfoiwej oiew jfo\"\n]"}],"_postman_id":"74983e1b-4d0f-49fa-9952-5d8a9e3693f0"},{"name":"Delete Agent Alert","id":"6bf459b4-58b6-481f-b452-8986bb416c8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"alertId\": 31,\n    \"securityToken\": \"$TOKEN\"\n}","options":{"raw":{"language":"json"}}},"url":"https://xxx.smartbot360.com/chatapi/smartdash/public/deleteAgentAlert","description":"<p>Deactivates an agent alert.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>alertId</td>\n<td><em>required</em></td>\n<td>int</td>\n<td>Alert ID</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","deleteAgentAlert"],"host":["xxx","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"4ef17463-d0ab-459b-87ae-aed097242c56","name":"Delete Agent Alert","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"alertId\": 31,\r\n    \"securityToken\": \"$TOKEN\"\r\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/deleteAgentAlert"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"Agent alert has been deleted.\"\n}"}],"_postman_id":"6bf459b4-58b6-481f-b452-8986bb416c8b"},{"name":"Set Agent Role","id":"760159d3-9caf-4578-aed2-3ba721f9b815","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"agentEmail\": \"example@example.com\",\r\n    \"newRole\": \"agent\",\r\n    \"securityToken\": \"$TOKEN\"\r\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/setAgentRole","description":"<p>Set an agent's role.</p>\n<p>Note that agent cannot be \"admin\" or \"superadmin\" and it must be an existing role.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>agentEmail</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Agent's email</td>\n</tr>\n<tr>\n<td>newRole</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Agent's new role</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","setAgentRole"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"70f78212-01ca-46b7-9e31-6e651cc770a0","name":"Set Agent Role","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"agentEmail\": \"example@example.com\",\n    \"newRole\": \"agent\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/setAgentRole"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"Agent role set.\"\n}"}],"_postman_id":"760159d3-9caf-4578-aed2-3ba721f9b815"},{"name":"Update Agent Availability","id":"421cbcd0-5436-4577-8899-d4678eb1e135","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"adminid\": 36,\n\t\"securityToken\": \"$TOKEN\",\n\t\"availability\": 0\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/updateAgentAvailability ","description":"<p>This request sets the availability status of an agent. 0 is unavailable and 1 is available. </p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields if the message is text (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>availability</td>\n<td><em>required</em></td>\n<td>integer</td>\n<td>The availability you desier for the agent</td>\n</tr>\n<tr>\n<td>adminid</td>\n<td><em>required</em></td>\n<td>integer</td>\n<td>The id of the agent you are changing the availability of.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","updateAgentAvailability "],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"9b8d186d-36f3-470b-8d7f-66aea7639189","name":"Update Agent Availability","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"adminid\": 36,\n\t\"securityToken\": \"$TOKEN\",\n\t\"availability\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/updateAgentAvailability "},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"421cbcd0-5436-4577-8899-d4678eb1e135"},{"name":"Activate Agent","id":"f209105e-a3d8-4564-a0d5-3035c9f32449","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"agentEmail\": \"example@example.com\",\r\n    \"securityToken\": \"$TOKEN\"\r\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/activateAgent","description":"<p>Activate an agent.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>agentEmail</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Agent's email</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","activateAgent"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"b12f738e-19f5-49f4-8479-146bb5088181","name":"Activate Agent","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"agentEmail\": \"example@example.com\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/deactivateAgent"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"Agent activated.\"\n}"}],"_postman_id":"f209105e-a3d8-4564-a0d5-3035c9f32449"},{"name":"Deactivate Agent","id":"a1aa1ee8-efc8-414f-8239-3150a8db9630","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"agentEmail\": \"example@example.com\",\r\n    \"securityToken\": \"$TOKEN\"\r\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/deactivateAgent","description":"<p>Deactivate an agent.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>agentEmail</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Agent's email</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","deactivateAgent"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"0d135089-7f45-4251-b1bf-2963bbdf5388","name":"Deactivate Agent","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"agentEmail\": \"example@example.com\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/deactivateAgent"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"Agent deactivated.\"\n}"}],"_postman_id":"a1aa1ee8-efc8-414f-8239-3150a8db9630"}],"id":"d6ab81b8-a3b3-4371-9837-d78eb8d3d7f6","_postman_id":"d6ab81b8-a3b3-4371-9837-d78eb8d3d7f6","description":""},{"name":"User management","item":[{"name":"Add User","id":"1eb7be2b-592d-4a96-87fd-a3c94fef2921","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"token\",\n\t\"fname\": \"$FNAME\",\n\t\"lname\": \"$LNAME\",\n\t\"email\": \"useremail@test.com\",\n\t\"phone\": \"+12223334444\",\n\t\"test_var\": \"test\"\n}"},"url":"https://xxx.smartbot360.com/chatapi/smartdash/public/addUser","description":"<p>Add a user in the user database. SDFUserid will be returned if successful. If a key in input parameter is not present in SDFuser table, it will be added as a column to allow specifying more {key, value} pairs.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security Token</td>\n</tr>\n<tr>\n<td>fname</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>Users First Name</td>\n</tr>\n<tr>\n<td>lname</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>Users Last Name</td>\n</tr>\n<tr>\n<td>email</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>Users Email Id</td>\n</tr>\n<tr>\n<td>phone</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>Users Phone Number</td>\n</tr>\n<tr>\n<td>newKey</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>Any new key to be added</td>\n</tr>\n</tbody>\n</table>\n</div><p>Notes: Phone numbers must be in the format like +12223334444, where +1 is the country code.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","addUser"],"host":["xxx","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"d81ea7cc-a292-4d1e-995c-09dfd3d3336b","name":"Add User","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"token\",\n\t\"fname\": \"$FNAME\",\n\t\"lname\": \"$LNAME\",\n\t\"email\": \"useremail@test.com\",\n\t\"phone\": \"+12223334444\",\n\t\"test_var\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi//smartdash/public/addUser"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"SDFuserid: 13389 created\"\n}"}],"_postman_id":"1eb7be2b-592d-4a96-87fd-a3c94fef2921"},{"name":"Add User Note","id":"4cb00cf9-a15a-4dc5-875f-2820e0e10b5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$TOKEN\",\n    \"SDFuserid\": 8263,\n    \"adminid\": 203,\n    \"note\": \"the note you want to add\",\n    \"visibility\": \"public\",\n    \"isPinned\": 0\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/addUserNote","description":"<p>Add a note to a particular user.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security Token</td>\n</tr>\n<tr>\n<td>SDFuserid</td>\n<td><em>required</em></td>\n<td>integer</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>adminid</td>\n<td><em>required</em></td>\n<td>integer</td>\n<td>Admin ID</td>\n</tr>\n<tr>\n<td>note</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>The note that you want to add</td>\n</tr>\n<tr>\n<td>visibility</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Can be either \"public\" or \"private\"</td>\n</tr>\n<tr>\n<td>isPinned</td>\n<td><em>required</em></td>\n<td>bool</td>\n<td>Whether the note will be pinned or not (0 or 1)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","addUserNote"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"71d950cc-ce24-4e97-ac6f-92557ee9e71a","name":"Add User Note","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$TOKEN\",\n    \"SDFuserid\": 8263,\n    \"adminid\": 203,\n    \"note\": \"the note you want to add\",\n    \"visibility\": \"public\",\n    \"isPinned\": 0\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/addUserNote"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"Success\": \"Note Added!\"\r\n}"}],"_postman_id":"4cb00cf9-a15a-4dc5-875f-2820e0e10b5d"},{"name":"Add User to Queue","id":"6c4fe481-31c7-4fed-8fc6-93aff617a292","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"securityToken\": \"$TOKEN\",\n\t\"SDFuserid\": 1649,\n\t\"phone\": \"+11111111111\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/addUserToQueue ","description":"<p>Add a user to the agent queue.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security Token</td>\n</tr>\n<tr>\n<td>SDFuserid</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's ID, optional if <em>userPhone</em> is given</td>\n</tr>\n<tr>\n<td>phone</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's phone number, optional if <em>SDFuserid</em> is given</td>\n</tr>\n</tbody>\n</table>\n</div><p>Notes: Phone numbers must be in the format like +12223334444, where +1 is the country code.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","addUserToQueue "],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"f3a3bcf3-49f2-4d36-bddc-de8c4ca31532","name":"Add User to Queue","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"securityToken\": \"$TOKEN\",\n\t\"SDFuserid\": 1649,\n\t\"phone\": \"+12223334444\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/addUserToQueue "},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"Success\": \"user added to queue\"\r\n}"}],"_postman_id":"6c4fe481-31c7-4fed-8fc6-93aff617a292"},{"name":"Add User by Phone","id":"849d9289-93da-4172-bc31-fae1fe420b3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userPhone\": \"+12223334444\",\r\n    \"securityToken\": \"$TOKEN\"\r\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/insertUserByPhone","description":"<p>Add a new user by phone number.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userPhone</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>User's phone number</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div><p>Notes: Phone numbers must be in the format like +12223334444, where +1 is the country code.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","insertUserByPhone"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"8ed6d144-4f05-4b47-b80b-2dea79a0438a","name":"Add User by Phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userPhone\": \"+12223334444\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/insertUserByPhone"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"SDFUserid\": \"XXXX\"\n}"}],"_postman_id":"849d9289-93da-4172-bc31-fae1fe420b3b"},{"name":"Add User Alert","id":"459efed1-d979-40fa-95a0-8f8a72ba5f90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$TOKEN\",\n    \"SDFuserid\": 8263,\n    \"adminid\": 203,\n    \"note\": \"alert note to be added\",\n    \"visibility\": \"public\",\n    \"isPinned\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/addUserAlert","description":"<p>Add an alert to a particular user.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security Token</td>\n</tr>\n<tr>\n<td>SDFuserid</td>\n<td><em>required</em></td>\n<td>integer</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>adminid</td>\n<td><em>required</em></td>\n<td>integer</td>\n<td>Admin ID</td>\n</tr>\n<tr>\n<td>note</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>The note that you want to add</td>\n</tr>\n<tr>\n<td>visibility</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Can be either \"public\" or \"private\"</td>\n</tr>\n<tr>\n<td>isPinned</td>\n<td><em>required</em></td>\n<td>bool</td>\n<td>Whether the note will be pinned or not (0 or 1)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","addUserAlert"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"83ead4c4-6bbc-44c3-8343-063848656c58","name":"Add User Alert","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$TOKEN\",\n    \"SDFuserid\": 8263,\n    \"adminid\": 133,\n    \"note\": \"alert note to be added\",\n    \"visibility\": \"public\",\n    \"isPinned\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/addUserAlert"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx/1.10.3"},{"key":"Date","value":"Tue, 06 Oct 2020 18:52:08 GMT"},{"key":"Content-Type","value":"text/plain;charset=utf-8"},{"key":"Content-Length","value":"48"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{ \"Success\" : \"Alert Added\"}"}],"_postman_id":"459efed1-d979-40fa-95a0-8f8a72ba5f90"},{"name":"Add Flags","id":"351e8895-677f-4ea6-97bd-3549595006b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/addFlags","description":"<p>Add one flag to one user by ID or phone number.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userPhone</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's phone number, optional if <em>SDFuserid</em> is given</td>\n</tr>\n<tr>\n<td>SDFuserid</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's ID, optional if <em>userPhone</em> is given</td>\n</tr>\n<tr>\n<td>flagName</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Flag name</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","addFlags"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"74080571-aefe-4755-9c31-d4800d8a6eae","name":"Add Flags by Phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userPhone\": \"+12223334444\",\n    \"flagName\": \"$FLAG\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/addFlags"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"Flags added.\"\n}"},{"id":"b17e90d4-dbf9-41bb-8dc1-47aa6378ed65","name":"Add Flags by ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"SDFuserid\": \"0000\",\n    \"flagName\": \"$FLAG\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/addFlags"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"Flags added.\"\n}"}],"_postman_id":"351e8895-677f-4ea6-97bd-3549595006b7"},{"name":"Get Users Json","id":"7caec1e1-0851-48d3-b461-852397134eec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$TOKEN\",\n    \"startDate\": \"2019-09-30T07:00:00.814Z\",\n    \"endDate\": \"2019-10-31T06:59:59.814Z\",\n    \"timezone\": \"-07:00\",\n    \"filter\": \"all\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getUsersJSON","description":"<p>Retrieves the \"users\" table in \"Analytics\" page as a JSON object. Users are filtered using startDate and endDate based on the timestamp of the last message sent by a user.\nNote that for GMT timezone, you should pass \"+00:00\" and not \"00:00\".</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security Token</td>\n</tr>\n<tr>\n<td>startDate</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Start date and time</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>End date and time</td>\n</tr>\n<tr>\n<td>timezone</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Time zone of the retrieved entries in offset format</td>\n</tr>\n<tr>\n<td>filter</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>\"all\" for all users or \"archived\" for archived users only (default is non-archived users only)</td>\n</tr>\n<tr>\n<td>functionid</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>Chatbot name</td>\n</tr>\n<tr>\n<td>adminid</td>\n<td><em>optional</em></td>\n<td>int</td>\n<td>Agent ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","getUsersJSON"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"d4e26db1-d07d-49b2-8291-db624c814a0a","name":"Get Users Json","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$TOKEN\",\n    \"startDate\": \"2019-09-30T07:00:00.814Z\",\n    \"endDate\": \"2019-10-31T06:59:59.814Z\",\n    \"timezone\": \"-07:00\",\n    \"filter\": \"all\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getUsersJSON"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"myArrayList\": [\n        {\n            \"map\": {\n                \"day2response\": \"\",\n                \"country\": \"\",\n                \"child1dob\": \"\",\n                \"helloThere\": \"\",\n                \"testVar\": \"\",\n                \"MoneySeverity\": \"\",\n                \"gender\": \"\",\n                \"city\": \"\",\n                \"handoffOriginalSDFuserid\": \"\",\n                \"country1\": \"\",\n                \"OwnerSDFUserid\": \"0\",\n                \"insuranceType\": \"\",\n                \"MentalHealthSeverity\": \"\",\n                \"concern\": \"\",\n                \"ssn\": \"\",\n                \"country2\": \"\",\n                \"day1feeltoday\": \"\",\n                \"lname\": \"Hri\",\n                \"finishedbots\": \"\",\n                \"qscore1\": \"\",\n                \"DentalSeverity\": \"\",\n                \"FamilySocialSeverity\": \"\",\n                \"yearofbirth\": \"\",\n                \"limitTest\": \"\",\n                \"numChildren\": \"\",\n                \"child1name\": \"\",\n                \"state\": \"\",\n                \"FoodSeverity\": \"\",\n                \"email\": \"\",\n                \"height\": \"\",\n                \"zip\": \"\",\n                \"fname\": \"Vag\",\n                \"SDFuserid\": \"4039\",\n                \"child2dob\": \"\",\n                \"nativeLang\": \"\",\n                \"MedicalSeverity\": \"\",\n                \"child2name\": \"\",\n                \"HousingSeverity\": \"\",\n                \"functionID\": \"\",\n                \"phone\": \"\",\n                \"dob\": \"\",\n                \"limitTest2\": \"\",\n                \"testcolumn23\": \"\",\n                \"limitTest1\": \"\"\n            }\n        },\n"}],"_postman_id":"7caec1e1-0851-48d3-b461-852397134eec"},{"name":"Get User Field","id":"2bcbcd9d-f185-40ca-9fe3-2ab89dda6f01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"SDFuserid\": \"0000\",\r\n    \"fieldName\": \"email\",\r\n    \"securityToken\": \"$TOKEN\"\r\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getUserField","description":"<p>Get the value of one user field by SDFuserid.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>SDFuserid</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>SDFuserid</td>\n</tr>\n<tr>\n<td>fieldName</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Name of the field</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","getUserField"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"481ce72f-7853-4953-983a-90136c2b5589","name":"Get User Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"SDFuserid\": \"0000\",\n    \"fieldName\": \"email\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getUserField"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"aaa@aaa.com\"\n}"}],"_postman_id":"2bcbcd9d-f185-40ca-9fe3-2ab89dda6f01"},{"name":"Get All User Fields","id":"c6564455-c30f-4b07-95e8-41c08949cd71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"SDFuserid\": \"0000\",\r\n    \"securityToken\": \"$TOKEN\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getAllUserFields","description":"<p>Get the values of all user field by SDFuserid.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","getAllUserFields"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"7a2bbfe1-b782-45ab-a55c-c1ca16d39de2","name":"Get All User Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"SDFuserid\": \"0000\",\r\n    \"securityToken\": \"$TOKEN\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getAllUserFields"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\"country\":\"USA\",\"siblings\":\"\",\"fnamejr\":\"\",\"favefood\":\"\",\"county\":\"Fulton County\",\"ExternalAPI149\":\"\",\"unitNumber\":\"\",\"talktoagent\":\"\",\"DemogrEthnicity\":\"Vietnamese\",\"phone1\":\"\",\"maintenanceStatus\":\"\",\"appointmentdate\":\"\",\"balance\":\"\",\"rentAmount\":\"\",\"leaseEndDate\":\"\",\"Alllastmessage\":\"2023-12-18 08:17:29\",\"state\":\"Georgia\",\"id\":\"\",\"patientaccountnumber\":\"\",\"usersince\":\"2023-08-29 00:08:22\",\"lat\":\"\",\"zip\":\"30344\",\"fname\":\"Jonathan\",\"unittype\":\"\",\"unitno\":\"\",\"lng\":\"\",\"DemogrAge\":\"56\",\"issue\":\"\",\"fnamelname\":\"\",\"nativeLang\":\"\",\"phone\":\"+19094181894\",\"dob\":\"\",\"lastVisitedPage\":\"\",\"DemogrPostalCode\":\"91763\",\"animal\":\"\",\"DemogrLanguage\":\"English\",\"gender\":\"\",\"city\":\"Atlanta\",\"timezone\":\"\",\"DemogrLastName\":\"VO\",\"handoffOriginalSDFuserid\":\"\",\"phoneAuthenticated\":\"0\",\"DemogrEstIncome\":\"$55000 - $59999\",\"lname\":\"Vo\",\"yearofbirth\":\"\",\"DemogrReligion\":\"Buddhist\",\"TM1\":\"\",\"streetaddress\":\"3400 N Desert Dr\",\"residentID\":\"\",\"residentType\":\"\",\"DemogrAddress\":\"11019 FREMONT AVE\",\"identityverification\":\"\",\"email\":\"\",\"favcolor\":\"\",\"DemogrFirstName\":\"LEENA\",\"address\":\"3400 N Desert Dr, Atlanta, GA, 30344, USA\",\"SDFuserid\":\"43190\",\"question\":\"\",\"DemogrCity\":\"MONTCLAIR\",\"DemogrHoh\":\"2\",\"DemogrPersonOccupation\":\"Other\",\"appointmentdatetime\":\"\",\"Default2\":\"\",\"optout\":\"0\",\"Default1\":\"\",\"appointmentstarttime\":\"\",\"appointmentendtime\":\"\",\"DemogrState\":\"CA\",\"money\":\"\",\"newattr1\":\"\",\"YesNo159\":\"\",\"newattr2\":\"\",\"comment\":\"\",\"risk\":\"\",\"newvar\":\"\",\"category\":\"\",\"YesNo151\":\"\",\"age\":\"\",\"username\":\"\",\"DemogrChildPresent\":\"Y\"}"}],"_postman_id":"c6564455-c30f-4b07-95e8-41c08949cd71"},{"name":"Get User Field by Phone","id":"a8e016b4-9691-4e07-a823-de4bd23e4245","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userPhone\": \"+12223334444\",\r\n    \"fieldName\": \"email\",\r\n    \"securityToken\": \"$TOKEN\"\r\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getUserFieldByPhone","description":"<p>Get the value of one user field by user's phone number.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userPhone</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>User's phone number</td>\n</tr>\n<tr>\n<td>fieldName</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Name of the field</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div><p>Notes: Phone numbers must be in the format like +12223334444, where +1 is the country code.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","getUserFieldByPhone"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"1e0ba53b-eb09-433d-8a10-000c695e1e94","name":"Get User Field by Phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userPhone\": \"+12223334444\",\n    \"fieldName\": \"email\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getUserFieldByPhone"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"aaa@aaa.com\"\n}"}],"_postman_id":"a8e016b4-9691-4e07-a823-de4bd23e4245"},{"name":"Get All User Fields by Phone","id":"bc69bb29-ab6b-4225-8478-9907b0496c9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userPhone\": \"+12223334444\",\r\n    \"securityToken\": \"$TOKEN\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getAllUserFieldsByPhone","description":"<p>Get the values of all user fields by user's phone number.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","getAllUserFieldsByPhone"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"51f620df-5695-4e66-b414-cd65967a4ec8","name":"Get All User Fields by Phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userPhone\": \"+12223334444\",\r\n    \"securityToken\": \"$TOKEN\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getAllUserFieldsByPhone"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\"country\":\"USA\",\"siblings\":\"\",\"fnamejr\":\"\",\"favefood\":\"\",\"county\":\"Fulton County\",\"ExternalAPI149\":\"\",\"unitNumber\":\"\",\"talktoagent\":\"\",\"DemogrEthnicity\":\"Vietnamese\",\"phone1\":\"\",\"maintenanceStatus\":\"\",\"appointmentdate\":\"\",\"balance\":\"\",\"rentAmount\":\"\",\"leaseEndDate\":\"\",\"Alllastmessage\":\"2023-12-18 08:17:29\",\"state\":\"Georgia\",\"id\":\"\",\"patientaccountnumber\":\"\",\"usersince\":\"2023-08-29 00:08:22\",\"lat\":\"\",\"zip\":\"30344\",\"fname\":\"Jonathan\",\"unittype\":\"\",\"unitno\":\"\",\"lng\":\"\",\"DemogrAge\":\"56\",\"issue\":\"\",\"fnamelname\":\"\",\"nativeLang\":\"\",\"phone\":\"+19094181894\",\"dob\":\"\",\"lastVisitedPage\":\"\",\"DemogrPostalCode\":\"91763\",\"animal\":\"\",\"DemogrLanguage\":\"English\",\"gender\":\"\",\"city\":\"Atlanta\",\"timezone\":\"\",\"DemogrLastName\":\"VO\",\"handoffOriginalSDFuserid\":\"\",\"phoneAuthenticated\":\"0\",\"DemogrEstIncome\":\"$55000 - $59999\",\"lname\":\"Vo\",\"yearofbirth\":\"\",\"DemogrReligion\":\"Buddhist\",\"TM1\":\"\",\"streetaddress\":\"3400 N Desert Dr\",\"residentID\":\"\",\"residentType\":\"\",\"DemogrAddress\":\"11019 FREMONT AVE\",\"identityverification\":\"\",\"email\":\"\",\"favcolor\":\"\",\"DemogrFirstName\":\"LEENA\",\"address\":\"3400 N Desert Dr, Atlanta, GA, 30344, USA\",\"SDFuserid\":\"43190\",\"question\":\"\",\"DemogrCity\":\"MONTCLAIR\",\"DemogrHoh\":\"2\",\"DemogrPersonOccupation\":\"Other\",\"appointmentdatetime\":\"\",\"Default2\":\"\",\"optout\":\"0\",\"Default1\":\"\",\"appointmentstarttime\":\"\",\"appointmentendtime\":\"\",\"DemogrState\":\"CA\",\"money\":\"\",\"newattr1\":\"\",\"YesNo159\":\"\",\"newattr2\":\"\",\"comment\":\"\",\"risk\":\"\",\"newvar\":\"\",\"category\":\"\",\"YesNo151\":\"\",\"age\":\"\",\"username\":\"\",\"DemogrChildPresent\":\"Y\"}"}],"_postman_id":"bc69bb29-ab6b-4225-8478-9907b0496c9d"},{"name":" Get User Based On Phone","id":"9caeda3a-7d18-4ef1-9055-935d6df49cca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"securityToken\": \"$TOKEN\",\r\n\"phone\": \"+12223334444\"\r\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getUserBasedOnPhone","description":"<p>Return the database(s) where the SDFuser is based on. Given a phone number, this API returns the database(s) names as a list or returns \"not found\" if the user does not exist.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security Token</td>\n</tr>\n<tr>\n<td>phone</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>User's Phone Number</td>\n</tr>\n</tbody>\n</table>\n</div><p>Notes: Phone numbers must be in the format like +12223334444, where +1 is the country code.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","getUserBasedOnPhone"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"e68be9bd-105b-446b-a1d1-05d6e17d95e5","name":" Get User Based On Phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\"securityToken\": \"security token\",\n\"phone\": \"+12223334444\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getUserBasedOnPhone"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"9caeda3a-7d18-4ef1-9055-935d6df49cca"},{"name":"Get Flags","id":"33a15e52-f71c-4600-962e-d024781f20e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getFlags","description":"<p>Get all flags assigned to one user by ID or phone number.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userPhone</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's phone number, optional if <em>SDFuserid</em> is given</td>\n</tr>\n<tr>\n<td>SDFuserid</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's ID, optional if <em>userPhone</em> is given</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div><p>Notes: Phone numbers must be in the format like +12223334444, where +1 is the country code.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","getFlags"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"8e9b22c5-106b-40dd-874e-07ef0f106459","name":"Get Flags by Phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userPhone\": \"+12223334444\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getFlags"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    \"#pool\",\n    \"#sara\",\n    \"#saraf\",\n    \"#test1\",\n    \"#FoodOrderOnceNow_schedule_trigger\",\n    \"#cardss\",\n    \"#cards\",\n    \"#cards1\",\n    \"#cicoa\",\n    \"#dentistoncenow_schedule_trigger\",\n    \"#TestNOW_schedule_trigger\"\n]"},{"id":"d7650d33-3540-41db-8150-428bea86efb5","name":"Get Flags by ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"SDFuserid\": \"0000\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getFlags"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    \"#pool\",\n    \"#sara\",\n    \"#saraf\",\n    \"#test1\",\n    \"#FoodOrderOnceNow_schedule_trigger\",\n    \"#cardss\",\n    \"#cards\",\n    \"#cards1\",\n    \"#cicoa\",\n    \"#dentistoncenow_schedule_trigger\",\n    \"#TestNOW_schedule_trigger\"\n]"}],"_postman_id":"33a15e52-f71c-4600-962e-d024781f20e4"},{"name":"Set User Login","id":"3d200c4f-b301-43ee-b2d0-59b2f01c6526","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"securityToken\": \"$TOKEN\",\r\n\t\"username\": \"test1\",\r\n\t\"password\": \"test\",\r\n\t\"SDFuserid\": 1649\r\n}"},"url":"https://xxx.smartbot360.com/chatapi/smartdash/public/setUserLogin","description":"<p>This call will set or update the login for a user. If no SDFuserid is provided, it will create a new user with just a username, password, and SDFuserid assigned.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>SDFuserid</td>\n<td><em>optional</em></td>\n<td>integer</td>\n<td>User's ID</td>\n</tr>\n<tr>\n<td>username</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>the username you wish to set for this users login, 50 character max</td>\n</tr>\n<tr>\n<td>password</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>the password that you wish this user to log in with</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","setUserLogin"],"host":["xxx","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"5d8ce6b1-f360-41f5-9a22-187b4d773862","name":"Set User Login","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"securityToken\": \"$TOKEN\",\n\t\"username\": \"test1\",\n\t\"password\": \"test\",\n\t\"SDFuserid\": 1649\n}","options":{"raw":{"language":"json"}}},"url":"https://xxx.smartbot360.com/chatapi/smartdash/public/setUserLogin"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{ \"Success\" : \"1649\"}"}],"_postman_id":"3d200c4f-b301-43ee-b2d0-59b2f01c6526"},{"name":"Set User Field by Phone","event":[{"listen":"prerequest","script":{"id":"10743126-8c26-42ae-b26b-6bda4e1c7a6c","exec":[""],"type":"text/javascript"}}],"id":"da2badac-f959-4e49-bf1c-6e14ed82ffce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userPhone\": \"+12223334444\",\r\n    \"fieldName\": \"email\",\r\n    \"value\": \"example@example.com\",\r\n    \"securityToken\": \"$TOKEN\"\r\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/setUserFieldByPhone","description":"<p>Set one user field by user's phone number.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userPhone</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>User's phone number</td>\n</tr>\n<tr>\n<td>fieldName</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Name of the field</td>\n</tr>\n<tr>\n<td>fieldType</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>Can only be \"int\", \"float\", \"dateTime\" or \"varchar(4096)\"</td>\n</tr>\n<tr>\n<td>value</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Value</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div><p>Notes: Phone numbers must be in the format like +12223334444, where +1 is the country code.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","setUserFieldByPhone"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"fecd63f0-074a-4c68-94df-178cb0fb2230","name":"Set User Field by Phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userPhone\": \"+12223334444\",\n    \"fieldName\": \"email\",\n    \"value\": \"example@example.com\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/setUserFieldByPhone"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"User field is set.\"\n}"}],"_postman_id":"da2badac-f959-4e49-bf1c-6e14ed82ffce"},{"name":"Set User Field","id":"5ef580a9-e6ab-4ff4-a35d-e7ea5ca0042a","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"SDFuserid\": \"0000\",\r\n    \"fieldName\": \"email\",\r\n    \"value\": \"example@example.com\",\r\n    \"securityToken\": \"$TOKEN\"\r\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/setUserField","description":"<p>Set one user field by SDFuserid.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>SDFuserid</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>SDFuserid</td>\n</tr>\n<tr>\n<td>fieldName</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Name of the field</td>\n</tr>\n<tr>\n<td>fieldType</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>Can only be \"int\", \"float\", \"dateTime\" or \"varchar(4096)\"</td>\n</tr>\n<tr>\n<td>value</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Value</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","setUserField"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"cf83fe9d-0a8d-4e90-a7dd-025b3aee4199","name":"Set User Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"SDFuserid\": \"0000\",\n    \"fieldName\": \"email\",\n    \"value\": \"example@example.com\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/setUserField"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"User field is set.\"\n}"}],"_postman_id":"5ef580a9-e6ab-4ff4-a35d-e7ea5ca0042a"},{"name":"Set User Fields","id":"c258fa08-f155-4882-bfc5-e34d624ae0d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"SDFuserid\": \"0000\",\r\n    \"fields\": {\r\n        \"field1\": \"value1\",\r\n        \"field2\": \"value2\"\r\n    },\r\n    \"securityToken\": \"$TOKEN\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/setUserFields","description":"<p>Set multiple user fields by SDFuserid.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>SDFuserid</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>SDFuserid</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>fields</td>\n<td><em>required</em></td>\n<td>json</td>\n<td>Field names and values</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","setUserFields"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"dbd6f446-8693-47aa-9c78-0162e098b956","name":"Set User Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"SDFuserid\": \"0000\",\r\n    \"fields\": {\r\n        \"field1\": \"value1\",\r\n        \"field2\": \"value2\"\r\n    },\r\n    \"securityToken\": \"$TOKEN\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/setUserFields"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c258fa08-f155-4882-bfc5-e34d624ae0d3"},{"name":"Set User Fields by Phone","id":"6bca8b84-018b-419c-831c-2e415f23a3be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userPhone\": \"+12223334444\",\r\n    \"fields\": {\r\n        \"field1\": \"value1\",\r\n        \"field2\": \"value2\"\r\n    },\r\n    \"securityToken\": \"$TOKEN\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/setUserFieldsByPhone","description":"<p>Set multiple user fields by phone.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userPhone</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>User's phone number</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>fields</td>\n<td><em>required</em></td>\n<td>json</td>\n<td>Field names and values</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","setUserFieldsByPhone"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"be20444a-004f-445e-a187-a6ed5664a609","name":"Set User Fields by Phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userPhone\": \"+12223334444\",\r\n    \"fields\": {\r\n        \"field1\": \"value1\",\r\n        \"field2\": \"value2\"\r\n    },\r\n    \"securityToken\": \"$TOKEN\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/setUserFieldsByPhone"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"6bca8b84-018b-419c-831c-2e415f23a3be"},{"name":"Delete Flags","id":"548ec31f-178e-4789-bf4a-7b57a319bb68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/deleteFlags","description":"<p>Remove one flag from one user by ID or phone number.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userPhone</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's phone number, optional if <em>SDFuserid</em> is given</td>\n</tr>\n<tr>\n<td>SDFuserid</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's ID, optional if <em>userPhone</em> is given</td>\n</tr>\n<tr>\n<td>flagName</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Flag name</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div><p>Notes: Phone numbers must be in the format like +12223334444, where +1 is the country code.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","deleteFlags"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"0bb7f0e9-4e6c-4d3b-ab25-0c51b6321cc1","name":"Delete Flags by ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"SDFuserid\": \"0000\",\n    \"flagName\": \"$FLAG\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/deleteFlags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"Flag removed.\"\n}"},{"id":"4bcd1311-09c0-46b8-a0a3-5459089ee5b7","name":"Delete Flags by Phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userPhone\": \"+12223334444\",\n    \"flagName\": \"$FLAG\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/deleteFlags"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"Flag removed.\"\n}"}],"_postman_id":"548ec31f-178e-4789-bf4a-7b57a319bb68"}],"id":"136599a8-b349-4622-adb3-b5cbd2a5dde8","event":[{"listen":"prerequest","script":{"id":"7e73b8d4-1f64-4240-b00a-a1142c8bf24d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"276427ee-f82b-4c26-9bad-5c35a6b4d957","type":"text/javascript","exec":[""]}}],"_postman_id":"136599a8-b349-4622-adb3-b5cbd2a5dde8","description":""},{"name":"Logs and notes","item":[{"name":"Get Video Logs","id":"5da4f6ba-9d4b-4353-ab4e-5111d82b5364","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"startTime1\": \"2019-08-02 22:33:58\",\r\n    \"startTime2\": \"2019-08-03 22:34:11\",\r\n    \"securityToken\": \"$TOKEN\",\r\n    \"batch\": 1\r\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getVideoLogs","description":"<p>Get the video logs by specifying the range of the startTime.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>startTime1</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>startTime range 1</td>\n</tr>\n<tr>\n<td>startTime2</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>startTime range 2</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>batch</td>\n<td><em>required</em></td>\n<td>integer</td>\n<td>Get <em>Xth</em> batch of 20 results</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","getVideoLogs"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"f343e8b8-a2bc-47d2-907c-0fbe8ff29f04","name":"Get Video Logs","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"startTime1\": \"2019-08-02 22:33:58\",\n    \"startTime2\": \"2019-08-03 22:34:11\",\n    \"securityToken\": \"$TOKEN\",\n    \"batch\": 1\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getVideoLogs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"User Phone\": \"+19516344615\",\n        \"Start Time\": \"2019-08-02 22:34:00.0\",\n        \"Agent Email\": \"pgior001@ucr.edu\",\n        \"Extra Contact\": \"+19516344615\"\n    },\n    {\n        \"User Phone\": \"+19516344615\",\n        \"Start Time\": \"2019-08-02 22:34:13.0\",\n        \"Agent Email\": \"pgior001@ucr.edu\",\n        \"Extra Contact\": \"preston@smartbot360.com\"\n    }\n]"}],"_postman_id":"5da4f6ba-9d4b-4353-ab4e-5111d82b5364"},{"name":"Get Log Events","id":"eda4d5c2-d0f7-42b7-b23a-09d77a4105e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getLogEvents","description":"<p>Get log events.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>fromdate</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>From this date</td>\n</tr>\n<tr>\n<td>todate</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>To this date</td>\n</tr>\n<tr>\n<td>actiontype</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>Action type</td>\n</tr>\n<tr>\n<td>batch</td>\n<td><em>required</em></td>\n<td>integer</td>\n<td>Get <em>Xth</em> batch of 20 results</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","getLogEvents"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"95954b9a-e6ae-4592-b8f9-965ade0dcb06","name":"Get Log Events","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"securityToken\" : \"$TOKEN\",\n\t\"fromdate\" : \"2017-09-24 02:22:43.0\",\n\t\"todate\" : \"2017-09-26 23:55:09.0\",\n\t\"actiontype\" : \"logout\",\n\t\"batch\" : 1\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getLogEvents"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"actiontype\": \"logout\",\n        \"comments\": \"\",\n        \"IPaddress\": \"66.142.220.124\",\n        \"adminid\": \"4\",\n        \"timestamp\": \"2017-09-24 02:22:43.0\"\n    },\n    {\n        \"actiontype\": \"logout\",\n        \"comments\": \"\",\n        \"IPaddress\": \"75.140.6.19\",\n        \"adminid\": \"4\",\n        \"timestamp\": \"2017-09-26 23:55:09.0\"\n    }\n]"}],"_postman_id":"eda4d5c2-d0f7-42b7-b23a-09d77a4105e3"},{"name":"Get Notes by Time","id":"3baed260-4923-4d8c-bf08-bb1d354f713f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$TOKEN\",\n\t\"fromTime\": \"2019-03-02 23:39:14\",\n\t\"toTime\": \"2019-03-03 04:53:16\",\n\t\"SDFuserid\": 1649\n}"},"url":"https://XXX.smartbot360.com/chatapi//smartdash/public/getNotesByTime ","description":"<p>Get notes of users along with all attributes of notes table (visibility, isPinned etc) within a specified time range. If given a particular SDFuserid, all notes of that user within that specified time will be returned.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security Token</td>\n</tr>\n<tr>\n<td>fromTime</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Start date and time</td>\n</tr>\n<tr>\n<td>toTime</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>End date and time</td>\n</tr>\n<tr>\n<td>SDFuserid</td>\n<td><em>optional</em></td>\n<td>int</td>\n<td>SDFUser ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","","smartdash","public","getNotesByTime "],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"27b1479a-ba4d-4786-9358-7023b27e1042","name":"Get Notes By Time","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$TOKEN\",\n\t\"fromTime\": \"2019-03-02 23:39:14\",\n\t\"toTime\": \"2019-03-03 04:53:16\",\n\t\"SDFuserid\": 1649\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi//smartdash/public/getNotesByTime "},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"note\": \"public note from an agent\",\n        \"datetime\": \"2019-03-03 00:15:03.0\",\n        \"visibility\": \"public\",\n        \"SDFuserid\": \"1649\",\n        \"isPinned\": \"0\",\n        \"adminid\": \"71\",\n        \"id\": \"8\",\n        \"deletedtimestamp\": \"2020-01-06 20:37:33.0\"\n    }\n]"}],"_postman_id":"3baed260-4923-4d8c-bf08-bb1d354f713f"},{"name":"Get Chat Log JSON","id":"5fa70c36-ba9a-4a14-be18-206e77001b7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$TOKEN\",\n    \"startDate\": \"2019-09-30T07:00:00.814Z\",\n    \"endDate\": \"2019-10-31T06:59:59.814Z\",\n    \"timezone\": \"-07:00\",\n    \"filter\": \"all\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/downloadChatLogJson","description":"<p>Retrieves the \"Chat Logs\" table in \"Analytics\" page as a JSON object, excluding web chats in which the user did not send a message.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security Token</td>\n</tr>\n<tr>\n<td>startDate</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Start date and time</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>End date and time</td>\n</tr>\n<tr>\n<td>timezone</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Time zone of the retrieved entries in offset format</td>\n</tr>\n<tr>\n<td>filter</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>\"all\" for all users or \"archived\" for archived users only (default is non-archived users only)</td>\n</tr>\n<tr>\n<td>functionid</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>Chatbot name</td>\n</tr>\n<tr>\n<td>adminId</td>\n<td><em>optional</em></td>\n<td>int</td>\n<td>Agent ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","downloadChatLogJson"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"3cb36800-eeb1-4663-83ee-4b633a6cb8bb","name":"Get Chat Log JSON","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$TOKEN\",\n    \"startDate\": \"2019-09-30T07:00:00.814Z\",\n    \"endDate\": \"2019-10-31T06:59:59.814Z\",\n    \"timezone\": \"-07:00\",\n    \"filter\": \"all\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/downloadChatLogJson"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"myArrayList\": [\n        {\n            \"map\": {\n                \"Is User Message\": \"0\",\n                \"Time Sent\": \"2019-10-01 16:57:41.26278\",\n                \"User ID\": \"8667\",\n                \"attachmentURL\": \"\",\n                \"Message\": \"Please enter your email\",\n                \"Medium\": \"web\",\n                \"handoffOriginalSDFuserid\": \"\",\n                \"Chatbot\": \"SampleBot\",\n                \"Agent name\": \"\"\n            }\n        },\n        {\n            \"map\": {\n                \"Is User Message\": \"1\",\n                \"Time Sent\": \"2019-10-01 16:59:19.852801\",\n                \"User ID\": \"8667\",\n                \"attachmentURL\": \"\",\n                \"Message\": \"hello\",\n                \"Medium\": \"web\",\n                \"handoffOriginalSDFuserid\": \"\",\n                \"Chatbot\": \"SampleBot\",\n                \"Agent name\": \"\"\n            }\n        }\n}        "}],"_postman_id":"5fa70c36-ba9a-4a14-be18-206e77001b7b"},{"name":"Get Execution Table JSON","id":"a5382804-de22-42b2-9e15-6b02bbd06e8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$TOKEN\",\n    \"startDate\": \"2019-09-30T07:00:00.814Z\",\n    \"endDate\": \"2019-10-31T06:59:59.814Z\",\n    \"timezone\": \"-07:00\",\n    \"functionid\": \"Dentist\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getExecutionTableJSON","description":"<p>Retrieves \"Execution Log\" table in \"Analytics\" page as a JSON object.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security Token</td>\n</tr>\n<tr>\n<td>startDate</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Start date and time</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>End date and time</td>\n</tr>\n<tr>\n<td>timezone</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Time zone of the retrieved entries in offset format</td>\n</tr>\n<tr>\n<td>functionid</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Chatbot name</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","getExecutionTableJSON"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"7256a082-c1bb-4d68-b116-b9f54b29922e","name":"Get Execution Table Json","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$TOKEN\",\n    \"startDate\": \"2019-09-30T07:00:00.814Z\",\n    \"endDate\": \"2019-10-31T06:59:59.814Z\",\n    \"timezone\": \"-07:00\",\n    \"functionid\": \"Dentist\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/getExecutionTableJSON"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"myArrayList\": [\n        {\n            \"map\": {\n                \"executionID\": \"586\",\n                \"SDFuserid\": \"991\",\n                \"State\": \"\",\n                \"initiator\": \"0\",\n                \"Country\": \"\",\n                \"startTime\": \"2019-10-26 20:26:11.0\",\n                \"medium\": \"sms\",\n                \"City\": \"\"\n            }\n        }\n}"}],"_postman_id":"a5382804-de22-42b2-9e15-6b02bbd06e8e"}],"id":"fa09e9fd-fe18-440d-b099-b925b6315791","_postman_id":"fa09e9fd-fe18-440d-b099-b925b6315791","description":""},{"name":"Business Variables","item":[{"name":"List Business Variables","id":"b87e9fc3-da6f-4dc2-b0d6-9428370543af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/variables/business/list","description":"<p>List saved business variables for your account.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th><strong>required</strong></th>\n<th><strong>type</strong></th>\n<th><strong>doc</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","variables","business","list"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"e0c405d6-5187-4dbd-a61b-6398d95a707a","name":"List Sources","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/variables/business/list"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\r\n    {\r\n        \"name\": \"business_about\",\r\n        \"description\": \"A sentence or two describing highlighting the competitive advantage of the business.\"\r\n        \"value\": \"Dr. Smith is a pioneer in breast implants. He has performed more than 100 such operations.\"\r\n    },\r\n    {\r\n        \"name\": \"business_address\",\r\n        \"description\": \"Address of business.\"\r\n        \"value\": \"We are located at 900 University Avenue, Riverside, CA 92501\"\r\n    }\r\n]"}],"_postman_id":"b87e9fc3-da6f-4dc2-b0d6-9428370543af"},{"name":"Get Business Variable","id":"1aad9b08-5002-4cec-b8b9-68694d00bb29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"name\": \"business_VariableName\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/variables/business/get","description":"<p>Get a specific saved business variables for your account. Returns a 404 if the given name does not exist.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th><strong>required</strong></th>\n<th><strong>type</strong></th>\n<th><strong>doc</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>name</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>name of the variable</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","variables","business","get"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"b5638284-b82b-431c-83ae-4daea3d13aa2","name":"Get Business Variable","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"name\": \"business_VariableName\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/variables/business/get"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"name\": \"business_about\",\r\n    \"description\": \"A sentence or two describing highlighting the competitive advantage of the business.\"\r\n    \"value\": \"Dr. Smith is a pioneer in breast implants. He has performed more than 100 such operations.\"\r\n}"}],"_postman_id":"1aad9b08-5002-4cec-b8b9-68694d00bb29"},{"name":"Set Business Variable","id":"c2d26ea5-f8d4-45ab-9930-d178575cd304","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"name\": \"business_VariableName\",\n    \"value\": \"The value for this variable\",\n    \"description\": \"The description for this variable\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/variables/business/set","description":"<p>Set (Create or update) a business variables for your account. Returns a 200 on success, otherwise a bad request if the required parameters are not present.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th><strong>required</strong></th>\n<th><strong>type</strong></th>\n<th><strong>doc</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>name</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>name of the variable</td>\n</tr>\n<tr>\n<td>value</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>value of the variable</td>\n</tr>\n<tr>\n<td>description</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>description of the variable</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","variables","business","set"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"be69a234-052b-4797-8ace-027a71492d7d","name":"Set Business Variable","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"name\": \"business_VariableName\",\n    \"value\": \"The value for this variable\",\n    \"description\": \"The description for this variable\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/variables/business/set"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"c2d26ea5-f8d4-45ab-9930-d178575cd304"},{"name":"Delete Business Variable","id":"38b37c16-48ea-434e-8491-c339509bc739","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"name\": \"business_VariableToDelete\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/variables/business/delete","description":"<p>Delete a business variables for your account. Returns a 200 on success, otherwise a bad request if the required parameters are not present.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th><strong>required</strong></th>\n<th><strong>type</strong></th>\n<th><strong>doc</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>name</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>name of the variable to delete</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","variables","business","delete"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"efa9a2d3-a191-4dab-b198-f749f429233b","name":"Set Business Variable","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"name\": \"business_VariableToDelete\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/variables/business/delete"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"38b37c16-48ea-434e-8491-c339509bc739"}],"id":"4ac6d579-6bc8-434c-8041-f222e79f2097","_postman_id":"4ac6d579-6bc8-434c-8041-f222e79f2097","description":""},{"name":"Schedules","item":[{"name":"Add Schedule","id":"3bf16722-b8c8-4e71-b8f2-696d32e7e3bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/addSchedule","description":"<p>Add one schedule to one user by ID or phone number.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userPhone</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's phone number, optional if <em>SDFuserid</em> is given</td>\n</tr>\n<tr>\n<td>SDFuserid</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's ID, optional if <em>userPhone</em> is given</td>\n</tr>\n<tr>\n<td>patternLabel</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Pattern label can be found on dashboard</td>\n</tr>\n<tr>\n<td>activationTime</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>Can be empty (now) or in the format of \"<em>YYYY-mm-dd hh:mm:ss</em>\", time must be in UTC</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div><p>Notes: Phone numbers must be in the format like +12223334444, where +1 is the country code.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","addSchedule"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"12905ffb-a677-4d22-a297-178b168863ba","name":"Add Schedule by Phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userPhone\": \"+12223334444\",\n    \"patternLabel\": \"$PATTERNLABEL\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/addSchedules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"Schedule added.\"\n}"},{"id":"f92c9d87-72e5-48b4-b8a3-b6fa2d0abca3","name":"Add Schedule by ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"SDFuserid\": \"0000\",\n    \"patternLabel\": \"$PATTERNLABEL\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/addSchedules"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"Schedule added.\"\n}"}],"_postman_id":"3bf16722-b8c8-4e71-b8f2-696d32e7e3bb"},{"name":"Delete Schedule","id":"18df814a-b861-45b6-913c-3fe0776f10a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/deleteSchedules","description":"<p>Remove one schedule from one user by ID or phone number.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userPhone</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's phone number, optional if <em>SDFuserid</em> is given</td>\n</tr>\n<tr>\n<td>SDFuserid</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's ID, optional if <em>userPhone</em> is given</td>\n</tr>\n<tr>\n<td>patternLabel</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Pattern label can be found on dashboard</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div><p>Notes: Phone numbers must be in the format like +12223334444, where +1 is the country code.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","deleteSchedules"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"2e21d0bf-06f2-43ec-8ee6-cb0a5630140b","name":"Delete Schedules by ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"SDFuserid\": \"0000\",\n    \"patternLabel\": \"$PATTERNLABEL\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/deleteSchedules"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"Schedule removed.\"\n}"},{"id":"60b52863-fdda-4504-b9d3-c70dbf0e3eef","name":"Delete Schedules by Phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userPhone\": \"+12223334444\",\n    \"patternLabel\": \"$PATTERNLABEL\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/deleteSchedules"},"code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"Schedule removed.\"\n}"}],"_postman_id":"18df814a-b861-45b6-913c-3fe0776f10a8"},{"name":"Delete All Schedules","id":"cc29e6c3-2e6d-4776-a805-07b698186288","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/deleteAllSchedules","description":"<p>Remove all schedules from one user by ID or phone number.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userPhone</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's phone number, optional if <em>SDFuserid</em> is given</td>\n</tr>\n<tr>\n<td>SDFuserid</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's ID, optional if <em>userPhone</em> is given</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div><p>Notes: Phone numbers must be in the format like +12223334444, where +1 is the country code.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","deleteAllSchedules"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"7b28c959-a34e-44e4-85da-8789040d9a5c","name":"Delete All Schedules by Phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userPhone\": \"+12223334444\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/deleteAllSchedules"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"All schedule removed.\"\n}"},{"id":"c65cfbd0-9894-417f-a187-96231b6458f2","name":"Delete All Schedules by ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"SDFuserid\": \"0000\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/removeAllSchedules"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": \"All schedule removed.\"\n}"}],"_postman_id":"cc29e6c3-2e6d-4776-a805-07b698186288"},{"name":"Get Schedules","id":"86397980-8f43-4198-91c2-29a4e2482c77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/viewSchedules","description":"<p>Get all schedules assigned to one user by ID or phone number.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userPhone</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's phone number, optional if <em>SDFuserid</em> is given</td>\n</tr>\n<tr>\n<td>SDFuserid</td>\n<td><em>see doc</em></td>\n<td>string</td>\n<td>User's ID, optional if <em>userPhone</em> is given</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div><p>Notes: Phone numbers must be in the format like +12223334444, where +1 is the country code.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","viewSchedules"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"9a64c8c4-2500-4606-8bdd-f19b0ccb9267","name":"View Schedules by Phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userPhone\": \"+12223334444\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/viewSchedules"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    \"FoodOrderOnceNow\",\n    \"wellnessBotDemo\",\n    \"dentistoncenow\",\n    \"wellnessBotDemo\",\n    \"TestNOW\",\n    \"Test\",\n    \"test2\",\n    \"Test\",\n    \"test2\",\n    \"wellnessBotDemo\",\n    \"wellnessBotDemo\",\n    \"test2\",\n    \"Test\"\n]"},{"id":"a56e27c9-4759-4a45-b982-21714fc4eaee","name":"View Schedules by ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"SDFuserid\": \"0000\",\n    \"securityToken\": \"$TOKEN\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/viewSchedules"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    \"FoodOrderOnceNow\",\n    \"wellnessBotDemo\",\n    \"dentistoncenow\",\n    \"wellnessBotDemo\",\n    \"TestNOW\",\n    \"Test\",\n    \"test2\",\n    \"Test\",\n    \"test2\",\n    \"wellnessBotDemo\",\n    \"wellnessBotDemo\",\n    \"test2\",\n    \"Test\"\n]"}],"_postman_id":"86397980-8f43-4198-91c2-29a4e2482c77"}],"id":"9fa80a9e-5f47-49a7-934b-3a057b884a15","_postman_id":"9fa80a9e-5f47-49a7-934b-3a057b884a15","description":""},{"name":"Event Triggers","item":[{"name":"getPresignedUrl","id":"91edf7e7-f3e3-4425-9dc0-bbf06c8fa442","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/triggers/getPresignedURL","description":"<p>Generate a presigned URL for the specified Event trigger. This only applies to S3 event triggers created via the Event Triggers tab on the Automation page. Returns a 404 when the specified triggerId was previously deleted, or does not exist.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>triggerId</td>\n<td><em>required</em></td>\n<td>number</td>\n<td>The trigger number found on the Event Trigger table.</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note: Presigned URLs are valid for 15 minutes.</p>\n","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","triggers","getPresignedURL"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"5490ddc2-f964-458f-8d8e-85ed31391942","name":"Get Presigned URL","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"triggerId\": 1,\r\n    \"securityToken\": \"$TOKEN\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/triggers/getPresignedURL"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"bucket\": \"smartbot-docs\",\r\n    \"expires\": 1755479238356,\r\n    \"key\": \"abcdefg1234/56789zyxwv.csv\",\r\n    \"url\": \"https://smartbot-docs.s3.us-west-2.amazonaws.com/abcdefg1234/56789zyxwv.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250818T005218Z&X-Amz-SignedHeaders=host&X-Amz-Expires=899&X-Amz-Credential=CREDENTIALSTRING\"\r\n}"}],"_postman_id":"91edf7e7-f3e3-4425-9dc0-bbf06c8fa442"}],"id":"e73d9b47-c79f-42bd-8246-83793b61f3fe","_postman_id":"e73d9b47-c79f-42bd-8246-83793b61f3fe","description":""},{"name":"Document Upload","item":[{"name":"List","id":"002ff6c1-dfdb-42e1-8018-720a27a86534","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$TOKEN\",\n    \"pageIndex\": 0,\n    \"pageSize\": 10,\n    \"sortBy\": \"createdAt\",\n    \"sortDirection\": \"DESC\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/documents/list","description":"<p>Retrieves a list of all document uploads.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pageIndex</td>\n<td><em>optional</em></td>\n<td>number</td>\n<td>offset</td>\n</tr>\n<tr>\n<td>pageSize</td>\n<td><em>optional</em></td>\n<td>number</td>\n<td>amount of documents to return</td>\n</tr>\n<tr>\n<td>sortBy</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>sortDirection</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","genai","documents","list"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"d69ce3a2-e82a-4fb4-91df-96aef8ebac14","name":"List","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$TOKEN\",\n    \"pageIndex\": 0,\n    \"pageSize\": 10,\n    \"sortBy\": \"createdAt\",\n    \"sortDirection\": \"DESC\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/documents/list"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"documents\": [\n        {\n            \"createdAt\": \"2025-09-25 19:53:56.0\",\n            \"filename\": \"document.docx\",\n            \"url\": \"https://smartbotdocs.s3.us-west-2.amazonaws.com/folder_id/document.docx\",\n            \"fileid\": \"file-abcdefg123456789\"\n        }\n    ],\n    \"uploadingDocuments\": 0,\n    \"totalCount\": 1\n}"}],"_postman_id":"002ff6c1-dfdb-42e1-8018-720a27a86534"},{"name":"Upload","id":"a5d9df9e-3e5c-44d1-a4a6-a7f0a736dc65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"securityToken","value":"$TOKEN","type":"text","uuid":"4b6a20b8-a8ed-491e-a4bb-adf7b50f2795"},{"key":"documents","type":"file","uuid":"bc960ce8-7072-4b65-b8ef-d972f70fb4ff","src":"9mDYyOena/Lorem_ipsum.pdf"}]},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/documents/upload","description":"<p>Upload 1 or more documents.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body may be <code>form-data</code> or JSON depending on your goals. See the examples for more information.</p>\n<p>If using <code>form-data</code> , files may be uploaded directly via the <code>documents</code> field with type <code>file</code>. This is useful for direct upload from a local file.</p>\n<p>If using <code>json</code>, files may be provided as a list of urls. this is useful if you want to upload remote files. The urls must be open to public requests.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>documents</td>\n<td><em>see doc</em></td>\n<td>file</td>\n<td>files to upload</td>\n</tr>\n<tr>\n<td>urls</td>\n<td><em>see doc</em></td>\n<td>string[]</td>\n<td>urls to upload</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","genai","documents","upload"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"f51c9086-9ddf-4210-b3c7-049109b39e10","name":"Upload (form-data)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"securityToken","value":"$TOKEN","type":"text","uuid":"4b6a20b8-a8ed-491e-a4bb-adf7b50f2795"},{"key":"documents","type":"file","uuid":"bc960ce8-7072-4b65-b8ef-d972f70fb4ff","src":"9mDYyOena/Lorem_ipsum.pdf"}]},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/documents/upload"},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"filename\": \"Lorem_ipsum.pdf\",\n        \"url\": \"https://smartbotdocs.s3.us-west-2.amazonaws.com/folder_id/Lorem_ipsum.pdf\",\n        \"fileId\": \"file-abcdefg123456789\"\n    }\n]"},{"id":"0536ca74-9668-4555-8ba4-fc50d1d1bd27","name":"Upload (json)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"securityToken\": \"$\",\r\n    \"urls\": [\"https://example.com/Lorem_ipsum.pdf\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/documents/upload"},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"filename\": \"Lorem_ipsum.pdf\",\n        \"url\": \"https://smartbotdocs.s3.us-west-2.amazonaws.com/folder_id/Lorem_ipsum.pdf\",\n        \"fileId\": \"file-abcdefg123456789\"\n    }\n]"}],"_postman_id":"a5d9df9e-3e5c-44d1-a4a6-a7f0a736dc65"},{"name":"Delete","id":"ae5bebdf-9b4c-42fb-a602-9fb76bed55c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"documentId\": \"file-abcdefg123456789\",\n    \"securityToken\": \"$TOKEN\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/documents/delete","description":"<p>Delete an uploaded document.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>documentId</td>\n<td><em>required</em></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","genai","documents","delete"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"b79f9808-5d64-4ce8-b521-e862fed65e46","name":"Delete","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"documentId\": \"file-abcdefg123456789\",\n    \"securityToken\": \"$TOKEN\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/documents/delete"},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"ae5bebdf-9b4c-42fb-a602-9fb76bed55c6"},{"name":"Update","id":"5a704334-92b6-4c4c-a25e-363de3cc5e8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"securityToken","value":"$TOKEN","type":"text","uuid":"e21ee7d4-530e-4d6e-a24a-71423e2c6392"},{"key":"documents","type":"file","uuid":"8db9d302-56d6-49d1-854a-4d0469c3739f","src":"Q4cl-9YVj/Lorem_ipsum.pdf"},{"key":"documentId","value":"file-abcdefg123456789","type":"text","uuid":"78236a16-a95f-4ecb-be38-1a6f2188a0bd"}]},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/documents/update","description":"<p>Delete then upload a document in its place.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body may be <code>form-data</code> or JSON depending on your goals. See the examples for more information.</p>\n<p>If using <code>form-data</code> , files may be uploaded directly via the <code>documents</code> field with type <code>file</code>. This is useful for direct upload from a local file.</p>\n<p>If using <code>json</code>, files may be provided as a list of urls. this is useful if you want to upload remote files. The urls must be open to public requests.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>documentId</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>file to delete</td>\n</tr>\n<tr>\n<td>documents</td>\n<td><em>see doc</em></td>\n<td>file</td>\n<td>files to upload</td>\n</tr>\n<tr>\n<td>urls</td>\n<td><em>see doc</em></td>\n<td>string[]</td>\n<td>urls to upload</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","genai","documents","update"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"1031d977-9ac1-42e6-86bf-31a57cec1061","name":"Update (form-data)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"securityToken","value":"$TOKEN","type":"text","uuid":"e21ee7d4-530e-4d6e-a24a-71423e2c6392"},{"key":"documents","type":"file","uuid":"8db9d302-56d6-49d1-854a-4d0469c3739f","src":"Q4cl-9YVj/Lorem_ipsum.pdf"},{"key":"documentId","value":"file-abcdefg123456789","type":"text","uuid":"78236a16-a95f-4ecb-be38-1a6f2188a0bd"}]},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/documents/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"filename\": \"Lorem_ipsum.pdf\",\n        \"url\": \"https://smartbot-dev-docs2.s3.us-west-2.amazonaws.com/fmxvhlat/Procedure_Costs_V1.pdf\",\n        \"fileId\": \"file-abcdefg123456789\"\n    }\n]"},{"id":"8e3cadb8-159b-44dd-9f35-bddcda9776a4","name":"Update (json)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"securityToken\": \"$\",\r\n    \"documentId\": \"file-abcdefg123456789\",\r\n    \"urls\": [\"https://example.com/Lorem_ipsum.pdf\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/documents/update"},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"filename\": \"Lorem_ipsum.pdf\",\n        \"url\": \"https://smartbotdocs.s3.us-west-2.amazonaws.com/folder_id/Lorem_ipsum.pdf\",\n        \"fileId\": \"file-abcdefg123456789\"\n    }\n]"}],"_postman_id":"5a704334-92b6-4c4c-a25e-363de3cc5e8b"}],"id":"59396222-01ab-4bf3-8c44-b9b1163d7395","_postman_id":"59396222-01ab-4bf3-8c44-b9b1163d7395","description":""},{"name":"GenAI management","item":[{"name":"Add Source","id":"aded0a16-3ad4-4ac6-ab09-402ff0dcbcec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"source\": \"https://www.example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/sources/add","description":"<p>Adds a GenAI source.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th><strong>required</strong></th>\n<th><strong>type</strong></th>\n<th><strong>doc</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>source</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Source to add</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","genai","sources","add"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"808bf87d-fd83-4bbc-a968-f7b8f248a879","name":"Add Source","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"source\": \"https://www.example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/sources/add"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"Success\": \"Added https://www.example.com\"\r\n}"}],"_postman_id":"aded0a16-3ad4-4ac6-ab09-402ff0dcbcec"},{"name":"Crawl Log","id":"9870aa01-7a4e-487a-909d-480a2312785c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"securityToken\": \"$\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/sources/crawlLog","description":"<p>Lists items in the crawl log.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>name</strong></th>\n<th><strong>required</strong></th>\n<th><strong>type</strong></th>\n<th><strong>doc</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","genai","sources","crawlLog"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"4923fd9d-ec76-4106-928f-9d16b042b105","name":"Crawl Log","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"securityToken\": \"$\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/sources/crawlLog"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"urls\": [{\"url\"\" \"https://www.example.com\", \"timestamp\": \"2025-10-07 11:53\"}]\r\n}"}],"_postman_id":"9870aa01-7a4e-487a-909d-480a2312785c"},{"name":"Delete Source","id":"a43ce375-98a0-420b-9f39-56223ad5d31b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"source\": \"https://www.example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/sources/delete","description":"<p>Deletes a GenAI source.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th><strong>required</strong></th>\n<th><strong>type</strong></th>\n<th><strong>doc</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>source</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Source to add</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","genai","sources","delete"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"e417305d-d177-4557-8304-515b22ac6fa1","name":"Delete Source","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"source\": \"https://www.example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/sources/delete"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"Success\": \"Deleted https://www.example.com\"\r\n}"}],"_postman_id":"a43ce375-98a0-420b-9f39-56223ad5d31b"},{"name":"List Sources","id":"fde6700c-13c3-44aa-b4b8-7f3f717e70d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/sources/list","description":"<p>List saved GenAI sources.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th><strong>required</strong></th>\n<th><strong>type</strong></th>\n<th><strong>doc</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","genai","sources","list"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"fc7bf906-c3cd-40dc-87b1-862d507a5c55","name":"List Sources","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/sources/list"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\"https://www.example1.com\", \"https://www.example2.com\"]"}],"_postman_id":"fde6700c-13c3-44aa-b4b8-7f3f717e70d1"},{"name":"Read","id":"3d0ad416-6669-432f-bc74-08896737ef8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/read","description":"<p>Retrieves account-wide GenAI settings.</p>\n<h3 id=\"arguments\"><strong>Arguments</strong></h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>name</strong></th>\n<th><strong>required</strong></th>\n<th><strong>type</strong></th>\n<th><strong>doc</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","genai","read"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"e1447f24-0516-4155-b310-75ae3cc02a99","name":"Read","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/read"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"instructions\": \"Your name is Jim.\",\n    \"temperature\": 0.8,\n    \"top_p\": 0.5,\n    \"training\": \"Paris is the capital of France.\\nBerlin is the capital of Germany.\\nLondon is the capital of the United Kingdom.\"\n}"}],"_postman_id":"3d0ad416-6669-432f-bc74-08896737ef8c"},{"name":"Set Sources","id":"262d0d2b-a90f-4704-91c7-429c142cc919","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"sources\": [\"https://www.example1.com\", \"https://www.example2.com\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/sources/set","description":"<p>Replaces any current GenAI sources with a new list of sources.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th><strong>required</strong></th>\n<th><strong>type</strong></th>\n<th><strong>doc</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>sources</td>\n<td><em>required</em></td>\n<td>JSON array</td>\n<td>Sources to add</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","genai","sources","set"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"b215ab9c-e5ab-4785-a6f9-969c529e1ab8","name":"Set Sources","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"sources\": [\"https://www.example1.com\", \"https://www.example2.com\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/sources/set"},"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"Success\": \"Added [\"https://www.example1.com\",\"https://www.example2.com\"]\"\r\n}"}],"_postman_id":"262d0d2b-a90f-4704-91c7-429c142cc919"},{"name":"Update","id":"32c4efed-ecd5-4c86-8aa0-0331741b600e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"append_instructions\": true,\n    \"append_training\": false,\n    \"instructions\": \"Your name is Jim.\",\n    \"securityToken\": \"$\",\n    \"temperature\": 0.8,\n    \"top_p\": 0.5,\n    \"training\": \"Paris is the capital of France.\\nBerlin is the capital of Germany.\\nLondon is the capital of the United Kingdom.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/update","description":"<p>Updates account-wide GenAI settings.</p>\n<h3 id=\"arguments\"><strong>Arguments</strong></h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>name</strong></th>\n<th><strong>required</strong></th>\n<th><strong>type</strong></th>\n<th><strong>doc</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>append_instructions</td>\n<td><em>optional</em></td>\n<td>boolean</td>\n<td>If true, given instructions are appended to existing instructions</td>\n</tr>\n<tr>\n<td>append_training</td>\n<td><em>optional</em></td>\n<td>boolean</td>\n<td>If true, given training is appended to existing training</td>\n</tr>\n<tr>\n<td>instructions</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>GenAI instructions</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>temperature</td>\n<td><em>optional</em></td>\n<td>number between 0 and 2</td>\n<td>GenAI temperature setting</td>\n</tr>\n<tr>\n<td>top_p</td>\n<td><em>optional</em></td>\n<td>number between 0 and 1</td>\n<td>GenAI top <em>p</em> setting</td>\n</tr>\n<tr>\n<td>training</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>Gen AI training data</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","genai","update"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"a2f09f25-37a3-4e4b-a5bb-a7af5a65e6cc","name":"Update","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"append_instructions\": true,\n    \"append_training\": false,\n    \"instructions\": \"Your name is Jim.\",\n    \"securityToken\": \"$\",\n    \"temperature\": 0.8,\n    \"top_p\": 0.5,\n    \"training\": \"Paris is the capital of France.\\nBerlin is the capital of Germany.\\nLondon is the capital of the United Kingdom.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/genai/update"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"instructions\": \"Previous instructions\\n\\nYour name is Jim.\",\r\n    \"temperature\": 0.8,\r\n    \"top_p\": 0.5,\r\n    \"training\": \"Paris is the capital of France.\\nBerlin is the capital of Germany.\\nLondon is the capital of the United Kingdom.\"\r\n}"}],"_postman_id":"32c4efed-ecd5-4c86-8aa0-0331741b600e"}],"id":"da6c931d-4340-4e92-995f-14395d8d1335","_postman_id":"da6c931d-4340-4e92-995f-14395d8d1335","description":""},{"name":"Chatbot Management","item":[{"name":"Publish Chatbot","id":"b5bb1b7d-e3bf-41de-a340-00ebca63c4fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"functionID\": \"MyChatbotName\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/chatbots/publish","description":"<p>Publishes a bot so it may be used for medium deployment. <code>functionID</code> must be a bot obtained from the CHATBOTS page.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th><strong>required</strong></th>\n<th><strong>type</strong></th>\n<th><strong>doc</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>functionID</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>bot name to deploy</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","chatbots","publish"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"06d03bff-b363-421e-a062-0340c5732664","name":"Publish Chatbot","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"functionID\": \"MyChatbotName\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/chatbots/publish"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"b5bb1b7d-e3bf-41de-a340-00ebca63c4fe"},{"name":"Deploy Web Bot","id":"7281db6d-d59c-41ec-b6bd-42a94130fbff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"functionID\": \"MyChatbotName\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/chatbots/deploy/web","description":"<p>Publishes a bot so it may be used for medium deployment. <code>functionID</code> must be a bot obtained from the CHATBOTS page &amp; the bot for <code>functionID</code> should have already been published.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th><strong>required</strong></th>\n<th><strong>type</strong></th>\n<th><strong>doc</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n<tr>\n<td>functionID</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>bot name to deploy</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","chatbots","deploy","web"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"31d007dc-2871-43d0-9fc0-5a8ce512120e","name":"Deploy Web Bot","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\",\n    \"functionID\": \"MyChatbotName\"\n}","options":{"raw":{"language":"json"}}},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/chatbots/publish"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"snippet\":\"\\\"\\<div id\\=\\\\\\\"smartbotstyles\\\\\\\"\\>\\</div\\>\\<div id\\=\\\\\\\"smartbot360\\\\\\\" style\\=\\\\\\\"z-index: 2147483647 !important;\\\\\\\"\\>\\</div\\>\\\\n  \\<script\\> (function() { \\\\n var smartbot360 \\= document.getElementById(\\\\\\\"smartbot360\\\\\\\");\\\\n var script \\= document.createElement(\\\\\\\"script\\\\\\\");\\\\n smartbot360.setAttribute(\\\\\\\"botkey\\\\\\\", \\\\\\\"uuid-string\\\\\\\");\\\\n script.setAttribute(\\\\\\\"type\\\\\\\", \\\\\\\"text/javascript\\\\\\\");\\\\n script.setAttribute(\\\\\\\"src\\\\\\\", \\\\\\\"https://test.klaunch.io/react/static/js/main.js\\\\\\\");\\\\n document.body.appendChild(script);\\\\n})(); \\</script\\>\\\\n\\\"\",\r\n    \"previewURL\": \"https://test.klaunch.io/#/public/preview/web/uuid-string\",\r\n    \"deploymentID\": 12345\r\n}"}],"_postman_id":"7281db6d-d59c-41ec-b6bd-42a94130fbff"}],"id":"9ffab04f-f0b9-4d8f-9640-b1432bb956a3","_postman_id":"9ffab04f-f0b9-4d8f-9640-b1432bb956a3","description":""},{"name":"Banners Management","item":[{"name":"Get Banners","id":"e64df3bf-178b-429c-bf0c-01696f56ff22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"securityToken\": \"$\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/banners/list","description":"<p>Retrieve all web bot banners in the account. Returns a list of banner objects including their configuration, active status, and date ranges.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","banners","list"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"7f6dc5d7-74e8-4e49-985b-efd8756aa7eb","name":"Get Banners","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"securityToken\": \"$\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/banners/list"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.12.2"},{"key":"Date","value":"Sat, 06 Jun 2026 04:34:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"736"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"endDate\": \"2026-06-05 00:00:00.0\",\n        \"name\": \"a\",\n        \"active\": true,\n        \"attributes\": \"<div style='margin: 5px; padding: 20px; background-color: #ffbc50; color: white; border-radius: 12px;'><h2>Test Banner</h2><p>This is a message</p></div>\",\n        \"id\": 32,\n        \"startDate\": \"2026-05-28 00:00:00.0\"\n    },\n    {\n        \"endDate\": \"2026-05-28 00:00:00.0\",\n        \"name\": \"test1\",\n        \"active\": false,\n        \"attributes\": \"<p>This is a message</p>\",\n        \"id\": 22,\n        \"startDate\": \"2026-05-21 00:00:00.0\"\n    },\n    {\n        \"endDate\": \"2026-05-16 00:00:00.0\",\n        \"name\": \"Test Banner\",\n        \"active\": false,\n        \"attributes\": \"<div style='margin: 5px; padding: 20px; background-color: #fffc50; color: black; border-radius: 12px;'><h2>Test Banner</h2><p>This is a message!</p></div>\",\n        \"id\": 20,\n        \"startDate\": \"2026-05-14 00:00:00.0\"\n    }\n]"}],"_postman_id":"e64df3bf-178b-429c-bf0c-01696f56ff22"},{"name":"Create Banner","id":"5b118c4f-d5af-4e76-98ea-da6f669f8e7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"securityToken\": \"$\",\n  \"name\": \"test804\",\n  \"attributes\": \"<p>This is a message</p>\",\n  \"startDate\": \"2026-06-10\",\n  \"endDate\": \"2026-06-20\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/banners/create","description":"<p>Create a new banner with a specified date range. The banner will be created in an active state by default and can be displayed to users between the start and end dates.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Display name for the banner</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>JSON string containing banner configuration in HTML (e.g., message, styling, type)</td>\n</tr>\n<tr>\n<td>startDate</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Start date in format \"YYYY-MM-DD\"</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>End date in format \"YYYY-MM-DD\"</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","banners","create"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"31371eab-7567-42a5-9f60-480b1d4cd276","name":"Create Banner","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"securityToken\": \"$\",\n  \"name\": \"test804\",\n  \"attributes\": \"<p>This is a message</p>\",\n  \"startDate\": \"2026-06-10\",\n  \"endDate\": \"2026-06-20\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/banners/create"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Server","value":"nginx/1.12.2"},{"key":"Date","value":"Sat, 06 Jun 2026 04:44:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"133"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"endDate\": \"2026-06-20 00:00:00.0\",\n    \"name\": \"test804\",\n    \"active\": true,\n    \"attributes\": \"<p>This is a message</p>\",\n    \"id\": 33,\n    \"startDate\": \"2026-06-10 00:00:00.0\"\n}"}],"_postman_id":"5b118c4f-d5af-4e76-98ea-da6f669f8e7a"},{"name":"Update Banner","id":"a97b708c-8c1c-4fce-89af-be0ad8265273","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"securityToken\": \"$\",\n  \"id\": 30,\n  \"name\": \"asdf\",\n  \"attributes\": \"<p>This is a message</p>\",\n  \"startDate\": \"2026-06-10\",\n  \"endDate\": \"2026-06-20\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/banners/update","description":"<p>Updates an existing banner by ID. You can modify the banner's name, attributes, active status, and date range. At least one optional field must be provided for the update to succeed.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><em>required</em></td>\n<td>optional</td>\n<td>User's phone number, optional if <em>SDFuserid</em> is given</td>\n</tr>\n<tr>\n<td>name</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>New display name for the banner</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td><em>optional</em></td>\n<td>string</td>\n<td>New JSON string containing banner configuration</td>\n</tr>\n<tr>\n<td>active</td>\n<td><em>optional</em></td>\n<td>int</td>\n<td>Enable (1) or disable (0) the banner</td>\n</tr>\n<tr>\n<td>startDate</td>\n<td>optional</td>\n<td>string</td>\n<td>New start date/time in format \"YYYY-MM-DD\"</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td>optional</td>\n<td>string</td>\n<td>New end date/time in format \"YYYY-MM-DD\"</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","banners","update"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"0a8bbc91-2b63-4ad1-bafe-a9d6b4399177","name":"Update Banner","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"securityToken\": \"$\",\n  \"id\": 30,\n  \"name\": \"asdf\",\n  \"attributes\": \"<p>This is a message</p>\",\n  \"startDate\": \"2026-06-10\",\n  \"endDate\": \"2026-06-20\"\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/banners/update"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Server","value":"nginx/1.12.2"},{"key":"Date","value":"Sat, 06 Jun 2026 04:47:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": \"Updated banner 30\"\n}"}],"_postman_id":"a97b708c-8c1c-4fce-89af-be0ad8265273"},{"name":"Delete Banner","id":"dead385f-84bb-45d7-bb29-f178b7f63898","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"securityToken\": \"$\",\n  \"id\": 30\n}"},"url":"https://XXX.smartbot360.com/chatapi/smartdash/public/banners/delete","description":"<p>Permanently deletes a banner by its ID.</p>\n<h3 id=\"arguments\">Arguments</h3>\n<p>The request body must be a JSON object with the given fields (also see examples):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>required</th>\n<th>type</th>\n<th>doc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><em>required</em></td>\n<td>int</td>\n<td>Banner ID to delete</td>\n</tr>\n<tr>\n<td>securityToken</td>\n<td><em>required</em></td>\n<td>string</td>\n<td>Security token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["chatapi","smartdash","public","banners","delete"],"host":["XXX","smartbot360","com"],"query":[],"variable":[]}},"response":[{"id":"3abf5015-0110-4232-a267-fc9a855c60a4","name":"Delete Banner","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"securityToken\": \"$\",\n  \"id\": 30\n}"},"url":"https://dev.klaunch.io/chatapi/smartdash/public/banners/delete"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Server","value":"nginx/1.12.2"},{"key":"Date","value":"Sat, 06 Jun 2026 04:50:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": \"Deleted banner 30\"\n}"}],"_postman_id":"dead385f-84bb-45d7-bb29-f178b7f63898"}],"id":"6df9813d-9490-45df-8e13-8338ebd88451","_postman_id":"6df9813d-9490-45df-8e13-8338ebd88451","description":""}]}