{"info":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","description":"<html><head></head><body><p>This API allows you to access the data of an HiperME plataform.</p>\n<p>All HiperME platforms from version 1.5 have the API and all the endpoints of the API has the prefix <code>api</code>. Example: <a href=\"https://example.hiperpbx.com/api/endpointexample\">https://example.hiperpbx.com/api/endpointexample</a></p>\n<blockquote>\n<p>You can only access the following resources if the user has the role '<strong>ROLE_ADMIN</strong>'. </p>\n</blockquote>\n<ul>\n<li>Media Servers</li>\n<li>Firebase</li>\n</ul>\n<h1 id=\"getting-started\">Getting started</h1>\n<p>When working with Postman, make sure that the variable <code>hiperme_url</code> is defined.</p>\n<h2 id=\"using-endpoints\">Using Endpoints</h2>\n<p>When creating or updating, you will see that almost everytime, you have to send a Endpoint. An Endpoint indicates the resource to use, for example, when creating an Extension, you have to indicate the organization that the is releated to by using the value <code>/api/organizations/:id</code> where id indicates the id of the organization.</p>\n<h2 id=\"aditional-properties\">Aditional properties</h2>\n<p>When getting a resource, it will have three additional properties <code>@id</code>, that contains the endpoint of the resource, <code>@type</code> that is the type of resource and <code>@context</code>.</p>\n<p>When getting a list of resources, the JSON response it will look like this.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"@context\": \"/api/contexts/Extension\",\n    \"@id\": \"/api/extensions\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        ...\n    ],\n    \"hydra:totalItems\": 2\n}\n\n</code></pre><p>The resources are in the property <code>hydra:member</code></p>\n<h1 id=\"authorization\">Authorization</h1>\n<p>An JWT Token is required to be sent as part of every request to the HiperME API (except in the <a href=\"https://solar-capsule-663493.postman.co/collections/5674311-4813fc2d-1793-4b33-908d-b9732fb77ca6?version=latest&amp;workspace=a3d3a567-9848-46f5-8c81-7a8ae18eeadc#0d6ba95d-533e-464a-890f-b2123ce31aa5\">Get JWT Token</a> endpoint) in the form of an <code>Bearer Token</code> request header.</p>\n<h2 id=\"authorization-releated-errors-response\">Authorization releated errors response</h2>\n<p>If an JWT Token is missing, malformed or invalid, you will receive a <code>401 Unauthorised</code> response code and one of the following JSON response.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"code\": 401,\n    \"message\": \"Invalid credentials.\"\n}\n\n</code></pre><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"code\": 401,\n    \"message\": \"Expired JWT Token\"\n}\n\n</code></pre><h1 id=\"errors\">Errors</h1>\n<p>The HiperMe API uses convetional HTTP response codes to indicate the success of failure of an request. Code in the <code>2xx</code> range indicate success. Codes in the <code>4xx</code> range indicate an error that failed given the information provided (e.g., a required parameter was omitted, validation errors, resource not found, etc.)</p>\n<h2 id=\"validations-errors\">Validations errors</h2>\n<p>When creating or updating a resource, if the body request is invalid, you will recive a <code>400 Bad Request</code> response code and a JSON response like this.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"@context\": \"/api/contexts/ConstraintViolationList\",\n    \"@type\": \"ConstraintViolationList\",\n    \"hydra:title\": \"An error occurred\",\n    \"hydra:description\": \"name: This value is already used.\",\n    \"violations\": [\n        {\n            \"propertyPath\": \"name\",\n            \"message\": \"This value is already used.\"\n        }\n    ]\n}\n\n</code></pre><p>In the violations property, you will get an array of objects with all the validation errors. Every object will have \"propertyPath\" (this is the name of the invalid field) and \"message\" containing the error.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Getting started","slug":"getting-started"},{"content":"Authorization","slug":"authorization"},{"content":"Errors","slug":"errors"}],"owner":"5674311","collectionId":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","publishedId":"TW73DQTM","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-04-21T16:16:48.000Z"},"item":[{"name":"Authorization and user data","item":[{"name":"Recover password","item":[{"name":"Forgot password","id":"dfaeb241-c96f-47d8-9dfd-083addc1e00a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\" : \"example@example.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/forgot-password","description":"<p>This endpoint is use to recover the user password.</p>\n<p>When is endpoint is requested, the system will send a email to the uses with the instructions to recover the password</p>\n<p>The body of the request is a JSON with the propierty email</p>\n","urlObject":{"path":["forgot-password"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"4d94ed75-b01f-484f-ac73-2d37047f6e97","name":"Forgot password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\" : \"example@example.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/forgot-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Fri, 16 Jul 2021 17:24:08 GMT"},{"key":"Date","value":"Fri, 16 Jul 2021 17:24:07 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"e45cd4"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/e45cd4"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Instructions sended\"\n}"}],"_postman_id":"dfaeb241-c96f-47d8-9dfd-083addc1e00a"},{"name":"Check if token exists","id":"746f03f0-c087-4994-a9e7-0d5c1c51b8b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/recover-password/:token","urlObject":{"path":["recover-password",":token"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>The token to validate the change of password</p>\n","type":"text/plain"},"type":"any","value":"$2y$13$Ce7oPtXPRgY0mOssHIm5.ro3y3SSqKNEHiZ7pZrOQDBTV6CPSkR6","key":"token"}]}},"response":[],"_postman_id":"746f03f0-c087-4994-a9e7-0d5c1c51b8b0"},{"name":"Change password","id":"832104a4-7364-4381-b067-c34f88d460c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\" : \"example\",\r\n    \"repeatPassword\" : \"example\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/recover-password/:token","urlObject":{"path":["recover-password",":token"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>The token to validate the change of password</p>\n","type":"text/plain"},"type":"any","value":"$2y$13$Ce7oPtXPRgY0mOssHIm5.ro3y3SSqKNEHiZ7pZrOQDBTV6CPSkR6","key":"token"}]}},"response":[],"_postman_id":"832104a4-7364-4381-b067-c34f88d460c7"}],"id":"adafdf2d-3dc7-492d-ad20-6d7863c62c2a","_postman_id":"adafdf2d-3dc7-492d-ad20-6d7863c62c2a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Get JWT Token with Username and Password","event":[{"listen":"test","script":{"id":"c2eb4d53-8e5e-4e0b-b88d-d03fd1f779b2","exec":["var json = pm.response.json();\r","\r","if (json.token) {\r","    pm.collectionVariables.set('hiperme_token', json.token)\r","    pm.environment.set('hiperme_token', json.token)\r","}\r",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"d4f2473b-463e-46fa-8aec-b4291561b48a","exec":[""],"type":"text/javascript","packages":{}}}],"id":"3674f686-7e7b-4a60-8ed1-916074ddedbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\" : \"john.doe@example.com\",\r\n    \"password\" : \"example\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/login_check","description":"<p>This endpoint allows you to get the JWT Token that is required in every endpoint.</p>\n<blockquote>\n<p>For ease of use inside Postman, every time that you send this request, automatically it will save the token in the variable environment <code>hiperme_token</code>.</p>\n</blockquote>\n<p>On success, the response returns the token</p>\n<p>The body of the request is:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"username\" : \"This is the email of the user\",\n    \"password\" : \"This is the password of the user\"\n}\n</code></pre>","urlObject":{"path":["login_check"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"0b9915b7-3bf5-42e9-8e08-8b0a51e3c8cb","name":"Do Login (Success)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\" : \"john.doe@example.com\",\r\n    \"password\" : \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/login_check"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 12:17:21 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 12:17:21 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Set-Cookie","value":"PHPSESSID=5jv7h0hssnkv6pd14e7r9ejfd4; path=/; HttpOnly"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"5ea7a5"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/5ea7a5"},{"key":"Expires","value":"Tue, 24 Nov 2020 12:17:21 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE2MDYyMjAyNDEsImV4cCI6MTYwNjIyMzg0MSwicm9sZXMiOlsiUk9MRV9BRE1JTiJdLCJlbWFpbCI6ImdhYnJpZWwuYm9udmlzc3V0b0BoaXBlcnBieC5jb20ifQ.P_YbQgCIqSBfIp5Gn5Q6-eH7ARQr2iGGOOiG0T5OZSyktX79Gty-TUFItVznJ7O1_vY2pB9sBxAiR4EK7i3FNFu_nLKQA-fE825S5IhlmXb9Xa4f0PpWXMFvRVb1DIEKenx789zT4w1t6Ie8uvM6npPGgcyVRuxPVoh-PWH3ruYvlS_pLcI95rpvMVkwAk199gJWKJeMrtanF9Y8GVS5PIOecitGH11sEDwr8slVCYp98c2OVfbv3GWg3J1fwEhGj-NR6cbiw7YDkw70hd-8YIfwQeSMvgxbHrvObx7Rz1faOpdcjlk0uzr2m9a7zSgG3QBimyyMgHHezz1Y4LSZ_uMdIByrLL3U7mtEJBBADre6s_D08L7sNZ0VFXe9LzdmNsZLd5a5ZZzfYKzJXIdF8LYapSD6DhfQoPpXgMGLgtmy1VBDLmGqSkYhq00E2IVVCoDshSbxIvB50E_Kom0s2ZnOeBTOjj1Ciui7OBM4l4euy2gltq9QxUeDiB46fLlkDBb4Hn9r1eYFyiytIBigfWWJaulTTY_-5fOSaasipLNfqyxLEni8g213SJ_HWdLkU-vyyj4MBf_K1ogJnaOEyGW5vpx2RW1gEg_1o1uMZ3phEGzlA7dVoArOVavTBHB_OkbVfxJH5UokruqnF2Mw3fTZZlPPP9yR7gmZHflXPo8\"\n}"},{"id":"dd913bf4-d153-4b4b-a130-d292c17962e7","name":"Do Login (Invalid credentials)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\" : \"\",\r\n    \"password\" : \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/login_check"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 12:12:52 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 12:12:52 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"WWW-Authenticate","value":"Bearer"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"122826"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/122826"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 401,\n    \"message\": \"Invalid credentials.\"\n}"}],"_postman_id":"3674f686-7e7b-4a60-8ed1-916074ddedbe"},{"name":"Get JWT Token with ApiKey","id":"5a1e1642-e5fd-4d41-b980-c05f8288f45b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"apikey\" : \"\",\r\n    \"email\" : \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/login_api_key","urlObject":{"path":["login_api_key"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a1e1642-e5fd-4d41-b980-c05f8288f45b"},{"name":"Get User Data","id":"a5757b76-f124-4f3f-a067-d9446ce483cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/user/data","description":"<p>This endpoint it's used to check if is available session to login. If the are, it will response with:</p>\n<ul>\n<li>Information about the user (id, uid, name, lastname, etc).</li>\n<li>If the user has extensions assigned, in which Janus has to connect.</li>\n<li>If the user is an agent, the information of the agent profile (agent number, if answers calls, chat, etc).</li>\n</ul>\n<p>If the aren't, it will response the following</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"status\" : false,\n  \"sessions\" 10\n}\n</code></pre>","urlObject":{"path":["user","data"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"44d54022-3eba-4f59-95c5-9e5f519582c0","name":"Get User Data","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/user/data"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 18:26:03 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 18:26:03 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"303ada"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/303ada"},{"key":"Expires","value":"Wed, 25 Nov 2020 18:26:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"data\": {\n        \"user\": {\n            \"id\": 2,\n            \"uid\": \"3XZ1e1K5c9ZwURGgLmugN3iFVvK3\",\n            \"name\": \"John\",\n            \"lastname\": \"Doe\",\n            \"email\": \"john.doe@example.com\",\n            \"roles\": [\n                \"ROLE_ADMIN\"\n            ],\n            \"extensions\": [\n                {\n                    \"name\": \"John Doe\",\n                    \"secret\": \"secretpassword\",\n                    \"extension\": \"100\",\n                    \"janus_server\": {\n                        \"servers\": [\n                            \"wss://example.com:8189/janus\"\n                        ],\n                        \"secret\": \"secret-janus\"\n                    },\n                    \"domain\": \"192.168.0.10:5060\"\n                }\n            ],\n            \"hasVideoCall\": true,\n            \"picture\": \"\",\n            \"language\": \"en\",\n            \"organizations\": [\n                {\n                    \"id\": 2,\n                    \"name\": \"HiperPBX\"\n                },\n                {\n                    \"id\": 3,\n                    \"name\": \"HiperPBX USA\"\n                }\n            ]\n        },\n        \"firebase\": {\n            \"apiKey\": \"apiKey\",\n            \"authDomain\": \"authDomain\",\n            \"databaseURL\": \"databaseURL\",\n            \"projectId\": \"projectId\",\n            \"storageBucket\": \"storageBucket\",\n            \"messagingSenderId\": \"messagingSenderId\",\n            \"appId\": \"appId\",\n            \"measurementId\": \"measurementId\"\n        },\n        \"agent\": {\n            \"id\": 1,\n            \"number\": 1000,\n            \"groupNumber\": 1,\n            \"call\": true,\n            \"chat\": false,\n            \"mail\": true,\n            \"automatic_answer_call\": false,\n            \"extension\": {\n                \"name\": \"John Doe Agent\",\n                \"secret\": \"secret\",\n                \"extension\": \"101\",\n                \"janus_server\": {\n                    \"servers\": [\n                        \"wss://example.com:8189/janus\"\n                    ],\n                    \"secret\": \"secret\"\n                },\n                \"domain\": \"192.168.0.10:5060\",\n                \"organization\": {\n                    \"id\": 2\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"a5757b76-f124-4f3f-a067-d9446ce483cd"}],"id":"02e29f0e-64c0-4df8-af88-3cdda98abb86","_postman_id":"02e29f0e-64c0-4df8-af88-3cdda98abb86","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Servers","item":[{"name":"Get all media servers","id":"e9718359-5350-407f-9564-4cc66fe491c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/media_servers","description":"<p>A media server is a <a href=\"https://janus.conf.meetecho.com/\">Janus WebRTC Server</a>, is used to work with the SIP extensions of the HiperPBX.</p>\n<p>This endpoint returns a list of all the media servers.</p>\n","urlObject":{"path":["media_servers"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"af6c36d5-5794-45a5-965d-e7bfb7fca886","name":"Media Servers","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/media_servers"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 14:01:02 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 14:01:02 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"1e76b96e3dd12c694a7cc01422e17ee3\""},{"key":"X-Debug-Token","value":"e4457c"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/e4457c"},{"key":"Expires","value":"Tue, 24 Nov 2020 14:01:02 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/MediaServer\",\n    \"@id\": \"/api/media_servers\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/media_servers/1\",\n            \"@type\": \"MediaServer\",\n            \"id\": 1,\n            \"name\": \"HiperPBX Argentina\",\n            \"janusSipServer\": \"wss://example.hiperme:8189/janus\",\n            \"janusSipServerPassword\": \"examplepassword\"\n        }\n    ],\n    \"hydra:totalItems\": 1\n}"}],"_postman_id":"e9718359-5350-407f-9564-4cc66fe491c9"},{"name":"Get all firebases","id":"a416703d-902a-4924-8714-380aa029a619","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/firebases","description":"<p>This endpoint returns a list of all the firebases configured in the HiperMe Plataform.</p>\n","urlObject":{"path":["firebases"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"39f0b43b-99c8-4588-a9a5-407bd43e303b","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/firebases"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 17:00:54 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 17:00:54 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"14b2a666c62bbaef21d4fb3c70b961bd\""},{"key":"X-Debug-Token","value":"fdb2b0"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/fdb2b0"},{"key":"Expires","value":"Tue, 24 Nov 2020 17:00:54 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Firebase\",\n    \"@id\": \"/api/firebases\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/firebases/1\",\n            \"@type\": \"Firebase\",\n            \"id\": 1,\n            \"name\": \"HiperMe Dev\",\n            \"firebaseConfigFilename\": \"firebase-1601295162.json\",\n            \"serviceAccountFileName\": \"sdk-1601295162.json\"\n        }\n    ],\n    \"hydra:totalItems\": 1\n}"}],"_postman_id":"a416703d-902a-4924-8714-380aa029a619"},{"name":"Get all mail centers","id":"f22c4045-e0c7-4af2-9dab-65175cf56c0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/ostickets","description":"<p>This endpoint returns a list of all the mail centers</p>\n","urlObject":{"path":["ostickets"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"efcced8a-07e0-4307-895e-4caf4bb51dc3","name":"Mail Center (Success)","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/ostickets"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 18:07:14 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 18:07:14 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"75db346246df0e9ee49d8f7b7191a072\""},{"key":"X-Debug-Token","value":"d13706"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/d13706"},{"key":"Expires","value":"Tue, 24 Nov 2020 18:07:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Osticket\",\n    \"@id\": \"/api/ostickets\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/ostickets/1\",\n            \"@type\": \"Osticket\",\n            \"id\": 1,\n            \"name\": \"osticket\",\n            \"address\": \"https://osticket.hiperpbx.com\",\n            \"restApiAddress\": \"https://osticket.hiperpbx.com:8085\",\n            \"adminUsername\": \"admin\",\n            \"passwordUsername\": \"1234\"\n        }\n    ],\n    \"hydra:totalItems\": 1\n}"}],"_postman_id":"f22c4045-e0c7-4af2-9dab-65175cf56c0b"},{"name":"Get all chat centers","id":"b91258ec-499d-47dc-a0f7-3065a816401c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/live_helper_chats","description":"<p>This endpoint returns a list of all the chat centers.</p>\n","urlObject":{"path":["live_helper_chats"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"ab92c59d-572f-41a7-9788-0a8486de2253","name":"Mail Center (Success)","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/ostickets"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 18:07:14 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 18:07:14 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"75db346246df0e9ee49d8f7b7191a072\""},{"key":"X-Debug-Token","value":"d13706"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/d13706"},{"key":"Expires","value":"Tue, 24 Nov 2020 18:07:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Osticket\",\n    \"@id\": \"/api/ostickets\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/ostickets/1\",\n            \"@type\": \"Osticket\",\n            \"id\": 1,\n            \"name\": \"osticket\",\n            \"address\": \"https://osticket.hiperpbx.com\",\n            \"restApiAddress\": \"https://osticket.hiperpbx.com:8085\",\n            \"adminUsername\": \"admin\",\n            \"passwordUsername\": \"1234\"\n        }\n    ],\n    \"hydra:totalItems\": 1\n}"},{"id":"e750c705-5767-453c-a80f-ecc4370774a8","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/live_helper_chats"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 18:11:08 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 18:11:08 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"d88cb8fdef476736677f953751791106\""},{"key":"X-Debug-Token","value":"65d778"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/65d778"},{"key":"Expires","value":"Tue, 24 Nov 2020 18:11:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/LiveHelperChat\",\n    \"@id\": \"/api/live_helper_chats\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/live_helper_chats/1\",\n            \"@type\": \"LiveHelperChat\",\n            \"id\": 1,\n            \"name\": \"LiveHelperChat\",\n            \"address\": \"https://localhost:8084\",\n            \"hash\": \"49670ce1330944158950646b3a1ee857\",\n            \"restApiAddress\": \"http://127.0.0.1:8082\",\n            \"adminUsername\": \"admin\",\n            \"adminPassword\": \"1234\"\n        }\n    ],\n    \"hydra:totalItems\": 1\n}"}],"_postman_id":"b91258ec-499d-47dc-a0f7-3065a816401c"}],"id":"a00c39f1-19e6-49ec-aaa1-b53d3edc003d","_postman_id":"a00c39f1-19e6-49ec-aaa1-b53d3edc003d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Organizations","item":[{"name":"Get all the organizations","id":"43232cba-d3da-4696-aaae-543c64bb55ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/organizations","description":"<p>This endpoint returns a list of all the organizations that accessible by you.</p>\n<blockquote>\n<p>You can only access the organzations if you have the rol 'ROLE_ADMIN'</p>\n</blockquote>\n<p>The following is the description of the fields.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Value type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Unique Id of the organization</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Name of the organization</td>\n<td>String</td>\n</tr>\n<tr>\n<td>logo</td>\n<td>Name of the file</td>\n<td>String|Null</td>\n</tr>\n<tr>\n<td>theme</td>\n<td>Endpoint of the theme</td>\n<td>String</td>\n</tr>\n<tr>\n<td>sessions</td>\n<td>Amount of simultaneous sessions allowed</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>agentSessions</td>\n<td>Amount of simultaneous agent sessions allowed</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>osticket</td>\n<td>Endpoint of the Mail Center</td>\n<td>String|Null</td>\n</tr>\n<tr>\n<td>LiveHelperChat</td>\n<td>Endpoint of the Chat Center</td>\n<td>String|Null</td>\n</tr>\n<tr>\n<td>status</td>\n<td></td>\n<td>String</td>\n</tr>\n<tr>\n<td>firebase</td>\n<td>Endpoint of the Firebase</td>\n<td>String</td>\n</tr>\n<tr>\n<td>pbxDomainAlt</td>\n<td>Private IP address (with ports) of the Asterisk</td>\n<td>String</td>\n</tr>\n<tr>\n<td>dataSetAlt</td>\n<td>Indicates if the organization uses the Call Center</td>\n<td>String|Null</td>\n</tr>\n<tr>\n<td>restApiAddressAlt</td>\n<td>Private IP address of the HiperPBX Rest API</td>\n<td>String|Null</td>\n</tr>\n<tr>\n<td>recordingUrlAlt</td>\n<td>Domain of the call recording</td>\n<td>String|Null</td>\n</tr>\n<tr>\n<td>mediaServerAlt</td>\n<td>Endpoint of the media server</td>\n<td>String</td>\n</tr>\n<tr>\n<td>mediaServers</td>\n<td>List of fallback media servers</td>\n<td>Array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["organizations"],"host":["https://me.hiperpbx.com/api"],"query":[{"disabled":true,"description":{"content":"<p>Name of the organization</p>\n","type":"text/plain"},"key":"name","value":null},{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"a76c3ec2-dc37-4ee9-8dd5-b71f5b18be7e","name":"Get all the organizations","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/organizations"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 16:54:55 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 16:54:55 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"f703c4da9a4da48b3d75cb7c87249714\""},{"key":"X-Debug-Token","value":"1d71a1"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/1d71a1"},{"key":"Expires","value":"Tue, 24 Nov 2020 16:54:55 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Organization\",\n    \"@id\": \"/api/organizations\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/organizations/1\",\n            \"@type\": \"Organization\",\n            \"id\": 1,\n            \"name\": \"Default\",\n            \"logo\": null,\n            \"theme\": null,\n            \"domain\": null,\n            \"sessions\": 0,\n            \"agentSessions\": 0,\n            \"osticket\": null,\n            \"LiveHelperChat\": null,\n            \"status\": null,\n            \"firebase\": null,\n            \"pbxDomainAlt\": \"\",\n            \"dataSetAlt\": \"\",\n            \"restApiAddressAlt\": null,\n            \"recordingUrlAlt\": null,\n            \"mediaServerAlt\": null,\n            \"mediaServers\": []\n        },\n        {\n            \"@id\": \"/api/organizations/2\",\n            \"@type\": \"Organization\",\n            \"id\": 2,\n            \"name\": \"HiperPBX\",\n            \"logo\": null,\n            \"theme\": \"/api/themes/1\",\n            \"domain\": null,\n            \"sessions\": 10,\n            \"agentSessions\": 10,\n            \"osticket\": null,\n            \"LiveHelperChat\": null,\n            \"status\": null,\n            \"firebase\": \"/api/firebases/1\",\n            \"pbxDomainAlt\": \"192.168.0.10:5060\",\n            \"dataSetAlt\": \"hiperpbx_1604924857\",\n            \"restApiAddressAlt\": \"http://192.168.0.10:8081\",\n            \"recordingUrlAlt\": null,\n            \"mediaServerAlt\": \"/api/media_servers/1\",\n            \"mediaServers\": [\n                {\n                    \"@id\": \"/api/media_servers/1\",\n                    \"@type\": \"MediaServer\"\n                }\n            ]\n        }\n    ],\n    \"hydra:totalItems\": 2\n}"}],"_postman_id":"43232cba-d3da-4696-aaae-543c64bb55ac"},{"name":"Create new organization","id":"360b93b5-f1a5-41e1-9121-ca33fc134c86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\r\n    \"agentSessions\": 10,\r\n    \"dataSetAlt\": \"yes\",\r\n    \"domain\": null,\r\n    \"firebase\": \"/api/firebases/1\",\r\n    \"logo\": null,\r\n    \"mediaServerAlt\": \"/api/media_servers/1\",\r\n    \"name\": \"Example\",\r\n    \"osticket\": null,\r\n    \"pbxDomainAlt\": \"192.168.0.10:5038\",\r\n    \"recordingUrlAlt\": \"https://localhost:8081\",\r\n    \"restApiAddressAlt\": \"https://localhost:8080\",\r\n    \"sessions\": 10,\r\n    \"theme\": null,\r\n    \"mediaServers\" : [\r\n        \"/api/media_servers/1\", \r\n        \"/api/media_servers/2\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/organizations","description":"<p>This endpoint allows the creation of organizations.</p>\n<p>Only a user with the rol <code>ROLE_ADMIN</code> can create organizations.</p>\n<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type / Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Name of the organization</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>sessions</td>\n<td>Amount of simultaneous sessions allowed</td>\n<td>Number</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>pbxDomainAlt</td>\n<td>Private IP address (with port) of the Asterisk Server</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>firebase</td>\n<td>Endpoint of the Firebase</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>mediaServerAlt</td>\n<td>Endpoint of the Media Server</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>recordingUrlAlt</td>\n<td>Public domain of the call recordings</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>agentSessions</td>\n<td>Amount of simultaneous sessions allowed</td>\n<td>Number</td>\n<td>No</td>\n</tr>\n<tr>\n<td>osticket</td>\n<td>Endpoint of the Mail Center</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>LiveHelperChat</td>\n<td>Endpoint of the Chat Center</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>dataSetAlt</td>\n<td>If the organization uses Call Center</td>\n<td>yes|no</td>\n<td>No</td>\n</tr>\n<tr>\n<td>domain</td>\n<td>Web domain if the organization uses it</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>restApiAddress</td>\n<td>Private IP address of the HiperPBX Rest API</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>theme</td>\n<td>Endpoint of the Theme</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>logo</td>\n<td>-</td>\n<td>Null</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>mediaServers</td>\n<td>Array of Endpoints of Media Server</td>\n<td>Array</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["organizations"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"bcd27603-f2e6-4f62-8b6f-b69aa18afc91","name":"Validation Errors","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\r\n    \"agentSessions\": 10,\r\n    \"dataSetAlt\": \"yes\",\r\n    \"domain\": null,\r\n    \"firebase\": \"/api/firebases/1\",\r\n    \"logo\": null,\r\n    \"mediaServerAlt\": \"/api/media_servers/1\",\r\n    \"name\": \"PostmanDoc\",\r\n    \"osticket\": null,\r\n    \"pbxDomainAlt\": \"192.168.0.1:5038\",\r\n    \"recordingUrlAlt\": \"https://localhost:8081\",\r\n    \"restApiAddressAlt\": \"https://localhost:8080\",\r\n    \"sessions\": 10,\r\n    \"status\": \"Activo\",\r\n    \"theme\": null,\r\n    \"users\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/organizations"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 17:36:34 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 17:36:34 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"878335"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/878335"},{"key":"Expires","value":"Tue, 24 Nov 2020 17:36:34 GMT"},{"key":"Set-Cookie","value":"sf_redirect=deleted; expires=Mon, 25-Nov-2019 17:36:33 GMT; Max-Age=0; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/ConstraintViolationList\",\n    \"@type\": \"ConstraintViolationList\",\n    \"hydra:title\": \"An error occurred\",\n    \"hydra:description\": \"name: This value is already used.\",\n    \"violations\": [\n        {\n            \"propertyPath\": \"name\",\n            \"message\": \"This value is already used.\"\n        }\n    ]\n}"},{"id":"d94a3788-be38-4e20-942f-4d665001996a","name":"Create new organization","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\r\n    \"agentSessions\": 10,\r\n    \"dataSetAlt\": \"yes\",\r\n    \"domain\": null,\r\n    \"firebase\": \"/api/firebases/1\",\r\n    \"logo\": null,\r\n    \"mediaServerAlt\": \"/api/media_servers/1\",\r\n    \"name\": \"Example\",\r\n    \"osticket\": null,\r\n    \"pbxDomainAlt\": \"192.168.0.10:5038\",\r\n    \"recordingUrlAlt\": \"https://localhost:8081\",\r\n    \"restApiAddressAlt\": \"https://localhost:8080\",\r\n    \"sessions\": 10,\r\n    \"status\": \"Activo\",\r\n    \"theme\": null,\r\n    \"mediaServers\" : [\r\n        \"/api/media_servers/1\", \r\n        \"/api/media_servers/2\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/organizations"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 19:07:46 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 19:07:46 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"66f842"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/66f842"},{"key":"Expires","value":"Wed, 25 Nov 2020 19:07:46 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%2266f842%22%2C%22route%22%3A%22api_organizations_post_collection%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%22api_platform.action.post_collection%22%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Organization\",\n    \"@id\": \"/api/organizations/61\",\n    \"@type\": \"Organization\",\n    \"id\": 61,\n    \"name\": \"Example\",\n    \"logo\": null,\n    \"theme\": null,\n    \"domain\": null,\n    \"mediaServers\": [\n        \"/api/media_servers/1\",\n        \"/api/media_servers/2\"\n    ],\n    \"sessions\": 10,\n    \"agentSessions\": 10,\n    \"osticket\": null,\n    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n    \"status\": \"Activo\",\n    \"firebase\": \"/api/firebases/1\",\n    \"pbxDomainAlt\": \"192.168.0.10:5038\",\n    \"dataSetAlt\": \"yes\",\n    \"restApiAddressAlt\": \"https://localhost:8080\",\n    \"recordingUrlAlt\": \"https://localhost:8081\"\n}"}],"_postman_id":"360b93b5-f1a5-41e1-9121-ca33fc134c86"},{"name":"Update organization","id":"5ac1db05-c752-4c91-bbf9-7b1f849b1ae3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\r\n    \"agentSessions\": 10,\r\n    \"dataSetAlt\": \"yes\",\r\n    \"domain\": null,\r\n    \"firebase\": \"/api/firebases/1\",\r\n    \"logo\": null,\r\n    \"mediaServerAlt\": \"/api/media_servers/1\",\r\n    \"name\": \"PostmanDocUpdate\",\r\n    \"osticket\": null,\r\n    \"pbxDomainAlt\": \"192.168.0.1:5038\",\r\n    \"recordingUrlAlt\": \"https://localhost:8081\",\r\n    \"restApiAddressAlt\": \"https://localhost:8080\",\r\n    \"sessions\": 10,\r\n    \"status\": \"Activo\",\r\n    \"theme\": null,\r\n    \"users\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/organizations/:id","description":"<p>This endpoint allows the editing of organizations.</p>\n<p>Only a user with the rol <code>ROLE_ADMIN</code> can edit organizations.</p>\n<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type / Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Name of the organization</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>sessions</td>\n<td>Amount of simultaneous sessions allowed</td>\n<td>Number</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>pbxDomainAlt</td>\n<td>Private IP address (with port) of the Asterisk Server</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>firebase</td>\n<td>Endpoint of the Firebase</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>mediaServerAlt</td>\n<td>Endpoint of the Media Server</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>recordingUrlAlt</td>\n<td>Public domain of the call recordings</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>agentSessions</td>\n<td>Amount of simultaneous sessions allowed</td>\n<td>Number</td>\n<td>No</td>\n</tr>\n<tr>\n<td>osticket</td>\n<td>Endpoint of the Mail Center</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>LiveHelperChat</td>\n<td>Endpoint of the Chat Center</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>dataSetAlt</td>\n<td>If the organization uses Call Center</td>\n<td>Yes|No</td>\n<td>No</td>\n</tr>\n<tr>\n<td>domain</td>\n<td>Web domain if the organization uses it</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>restApiAddress</td>\n<td>Private IP address of the HiperPBX Rest API</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>theme</td>\n<td>Endpoint of the Theme</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>logo</td>\n<td>-</td>\n<td>Null</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>mediaServers</td>\n<td>Array of endpoints of Media Server</td>\n<td>Array</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["organizations",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Id of the organization to edit</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"26ccfa41-c774-4bf2-a8a6-e45b28153cbb","name":"Validation Errors","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\r\n    \"agentSessions\": 10,\r\n    \"dataSetAlt\": \"yes\",\r\n    \"domain\": null,\r\n    \"firebase\": \"/api/firebases/1\",\r\n    \"logo\": null,\r\n    \"mediaServerAlt\": \"/api/media_servers/1\",\r\n    \"name\": \"PostmanDoc\",\r\n    \"osticket\": null,\r\n    \"pbxDomainAlt\": \"192.168.0.1:5038\",\r\n    \"recordingUrlAlt\": \"https://localhost:8081\",\r\n    \"restApiAddressAlt\": \"https://localhost:8080\",\r\n    \"sessions\": 10,\r\n    \"status\": \"Activo\",\r\n    \"theme\": null,\r\n    \"users\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/organizations"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 17:36:34 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 17:36:34 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"878335"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/878335"},{"key":"Expires","value":"Tue, 24 Nov 2020 17:36:34 GMT"},{"key":"Set-Cookie","value":"sf_redirect=deleted; expires=Mon, 25-Nov-2019 17:36:33 GMT; Max-Age=0; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/ConstraintViolationList\",\n    \"@type\": \"ConstraintViolationList\",\n    \"hydra:title\": \"An error occurred\",\n    \"hydra:description\": \"name: This value is already used.\",\n    \"violations\": [\n        {\n            \"propertyPath\": \"name\",\n            \"message\": \"This value is already used.\"\n        }\n    ]\n}"},{"id":"671b07c2-48c4-4f8f-9806-bf00fd0c26f0","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\r\n    \"agentSessions\": 10,\r\n    \"dataSetAlt\": \"yes\",\r\n    \"domain\": null,\r\n    \"firebase\": \"/api/firebases/1\",\r\n    \"logo\": null,\r\n    \"mediaServerAlt\": \"/api/media_servers/1\",\r\n    \"name\": \"PostmanDoc\",\r\n    \"osticket\": null,\r\n    \"pbxDomainAlt\": \"192.168.0.1:5038\",\r\n    \"recordingUrlAlt\": \"https://localhost:8081\",\r\n    \"restApiAddressAlt\": \"https://localhost:8080\",\r\n    \"sessions\": 10,\r\n    \"status\": \"Activo\",\r\n    \"theme\": null,\r\n    \"users\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/organizations"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 17:35:48 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 17:35:48 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"c806eb"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/c806eb"},{"key":"Expires","value":"Tue, 24 Nov 2020 17:35:48 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%22c806eb%22%2C%22route%22%3A%22api_organizations_post_collection%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%22api_platform.action.post_collection%22%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Organization\",\n    \"@id\": \"/api/organizations/43\",\n    \"@type\": \"Organization\",\n    \"id\": 43,\n    \"name\": \"PostmanDocUpdate\",\n    \"logo\": null,\n    \"theme\": null,\n    \"domain\": null,\n    \"sessions\": 10,\n    \"agentSessions\": 10,\n    \"osticket\": null,\n    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n    \"status\": \"Activo\",\n    \"firebase\": \"/api/firebases/1\",\n    \"pbxDomainAlt\": \"192.168.0.1:5038\",\n    \"dataSetAlt\": \"yes\",\n    \"restApiAddressAlt\": \"https://localhost:8080\",\n    \"recordingUrlAlt\": \"https://localhost:8081\",\n    \"mediaServerAlt\": \"/api/media_servers/1\",\n    \"mediaServers\": null\n}"}],"_postman_id":"5ac1db05-c752-4c91-bbf9-7b1f849b1ae3"},{"name":"Update logo organization","id":"36fe7152-106d-4208-9cb0-d4ddfc6faae7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"file","value":"","description":"<p>Image of the logo</p>\n","type":"text"}]},"url":"https://me.hiperpbx.com/api/organizations/:id/update-logo","urlObject":{"path":["organizations",":id","update-logo"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"id":"7bfeeed6-379f-4a31-b7b7-bd427315119c","description":{"content":"<p>Id of the organization to edit</p>\n","type":"text/plain"},"type":"string","value":"3","key":"id"}]}},"response":[{"id":"c1c85f23-aae0-4e8c-af06-617ff7c5f112","name":"Validation Errors","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\r\n    \"agentSessions\": 10,\r\n    \"dataSetAlt\": \"yes\",\r\n    \"domain\": null,\r\n    \"firebase\": \"/api/firebases/1\",\r\n    \"logo\": null,\r\n    \"mediaServerAlt\": \"/api/media_servers/1\",\r\n    \"name\": \"PostmanDoc\",\r\n    \"osticket\": null,\r\n    \"pbxDomainAlt\": \"192.168.0.1:5038\",\r\n    \"recordingUrlAlt\": \"https://localhost:8081\",\r\n    \"restApiAddressAlt\": \"https://localhost:8080\",\r\n    \"sessions\": 10,\r\n    \"status\": \"Activo\",\r\n    \"theme\": null,\r\n    \"users\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/organizations"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 17:36:34 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 17:36:34 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"878335"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/878335"},{"key":"Expires","value":"Tue, 24 Nov 2020 17:36:34 GMT"},{"key":"Set-Cookie","value":"sf_redirect=deleted; expires=Mon, 25-Nov-2019 17:36:33 GMT; Max-Age=0; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/ConstraintViolationList\",\n    \"@type\": \"ConstraintViolationList\",\n    \"hydra:title\": \"An error occurred\",\n    \"hydra:description\": \"name: This value is already used.\",\n    \"violations\": [\n        {\n            \"propertyPath\": \"name\",\n            \"message\": \"This value is already used.\"\n        }\n    ]\n}"},{"id":"5e255a7c-0cc7-4086-9809-8a81e23b6675","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\r\n    \"agentSessions\": 10,\r\n    \"dataSetAlt\": \"yes\",\r\n    \"domain\": null,\r\n    \"firebase\": \"/api/firebases/1\",\r\n    \"logo\": null,\r\n    \"mediaServerAlt\": \"/api/media_servers/1\",\r\n    \"name\": \"PostmanDoc\",\r\n    \"osticket\": null,\r\n    \"pbxDomainAlt\": \"192.168.0.1:5038\",\r\n    \"recordingUrlAlt\": \"https://localhost:8081\",\r\n    \"restApiAddressAlt\": \"https://localhost:8080\",\r\n    \"sessions\": 10,\r\n    \"status\": \"Activo\",\r\n    \"theme\": null,\r\n    \"users\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/organizations"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 17:35:48 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 17:35:48 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"c806eb"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/c806eb"},{"key":"Expires","value":"Tue, 24 Nov 2020 17:35:48 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%22c806eb%22%2C%22route%22%3A%22api_organizations_post_collection%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%22api_platform.action.post_collection%22%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Organization\",\n    \"@id\": \"/api/organizations/43\",\n    \"@type\": \"Organization\",\n    \"id\": 43,\n    \"name\": \"PostmanDocUpdate\",\n    \"logo\": null,\n    \"theme\": null,\n    \"domain\": null,\n    \"sessions\": 10,\n    \"agentSessions\": 10,\n    \"osticket\": null,\n    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n    \"status\": \"Activo\",\n    \"firebase\": \"/api/firebases/1\",\n    \"pbxDomainAlt\": \"192.168.0.1:5038\",\n    \"dataSetAlt\": \"yes\",\n    \"restApiAddressAlt\": \"https://localhost:8080\",\n    \"recordingUrlAlt\": \"https://localhost:8081\",\n    \"mediaServerAlt\": \"/api/media_servers/1\",\n    \"mediaServers\": null\n}"}],"_postman_id":"36fe7152-106d-4208-9cb0-d4ddfc6faae7"},{"name":"Migrate dashboard","id":"880bc1a1-ef79-4bae-a76f-b4fe28de0990","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://me.hiperpbx.com/api/organizations/:id/set-default-dashboard","urlObject":{"path":["organizations",":id","set-default-dashboard"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"id":"fe89f13b-02fc-49f6-aa30-cc33050b378d","description":{"content":"<p>Id of the organization to edit</p>\n","type":"text/plain"},"type":"string","value":"2","key":"id"}]}},"response":[{"id":"828a1b28-ef1f-427a-a62b-c0ac871552f9","name":"Validation Errors","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\r\n    \"agentSessions\": 10,\r\n    \"dataSetAlt\": \"yes\",\r\n    \"domain\": null,\r\n    \"firebase\": \"/api/firebases/1\",\r\n    \"logo\": null,\r\n    \"mediaServerAlt\": \"/api/media_servers/1\",\r\n    \"name\": \"PostmanDoc\",\r\n    \"osticket\": null,\r\n    \"pbxDomainAlt\": \"192.168.0.1:5038\",\r\n    \"recordingUrlAlt\": \"https://localhost:8081\",\r\n    \"restApiAddressAlt\": \"https://localhost:8080\",\r\n    \"sessions\": 10,\r\n    \"status\": \"Activo\",\r\n    \"theme\": null,\r\n    \"users\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/organizations"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000","uuid":"e83e7de7-dcc9-4c9b-b863-608d86a1726b"},{"key":"Date","value":"Tue, 24 Nov 2020 17:36:34 GMT","uuid":"658eb27d-6c15-4992-b903-653a815a3866"},{"key":"Date","value":"Tue, 24 Nov 2020 17:36:34 GMT","uuid":"658eb27d-6c15-4992-b903-653a815a3866"},{"key":"Connection","value":"close","uuid":"f8ee5b3d-d16e-437d-92a9-4ff6d03c0636"},{"key":"X-Powered-By","value":"PHP/7.4.10","uuid":"0c78da74-fc18-4529-9099-e3afe8f967fe"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8","uuid":"08761c17-7336-48b0-ac74-a674af0abe74"},{"key":"X-Content-Type-Options","value":"nosniff","uuid":"d64a99f3-ea31-414d-bf05-57e38ad52bb9"},{"key":"X-Frame-Options","value":"deny","uuid":"030e7991-83b3-4d9c-beed-29cbdfbd60cf"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private","uuid":"7c285642-d6b6-43b6-aa30-c577ffbf6040"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\"","uuid":"0b16cc3e-7e55-483a-8a63-1fb931d0c66c"},{"key":"X-Debug-Token","value":"878335","uuid":"020539fb-58e2-42a4-8f77-0c992fc2d4d0"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/878335","uuid":"3f2da209-3685-4d17-955c-89b5dbbee6fb"},{"key":"Expires","value":"Tue, 24 Nov 2020 17:36:34 GMT","uuid":"aa87c3b6-f9bb-4df6-ae52-1f4eb1728e6c"},{"key":"Set-Cookie","value":"sf_redirect=deleted; expires=Mon, 25-Nov-2019 17:36:33 GMT; Max-Age=0; path=/; httponly","uuid":"ff0dd852-a9b5-4aab-8474-c28c39c485e2"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/ConstraintViolationList\",\n    \"@type\": \"ConstraintViolationList\",\n    \"hydra:title\": \"An error occurred\",\n    \"hydra:description\": \"name: This value is already used.\",\n    \"violations\": [\n        {\n            \"propertyPath\": \"name\",\n            \"message\": \"This value is already used.\"\n        }\n    ]\n}"},{"id":"214fdc26-4542-41af-a993-bae27ca20827","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\r\n    \"agentSessions\": 10,\r\n    \"dataSetAlt\": \"yes\",\r\n    \"domain\": null,\r\n    \"firebase\": \"/api/firebases/1\",\r\n    \"logo\": null,\r\n    \"mediaServerAlt\": \"/api/media_servers/1\",\r\n    \"name\": \"PostmanDoc\",\r\n    \"osticket\": null,\r\n    \"pbxDomainAlt\": \"192.168.0.1:5038\",\r\n    \"recordingUrlAlt\": \"https://localhost:8081\",\r\n    \"restApiAddressAlt\": \"https://localhost:8080\",\r\n    \"sessions\": 10,\r\n    \"status\": \"Activo\",\r\n    \"theme\": null,\r\n    \"users\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/organizations"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000","uuid":"3c04621d-5604-4684-bcf1-fa8c81eda354"},{"key":"Date","value":"Tue, 24 Nov 2020 17:35:48 GMT","uuid":"03aac2d0-4a7e-4153-a474-a58186027c22"},{"key":"Date","value":"Tue, 24 Nov 2020 17:35:48 GMT","uuid":"03aac2d0-4a7e-4153-a474-a58186027c22"},{"key":"Connection","value":"close","uuid":"8d347941-e2a0-4736-8f74-e323f4e2c5b6"},{"key":"X-Powered-By","value":"PHP/7.4.10","uuid":"e9aaf3ee-d825-4beb-9063-9d6f0a2cf836"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8","uuid":"cc0bc269-0b39-442a-8bc2-f9ef772a9ac4"},{"key":"Vary","value":"Accept","uuid":"72648761-d081-45fa-a6ad-4c4a82de7a68"},{"key":"X-Content-Type-Options","value":"nosniff","uuid":"7fa5d302-6a63-4db3-94db-06ea147ecdd1"},{"key":"X-Frame-Options","value":"deny","uuid":"ec6c3977-de8b-4553-adb7-55bbc6fecd11"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private","uuid":"d1f6dee8-573e-4f2b-aca1-f5df7609216a"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\"","uuid":"82c1d1c2-ecc6-4158-bc3b-148fc31282fe"},{"key":"X-Debug-Token","value":"c806eb","uuid":"60693056-cb96-468f-b24c-9c5fc98a9fc7"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/c806eb","uuid":"cb123e73-8cfc-46f7-b428-3df47214d7e5"},{"key":"Expires","value":"Tue, 24 Nov 2020 17:35:48 GMT","uuid":"f7f186a1-8c0f-4b3e-a4b2-88c8f8a33929"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%22c806eb%22%2C%22route%22%3A%22api_organizations_post_collection%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%22api_platform.action.post_collection%22%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly","uuid":"902fb53f-8bd6-43d3-aea9-1de6d5560406"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Organization\",\n    \"@id\": \"/api/organizations/43\",\n    \"@type\": \"Organization\",\n    \"id\": 43,\n    \"name\": \"PostmanDocUpdate\",\n    \"logo\": null,\n    \"theme\": null,\n    \"domain\": null,\n    \"sessions\": 10,\n    \"agentSessions\": 10,\n    \"osticket\": null,\n    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n    \"status\": \"Activo\",\n    \"firebase\": \"/api/firebases/1\",\n    \"pbxDomainAlt\": \"192.168.0.1:5038\",\n    \"dataSetAlt\": \"yes\",\n    \"restApiAddressAlt\": \"https://localhost:8080\",\n    \"recordingUrlAlt\": \"https://localhost:8081\",\n    \"mediaServerAlt\": \"/api/media_servers/1\",\n    \"mediaServers\": null\n}"}],"_postman_id":"880bc1a1-ef79-4bae-a76f-b4fe28de0990"}],"id":"1e58d346-fff7-4794-b2a3-e8f7fd139ee6","event":[{"listen":"prerequest","script":{"id":"5c3336a2-2c05-4f1d-be45-03900659490c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c5ac6e93-903e-41a4-ad2e-dd6177ac73db","type":"text/javascript","exec":[""]}}],"_postman_id":"1e58d346-fff7-4794-b2a3-e8f7fd139ee6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Extensions","item":[{"name":"Get all the extensions","id":"fd02b32c-7ac8-4463-afb0-8fca43c48c0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/extensions","description":"<p>This endpoint returns a list of all the extensions</p>\n","urlObject":{"path":["extensions"],"host":["https://me.hiperpbx.com/api"],"query":[{"disabled":true,"description":{"content":"<p>Search extensions by organization id</p>\n","type":"text/plain"},"key":"organization.id","value":""},{"disabled":true,"description":{"content":"<p>Search extensions by organization name</p>\n","type":"text/plain"},"key":"organization.name","value":""},{"disabled":true,"description":{"content":"<p>Search extension by number</p>\n","type":"text/plain"},"key":"extension","value":""},{"disabled":true,"description":{"content":"<p>Search extension by name</p>\n","type":"text/plain"},"key":"name","value":null}],"variable":[]}},"response":[{"id":"573cf4ab-4a16-4375-9e0f-dafa3f75b9e5","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/extensions"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 18:30:36 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 18:30:36 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"900f3d364102ee210d1462a6c5f19f20\""},{"key":"X-Debug-Token","value":"947ea6"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/947ea6"},{"key":"Expires","value":"Tue, 24 Nov 2020 18:30:36 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Extension\",\n    \"@id\": \"/api/extensions\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/extensions/1\",\n            \"@type\": \"Extension\",\n            \"id\": 1,\n            \"extension\": \"100\",\n            \"name\": \"Agente\",\n            \"secret\": \"Q1w2e3r4t5$\",\n            \"used\": \"true\",\n            \"organization\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX\",\n                \"logo\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": null,\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"pbxDomainAlt\": \"192.196.1.38:5060\",\n                \"dataSetAlt\": \"hiperpbx_1604924857\",\n                \"restApiAddressAlt\": \"http://192.168.1.38:8081\",\n                \"recordingUrlAlt\": null,\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"mediaServers\": [\n                    {\n                        \"@id\": \"/api/media_servers/1\",\n                        \"@type\": \"MediaServer\"\n                    }\n                ]\n            }\n        },\n        {\n            \"@id\": \"/api/extensions/2\",\n            \"@type\": \"Extension\",\n            \"id\": 2,\n            \"extension\": \"101\",\n            \"name\": \"Agente\",\n            \"secret\": \"Q1w2e3r4t5$\",\n            \"used\": \"true\",\n            \"organization\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX\",\n                \"logo\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": null,\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"pbxDomainAlt\": \"192.196.1.38:5060\",\n                \"dataSetAlt\": \"hiperpbx_1604924857\",\n                \"restApiAddressAlt\": \"http://192.168.1.38:8081\",\n                \"recordingUrlAlt\": null,\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"mediaServers\": [\n                    {\n                        \"@id\": \"/api/media_servers/1\",\n                        \"@type\": \"MediaServer\"\n                    }\n                ]\n            }\n        }\n    ],\n    \"hydra:totalItems\": 2\n}"}],"_postman_id":"fd02b32c-7ac8-4463-afb0-8fca43c48c0d"},{"name":"Create new extension","id":"7d5f51fd-ca69-40ef-a738-61e6bd87c5d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"extension\" : \"\",\r\n    \"name\" : \"\",\r\n    \"organization\" : \"\",\r\n    \"secret\" : \"\"\r\n}"},"url":"https://me.hiperpbx.com/api/extensions","description":"<p>This endpoint allows the creation of extensions</p>\n<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>extension</td>\n<td>Number of the extension</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Name of the extension</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>organization</td>\n<td>Endpoint of the organization</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>secret</td>\n<td>Password of the extension</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>The password must have: </p>\n</blockquote>\n<ul>\n<li>At least one letter</li>\n<li>At least one capital letter</li>\n<li>At least one Number</li>\n<li>At least one special character ($%&amp;*!#)</li>\n<li>Minimum of 10 characters</li>\n</ul>\n","urlObject":{"path":["extensions"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"ab60f8ea-6fa0-48d5-9a4b-980c07843b19","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"extension\" : \"789\",\r\n    \"name\" : \"Postman\",\r\n    \"organization\" : \"/api/organizations/1\",\r\n    \"secret\" : \"Q1w2e3r4t5&\"\r\n}"},"url":"https://me.hiperpbx.com/api/extensions"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 19:30:14 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 19:30:14 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"0d58ff"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/0d58ff"},{"key":"Expires","value":"Tue, 24 Nov 2020 19:30:14 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%220d58ff%22%2C%22route%22%3A%22api_extensions_post_collection%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%22api_platform.action.post_collection%22%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Extension\",\n    \"@id\": \"/api/extensions/14\",\n    \"@type\": \"Extension\",\n    \"id\": 14,\n    \"extension\": \"789\",\n    \"name\": \"Postman\",\n    \"secret\": \"Q1w2e3r4t5&\",\n    \"used\": \"false\",\n    \"organization\": {\n        \"@id\": \"/api/organizations/1\",\n        \"@type\": \"Organization\",\n        \"id\": 1,\n        \"name\": \"Default\",\n        \"logo\": null,\n        \"theme\": null,\n        \"domain\": null,\n        \"sessions\": 0,\n        \"agentSessions\": 0,\n        \"osticket\": null,\n        \"LiveHelperChat\": null,\n        \"status\": null,\n        \"firebase\": null,\n        \"pbxDomainAlt\": \"\",\n        \"dataSetAlt\": \"\",\n        \"restApiAddressAlt\": null,\n        \"recordingUrlAlt\": null,\n        \"mediaServerAlt\": null,\n        \"mediaServers\": []\n    }\n}"}],"_postman_id":"7d5f51fd-ca69-40ef-a738-61e6bd87c5d0"},{"name":"Update extension","id":"5265d58f-bea3-4a36-b766-8abb07168e90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"extension\" : \"\",\r\n    \"name\" : \"\",\r\n    \"organization\" : \"\",\r\n    \"secret\" : \"\"\r\n}"},"url":"https://me.hiperpbx.com/api/extensions/:id","description":"<p>This endpoint allows the editing of a extension</p>\n<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>extension</td>\n<td>Number of the extension</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Name of the extension</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>organization</td>\n<td>Endpoint of the organization</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>secret</td>\n<td>Password of the extension</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>The password must have: </p>\n</blockquote>\n<ul>\n<li>At least one letter</li>\n<li>At least one capital letter</li>\n<li>At least one Number</li>\n<li>At least one special character ($%&amp;*!#)</li>\n<li>Minimum of 10 characters</li>\n</ul>\n","urlObject":{"path":["extensions",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Id of the extension to update</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"9c1294c5-f627-45de-80b7-9f82dc62fca5","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"extension\" : \"789\",\r\n    \"name\" : \"Postman\",\r\n    \"organization\" : \"/api/organizations/1\",\r\n    \"secret\" : \"Q1w2e3r4t5&\"\r\n}"},"url":"https://me.hiperpbx.com/api/extensions"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 19:30:14 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 19:30:14 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"0d58ff"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/0d58ff"},{"key":"Expires","value":"Tue, 24 Nov 2020 19:30:14 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%220d58ff%22%2C%22route%22%3A%22api_extensions_post_collection%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%22api_platform.action.post_collection%22%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Extension\",\n    \"@id\": \"/api/extensions/14\",\n    \"@type\": \"Extension\",\n    \"id\": 14,\n    \"extension\": \"789\",\n    \"name\": \"Postman\",\n    \"secret\": \"Q1w2e3r4t5&\",\n    \"used\": \"false\",\n    \"organization\": {\n        \"@id\": \"/api/organizations/1\",\n        \"@type\": \"Organization\",\n        \"id\": 1,\n        \"name\": \"Default\",\n        \"logo\": null,\n        \"theme\": null,\n        \"domain\": null,\n        \"sessions\": 0,\n        \"agentSessions\": 0,\n        \"osticket\": null,\n        \"LiveHelperChat\": null,\n        \"status\": null,\n        \"firebase\": null,\n        \"pbxDomainAlt\": \"\",\n        \"dataSetAlt\": \"\",\n        \"restApiAddressAlt\": null,\n        \"recordingUrlAlt\": null,\n        \"mediaServerAlt\": null,\n        \"mediaServers\": []\n    }\n}"},{"id":"c2476e7a-d099-42d8-befa-94d4c1100a5b","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"extension\" : \"789\",\r\n    \"name\" : \"Postman Update\",\r\n    \"organization\" : \"/api/organizations/1\",\r\n    \"secret\" : \"Q1w2e3r4t5&\"\r\n}"},"url":{"raw":"https://me.hiperpbx.com/api/extensions/:id","host":["https://me.hiperpbx.com/api"],"path":["extensions",":id"],"variable":[{"key":"id","value":"","description":"Id of the extension to update"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 19:34:47 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 19:34:47 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"4b9b73"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/4b9b73"},{"key":"Expires","value":"Tue, 24 Nov 2020 19:34:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Extension\",\n    \"@id\": \"/api/extensions/14\",\n    \"@type\": \"Extension\",\n    \"id\": 14,\n    \"extension\": \"789\",\n    \"name\": \"Postman Update\",\n    \"secret\": \"Q1w2e3r4t5&\",\n    \"used\": \"false\",\n    \"organization\": {\n        \"@id\": \"/api/organizations/1\",\n        \"@type\": \"Organization\",\n        \"id\": 1,\n        \"name\": \"Default\",\n        \"logo\": null,\n        \"theme\": null,\n        \"domain\": null,\n        \"sessions\": 0,\n        \"agentSessions\": 0,\n        \"osticket\": null,\n        \"LiveHelperChat\": null,\n        \"status\": null,\n        \"firebase\": null,\n        \"pbxDomainAlt\": \"\",\n        \"dataSetAlt\": \"\",\n        \"restApiAddressAlt\": null,\n        \"recordingUrlAlt\": null,\n        \"mediaServerAlt\": null,\n        \"mediaServers\": []\n    }\n}"}],"_postman_id":"5265d58f-bea3-4a36-b766-8abb07168e90"},{"name":"Delete extension","id":"7c3cd13e-1bd4-4fb7-ad24-95a2f94f1a02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"extension\" : \"\",\r\n    \"name\" : \"\",\r\n    \"organization\" : \"\",\r\n    \"secret\" : \"\"\r\n}"},"url":"https://me.hiperpbx.com/api/extensions/:id","urlObject":{"path":["extensions",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Id of the extension to delete</p>\n","type":"text/plain"},"type":"string","value":"0","key":"id"}]}},"response":[{"id":"729f21df-f728-49de-9813-eee902c13c41","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"extension\" : \"789\",\r\n    \"name\" : \"Postman\",\r\n    \"organization\" : \"/api/organizations/1\",\r\n    \"secret\" : \"Q1w2e3r4t5&\"\r\n}"},"url":"https://me.hiperpbx.com/api/extensions"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 19:30:14 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 19:30:14 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"0d58ff"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/0d58ff"},{"key":"Expires","value":"Tue, 24 Nov 2020 19:30:14 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%220d58ff%22%2C%22route%22%3A%22api_extensions_post_collection%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%22api_platform.action.post_collection%22%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Extension\",\n    \"@id\": \"/api/extensions/14\",\n    \"@type\": \"Extension\",\n    \"id\": 14,\n    \"extension\": \"789\",\n    \"name\": \"Postman\",\n    \"secret\": \"Q1w2e3r4t5&\",\n    \"used\": \"false\",\n    \"organization\": {\n        \"@id\": \"/api/organizations/1\",\n        \"@type\": \"Organization\",\n        \"id\": 1,\n        \"name\": \"Default\",\n        \"logo\": null,\n        \"theme\": null,\n        \"domain\": null,\n        \"sessions\": 0,\n        \"agentSessions\": 0,\n        \"osticket\": null,\n        \"LiveHelperChat\": null,\n        \"status\": null,\n        \"firebase\": null,\n        \"pbxDomainAlt\": \"\",\n        \"dataSetAlt\": \"\",\n        \"restApiAddressAlt\": null,\n        \"recordingUrlAlt\": null,\n        \"mediaServerAlt\": null,\n        \"mediaServers\": []\n    }\n}"},{"id":"a4f16482-d4d0-40e0-89e6-6f9e188d415f","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"extension\" : \"789\",\r\n    \"name\" : \"Postman Update\",\r\n    \"organization\" : \"/api/organizations/1\",\r\n    \"secret\" : \"Q1w2e3r4t5&\"\r\n}"},"url":{"raw":"https://me.hiperpbx.com/api/extensions/:id","host":["https://me.hiperpbx.com/api"],"path":["extensions",":id"],"variable":[{"key":"id","value":"","description":"Id of the extension to update"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 19:34:47 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 19:34:47 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"4b9b73"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/4b9b73"},{"key":"Expires","value":"Tue, 24 Nov 2020 19:34:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Extension\",\n    \"@id\": \"/api/extensions/14\",\n    \"@type\": \"Extension\",\n    \"id\": 14,\n    \"extension\": \"789\",\n    \"name\": \"Postman Update\",\n    \"secret\": \"Q1w2e3r4t5&\",\n    \"used\": \"false\",\n    \"organization\": {\n        \"@id\": \"/api/organizations/1\",\n        \"@type\": \"Organization\",\n        \"id\": 1,\n        \"name\": \"Default\",\n        \"logo\": null,\n        \"theme\": null,\n        \"domain\": null,\n        \"sessions\": 0,\n        \"agentSessions\": 0,\n        \"osticket\": null,\n        \"LiveHelperChat\": null,\n        \"status\": null,\n        \"firebase\": null,\n        \"pbxDomainAlt\": \"\",\n        \"dataSetAlt\": \"\",\n        \"restApiAddressAlt\": null,\n        \"recordingUrlAlt\": null,\n        \"mediaServerAlt\": null,\n        \"mediaServers\": []\n    }\n}"}],"_postman_id":"7c3cd13e-1bd4-4fb7-ad24-95a2f94f1a02"},{"name":"Get extension used by ","id":"7f2bad2e-0d26-4370-ba92-c55fa18208e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/extensions/:id/in-use-by","urlObject":{"path":["extensions",":id","in-use-by"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"7f2bad2e-0d26-4370-ba92-c55fa18208e3"},{"name":"New Request","id":"4a4390cb-f17a-4243-bca4-027dced58279","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"4a4390cb-f17a-4243-bca4-027dced58279"}],"id":"8547f168-1a5d-4925-ae96-e779f973839d","_postman_id":"8547f168-1a5d-4925-ae96-e779f973839d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Themes","item":[{"name":"Get all themes","id":"b10db693-2f3b-4579-9999-eee98ad8956e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/themes","urlObject":{"path":["themes"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"bb2c683a-febb-40e7-94f1-a4bd083f522f","name":"Get all themes","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/themes"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 18:16:50 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 18:16:50 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"1ad0c80cfb7dac441340ba052f13395d\""},{"key":"X-Debug-Token","value":"5da3b6"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/5da3b6"},{"key":"Expires","value":"Wed, 25 Nov 2020 18:16:50 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Theme\",\n    \"@id\": \"/api/themes\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/themes/1\",\n            \"@type\": \"Theme\",\n            \"id\": 1,\n            \"name\": \"Default\",\n            \"sidebarBackgroundColor\": \"rgb(52, 58, 64)\",\n            \"sidebarSubmenuBackgroundColor\": \"rgba(255, 255, 255, 0.1)\",\n            \"sidebarColor\": \"rgb(255, 255, 255)\",\n            \"corpoTabActive\": \"\",\n            \"corpoTab\": \"\"\n        },\n        {\n            \"@id\": \"/api/themes/2\",\n            \"@type\": \"Theme\",\n            \"id\": 2,\n            \"name\": \"Light\",\n            \"sidebarBackgroundColor\": \"rgb(248, 246, 246)\",\n            \"sidebarSubmenuBackgroundColor\": \"rgb(235, 234, 234)\",\n            \"sidebarColor\": \"rgb(131, 120, 120)\",\n            \"corpoTabActive\": \"\",\n            \"corpoTab\": \"\"\n        }\n    ],\n    \"hydra:totalItems\": 2\n}"}],"_postman_id":"b10db693-2f3b-4579-9999-eee98ad8956e"}],"id":"7daf2c20-9351-454f-92c8-c2822db5c993","_postman_id":"7daf2c20-9351-454f-92c8-c2822db5c993","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Urls","item":[{"name":"Get all the urls","id":"5ccfc5c7-9959-4107-a20a-7bc2cfeca226","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/url_iframes","urlObject":{"path":["url_iframes"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"7803386b-d015-40ac-a453-21ef6f74af45","name":"Get all the urls","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/url_iframes"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 13:33:03 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 13:33:03 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"eef16e8c5fe212301517a61b72df5e7d\""},{"key":"X-Debug-Token","value":"1a6886"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/1a6886"},{"key":"Expires","value":"Wed, 25 Nov 2020 13:33:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/UrlIframe\",\n    \"@id\": \"/api/url_iframes\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/url_iframes/1\",\n            \"@type\": \"UrlIframe\",\n            \"id\": 1,\n            \"name\": \"HiperPBX\",\n            \"link\": \"https://example.atlassian.net\",\n            \"organization\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX\",\n                \"logo\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": null,\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                \"dataSetAlt\": \"hiperpbx_1604924857\",\n                \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n                \"recordingUrlAlt\": null,\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"mediaServers\": [\n                    {\n                        \"@id\": \"/api/media_servers/1\",\n                        \"@type\": \"MediaServer\"\n                    }\n                ]\n            }\n        }\n    ],\n    \"hydra:totalItems\": 1\n}"}],"_postman_id":"5ccfc5c7-9959-4107-a20a-7bc2cfeca226"},{"name":"Create new Url","id":"43b62b98-6640-4765-b43f-df4ac8de86e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"\",\r\n    \"link\" : \"\",\r\n    \"organization\" : \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/url_iframes","description":"<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type/Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Name of the Url</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>link</td>\n<td>URL to show</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>organization</td>\n<td>Endpoint of the Organization</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["url_iframes"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"23284dbd-1d3a-49bd-942c-64fa9eaeff4d","name":"Create new Url","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"Example\",\r\n    \"link\" : \"https://example.com\",\r\n    \"organization\" : \"/api/organizations/1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/url_iframes"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 13:47:58 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 13:47:58 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"c81ad1"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/c81ad1"},{"key":"Expires","value":"Wed, 25 Nov 2020 13:47:58 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%22c81ad1%22%2C%22route%22%3A%22api_url_iframes_post_collection%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%22api_platform.action.post_collection%22%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/UrlIframe\",\n    \"@id\": \"/api/url_iframes/3\",\n    \"@type\": \"UrlIframe\",\n    \"id\": 3,\n    \"name\": \"Example\",\n    \"link\": \"https://example.com\",\n    \"organization\": {\n        \"@id\": \"/api/organizations/1\",\n        \"@type\": \"Organization\",\n        \"id\": 1,\n        \"name\": \"Default\",\n        \"logo\": null,\n        \"theme\": null,\n        \"domain\": null,\n        \"sessions\": 0,\n        \"agentSessions\": 0,\n        \"osticket\": null,\n        \"LiveHelperChat\": null,\n        \"status\": null,\n        \"firebase\": null,\n        \"pbxDomainAlt\": \"\",\n        \"dataSetAlt\": \"\",\n        \"restApiAddressAlt\": null,\n        \"recordingUrlAlt\": null,\n        \"mediaServerAlt\": null,\n        \"mediaServers\": []\n    }\n}"}],"_postman_id":"43b62b98-6640-4765-b43f-df4ac8de86e8"},{"name":"Update URL","id":"4590739d-ccce-49cd-986d-6d3055cb0de0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"Example\",\r\n    \"link\" : \"https://example.update.com\",\r\n    \"organization\" : \"/api/organizations/2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/url_iframes/:id","description":"<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type/Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Name of the Url</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>link</td>\n<td>URL to show</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>organization</td>\n<td>Endpoint of the Organization</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["url_iframes",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Url id</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"631dd4b6-dcdf-44f1-bab9-e6001018e262","name":"Update URL","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"Example\",\r\n    \"link\" : \"https://example.update.com\",\r\n    \"organization\" : \"/api/organizations/2\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://me.hiperpbx.com/api/url_iframes/:id","host":["https://me.hiperpbx.com/api"],"path":["url_iframes",":id"],"variable":[{"key":"id","value":"4","description":"Url id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 13:53:28 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 13:53:28 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"f61485"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/f61485"},{"key":"Expires","value":"Wed, 25 Nov 2020 13:53:28 GMT"},{"key":"Set-Cookie","value":"sf_redirect=deleted; expires=Tue, 26-Nov-2019 13:53:27 GMT; Max-Age=0; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/UrlIframe\",\n    \"@id\": \"/api/url_iframes/4\",\n    \"@type\": \"UrlIframe\",\n    \"id\": 4,\n    \"name\": \"Example\",\n    \"link\": \"https://example.update.com\",\n    \"organization\": {\n        \"@id\": \"/api/organizations/2\",\n        \"@type\": \"Organization\",\n        \"id\": 2,\n        \"name\": \"HiperPBX\",\n        \"logo\": null,\n        \"theme\": \"/api/themes/1\",\n        \"domain\": null,\n        \"sessions\": 10,\n        \"agentSessions\": 10,\n        \"osticket\": null,\n        \"LiveHelperChat\": null,\n        \"status\": null,\n        \"firebase\": \"/api/firebases/1\",\n        \"pbxDomainAlt\": \"192.168.56.42:5060\",\n        \"dataSetAlt\": \"hiperpbx_1604924857\",\n        \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n        \"recordingUrlAlt\": null,\n        \"mediaServerAlt\": \"/api/media_servers/1\",\n        \"mediaServers\": [\n            {\n                \"@id\": \"/api/media_servers/1\",\n                \"@type\": \"MediaServer\"\n            }\n        ]\n    }\n}"}],"_postman_id":"4590739d-ccce-49cd-986d-6d3055cb0de0"},{"name":"Delete URL","id":"6630848f-9068-45bd-832f-7ac25b95b17a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"Example\",\r\n    \"link\" : \"https://example.update.com\",\r\n    \"organization\" : \"/api/organizations/2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/url_iframes/:id","urlObject":{"path":["url_iframes",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Url id</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"5f35d763-bfef-44c2-be37-d91f2d67dcfc","name":"Update URL Copy","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"Example\",\r\n    \"link\" : \"https://example.update.com\",\r\n    \"organization\" : \"/api/organizations/2\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://me.hiperpbx.com/api/url_iframes/:id","host":["https://me.hiperpbx.com/api"],"path":["url_iframes",":id"],"variable":[{"key":"id","value":"4","description":"Url id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 13:55:38 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 13:55:38 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"f29049"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/f29049"},{"key":"Expires","value":"Wed, 25 Nov 2020 13:55:38 GMT"},{"key":"Content-type","value":"text/html; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":""},{"id":"dbdc94c9-502a-4772-8f75-3411556db943","name":"Update URL","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"Example\",\r\n    \"link\" : \"https://example.update.com\",\r\n    \"organization\" : \"/api/organizations/2\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://me.hiperpbx.com/api/url_iframes/:id","host":["https://me.hiperpbx.com/api"],"path":["url_iframes",":id"],"variable":[{"key":"id","value":"4","description":"Url id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 13:53:28 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 13:53:28 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"f61485"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/f61485"},{"key":"Expires","value":"Wed, 25 Nov 2020 13:53:28 GMT"},{"key":"Set-Cookie","value":"sf_redirect=deleted; expires=Tue, 26-Nov-2019 13:53:27 GMT; Max-Age=0; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/UrlIframe\",\n    \"@id\": \"/api/url_iframes/4\",\n    \"@type\": \"UrlIframe\",\n    \"id\": 4,\n    \"name\": \"Example\",\n    \"link\": \"https://example.update.com\",\n    \"organization\": {\n        \"@id\": \"/api/organizations/2\",\n        \"@type\": \"Organization\",\n        \"id\": 2,\n        \"name\": \"HiperPBX\",\n        \"logo\": null,\n        \"theme\": \"/api/themes/1\",\n        \"domain\": null,\n        \"sessions\": 10,\n        \"agentSessions\": 10,\n        \"osticket\": null,\n        \"LiveHelperChat\": null,\n        \"status\": null,\n        \"firebase\": \"/api/firebases/1\",\n        \"pbxDomainAlt\": \"192.168.56.42:5060\",\n        \"dataSetAlt\": \"hiperpbx_1604924857\",\n        \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n        \"recordingUrlAlt\": null,\n        \"mediaServerAlt\": \"/api/media_servers/1\",\n        \"mediaServers\": [\n            {\n                \"@id\": \"/api/media_servers/1\",\n                \"@type\": \"MediaServer\"\n            }\n        ]\n    }\n}"}],"_postman_id":"6630848f-9068-45bd-832f-7ac25b95b17a"}],"id":"2807e284-eb72-4e2f-817c-1f4439cfedfe","_postman_id":"2807e284-eb72-4e2f-817c-1f4439cfedfe","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Users","item":[{"name":"Get all the users","id":"125b8127-f2a1-4ffd-9abd-297d9fd876a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/users","description":"<p>Searches can be performed using the following keys in the query parameters:</p>\n<ul>\n<li>organizations.name: Partially finds all users whose organization name matches the search criteria</li>\n<li>simplesearch: Search all users in the name, lastname , email or username properties</li>\n</ul>\n<p>Keep in mind that if you use the 2 keys, it makes \"AND\" criteria.</p>\n<p>Note: If the `lastLogin` field is null, the user has not logged in yet.</p>\n","urlObject":{"path":["users"],"host":["https://me.hiperpbx.com/api"],"query":[{"disabled":true,"description":{"content":"<p>Search in the organizations.name </p>\n","type":"text/plain"},"key":"organizations.name","value":"example"},{"disabled":true,"description":{"content":"<p>Search in the fields: name, lastname, email or username</p>\n","type":"text/plain"},"key":"simplesearch","value":"john"},{"disabled":true,"description":{"content":"<p>Search in the organizations.id</p>\n","type":"text/plain"},"key":"organizations.id","value":"1"},{"disabled":true,"description":{"content":"<p>Search users by status. Posible values: 0 or 1</p>\n","type":"text/plain"},"key":"isActive","value":null}],"variable":[]}},"response":[{"id":"fc7881c1-da7c-4132-8988-6bd741d745a1","name":"Get all the users","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 09 May 2022 19:58:51 GMT"},{"key":"Date","value":"Mon, 09 May 2022 19:58:51 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.29"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"f104b8dadb202f5cfb7a25dd20954620\""},{"key":"X-Debug-Token","value":"9690ba"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/9690ba"},{"key":"Expires","value":"Mon, 09 May 2022 19:58:51 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/User\",\n    \"@id\": \"/api/users\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/users/2\",\n            \"@type\": \"User\",\n            \"id\": 2,\n            \"email\": \"john.doe@example.com\",\n            \"name\": \"John\",\n            \"lastname\": \"Doe\",\n            \"username\": \"john.doe@example.com\",\n            \"roles\": [\n                \"ROLE_ADMIN\"\n            ],\n            \"extensions\": [],\n            \"organizations\": [\n                {\n                    \"@id\": \"/api/organizations/2\",\n                    \"@type\": \"Organization\",\n                    \"id\": 2,\n                    \"name\": \"HiperPBX Dev\",\n                    \"logo\": null,\n                    \"logoMin\": null,\n                    \"theme\": \"/api/themes/1\",\n                    \"domain\": null,\n                    \"mediaServers\": [\n                        \"/api/media_servers/1\"\n                    ],\n                    \"sessions\": 10,\n                    \"agentSessions\": 10,\n                    \"osticket\": \"/api/ostickets/1\",\n                    \"LiveHelperChat\": null,\n                    \"status\": null,\n                    \"firebase\": \"/api/firebases/1\",\n                    \"redirect\": null,\n                    \"pbxDomainAlt\": \"192.168.0.5:5060\",\n                    \"dataSetAlt\": \"hiperpbx_dev_1647459484\",\n                    \"mediaServerAlt\": \"/api/media_servers/1\"\n                }\n            ],\n            \"picture\": null,\n            \"uid\": \"yrTesZxYAwNVYIOBaqZHZbTeFeT2\",\n            \"locale\": \"en\",\n            \"urls\": [],\n            \"hasVideoCall\": \"no\",\n            \"lastLogin\": \"2022-05-09T15:28:15-03:00\",\n            \"isActive\": 1,\n            \"organizationsIris\": [\n                \"/api/organizations/2\"\n            ],\n            \"urlsIris\": [],\n            \"extensionsIris\": [],\n            \"organizationThemeAlt\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX Dev\",\n                \"logo\": null,\n                \"logoMin\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"mediaServers\": [\n                    \"/api/media_servers/1\"\n                ],\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": \"/api/ostickets/1\",\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"redirect\": null,\n                \"pbxDomainAlt\": \"192.168.0.5:5060\",\n                \"dataSetAlt\": \"hiperpbx_dev_1647459484\",\n                \"mediaServerAlt\": \"/api/media_servers/1\"\n            },\n            \"organizationSessionsAlt\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX Dev\",\n                \"logo\": null,\n                \"logoMin\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"mediaServers\": [\n                    \"/api/media_servers/1\"\n                ],\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": \"/api/ostickets/1\",\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"redirect\": null,\n                \"pbxDomainAlt\": \"192.168.0.5:5060\",\n                \"dataSetAlt\": \"hiperpbx_dev_1647459484\",\n                \"mediaServerAlt\": \"/api/media_servers/1\"\n            }\n        }\n    ],\n    \"hydra:totalItems\": 1,\n    \"hydra:search\": {\n        \"@type\": \"hydra:IriTemplate\",\n        \"hydra:template\": \"/api/users{?name,organizations.name,lastname,email,isActive,isActive[]}\",\n        \"hydra:variableRepresentation\": \"BasicRepresentation\",\n        \"hydra:mapping\": [\n            {\n                \"@type\": \"IriTemplateMapping\",\n                \"variable\": \"name\",\n                \"property\": \"name\",\n                \"required\": false\n            },\n            {\n                \"@type\": \"IriTemplateMapping\",\n                \"variable\": \"organizations.name\",\n                \"property\": \"organizations.name\",\n                \"required\": false\n            },\n            {\n                \"@type\": \"IriTemplateMapping\",\n                \"variable\": \"lastname\",\n                \"property\": \"lastname\",\n                \"required\": false\n            },\n            {\n                \"@type\": \"IriTemplateMapping\",\n                \"variable\": \"email\",\n                \"property\": \"email\",\n                \"required\": false\n            },\n            {\n                \"@type\": \"IriTemplateMapping\",\n                \"variable\": \"isActive\",\n                \"property\": \"isActive\",\n                \"required\": false\n            },\n            {\n                \"@type\": \"IriTemplateMapping\",\n                \"variable\": \"isActive[]\",\n                \"property\": \"isActive\",\n                \"required\": false\n            }\n        ]\n    }\n}"},{"id":"24abb003-8300-4130-aabd-2458cdf66d76","name":"Get all the users","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://me.hiperpbx.com/api/users?organizations.name=example&simplesearch=johndoe","host":["https://me.hiperpbx.com/api"],"path":["users"],"query":[{"key":"organizations.name","value":"example","description":"Search in the organizations.name "},{"key":"simplesearch","value":"johndoe","description":"Search in the fields: name, lastname, email or username"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Fri, 26 Aug 2022 17:44:22 GMT"},{"key":"Date","value":"Fri, 26 Aug 2022 17:44:22 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.29"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"2267c8ce5f5d4efbd65e2e03dc46760a\""},{"key":"X-Debug-Token","value":"badaf6"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/badaf6"},{"key":"Expires","value":"Fri, 26 Aug 2022 17:44:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/User\",\n    \"@id\": \"/api/users\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/users/2\",\n            \"@type\": \"User\",\n            \"id\": 2,\n            \"email\": \"gabriel.bonvissuto@hiperpbx.com\",\n            \"name\": \"Gabriel\",\n            \"lastname\": \"Bonvissuto\",\n            \"username\": \"gabriel.bonvissuto@hiperpbx.com\",\n            \"roles\": [\n                \"ROLE_ADMIN\"\n            ],\n            \"extensions\": [\n                {\n                    \"@id\": \"/api/extensions/1\",\n                    \"@type\": \"Extension\",\n                    \"id\": 1,\n                    \"extension\": \"100\",\n                    \"name\": \"Gabriel Bonvissuto\",\n                    \"secret\": \"Q1w2e3r4t5$\",\n                    \"used\": \"true\",\n                    \"organization\": {\n                        \"@id\": \"/api/organizations/2\",\n                        \"@type\": \"Organization\",\n                        \"id\": 2,\n                        \"name\": \"HiperPBX Dev\",\n                        \"logo\": null,\n                        \"logoMin\": null,\n                        \"theme\": \"/api/themes/1\",\n                        \"domain\": null,\n                        \"mediaServers\": [\n                            \"/api/media_servers/1\"\n                        ],\n                        \"sessions\": 10,\n                        \"agentSessions\": 10,\n                        \"osticket\": \"/api/ostickets/1\",\n                        \"LiveHelperChat\": null,\n                        \"status\": null,\n                        \"firebase\": \"/api/firebases/1\",\n                        \"redirect\": null,\n                        \"watchRTC\": 0,\n                        \"bigQuery\": \"HiperMe_Dev\",\n                        \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                        \"dataSetAlt\": \"yes\",\n                        \"mediaServerAlt\": \"/api/media_servers/1\",\n                        \"callCenter\": true\n                    }\n                }\n            ],\n            \"organizations\": [\n                {\n                    \"@id\": \"/api/organizations/2\",\n                    \"@type\": \"Organization\",\n                    \"id\": 2,\n                    \"name\": \"HiperPBX Dev\",\n                    \"logo\": null,\n                    \"logoMin\": null,\n                    \"theme\": \"/api/themes/1\",\n                    \"domain\": null,\n                    \"mediaServers\": [\n                        \"/api/media_servers/1\"\n                    ],\n                    \"sessions\": 10,\n                    \"agentSessions\": 10,\n                    \"osticket\": \"/api/ostickets/1\",\n                    \"LiveHelperChat\": null,\n                    \"status\": null,\n                    \"firebase\": \"/api/firebases/1\",\n                    \"redirect\": null,\n                    \"watchRTC\": 0,\n                    \"bigQuery\": \"HiperMe_Dev\",\n                    \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                    \"dataSetAlt\": \"yes\",\n                    \"mediaServerAlt\": \"/api/media_servers/1\",\n                    \"callCenter\": true\n                }\n            ],\n            \"picture\": \"https://firebasestorage.googleapis.com/v0/b/simplificloud-1534336262931.appspot.com/o/profile-pictures%2FyrTesZxYAwNVYIOBaqZHZbTeFeT2?alt=media&token=b14e8859-1f93-4073-b575-29018bd48a9d\",\n            \"uid\": \"yrTesZxYAwNVYIOBaqZHZbTeFeT2\",\n            \"locale\": \"es\",\n            \"urls\": [],\n            \"hasVideoCall\": \"yes\",\n            \"lastLogin\": \"2022-08-26T14:30:20-03:00\",\n            \"isActive\": 1,\n            \"organizationsIris\": [\n                \"/api/organizations/2\"\n            ],\n            \"urlsIris\": [],\n            \"extensionsIris\": [\n                \"/api/extensions/1\"\n            ],\n            \"organizationThemeAlt\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX Dev\",\n                \"logo\": null,\n                \"logoMin\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"mediaServers\": [\n                    \"/api/media_servers/1\"\n                ],\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": \"/api/ostickets/1\",\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"redirect\": null,\n                \"watchRTC\": 0,\n                \"bigQuery\": \"HiperMe_Dev\",\n                \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                \"dataSetAlt\": \"yes\",\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"callCenter\": true\n            },\n            \"organizationSessionsAlt\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX Dev\",\n                \"logo\": null,\n                \"logoMin\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"mediaServers\": [\n                    \"/api/media_servers/1\"\n                ],\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": \"/api/ostickets/1\",\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"redirect\": null,\n                \"watchRTC\": 0,\n                \"bigQuery\": \"HiperMe_Dev\",\n                \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                \"dataSetAlt\": \"yes\",\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"callCenter\": true\n            }\n        },\n        {\n            \"@id\": \"/api/users/3\",\n            \"@type\": \"User\",\n            \"id\": 3,\n            \"email\": \"john.doe@hiperpbx.com\",\n            \"name\": \"John\",\n            \"lastname\": \"Doe\",\n            \"username\": \"john.doe@hiperpbx.com\",\n            \"roles\": [\n                \"ROLE_AGENT\",\n                \"ROLE_USER\"\n            ],\n            \"extensions\": [],\n            \"organizations\": [\n                {\n                    \"@id\": \"/api/organizations/2\",\n                    \"@type\": \"Organization\",\n                    \"id\": 2,\n                    \"name\": \"HiperPBX Dev\",\n                    \"logo\": null,\n                    \"logoMin\": null,\n                    \"theme\": \"/api/themes/1\",\n                    \"domain\": null,\n                    \"mediaServers\": [\n                        \"/api/media_servers/1\"\n                    ],\n                    \"sessions\": 10,\n                    \"agentSessions\": 10,\n                    \"osticket\": \"/api/ostickets/1\",\n                    \"LiveHelperChat\": null,\n                    \"status\": null,\n                    \"firebase\": \"/api/firebases/1\",\n                    \"redirect\": null,\n                    \"watchRTC\": 0,\n                    \"bigQuery\": \"HiperMe_Dev\",\n                    \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                    \"dataSetAlt\": \"yes\",\n                    \"mediaServerAlt\": \"/api/media_servers/1\",\n                    \"callCenter\": true\n                }\n            ],\n            \"picture\": \"https://firebasestorage.googleapis.com/v0/b/simplificloud-1534336262931.appspot.com/o/profile-pictures%2FmaDWx6yEzjcGFEvQ7AaVnIFjUMF3?alt=media&token=74f33f0c-a66a-45a1-bb2e-f7d2bd2c247c\",\n            \"uid\": \"maDWx6yEzjcGFEvQ7AaVnIFjUMF3\",\n            \"locale\": \"es\",\n            \"urls\": [],\n            \"hasVideoCall\": \"yes\",\n            \"lastLogin\": \"2022-08-17T13:37:21-03:00\",\n            \"isActive\": 1,\n            \"organizationsIris\": [\n                \"/api/organizations/2\"\n            ],\n            \"urlsIris\": [],\n            \"extensionsIris\": [],\n            \"organizationThemeAlt\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX Dev\",\n                \"logo\": null,\n                \"logoMin\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"mediaServers\": [\n                    \"/api/media_servers/1\"\n                ],\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": \"/api/ostickets/1\",\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"redirect\": null,\n                \"watchRTC\": 0,\n                \"bigQuery\": \"HiperMe_Dev\",\n                \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                \"dataSetAlt\": \"yes\",\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"callCenter\": true\n            },\n            \"organizationSessionsAlt\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX Dev\",\n                \"logo\": null,\n                \"logoMin\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"mediaServers\": [\n                    \"/api/media_servers/1\"\n                ],\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": \"/api/ostickets/1\",\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"redirect\": null,\n                \"watchRTC\": 0,\n                \"bigQuery\": \"HiperMe_Dev\",\n                \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                \"dataSetAlt\": \"yes\",\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"callCenter\": true\n            }\n        },\n        {\n            \"@id\": \"/api/users/4\",\n            \"@type\": \"User\",\n            \"id\": 4,\n            \"email\": \"santiago.palacios@hiperpbx.com\",\n            \"name\": \"Santiago\",\n            \"lastname\": \"Palacios (MX)\",\n            \"username\": \"santiago.palacios@hiperpbx.com\",\n            \"roles\": [\n                \"ROLE_BASIC\"\n            ],\n            \"extensions\": [\n                {\n                    \"@id\": \"/api/extensions/6\",\n                    \"@type\": \"Extension\",\n                    \"id\": 6,\n                    \"extension\": \"987\",\n                    \"name\": \"Soporte\",\n                    \"secret\": \"Q1w2e3r4t5&\",\n                    \"used\": \"true\",\n                    \"organization\": {\n                        \"@id\": \"/api/organizations/2\",\n                        \"@type\": \"Organization\",\n                        \"id\": 2,\n                        \"name\": \"HiperPBX Dev\",\n                        \"logo\": null,\n                        \"logoMin\": null,\n                        \"theme\": \"/api/themes/1\",\n                        \"domain\": null,\n                        \"mediaServers\": [\n                            \"/api/media_servers/1\"\n                        ],\n                        \"sessions\": 10,\n                        \"agentSessions\": 10,\n                        \"osticket\": \"/api/ostickets/1\",\n                        \"LiveHelperChat\": null,\n                        \"status\": null,\n                        \"firebase\": \"/api/firebases/1\",\n                        \"redirect\": null,\n                        \"watchRTC\": 0,\n                        \"bigQuery\": \"HiperMe_Dev\",\n                        \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                        \"dataSetAlt\": \"yes\",\n                        \"mediaServerAlt\": \"/api/media_servers/1\",\n                        \"callCenter\": true\n                    }\n                }\n            ],\n            \"organizations\": [\n                {\n                    \"@id\": \"/api/organizations/2\",\n                    \"@type\": \"Organization\",\n                    \"id\": 2,\n                    \"name\": \"HiperPBX Dev\",\n                    \"logo\": null,\n                    \"logoMin\": null,\n                    \"theme\": \"/api/themes/1\",\n                    \"domain\": null,\n                    \"mediaServers\": [\n                        \"/api/media_servers/1\"\n                    ],\n                    \"sessions\": 10,\n                    \"agentSessions\": 10,\n                    \"osticket\": \"/api/ostickets/1\",\n                    \"LiveHelperChat\": null,\n                    \"status\": null,\n                    \"firebase\": \"/api/firebases/1\",\n                    \"redirect\": null,\n                    \"watchRTC\": 0,\n                    \"bigQuery\": \"HiperMe_Dev\",\n                    \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                    \"dataSetAlt\": \"yes\",\n                    \"mediaServerAlt\": \"/api/media_servers/1\",\n                    \"callCenter\": true\n                }\n            ],\n            \"picture\": null,\n            \"uid\": \"nEMyCXRA9rRaNsIciYYKCXWHNop1\",\n            \"locale\": \"es\",\n            \"urls\": [],\n            \"hasVideoCall\": \"no\",\n            \"lastLogin\": \"2022-08-26T14:20:48-03:00\",\n            \"isActive\": 1,\n            \"organizationsIris\": [\n                \"/api/organizations/2\"\n            ],\n            \"urlsIris\": [],\n            \"extensionsIris\": [\n                \"/api/extensions/6\"\n            ],\n            \"organizationThemeAlt\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX Dev\",\n                \"logo\": null,\n                \"logoMin\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"mediaServers\": [\n                    \"/api/media_servers/1\"\n                ],\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": \"/api/ostickets/1\",\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"redirect\": null,\n                \"watchRTC\": 0,\n                \"bigQuery\": \"HiperMe_Dev\",\n                \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                \"dataSetAlt\": \"yes\",\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"callCenter\": true\n            },\n            \"organizationSessionsAlt\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX Dev\",\n                \"logo\": null,\n                \"logoMin\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"mediaServers\": [\n                    \"/api/media_servers/1\"\n                ],\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": \"/api/ostickets/1\",\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"redirect\": null,\n                \"watchRTC\": 0,\n                \"bigQuery\": \"HiperMe_Dev\",\n                \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                \"dataSetAlt\": \"yes\",\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"callCenter\": true\n            }\n        },\n        {\n            \"@id\": \"/api/users/8\",\n            \"@type\": \"User\",\n            \"id\": 8,\n            \"email\": \"gabriel.bonvissuto@hiperpbx.com.mx\",\n            \"name\": \"Gabriel Nicolas\",\n            \"lastname\": \"Bonvissuto\",\n            \"username\": \"gabriel.bonvissuto@hiperpbx.com.mx\",\n            \"roles\": [\n                \"ROLE_BASIC\"\n            ],\n            \"extensions\": [\n                {\n                    \"@id\": \"/api/extensions/2\",\n                    \"@type\": \"Extension\",\n                    \"id\": 2,\n                    \"extension\": \"101\",\n                    \"name\": \"John Doe\",\n                    \"secret\": \"Q1w2e3r4t5$\",\n                    \"used\": \"true\",\n                    \"organization\": {\n                        \"@id\": \"/api/organizations/2\",\n                        \"@type\": \"Organization\",\n                        \"id\": 2,\n                        \"name\": \"HiperPBX Dev\",\n                        \"logo\": null,\n                        \"logoMin\": null,\n                        \"theme\": \"/api/themes/1\",\n                        \"domain\": null,\n                        \"mediaServers\": [\n                            \"/api/media_servers/1\"\n                        ],\n                        \"sessions\": 10,\n                        \"agentSessions\": 10,\n                        \"osticket\": \"/api/ostickets/1\",\n                        \"LiveHelperChat\": null,\n                        \"status\": null,\n                        \"firebase\": \"/api/firebases/1\",\n                        \"redirect\": null,\n                        \"watchRTC\": 0,\n                        \"bigQuery\": \"HiperMe_Dev\",\n                        \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                        \"dataSetAlt\": \"yes\",\n                        \"mediaServerAlt\": \"/api/media_servers/1\",\n                        \"callCenter\": true\n                    }\n                }\n            ],\n            \"organizations\": [\n                {\n                    \"@id\": \"/api/organizations/2\",\n                    \"@type\": \"Organization\",\n                    \"id\": 2,\n                    \"name\": \"HiperPBX Dev\",\n                    \"logo\": null,\n                    \"logoMin\": null,\n                    \"theme\": \"/api/themes/1\",\n                    \"domain\": null,\n                    \"mediaServers\": [\n                        \"/api/media_servers/1\"\n                    ],\n                    \"sessions\": 10,\n                    \"agentSessions\": 10,\n                    \"osticket\": \"/api/ostickets/1\",\n                    \"LiveHelperChat\": null,\n                    \"status\": null,\n                    \"firebase\": \"/api/firebases/1\",\n                    \"redirect\": null,\n                    \"watchRTC\": 0,\n                    \"bigQuery\": \"HiperMe_Dev\",\n                    \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                    \"dataSetAlt\": \"yes\",\n                    \"mediaServerAlt\": \"/api/media_servers/1\",\n                    \"callCenter\": true\n                }\n            ],\n            \"picture\": \"https://storage.googleapis.com/simplificloud-1534336262931.appspot.com/profile-pictures/default_33KDeB04uCP9b1tMpCFmOj8WAVA2.svg\",\n            \"uid\": \"33KDeB04uCP9b1tMpCFmOj8WAVA2\",\n            \"locale\": \"es\",\n            \"urls\": [],\n            \"hasVideoCall\": \"no\",\n            \"lastLogin\": \"2022-07-05T08:38:08-03:00\",\n            \"isActive\": 1,\n            \"organizationsIris\": [\n                \"/api/organizations/2\"\n            ],\n            \"urlsIris\": [],\n            \"extensionsIris\": [\n                \"/api/extensions/2\"\n            ],\n            \"organizationThemeAlt\": {\n                \"@id\": \"/api/organizations/3\",\n                \"@type\": \"Organization\",\n                \"id\": 3,\n                \"name\": \"HiperMe (MX)\",\n                \"logo\": null,\n                \"logoMin\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"mediaServers\": [\n                    \"/api/media_servers/1\"\n                ],\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": \"/api/ostickets/1\",\n                \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n                \"status\": null,\n                \"firebase\": \"/api/firebases/3\",\n                \"redirect\": null,\n                \"watchRTC\": 0,\n                \"bigQuery\": \"HiperMe_Dev\",\n                \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                \"dataSetAlt\": \"yes\",\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"callCenter\": true\n            },\n            \"organizationSessionsAlt\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX Dev\",\n                \"logo\": null,\n                \"logoMin\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"mediaServers\": [\n                    \"/api/media_servers/1\"\n                ],\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": \"/api/ostickets/1\",\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"redirect\": null,\n                \"watchRTC\": 0,\n                \"bigQuery\": \"HiperMe_Dev\",\n                \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                \"dataSetAlt\": \"yes\",\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"callCenter\": true\n            }\n        }\n    ],\n    \"hydra:totalItems\": 4,\n    \"hydra:view\": {\n        \"@id\": \"/api/users?organizations.name=HiperPBX\",\n        \"@type\": \"hydra:PartialCollectionView\"\n    },\n    \"hydra:search\": {\n        \"@type\": \"hydra:IriTemplate\",\n        \"hydra:template\": \"/api/users{?organizations.name,isActive,isActive[],simplesearch}\",\n        \"hydra:variableRepresentation\": \"BasicRepresentation\",\n        \"hydra:mapping\": [\n            {\n                \"@type\": \"IriTemplateMapping\",\n                \"variable\": \"organizations.name\",\n                \"property\": \"organizations.name\",\n                \"required\": false\n            },\n            {\n                \"@type\": \"IriTemplateMapping\",\n                \"variable\": \"isActive\",\n                \"property\": \"isActive\",\n                \"required\": false\n            },\n            {\n                \"@type\": \"IriTemplateMapping\",\n                \"variable\": \"isActive[]\",\n                \"property\": \"isActive\",\n                \"required\": false\n            },\n            {\n                \"@type\": \"IriTemplateMapping\",\n                \"variable\": \"simplesearch\",\n                \"property\": \"name, lastname, email, username\",\n                \"required\": false\n            }\n        ]\n    }\n}"},{"id":"3b415787-af1d-4822-8f3a-97142d0f84d7","name":"Get all the users with search","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://me.hiperpbx.com/api/users?simplesearch=john","host":["https://me.hiperpbx.com/api"],"path":["users"],"query":[{"key":"organizations.name","value":"example","description":"Search in the organizations.name ","disabled":true},{"key":"simplesearch","value":"john","description":"Search in the fields: name, lastname, email or username"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Fri, 26 Aug 2022 17:54:11 GMT"},{"key":"Date","value":"Fri, 26 Aug 2022 17:54:11 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.29"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"e44689a2b2c7c34853229bfc7be44f1c\""},{"key":"X-Debug-Token","value":"c5067f"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/c5067f"},{"key":"Expires","value":"Fri, 26 Aug 2022 17:54:11 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/User\",\n    \"@id\": \"/api/users\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/users/3\",\n            \"@type\": \"User\",\n            \"id\": 3,\n            \"email\": \"john.doe@hiperpbx.com\",\n            \"name\": \"John\",\n            \"lastname\": \"Doe\",\n            \"username\": \"john.doe@hiperpbx.com\",\n            \"roles\": [\n                \"ROLE_AGENT\",\n                \"ROLE_USER\"\n            ],\n            \"extensions\": [],\n            \"organizations\": [\n                {\n                    \"@id\": \"/api/organizations/2\",\n                    \"@type\": \"Organization\",\n                    \"id\": 2,\n                    \"name\": \"HiperPBX Dev\",\n                    \"logo\": null,\n                    \"logoMin\": null,\n                    \"theme\": \"/api/themes/1\",\n                    \"domain\": null,\n                    \"mediaServers\": [\n                        \"/api/media_servers/1\"\n                    ],\n                    \"sessions\": 10,\n                    \"agentSessions\": 10,\n                    \"osticket\": \"/api/ostickets/1\",\n                    \"LiveHelperChat\": null,\n                    \"status\": null,\n                    \"firebase\": \"/api/firebases/1\",\n                    \"redirect\": null,\n                    \"watchRTC\": 0,\n                    \"bigQuery\": \"HiperMe_Dev\",\n                    \"pbxDomainAlt\": \"192.168.0.1:5060\",\n                    \"dataSetAlt\": \"yes\",\n                    \"mediaServerAlt\": \"/api/media_servers/1\",\n                    \"callCenter\": true\n                }\n            ],\n            \"picture\": \"https://firebasestorage.googleapis.com/v0/b/simplificloud-1534336262931.appspot.com/o/profile-pictures%2FmaDWx6yEzjcGFEvQ7AaVnIFjUMF3?alt=media&token=74f33f0c-a66a-45a1-bb2e-f7d2bd2c247c\",\n            \"uid\": \"maDWx6yEzjcGFEvQ7AaVnIFjUMF3\",\n            \"locale\": \"es\",\n            \"urls\": [],\n            \"hasVideoCall\": \"yes\",\n            \"lastLogin\": \"2022-08-17T13:37:21-03:00\",\n            \"isActive\": 1,\n            \"organizationsIris\": [\n                \"/api/organizations/2\"\n            ],\n            \"urlsIris\": [],\n            \"extensionsIris\": [],\n            \"organizationThemeAlt\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX Dev\",\n                \"logo\": null,\n                \"logoMin\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"mediaServers\": [\n                    \"/api/media_servers/1\"\n                ],\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": \"/api/ostickets/1\",\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"redirect\": null,\n                \"watchRTC\": 0,\n                \"bigQuery\": \"HiperMe_Dev\",\n                \"pbxDomainAlt\": \"192.168.0.1:5060\",\n                \"dataSetAlt\": \"yes\",\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"callCenter\": true\n            },\n            \"organizationSessionsAlt\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX Dev\",\n                \"logo\": null,\n                \"logoMin\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"mediaServers\": [\n                    \"/api/media_servers/1\"\n                ],\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": \"/api/ostickets/1\",\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"redirect\": null,\n                \"watchRTC\": 0,\n                \"bigQuery\": \"HiperMe_Dev\",\n                \"pbxDomainAlt\": \"192.168.0.1:5060\",\n                \"dataSetAlt\": \"yes\",\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"callCenter\": true\n            }\n        }\n    ],\n    \"hydra:totalItems\": 1,\n    \"hydra:view\": {\n        \"@id\": \"/api/users?simplesearch=john\",\n        \"@type\": \"hydra:PartialCollectionView\"\n    },\n    \"hydra:search\": {\n        \"@type\": \"hydra:IriTemplate\",\n        \"hydra:template\": \"/api/users{?organizations.name,isActive,isActive[],simplesearch}\",\n        \"hydra:variableRepresentation\": \"BasicRepresentation\",\n        \"hydra:mapping\": [\n            {\n                \"@type\": \"IriTemplateMapping\",\n                \"variable\": \"organizations.name\",\n                \"property\": \"organizations.name\",\n                \"required\": false\n            },\n            {\n                \"@type\": \"IriTemplateMapping\",\n                \"variable\": \"isActive\",\n                \"property\": \"isActive\",\n                \"required\": false\n            },\n            {\n                \"@type\": \"IriTemplateMapping\",\n                \"variable\": \"isActive[]\",\n                \"property\": \"isActive\",\n                \"required\": false\n            },\n            {\n                \"@type\": \"IriTemplateMapping\",\n                \"variable\": \"simplesearch\",\n                \"property\": \"name, lastname, email, username\",\n                \"required\": false\n            }\n        ]\n    }\n}"}],"_postman_id":"125b8127-f2a1-4ffd-9abd-297d9fd876a2"},{"name":"Details about a user","id":"de710f6a-6cfc-405e-aed8-13003d6b975c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/users?id=2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["users"],"host":["https://me.hiperpbx.com/api"],"query":[{"key":"id","value":"2"}],"variable":[]}},"response":[{"id":"110fd545-048a-4530-8c1d-2ba2680613b7","name":"unexpected error","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/user?id=-97551307","host":["{{baseUrl}}"],"path":["user"],"query":[{"key":"id","value":"-97551307"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": -80609261,\n \"message\": \"dolore proident\"\n}"},{"id":"d6ee84d4-2e55-44e9-9b0e-059ed0d8bf2d","name":"Details about a user","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/user?id=-97551307","host":["{{baseUrl}}"],"path":["user"],"query":[{"key":"id","value":"-97551307"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"description":{"content":"A link to the next page of responses","type":"text/plain"},"key":"x-next","value":"in sed cillum nulla consequat"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": -6748322,\n \"name\": \"culpa sunt\",\n \"tag\": \"do qui ea\"\n}"}],"_postman_id":"de710f6a-6cfc-405e-aed8-13003d6b975c"},{"name":"Create new user","id":"c7f602ee-e1b5-434a-94d6-1831f9eb4789","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"John\",\r\n    \"lastname\" : \"Doe\",\r\n    \"email\" : \"password_uid2@postman.com\",\r\n    \"password\" : \"Q1w2e3r4t5&\",\r\n    \"organizations\" : [\"/api/organizations/2\"],\r\n    \"hasVideoCall\" : \"yes\",\r\n    \"roles\" : [\"ROLE_USER\"],\r\n    \"organizationSessionsAlt\" : \"/api/organizations/2\",\r\n    \"username\" : \"john.doe\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/users","description":"<p>This endpoint allows you to create users.</p>\n<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type/Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Name of the user</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>lastname</td>\n<td>Lastname of the user</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>email</td>\n<td>Email of the user</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>password</td>\n<td>Password of the user</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>organizations</td>\n<td>Array of endpoints of Organizations</td>\n<td>Array</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>hasVideoCall</td>\n<td>If the user has \"My Room\" option</td>\n<td>yes</td>\n<td>no</td>\n</tr>\n<tr>\n<td>roles</td>\n<td>Array of roles</td>\n<td>Array</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>extensions</td>\n<td>Array of endpoints of Extensions</td>\n<td>Array</td>\n<td>No</td>\n</tr>\n<tr>\n<td>urls</td>\n<td>Array of endpoints of URLS</td>\n<td>Array</td>\n<td>No</td>\n</tr>\n<tr>\n<td>organizationSessionsAlt</td>\n<td>Endpoint of Organization</td>\n<td></td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>locale</td>\n<td>Language of the user</td>\n<td>en</td>\n<td>es</td>\n</tr>\n<tr>\n<td>username</td>\n<td>The username of the user</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>The avaliable roles are: </p>\n</blockquote>\n<ul>\n<li><p>ROLE_USER</p>\n</li>\n<li><p>ROLE_ADMIN</p>\n</li>\n<li><p>ROLE_AGENT</p>\n</li>\n<li><p>ROLE_MANAGER</p>\n</li>\n<li><p>ROLE_AGENT_SUPERVISOR</p>\n</li>\n</ul>\n<blockquote>\n<p>The password must be: </p>\n</blockquote>\n<ul>\n<li><p>At least one letter</p>\n</li>\n<li><p>At least one capital letter</p>\n</li>\n<li><p>At least one Number</p>\n</li>\n<li><p>At least one special character ($%&amp;*!#)</p>\n</li>\n<li><p>Minimum of 10 characters</p>\n</li>\n</ul>\n","urlObject":{"path":["users"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"0b8f21bf-879c-4ad3-9e1f-9edf1390a287","name":"Success","originalRequest":{"method":"POST","header":[{"key":"content-ty","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"John\",\r\n    \"lastname\" : \"Doe\",\r\n    \"email\" : \"john.doe@example.postman.com\",\r\n    \"password\" : \"Q1w2e3r4t5&\",\r\n    \"organizations\" : [\"/api/organizations/2\"],\r\n    \"hasVideoCall\" : \"yes\",\r\n    \"roles\" : [\"ROLE_USER\"],\r\n    \"organizationSessionAlt\" : \"/api/organizations/2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/users"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 11:42:30 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 11:42:30 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"e83926"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/e83926"},{"key":"Expires","value":"Wed, 25 Nov 2020 11:42:30 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%22e83926%22%2C%22route%22%3A%22api_users_post_collection%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%22api_platform.action.post_collection%22%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/User\",\n    \"@id\": \"/api/users/24\",\n    \"@type\": \"User\",\n    \"id\": 24,\n    \"email\": \"john.doe@example.postman.com\",\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"username\": \"john.doe@example.postman.com\",\n    \"roles\": [\n        \"ROLE_USER\"\n    ],\n    \"extensions\": [],\n    \"organizations\": [\n        {\n            \"@id\": \"/api/organizations/2\",\n            \"@type\": \"Organization\",\n            \"id\": 2,\n            \"name\": \"HiperPBX\",\n            \"logo\": null,\n            \"theme\": \"/api/themes/1\",\n            \"domain\": null,\n            \"sessions\": 10,\n            \"agentSessions\": 10,\n            \"osticket\": null,\n            \"LiveHelperChat\": null,\n            \"status\": null,\n            \"firebase\": \"/api/firebases/1\",\n            \"pbxDomainAlt\": \"192.168.56.42:5060\",\n            \"dataSetAlt\": \"hiperpbx_1604924857\",\n            \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n            \"recordingUrlAlt\": null,\n            \"mediaServerAlt\": \"/api/media_servers/1\",\n            \"mediaServers\": [\n                {\n                    \"@id\": \"/api/media_servers/1\",\n                    \"@type\": \"MediaServer\"\n                }\n            ]\n        }\n    ],\n    \"picture\": null,\n    \"uid\": \"f54f6eaf027635e0a97a1aad72cbe680\",\n    \"locale\": \"en\",\n    \"urls\": [],\n    \"hasVideoCall\": \"yes\",\n    \"organizationsIris\": [\n        \"/api/organizations/2\"\n    ],\n    \"urlsIris\": [],\n    \"extensionsIris\": [],\n    \"organizationSessionsAlt\": null\n}"},{"id":"4d4734a7-7d24-4d7f-b038-afac52646e80","name":"Create new user","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"John\",\r\n    \"lastname\" : \"Doe\",\r\n    \"email\" : \"john.doe@exampl109.postman.com\",\r\n    \"password\" : \"Q1w2e3r4t5&\",\r\n    \"organizations\" : [\"/api/organizations/2\"],\r\n    \"hasVideoCall\" : \"yes\",\r\n    \"roles\" : [\"ROLE_USER\"],\r\n    \"organizationSessionsAlt\" : \"/api/organizations/2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 08 Apr 2021 16:03:45 GMT"},{"key":"Date","value":"Thu, 08 Apr 2021 16:03:45 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"da8670"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/da8670"},{"key":"Expires","value":"Thu, 08 Apr 2021 16:03:45 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%22da8670%22%2C%22route%22%3A%22api_users_post_collection%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%22api_platform.action.post_collection%22%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/User\",\n    \"@id\": \"/api/users/37\",\n    \"@type\": \"User\",\n    \"id\": 37,\n    \"email\": \"john.doe@exampl109.postman.com\",\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"username\": \"john.doe@exampl109.postman.com\",\n    \"roles\": [\n        \"ROLE_USER\"\n    ],\n    \"extensions\": [],\n    \"organizations\": [\n        {\n            \"@id\": \"/api/organizations/2\",\n            \"@type\": \"Organization\",\n            \"id\": 2,\n            \"name\": \"HiperPBX\",\n            \"logo\": \"d91781b16a07b6d6358e34e6e24ad84a.jpeg\",\n            \"logoMin\": \"0683cc44e8425ece081a9534d44b176e.jpeg\",\n            \"theme\": \"/api/themes/1\",\n            \"domain\": null,\n            \"mediaServers\": [\n                \"/api/media_servers/1\"\n            ],\n            \"sessions\": 10,\n            \"agentSessions\": 10,\n            \"osticket\": \"/api/ostickets/1\",\n            \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n            \"status\": null,\n            \"firebase\": \"/api/firebases/1\",\n            \"pbxDomainAlt\": \"192.168.56.42:5060\",\n            \"dataSetAlt\": \"hiperpbx_1617192151\",\n            \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n            \"recordingUrlAlt\": null,\n            \"mediaServerAlt\": \"/api/media_servers/1\"\n        }\n    ],\n    \"picture\": null,\n    \"uid\": \"0d57b4acf8878b00ff5e8eff9f613d00\",\n    \"locale\": \"en\",\n    \"urls\": [],\n    \"hasVideoCall\": \"yes\",\n    \"organizationsIris\": [\n        \"/api/organizations/2\"\n    ],\n    \"urlsIris\": [],\n    \"extensionsIris\": [],\n    \"organizationThemeAlt\": null,\n    \"organizationSessionsAlt\": {\n        \"@id\": \"/api/organizations/2\",\n        \"@type\": \"Organization\",\n        \"id\": 2,\n        \"name\": \"HiperPBX\",\n        \"logo\": \"d91781b16a07b6d6358e34e6e24ad84a.jpeg\",\n        \"logoMin\": \"0683cc44e8425ece081a9534d44b176e.jpeg\",\n        \"theme\": \"/api/themes/1\",\n        \"domain\": null,\n        \"mediaServers\": [\n            \"/api/media_servers/1\"\n        ],\n        \"sessions\": 10,\n        \"agentSessions\": 10,\n        \"osticket\": \"/api/ostickets/1\",\n        \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n        \"status\": null,\n        \"firebase\": \"/api/firebases/1\",\n        \"pbxDomainAlt\": \"192.168.56.42:5060\",\n        \"dataSetAlt\": \"hiperpbx_1617192151\",\n        \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n        \"recordingUrlAlt\": null,\n        \"mediaServerAlt\": \"/api/media_servers/1\"\n    }\n}"}],"_postman_id":"c7f602ee-e1b5-434a-94d6-1831f9eb4789"},{"name":"Update user","id":"1b6e5cd9-9753-4ad0-aa99-f14c8372a8ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"John Post\",\r\n    \"lastname\" : \"Doe\",\r\n    \"email\" : \"john.doe@example.postman.com\",\r\n    \"password\" : \"Q1w2e3r4t5&\",\r\n    \"organizations\" : [\"/api/organizations/2\"],\r\n    \"hasVideoCall\" : \"no\",\r\n    \"roles\" : [\"ROLE_USER\"],\r\n    \"organizationSessionAlt\" : \"/api/organizations/2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/users/:id","description":"<p>This endpoint allows you to update users.</p>\n<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type/Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Name of the user</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>lastname</td>\n<td>Lastname of the user</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>email</td>\n<td>Email of the user</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>password</td>\n<td>Password of the user</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>organizations</td>\n<td>Array of endpoints of Organizations</td>\n<td>Array</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>hasVideoCall</td>\n<td>If the user has \"My Room\" option</td>\n<td>yes|no</td>\n<td>No</td>\n</tr>\n<tr>\n<td>roles</td>\n<td>Array of roles</td>\n<td>Array</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>extensions</td>\n<td>Array of endpoints of Extensions</td>\n<td>Array</td>\n<td>No</td>\n</tr>\n<tr>\n<td>urls</td>\n<td>Array of endpoints of URLS</td>\n<td>Array</td>\n<td>No</td>\n</tr>\n<tr>\n<td>organizationSessionAlt</td>\n<td>Endpoint of Organization</td>\n<td></td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>locale</td>\n<td>Language of the user</td>\n<td>en|es|br</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>The avaliable roles are:</p>\n</blockquote>\n<ul>\n<li>ROLE_USER </li>\n<li>ROLE_ADMIN</li>\n<li>ROLE_AGENT</li>\n<li>ROLE_MANAGER</li>\n<li>ROLE_AGENT_SUPERVISOR</li>\n</ul>\n<blockquote>\n<p>The password must be:</p>\n</blockquote>\n<ul>\n<li>At least one letter</li>\n<li>At least one capital letter</li>\n<li>At least one Number</li>\n<li>At least one special character ($%&amp;*!#)</li>\n<li>Minimum of 10 characters</li>\n</ul>\n","urlObject":{"path":["users",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Users ids</p>\n","type":"text/plain"},"type":"string","value":"2","key":"id"}]}},"response":[{"id":"d0d826ee-2111-4d0a-9cb5-e9aaa26c7dcc","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"John\",\r\n    \"lastname\" : \"Doe\",\r\n    \"email\" : \"john.doe@example.postman.com\",\r\n    \"password\" : \"Q1w2e3r4t5&\",\r\n    \"organizations\" : [\"/api/organizations/2\"],\r\n    \"hasVideoCall\" : \"no\",\r\n    \"roles\" : [\"ROLE_USER\"],\r\n    \"organizationSessionAlt\" : \"/api/organizations/2\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://me.hiperpbx.com/api/users/:id","host":["https://me.hiperpbx.com/api"],"path":["users",":id"],"variable":[{"key":"id","value":"24","description":"Users ids"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 12:02:06 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 12:02:06 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"4c18df"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/4c18df"},{"key":"Expires","value":"Wed, 25 Nov 2020 12:02:06 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/User\",\n    \"@id\": \"/api/users/24\",\n    \"@type\": \"User\",\n    \"id\": 24,\n    \"email\": \"john.doe@example.postman.com\",\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"username\": \"john.doe@example.postman.com\",\n    \"roles\": [\n        \"ROLE_USER\"\n    ],\n    \"extensions\": [],\n    \"organizations\": [\n        {\n            \"@id\": \"/api/organizations/2\",\n            \"@type\": \"Organization\",\n            \"id\": 2,\n            \"name\": \"HiperPBX\",\n            \"logo\": null,\n            \"theme\": \"/api/themes/1\",\n            \"domain\": null,\n            \"sessions\": 10,\n            \"agentSessions\": 10,\n            \"osticket\": null,\n            \"LiveHelperChat\": null,\n            \"status\": null,\n            \"firebase\": \"/api/firebases/1\",\n            \"pbxDomainAlt\": \"192.168.56.42:5060\",\n            \"dataSetAlt\": \"hiperpbx_1604924857\",\n            \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n            \"recordingUrlAlt\": null,\n            \"mediaServerAlt\": \"/api/media_servers/1\",\n            \"mediaServers\": [\n                {\n                    \"@id\": \"/api/media_servers/1\",\n                    \"@type\": \"MediaServer\"\n                }\n            ]\n        }\n    ],\n    \"picture\": null,\n    \"uid\": \"41dcdaeced01bbeda3263ec0a05e715e\",\n    \"locale\": \"en\",\n    \"urls\": [],\n    \"hasVideoCall\": \"no\",\n    \"organizationsIris\": [\n        \"/api/organizations/2\"\n    ],\n    \"urlsIris\": [],\n    \"extensionsIris\": [],\n    \"organizationSessionsAlt\": null\n}"}],"_postman_id":"1b6e5cd9-9753-4ad0-aa99-f14c8372a8ac"},{"name":"Set active/inactive user","id":"caf225a3-286a-42bd-ad32-25b16442cf8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"isActive\" : 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/users/:id/active","description":"<p>This endpoint allows you to activate/deactivate an user</p>\n<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>isActive</td>\n<td>Status of the user</td>\n<td>Integer</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><p>Use 1 to active the user</p>\n<p>Use 0 to deactivate the user</p>\n","urlObject":{"path":["users",":id","active"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>The user id that you want to desactivate</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"87302c71-5639-4e4b-9d3f-b658d1304819","name":"Get all the users","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/users"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 11:55:55 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 11:55:55 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"ef7a3e131a1f21dcb3cd06dd9f7b97a9\""},{"key":"X-Debug-Token","value":"a0991f"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/a0991f"},{"key":"Expires","value":"Wed, 25 Nov 2020 11:55:55 GMT"},{"key":"Set-Cookie","value":"sf_redirect=deleted; expires=Tue, 26-Nov-2019 11:55:54 GMT; Max-Age=0; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/User\",\n    \"@id\": \"/api/users\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/users/24\",\n            \"@type\": \"User\",\n            \"id\": 24,\n            \"email\": \"john.doe@example.postman.com\",\n            \"name\": \"John\",\n            \"lastname\": \"Doe\",\n            \"username\": \"john.doe@example.postman.com\",\n            \"roles\": [\n                \"ROLE_USER\"\n            ],\n            \"extensions\": [],\n            \"organizations\": [\n                {\n                    \"@id\": \"/api/organizations/2\",\n                    \"@type\": \"Organization\",\n                    \"id\": 2,\n                    \"name\": \"HiperPBX\",\n                    \"logo\": null,\n                    \"theme\": \"/api/themes/1\",\n                    \"domain\": null,\n                    \"sessions\": 10,\n                    \"agentSessions\": 10,\n                    \"osticket\": null,\n                    \"LiveHelperChat\": null,\n                    \"status\": null,\n                    \"firebase\": \"/api/firebases/1\",\n                    \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                    \"dataSetAlt\": \"hiperpbx_1604924857\",\n                    \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n                    \"recordingUrlAlt\": null,\n                    \"mediaServerAlt\": \"/api/media_servers/1\",\n                    \"mediaServers\": [\n                        {\n                            \"@id\": \"/api/media_servers/1\",\n                            \"@type\": \"MediaServer\"\n                        }\n                    ]\n                }\n            ],\n            \"picture\": null,\n            \"uid\": \"41dcdaeced01bbeda3263ec0a05e715e\",\n            \"locale\": \"en\",\n            \"urls\": [],\n            \"hasVideoCall\": \"yes\",\n            \"organizationsIris\": [\n                \"/api/organizations/2\"\n            ],\n            \"urlsIris\": [],\n            \"extensionsIris\": [],\n            \"organizationSessionsAlt\": null\n        }\n    ],\n    \"hydra:totalItems\": 1\n}"},{"id":"73d2333d-0acb-4229-b859-77442966bf6f","name":"Success inactive user","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"isActive\" : 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://me.hiperpbx.com/api/users/:id/active","host":["https://me.hiperpbx.com/api"],"path":["users",":id","active"],"variable":[{"key":"id","value":"65","description":"The user id that you want to desactivate"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 22 Apr 2021 12:37:57 GMT"},{"key":"Date","value":"Thu, 22 Apr 2021 12:37:57 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"41abf3"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/41abf3"},{"key":"Expires","value":"Thu, 22 Apr 2021 12:37:57 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"testing001@example.com\",\n    \"username\": \"testing001@example.com\",\n    \"roles\": [\n        \"ROLE_USER\"\n    ],\n    \"id\": 65,\n    \"name\": \"Testing1\",\n    \"lastname\": \"Testing1\",\n    \"extensions\": [],\n    \"organizations\": [\n        {\n            \"id\": 2,\n            \"name\": \"HiperPBX\",\n            \"logo\": \"d91781b16a07b6d6358e34e6e24ad84a.jpeg\",\n            \"theme\": \"/api/themes/1\",\n            \"domain\": null,\n            \"sessions\": 10,\n            \"agentSessions\": 10,\n            \"osticket\": \"/api/ostickets/1\",\n            \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n            \"firebase\": \"/api/firebases/1\",\n            \"status\": null,\n            \"pbxDomainAlt\": \"192.168.56.42:5060\",\n            \"dataSetAlt\": \"hiperpbx_1617192151\",\n            \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n            \"recordingUrlAlt\": null,\n            \"mediaServerAlt\": \"/api/media_servers/1\",\n            \"mediaServers\": [\n                \"/api/media_servers/1\"\n            ],\n            \"logoMin\": \"0683cc44e8425ece081a9534d44b176e.jpeg\"\n        }\n    ],\n    \"organizationsIris\": [\n        \"/api/organizations/2\"\n    ],\n    \"picture\": null,\n    \"uid\": \"xRyX90H59YaxzW4dwm4C8Nr9EJw1\",\n    \"locale\": \"en\",\n    \"urls\": [],\n    \"urlsIris\": [],\n    \"extensionsIris\": [],\n    \"organizationThemeAlt\": {\n        \"id\": 2,\n        \"name\": \"HiperPBX\",\n        \"logo\": \"d91781b16a07b6d6358e34e6e24ad84a.jpeg\",\n        \"theme\": \"/api/themes/1\",\n        \"domain\": null,\n        \"sessions\": 10,\n        \"agentSessions\": 10,\n        \"osticket\": \"/api/ostickets/1\",\n        \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n        \"firebase\": \"/api/firebases/1\",\n        \"status\": null,\n        \"pbxDomainAlt\": \"192.168.56.42:5060\",\n        \"dataSetAlt\": \"hiperpbx_1617192151\",\n        \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n        \"recordingUrlAlt\": null,\n        \"mediaServerAlt\": \"/api/media_servers/1\",\n        \"mediaServers\": [\n            \"/api/media_servers/1\"\n        ],\n        \"logoMin\": \"0683cc44e8425ece081a9534d44b176e.jpeg\"\n    },\n    \"organizationSessionsAlt\": {\n        \"id\": 2,\n        \"name\": \"HiperPBX\",\n        \"logo\": \"d91781b16a07b6d6358e34e6e24ad84a.jpeg\",\n        \"theme\": \"/api/themes/1\",\n        \"domain\": null,\n        \"sessions\": 10,\n        \"agentSessions\": 10,\n        \"osticket\": \"/api/ostickets/1\",\n        \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n        \"firebase\": \"/api/firebases/1\",\n        \"status\": null,\n        \"pbxDomainAlt\": \"192.168.56.42:5060\",\n        \"dataSetAlt\": \"hiperpbx_1617192151\",\n        \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n        \"recordingUrlAlt\": null,\n        \"mediaServerAlt\": \"/api/media_servers/1\",\n        \"mediaServers\": [\n            \"/api/media_servers/1\"\n        ],\n        \"logoMin\": \"0683cc44e8425ece081a9534d44b176e.jpeg\"\n    },\n    \"hasVideoCall\": \"no\",\n    \"isActive\": 0\n}"}],"_postman_id":"caf225a3-286a-42bd-ad32-25b16442cf8b"},{"name":"Change password from user","id":"2d0cd90b-c693-471f-a15a-9aa58786f95b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\" : \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/user/:id/change-password","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["user",":id","change-password"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Id of the user</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"2d0cd90b-c693-471f-a15a-9aa58786f95b"},{"name":"Get all users without agent","id":"dcecd926-d7c0-4ff3-8c32-e85db3d811f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://me.hiperpbx.com/api/users-without-agent","urlObject":{"path":["users-without-agent"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"dcecd926-d7c0-4ff3-8c32-e85db3d811f5"},{"name":"Change profile picture of the user","id":"8b420ab1-b9a6-4d55-a2aa-f381d437ceaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"url\": \"https://firebasestorage.googleapis.com/v0/b/simplificloud-1534336262931.appspot.com/o/profile-pictures%2FyrTesZxYAwNVYIOBaqZHZbTeFeT2?alt=media&token=5c87ae78-e458-4899-9b6a-c8f35e836d64\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/change-profile-picture","urlObject":{"path":["change-profile-picture"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b420ab1-b9a6-4d55-a2aa-f381d437ceaf"},{"name":"Notify user usign email","id":"561df4bc-0127-4b4c-8d62-4aa13f328e83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\" : \"john.doe@example.com\",\r\n    \"title\" : \"Title of the notification\",\r\n    \"body\" : \"Body of the notification\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/users/notify-by-email","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["users","notify-by-email"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"561df4bc-0127-4b4c-8d62-4aa13f328e83"}],"id":"99d995e1-a762-45c7-8ed9-8098fa4032e0","description":"<blockquote>\n<p>When you register or update a user, you must follow these rules:</p>\n</blockquote>\n<ul>\n<li>The user's organizations <strong>MUST</strong> share the same Firebase.</li>\n<li>Extensions <strong>MUST</strong> belong to one of the selected organizations.</li>\n<li>The organization session <strong>MUST</strong>belong to one of the selected organizations.</li>\n</ul>\n","_postman_id":"99d995e1-a762-45c7-8ed9-8098fa4032e0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Agents","item":[{"name":"Get all the agents","id":"96ff06c4-a637-457a-a99e-ad595cf15785","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/agents","urlObject":{"path":["agents"],"host":["https://me.hiperpbx.com/api"],"query":[{"disabled":true,"description":{"content":"<p>Search agents by number</p>\n","type":"text/plain"},"key":"number","value":""},{"disabled":true,"description":{"content":"<p>Search agents by organization name</p>\n","type":"text/plain"},"key":"organization.name","value":null},{"disabled":true,"description":{"content":"<p>Search agents by organization id</p>\n","type":"text/plain"},"key":"organization.id","value":null},{"disabled":true,"description":{"content":"<p>Search agents by user name</p>\n","type":"text/plain"},"key":"user.name","value":null},{"disabled":true,"description":{"content":"<p>Search agents by user email</p>\n","type":"text/plain"},"key":"user.email","value":null}],"variable":[]}},"response":[{"id":"20a1c07e-1ecf-40c1-938a-7114359023ad","name":"Get all the agents","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/agents"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 26 Jan 2021 11:34:11 GMT"},{"key":"Date","value":"Tue, 26 Jan 2021 11:34:11 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"3b39ed8a372ff43c80e460a7fa6b8e37\""},{"key":"X-Debug-Token","value":"649900"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/649900"},{"key":"Expires","value":"Tue, 26 Jan 2021 11:34:11 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Agent\",\n    \"@id\": \"/api/agents\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/agents/1\",\n            \"@type\": \"Agent\",\n            \"id\": 1,\n            \"number\": 1000,\n            \"user\": {\n                \"@id\": \"/api/users/2\",\n                \"@type\": \"User\",\n                \"id\": 2,\n                \"email\": \"john.doe@example.com\",\n                \"name\": \"John\",\n                \"lastname\": \"Doe\",\n                \"username\": \"john.doe@example.com\",\n                \"roles\": [\n                    \"ROLE_ADMIN\"\n                ],\n                \"extensions\": [\n                ],\n                \"organizations\": [\n                    {\n                        \"@id\": \"/api/organizations/2\",\n                        \"@type\": \"Organization\",\n                        \"id\": 2,\n                        \"name\": \"HiperPBX\",\n                        \"logo\": null,\n                        \"theme\": \"/api/themes/1\",\n                        \"domain\": null,\n                        \"mediaServers\": [\n                            \"/api/media_servers/1\"\n                        ],\n                        \"sessions\": 10,\n                        \"agentSessions\": 10,\n                        \"osticket\": \"/api/ostickets/1\",\n                        \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n                        \"status\": null,\n                        \"firebase\": \"/api/firebases/1\",\n                        \"pbxDomainAlt\": \"localhost:5060\",\n                        \"dataSetAlt\": \"hiperpbx_1610980196\",\n                        \"restApiAddressAlt\": \"http://localhost:8081\",\n                        \"recordingUrlAlt\": null,\n                        \"mediaServerAlt\": \"/api/media_servers/1\"\n                    }\n                ],\n                \"picture\": \"\",\n                \"uid\": \"3Xc9e1F9c9ZwURGgLmugN3iFVvI3\",\n                \"locale\": \"en\",\n                \"urls\": [],\n                \"hasVideoCall\": \"yes\",\n                \"organizationsIris\": [\n                    \"/api/organizations/2\",\n                    \"/api/organizations/38\"\n                ],\n                \"urlsIris\": [],\n                \"extensionsIris\": [],\n                \"organizationSessionsAlt\": {\n                    \"@id\": \"/api/organizations/2\",\n                    \"@type\": \"Organization\",\n                    \"id\": 2,\n                    \"name\": \"HiperPBX\",\n                    \"logo\": null,\n                    \"theme\": \"/api/themes/1\",\n                    \"domain\": null,\n                    \"mediaServers\": [\n                        \"/api/media_servers/1\"\n                    ],\n                    \"sessions\": 10,\n                    \"agentSessions\": 10,\n                    \"osticket\": \"/api/ostickets/1\",\n                    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n                    \"status\": null,\n                    \"firebase\": \"/api/firebases/1\",\n                    \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                    \"dataSetAlt\": \"hiperpbx_1610980196\",\n                    \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n                    \"recordingUrlAlt\": null,\n                    \"mediaServerAlt\": \"/api/media_servers/1\"\n                }\n            },\n            \"extension\": {\n                \"@id\": \"/api/extensions/1\",\n                \"@type\": \"Extension\",\n                \"id\": 1,\n                \"extension\": \"100\",\n                \"name\": \"Agente\",\n                \"secret\": \"Q1w2e3r4t5$\",\n                \"used\": \"false\",\n                \"organization\": {\n                    \"@id\": \"/api/organizations/2\",\n                    \"@type\": \"Organization\",\n                    \"id\": 2,\n                    \"name\": \"HiperPBX\",\n                    \"logo\": null,\n                    \"theme\": \"/api/themes/1\",\n                    \"domain\": null,\n                    \"mediaServers\": [\n                        \"/api/media_servers/1\"\n                    ],\n                    \"sessions\": 10,\n                    \"agentSessions\": 10,\n                    \"osticket\": \"/api/ostickets/1\",\n                    \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n                    \"status\": null,\n                    \"firebase\": \"/api/firebases/1\",\n                    \"pbxDomainAlt\": \"localhost:5060\",\n                    \"dataSetAlt\": \"hiperpbx_1610980196\",\n                    \"restApiAddressAlt\": \"http://localhost:8081\",\n                    \"recordingUrlAlt\": null,\n                    \"mediaServerAlt\": \"/api/media_servers/1\"\n                }\n            },\n            \"call\": \"yes\",\n            \"mail\": \"yes\",\n            \"chat\": \"yes\",\n            \"urls\": [],\n            \"organization\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX\",\n                \"logo\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"mediaServers\": [\n                    \"/api/media_servers/1\"\n                ],\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": \"/api/ostickets/1\",\n                \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"pbxDomainAlt\": \"localhost:5060\",\n                \"dataSetAlt\": \"hiperpbx_1610980196\",\n                \"restApiAddressAlt\": \"http://localhost:8081\",\n                \"recordingUrlAlt\": null,\n                \"mediaServerAlt\": \"/api/media_servers/1\"\n            },\n            \"hasDashboard\": \"yes\",\n            \"mailCenterAlt\": \"/api/ostickets/1\",\n            \"chatCenterAlt\": \"/api/live_helper_chats/1\"\n        }\n    ],\n    \"hydra:totalItems\": 1\n}"},{"id":"6f575784-dd0e-4bd0-8691-21cf9e744d38","name":"Get all the agents","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/agents"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 12:07:20 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 12:07:20 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"892b9ec53bd9504f7e06ff3978d34808\""},{"key":"X-Debug-Token","value":"141abb"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/141abb"},{"key":"Expires","value":"Wed, 25 Nov 2020 12:07:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Agent\",\n    \"@id\": \"/api/agents\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/agents/1\",\n            \"@type\": \"Agent\",\n            \"id\": 1,\n            \"number\": 1000,\n            \"user\": {\n                \"@id\": \"/api/users/24\",\n                \"@type\": \"User\",\n                \"id\": 24,\n                \"email\": \"john.doe@example.postman.com\",\n                \"name\": \"John\",\n                \"lastname\": \"Doe\",\n                \"username\": \"john.doe@example.postman.com\",\n                \"roles\": [\n                    \"ROLE_USER\"\n                ],\n                \"extensions\": [],\n                \"organizations\": [\n                    {\n                        \"@id\": \"/api/organizations/2\",\n                        \"@type\": \"Organization\",\n                        \"id\": 2,\n                        \"name\": \"HiperPBX\",\n                        \"logo\": null,\n                        \"theme\": \"/api/themes/1\",\n                        \"domain\": null,\n                        \"sessions\": 10,\n                        \"agentSessions\": 10,\n                        \"osticket\": null,\n                        \"LiveHelperChat\": null,\n                        \"status\": null,\n                        \"firebase\": \"/api/firebases/1\",\n                        \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                        \"dataSetAlt\": \"hiperpbx_1604924857\",\n                        \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n                        \"recordingUrlAlt\": null,\n                        \"mediaServerAlt\": \"/api/media_servers/1\",\n                        \"mediaServers\": [\n                            {\n                                \"@id\": \"/api/media_servers/1\",\n                                \"@type\": \"MediaServer\"\n                            }\n                        ]\n                    }\n                ],\n                \"picture\": null,\n                \"uid\": \"41dcdaeced01bbeda3263ec0a05e715e\",\n                \"locale\": \"en\",\n                \"urls\": [],\n                \"hasVideoCall\": \"no\",\n                \"organizationsIris\": [\n                    \"/api/organizations/2\"\n                ],\n                \"urlsIris\": [],\n                \"extensionsIris\": [],\n                \"organizationSessionsAlt\": null\n            },\n            \"extension\": {\n                \"@id\": \"/api/extensions/7\",\n                \"@type\": \"Extension\",\n                \"id\": 7,\n                \"extension\": \"50000000\",\n                \"name\": \"asdf\",\n                \"secret\": \"Q1w2e3r4t5&\",\n                \"used\": \"true\",\n                \"organization\": {\n                    \"@id\": \"/api/organizations/2\",\n                    \"@type\": \"Organization\",\n                    \"id\": 2,\n                    \"name\": \"HiperPBX\",\n                    \"logo\": null,\n                    \"theme\": \"/api/themes/1\",\n                    \"domain\": null,\n                    \"sessions\": 10,\n                    \"agentSessions\": 10,\n                    \"osticket\": null,\n                    \"LiveHelperChat\": null,\n                    \"status\": null,\n                    \"firebase\": \"/api/firebases/1\",\n                    \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                    \"dataSetAlt\": \"hiperpbx_1604924857\",\n                    \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n                    \"recordingUrlAlt\": null,\n                    \"mediaServerAlt\": \"/api/media_servers/1\",\n                    \"mediaServers\": [\n                        {\n                            \"@id\": \"/api/media_servers/1\",\n                            \"@type\": \"MediaServer\"\n                        }\n                    ]\n                }\n            },\n            \"call\": \"yes\",\n            \"mail\": \"no\",\n            \"chat\": \"no\",\n            \"urls\": [],\n            \"groupNumber\": 1,\n            \"chatCenter\": \"/api/live_helper_chats/1\",\n            \"organizationSession\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX\",\n                \"logo\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": null,\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                \"dataSetAlt\": \"hiperpbx_1604924857\",\n                \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n                \"recordingUrlAlt\": null,\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"mediaServers\": [\n                    {\n                        \"@id\": \"/api/media_servers/1\",\n                        \"@type\": \"MediaServer\"\n                    }\n                ]\n            },\n            \"mailCenter\": null,\n            \"hasDashboard\": \"no\"\n        }\n    ],\n    \"hydra:totalItems\": 1\n}"}],"_postman_id":"96ff06c4-a637-457a-a99e-ad595cf15785"},{"name":"Create new agent","id":"5b358c54-f30a-40f8-9c08-e1012671c092","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user\" : \"/api/users/24\",\r\n    \"extension\" : \"/api/extensions/7\",\r\n    \"number\" : 1000,\r\n    \"groupNumber\" : 1,\r\n    \"call\" : \"yes\",\r\n    \"chat\" : \"no\",\r\n    \"mail\" : \"no\",\r\n    \"chatCenterAlt\" : null,\r\n    \"organizationSession\" : \"/api/organizations/2\",\r\n    \"mailCenterAlt\" : null,\r\n    \"hasDashboard\" : \"yes\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/agents","description":"<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type/Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>user</td>\n<td>Endpoint of the User</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>extension</td>\n<td>Endoint of the Extension</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>number</td>\n<td>Number of agent</td>\n<td>Number</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>groupNumber</td>\n<td>Number group used in the interfaces</td>\n<td>Number</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>call</td>\n<td>If the agent answer calls</td>\n<td>yes|no</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>mail</td>\n<td>If the agent answer mails</td>\n<td>yes|no</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>chat</td>\n<td>If the agent answer chats</td>\n<td>yes|no</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>automaticAnswer</td>\n<td>If the agent answer automaticly the calls</td>\n<td>yes|no</td>\n<td>No</td>\n</tr>\n<tr>\n<td>urls</td>\n<td>Array of endpoints of Urls</td>\n<td>Array</td>\n<td>No</td>\n</tr>\n<tr>\n<td>osticketUserPassword</td>\n<td>Password of the user in the Osticket plataform if the agent answer mail</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>chatCenterAlt</td>\n<td>Endpoint of the Chat Center</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>mailCenterAlt</td>\n<td>Endpoint of the Mail Center</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>hasDashboard</td>\n<td>If the agent can use the dashboard</td>\n<td>yes|no</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>When creating or updating the agent, you must consider the following:</p>\n</blockquote>\n<ul>\n<li>If the agent answer calls, the extesnion field is required.</li>\n<li>If the agent answer mails, the osticketUserPassword and mailCenterAlt fields are required.</li>\n<li>The extension <strong>MUST</strong> be in one of the organization of the user selected.</li>\n<li>The chat and mail centers <strong>MUST</strong> be in one of the organization of the user selected.</li>\n</ul>\n","urlObject":{"path":["agents"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"27be57eb-56de-491f-bcf3-e9b30e650302","name":"Create a agent","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user\" : \"/api/users/24\",\r\n    \"extension\" : \"/api/extensions/7\",\r\n    \"number\" : 1000,\r\n    \"groupNumber\" : 1,\r\n    \"call\" : \"yes\",\r\n    \"chat\" : \"no\",\r\n    \"mail\" : \"no\",\r\n    \"chatCenterAlt\" : null,\r\n    \"organizationSession\" : \"/api/organizations/2\",\r\n    \"mailCenterAlt\" : null,\r\n    \"hasDashboard\" : \"yes\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/agents"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 13:09:52 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 13:09:52 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"30ceb5"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/30ceb5"},{"key":"Expires","value":"Wed, 25 Nov 2020 13:09:52 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%2230ceb5%22%2C%22route%22%3A%22api_agents_post_collection%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%22api_platform.action.post_collection%22%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Agent\",\n    \"@id\": \"/api/agents/20\",\n    \"@type\": \"Agent\",\n    \"id\": 20,\n    \"number\": 1000,\n    \"user\": {\n        \"@id\": \"/api/users/24\",\n        \"@type\": \"User\",\n        \"id\": 24,\n        \"email\": \"john.doe@example.postman.com\",\n        \"name\": \"John\",\n        \"lastname\": \"Doe\",\n        \"username\": \"john.doe@example.postman.com\",\n        \"roles\": [\n            \"ROLE_USER\"\n        ],\n        \"extensions\": [],\n        \"organizations\": [\n            {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX\",\n                \"logo\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": null,\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                \"dataSetAlt\": \"hiperpbx_1604924857\",\n                \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n                \"recordingUrlAlt\": null,\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"mediaServers\": [\n                    {\n                        \"@id\": \"/api/media_servers/1\",\n                        \"@type\": \"MediaServer\"\n                    }\n                ]\n            }\n        ],\n        \"picture\": null,\n        \"uid\": \"41dcdaeced01bbeda3263ec0a05e715e\",\n        \"locale\": \"en\",\n        \"urls\": [],\n        \"hasVideoCall\": \"no\",\n        \"organizationsIris\": [\n            \"/api/organizations/2\"\n        ],\n        \"urlsIris\": [],\n        \"extensionsIris\": [],\n        \"organizationSessionsAlt\": null\n    },\n    \"extension\": {\n        \"@id\": \"/api/extensions/7\",\n        \"@type\": \"Extension\",\n        \"id\": 7,\n        \"extension\": \"50000000\",\n        \"name\": \"asdf\",\n        \"secret\": \"Q1w2e3r4t5&\",\n        \"used\": \"false\",\n        \"organization\": {\n            \"@id\": \"/api/organizations/2\",\n            \"@type\": \"Organization\",\n            \"id\": 2,\n            \"name\": \"HiperPBX\",\n            \"logo\": null,\n            \"theme\": \"/api/themes/1\",\n            \"domain\": null,\n            \"sessions\": 10,\n            \"agentSessions\": 10,\n            \"osticket\": null,\n            \"LiveHelperChat\": null,\n            \"status\": null,\n            \"firebase\": \"/api/firebases/1\",\n            \"pbxDomainAlt\": \"192.168.56.42:5060\",\n            \"dataSetAlt\": \"hiperpbx_1604924857\",\n            \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n            \"recordingUrlAlt\": null,\n            \"mediaServerAlt\": \"/api/media_servers/1\",\n            \"mediaServers\": [\n                {\n                    \"@id\": \"/api/media_servers/1\",\n                    \"@type\": \"MediaServer\"\n                }\n            ]\n        }\n    },\n    \"call\": \"yes\",\n    \"mail\": \"no\",\n    \"chat\": \"no\",\n    \"urls\": [],\n    \"mailCenterAlt\": null,\n    \"chatCenterAlt\": null\n}"}],"_postman_id":"5b358c54-f30a-40f8-9c08-e1012671c092"},{"name":"Update agent","id":"7df1032f-1089-4e71-b172-7107850b8b07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user\" : \"/api/users/24\",\r\n    \"extension\" : \"/api/extensions/7\",\r\n    \"number\" : 1000,\r\n    \"groupNumber\" : 1,\r\n    \"call\" : \"yes\",\r\n    \"chat\" : \"no\",\r\n    \"mail\" : \"no\",\r\n    \"chatCenterAlt\" : null,\r\n    \"organizationSession\" : \"/api/organizations/2\",\r\n    \"mailCenterAlt\" : null,\r\n    \"hasDashboard\" : \"no\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/agents/:id","description":"<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type/Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>user</td>\n<td>Endpoint of the User</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>extension</td>\n<td>Endoint of the Extension</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>number</td>\n<td>Number of agent</td>\n<td>Number</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>groupNumber</td>\n<td>Number group used in the interfaces</td>\n<td>Number</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>call</td>\n<td>If the agent answer calls</td>\n<td>yes|no</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>mail</td>\n<td>If the agent answer mails</td>\n<td>yes|no</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>chat</td>\n<td>If the agent answer chats</td>\n<td>yes|no</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>automaticAnswer</td>\n<td>If the agent answer automaticly the calls</td>\n<td>yes|no</td>\n<td>No</td>\n</tr>\n<tr>\n<td>urls</td>\n<td>Array of endpoints of Urls</td>\n<td>Array</td>\n<td>No</td>\n</tr>\n<tr>\n<td>osticketUserPassword</td>\n<td>Password of the user in the Osticket plataform if the agent answer mail</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>chatCenterAlt</td>\n<td>Endpoint of the Chat Center</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>mailCenterAlt</td>\n<td>Endpoint of the Mail Center</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>hasDashboard</td>\n<td>If the agent can use the dashboard</td>\n<td>yes|no</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>When creating or updating the agent, you must consider the following:</p>\n</blockquote>\n<ul>\n<li>If the agent answer calls, the extesnion field is required.</li>\n<li>If the agent answer mails, the osticketUserPassword and mailCenterAlt fields are required.</li>\n<li>The extension <strong>MUST</strong> be in one of the organization of the user selected.</li>\n<li>The chat and mail centers <strong>MUST</strong> be in one of the organization of the user selected.</li>\n</ul>\n","urlObject":{"path":["agents",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Agents id</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"0bf5bb01-fd55-4dd9-98d8-06dff3abd76c","name":"Update agent","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user\" : \"/api/users/24\",\r\n    \"extension\" : \"/api/extensions/7\",\r\n    \"number\" : 1000,\r\n    \"groupNumber\" : 1,\r\n    \"call\" : \"yes\",\r\n    \"chat\" : \"no\",\r\n    \"mail\" : \"no\",\r\n    \"chatCenterAlt\" : null,\r\n    \"organizationSession\" : \"/api/organizations/2\",\r\n    \"mailCenterAlt\" : null,\r\n    \"hasDashboard\" : \"no\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://me.hiperpbx.com/api/agents/:id","host":["https://me.hiperpbx.com/api"],"path":["agents",":id"],"variable":[{"key":"id","value":"20","description":"Agents id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 13:19:17 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 13:19:17 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"218802"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/218802"},{"key":"Expires","value":"Wed, 25 Nov 2020 13:19:17 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Agent\",\n    \"@id\": \"/api/agents/20\",\n    \"@type\": \"Agent\",\n    \"id\": 20,\n    \"number\": 1000,\n    \"user\": {\n        \"@id\": \"/api/users/24\",\n        \"@type\": \"User\",\n        \"id\": 24,\n        \"email\": \"john.doe@example.postman.com\",\n        \"name\": \"John\",\n        \"lastname\": \"Doe\",\n        \"username\": \"john.doe@example.postman.com\",\n        \"roles\": [\n            \"ROLE_USER\"\n        ],\n        \"extensions\": [],\n        \"organizations\": [\n            {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX\",\n                \"logo\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": null,\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"pbxDomainAlt\": \"192.168.56.42:5060\",\n                \"dataSetAlt\": \"hiperpbx_1604924857\",\n                \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n                \"recordingUrlAlt\": null,\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"mediaServers\": [\n                    {\n                        \"@id\": \"/api/media_servers/1\",\n                        \"@type\": \"MediaServer\"\n                    }\n                ]\n            }\n        ],\n        \"picture\": null,\n        \"uid\": \"41dcdaeced01bbeda3263ec0a05e715e\",\n        \"locale\": \"en\",\n        \"urls\": [],\n        \"hasVideoCall\": \"no\",\n        \"organizationsIris\": [\n            \"/api/organizations/2\"\n        ],\n        \"urlsIris\": [],\n        \"extensionsIris\": [],\n        \"organizationSessionsAlt\": null\n    },\n    \"extension\": {\n        \"@id\": \"/api/extensions/7\",\n        \"@type\": \"Extension\",\n        \"id\": 7,\n        \"extension\": \"50000000\",\n        \"name\": \"asdf\",\n        \"secret\": \"Q1w2e3r4t5&\",\n        \"used\": \"false\",\n        \"organization\": {\n            \"@id\": \"/api/organizations/2\",\n            \"@type\": \"Organization\",\n            \"id\": 2,\n            \"name\": \"HiperPBX\",\n            \"logo\": null,\n            \"theme\": \"/api/themes/1\",\n            \"domain\": null,\n            \"sessions\": 10,\n            \"agentSessions\": 10,\n            \"osticket\": null,\n            \"LiveHelperChat\": null,\n            \"status\": null,\n            \"firebase\": \"/api/firebases/1\",\n            \"pbxDomainAlt\": \"192.168.56.42:5060\",\n            \"dataSetAlt\": \"hiperpbx_1604924857\",\n            \"restApiAddressAlt\": \"http://10.128.1.86:8081\",\n            \"recordingUrlAlt\": null,\n            \"mediaServerAlt\": \"/api/media_servers/1\",\n            \"mediaServers\": [\n                {\n                    \"@id\": \"/api/media_servers/1\",\n                    \"@type\": \"MediaServer\"\n                }\n            ]\n        }\n    },\n    \"call\": \"yes\",\n    \"mail\": \"no\",\n    \"chat\": \"no\",\n    \"urls\": [],\n    \"hasDashboard\": \"no\",\n    \"mailCenterAlt\": null,\n    \"chatCenterAlt\": null\n}"}],"_postman_id":"7df1032f-1089-4e71-b172-7107850b8b07"},{"name":"Delete agent","id":"b146f529-c96f-4e18-9f42-19912d1e5cac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://me.hiperpbx.com/api/agents/:id","urlObject":{"path":["agents",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Agent id</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"ed5a141a-9245-4327-9a58-0cddb98895d4","name":"Delete agent","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://me.hiperpbx.com/api/agents/:id","host":["https://me.hiperpbx.com/api"],"path":["agents",":id"],"variable":[{"key":"id","value":"9","description":"Agent id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 25 Nov 2020 13:29:05 GMT"},{"key":"Date","value":"Wed, 25 Nov 2020 13:29:05 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"034a1a"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/034a1a"},{"key":"Expires","value":"Wed, 25 Nov 2020 13:29:05 GMT"},{"key":"Content-type","value":"text/html; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"b146f529-c96f-4e18-9f42-19912d1e5cac"},{"name":"Clean agent from Firebase","id":"5b5ebab5-b3e6-4971-ae65-be9cb000d9a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"url":"https://me.hiperpbx.com/api/agents/:agentId/clean-from-firebase","urlObject":{"path":["agents",":agentId","clean-from-firebase"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Id of the agent to clean </p>\n","type":"text/plain"},"type":"any","value":"","key":"agentId"}]}},"response":[],"_postman_id":"5b5ebab5-b3e6-4971-ae65-be9cb000d9a1"}],"id":"4e678094-4eef-4258-9d9a-1e4ae9cc9b18","_postman_id":"4e678094-4eef-4258-9d9a-1e4ae9cc9b18","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Mail Center Proxy","item":[{"name":"Authorization","id":"1f066ebc-7ef2-42a5-a1d8-b821bf0aac33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"url":"https://me.hiperpbx.com/api/mail-center/auth","urlObject":{"path":["mail-center","auth"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f066ebc-7ef2-42a5-a1d8-b821bf0aac33"},{"name":"Get tickets","id":"64543115-217f-467d-b657-6b979a374ac6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Osticket-Authorization","value":"{{mail_center_token}}"}],"url":"https://me.hiperpbx.com/api/mail-center/tickets","urlObject":{"path":["mail-center","tickets"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"64543115-217f-467d-b657-6b979a374ac6"},{"name":"Download file","id":"91aa2d92-6638-42d6-b180-4efe1308c6e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Osticket-Authorization","value":"{{mail_center_token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/mail-center/file?key=tQiLElQcMm6IfK6S5yHJJILpQKAITMLk&signature=lQcMm6IfK6S5yHJJ8tqqwXn29RChRKwd","urlObject":{"path":["mail-center","file"],"host":["https://me.hiperpbx.com/api"],"query":[{"key":"key","value":"tQiLElQcMm6IfK6S5yHJJILpQKAITMLk"},{"key":"signature","value":"lQcMm6IfK6S5yHJJ8tqqwXn29RChRKwd"}],"variable":[]}},"response":[],"_postman_id":"91aa2d92-6638-42d6-b180-4efe1308c6e3"},{"name":"Get canned response","id":"a3b1e5e0-9d2e-4bed-a168-c2d3d7dc4ca7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Osticket-Authorization","value":"Bearer {{mail_center_token}}"}],"url":"https://me.hiperpbx.com/api/mail-center/tickets/:ticketId/canned-response/:cannedId","urlObject":{"path":["mail-center","tickets",":ticketId","canned-response",":cannedId"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"type":"any","value":"","key":"ticketId"},{"type":"any","value":"","key":"cannedId"}]}},"response":[],"_postman_id":"a3b1e5e0-9d2e-4bed-a168-c2d3d7dc4ca7"}],"id":"9ab06e8d-6f1f-4bf5-8633-30d09b3fd1b5","description":"<p>All the request in this section are the same that are in \"Mail Center API\", but with the prefix <code>mail-center</code> in the request path.</p>\n<p>For example, to get the tickets is <code>http://example.com/api/mail-center/tickets</code>.</p>\n<p>Authorization</p>\n<p>All the requests needs the header \"Osticket-Authorization\"</p>\n","event":[{"listen":"prerequest","script":{"id":"a3f46467-681b-4213-93b9-d67bd603d5f3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"54a483d6-005d-47bf-83f0-f822d21dba33","type":"text/javascript","exec":[""]}}],"_postman_id":"9ab06e8d-6f1f-4bf5-8633-30d09b3fd1b5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Side Images","item":[{"name":"Get all side images","id":"a040d0a5-79e6-49ed-a441-19b18b60b7b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/side_images","urlObject":{"path":["side_images"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a040d0a5-79e6-49ed-a441-19b18b60b7b2"},{"name":"Get active image","id":"f3824e70-a6af-4dd4-924a-33622972ea4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/side_images/active","urlObject":{"path":["side_images","active"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f3824e70-a6af-4dd4-924a-33622972ea4d"},{"name":"Create new side image","id":"da2c0736-463c-4f7c-9af8-ccc257189150","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"testing2","type":"text"},{"key":"active","value":"1","type":"text"},{"key":"file","type":"file","src":"/C:/Users/Gabriel/Pictures/Saved Pictures/wallhaven-32609.jpg"}]},"url":"https://me.hiperpbx.com/api/side_images","urlObject":{"path":["side_images"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"da2c0736-463c-4f7c-9af8-ccc257189150"},{"name":"Update active status","id":"ab771077-509e-40f0-88ee-1f5fc123b623","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"active\" : 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/side_images/:id/active","urlObject":{"path":["side_images",":id","active"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"id":"adad9f09-a644-4744-b200-517d863ce714","type":"any","value":"12","key":"id"}]}},"response":[],"_postman_id":"ab771077-509e-40f0-88ee-1f5fc123b623"}],"id":"7fb4b388-8543-4c6f-8a02-71c377e103ba","_postman_id":"7fb4b388-8543-4c6f-8a02-71c377e103ba","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Actions","item":[{"name":"Click 2 Call","id":"1c004998-2458-41c7-8df3-8dc09454bf81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/click2call/:organizationId/:agentNumber/:number","description":"<p>This endpoint allows you to make a call and connected it to and agent.</p>\n<p>To use this endpoint, you have to had the role <code>ROLE_CLICK_2_CALL</code>.</p>\n","urlObject":{"path":["click2call",":organizationId",":agentNumber",":number"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"type":"any","value":"2","key":"organizationId"},{"type":"any","value":"3000","key":"agentNumber"},{"type":"any","value":"500","key":"number"}]}},"response":[],"_postman_id":"1c004998-2458-41c7-8df3-8dc09454bf81"},{"name":"Click 2 Hangup","id":"aab3ce17-abd9-4895-8f96-5212f2919370","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://me.hiperpbx.com/api/click2call/:organizationId/:agentNumber/hangup","description":"<p>This endpoint allows hangup the active call of an agent.</p>\n<p>To use this endpoint, you have to had the role <code>ROLE_CLICK_2_CALL</code>.</p>\n","urlObject":{"path":["click2call",":organizationId",":agentNumber","hangup"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Id of the organization to which the agent belongs</p>\n","type":"text/plain"},"type":"any","value":"2","key":"organizationId"},{"description":{"content":"<p>Number of the agent</p>\n","type":"text/plain"},"type":"any","value":"3000","key":"agentNumber"}]}},"response":[],"_postman_id":"aab3ce17-abd9-4895-8f96-5212f2919370"},{"name":"Remove tab","id":"a51ff79a-f5c7-4203-b9dc-076de04661d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"url":"https://me.hiperpbx.com/api/click2call/:organizationId/:agentNumber/remove-tab/:tabId","urlObject":{"path":["click2call",":organizationId",":agentNumber","remove-tab",":tabId"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Organization Id of the agent</p>\n","type":"text/plain"},"type":"any","value":"","key":"organizationId"},{"description":{"content":"<p>Number of the agent</p>\n","type":"text/plain"},"type":"any","value":"","key":"agentNumber"},{"description":{"content":"<p>The tab id that you want to delete</p>\n","type":"text/plain"},"type":"any","value":"","key":"tabId"}]}},"response":[],"_postman_id":"a51ff79a-f5c7-4203-b9dc-076de04661d6"},{"name":"Reload janus","id":"980afaa7-c7ee-4ac2-824d-d65b9856bd4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/reload-janus-from-user-by-extension?number=&organizationId=","urlObject":{"path":["reload-janus-from-user-by-extension"],"host":["https://me.hiperpbx.com/api"],"query":[{"key":"number","value":""},{"key":"organizationId","value":""}],"variable":[]}},"response":[],"_postman_id":"980afaa7-c7ee-4ac2-824d-d65b9856bd4b"},{"name":"Reload janus of agent","id":"18df14d5-b68c-41f9-ab38-87392483eb43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/reload-janus-from-agent-by-number?number=&organizationId=","urlObject":{"path":["reload-janus-from-agent-by-number"],"host":["https://me.hiperpbx.com/api"],"query":[{"key":"number","value":""},{"key":"organizationId","value":""}],"variable":[]}},"response":[],"_postman_id":"18df14d5-b68c-41f9-ab38-87392483eb43"}],"id":"64f55433-0964-4ab3-8d70-3f2db9b89efd","_postman_id":"64f55433-0964-4ab3-8d70-3f2db9b89efd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Sessions","item":[{"name":"Agent can loggin","id":"da8eaa45-54ff-40fa-9e03-a0f61adb2712","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/sessions/agents","description":"<p>This endpoint is used to check if the agent can loggin based on the agentSession property of the <code>organization</code></p>\n<p>Returns a boolean</p>\n","urlObject":{"path":["sessions","agents"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"da8eaa45-54ff-40fa-9e03-a0f61adb2712"}],"id":"d91a9b3c-489e-4742-8892-ac30afc69f68","_postman_id":"d91a9b3c-489e-4742-8892-ac30afc69f68","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Organization Contacts","item":[{"name":"Get all the organization contacts","id":"2507bd13-d28c-41aa-9ea0-a839053fc8d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/organization_contacts","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["organization_contacts"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2507bd13-d28c-41aa-9ea0-a839053fc8d6"},{"name":"Create organization contact","id":"20bfa6d8-9381-4b29-af80-a5458648239b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"\",\r\n    \"lastname\" : \"\",\r\n    \"organization\" : \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/organization_contacts","description":"<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type/Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>The name of the contact</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>lastname</td>\n<td>The lastname of the contact</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>email</td>\n<td>The email of the contact</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>organization</td>\n<td>Endpoint of the Organization</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>Phone of the contact</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>phoneOne</td>\n<td>Phone of the contact</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>phoneTwo</td>\n<td>Phone of the contact</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>departament</td>\n<td>Departament of the contact</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Address of the contact</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>notes</td>\n<td>Notes of the contact</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["organization_contacts"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"7747e585-5716-4bb2-be83-8dce78090c8d","name":"Create new organization contact","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"John\",\r\n    \"lastname\" : \"Doe\",\r\n    \"organization\" : \"/api/organizations/2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/organization_contacts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Wed, 04 Aug 2021 16:56:06 GMT"},{"key":"Date","value":"Wed, 04 Aug 2021 16:56:06 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"49f6a6"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/49f6a6"},{"key":"Expires","value":"Wed, 04 Aug 2021 16:56:06 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%2249f6a6%22%2C%22route%22%3A%22api_organization_contacts_post_collection%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%22api_platform.action.post_collection%22%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/OrganizationContact\",\n    \"@id\": \"/api/organization_contacts/3\",\n    \"@type\": \"OrganizationContact\",\n    \"id\": 3,\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"phone\": null,\n    \"extension\": null,\n    \"email\": null,\n    \"organization\": {\n        \"@id\": \"/api/organizations/2\",\n        \"@type\": \"Organization\",\n        \"id\": 2,\n        \"name\": \"HiperPBX\",\n        \"logo\": null,\n        \"logoMin\": null,\n        \"theme\": \"/api/themes/1\",\n        \"domain\": null,\n        \"mediaServers\": [\n            \"/api/media_servers/1\"\n        ],\n        \"sessions\": 10,\n        \"agentSessions\": 10,\n        \"osticket\": \"/api/ostickets/1\",\n        \"LiveHelperChat\": \"/api/live_helper_chats/1\",\n        \"status\": null,\n        \"firebase\": \"/api/firebases/1\",\n        \"redirect\": null,\n        \"pbxDomainAlt\": \"192.168.0.42:5060\",\n        \"dataSetAlt\": \"hiperpbx_dev_1627307620\",\n        \"restApiAddressAlt\": \"http://192.168.0.42:8081\",\n        \"recordingUrlAlt\": null,\n        \"mediaServerAlt\": \"/api/media_servers/1\"\n    },\n    \"department\": null,\n    \"address\": null,\n    \"notes\": null\n}"}],"_postman_id":"20bfa6d8-9381-4b29-af80-a5458648239b"},{"name":"Update organization contact Copy","id":"d285d2f0-9443-4c0d-bbda-9e988c56590a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"\",\r\n    \"lastname\" : \"\",\r\n    \"organization\" : \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/organization_contacts/1","description":"<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type/Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>The name of the contact</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>lastname</td>\n<td>The lastname of the contact</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>email</td>\n<td>The email of the contact</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>organization</td>\n<td>Endpoint of the Organization</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>Phone of the contact</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>phoneOne</td>\n<td>Phone of the contact</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>phoneTwo</td>\n<td>Phone of the contact</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>departament</td>\n<td>Departament of the contact</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Address of the contact</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n<tr>\n<td>notes</td>\n<td>Notes of the contact</td>\n<td>String|Null</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["organization_contacts","1"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d285d2f0-9443-4c0d-bbda-9e988c56590a"},{"name":"Delete organization contact","id":"0a92cef3-add4-4e05-bc83-6d430f54326b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://me.hiperpbx.com/api/organization_contacts/1","urlObject":{"path":["organization_contacts","1"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0a92cef3-add4-4e05-bc83-6d430f54326b"},{"name":"Masive creation","id":"b9b51227-1025-4420-af73-bf203a3be6fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"b9b51227-1025-4420-af73-bf203a3be6fa"}],"id":"03bacb26-4a4c-4df6-b5bc-55c455c23f3f","_postman_id":"03bacb26-4a4c-4df6-b5bc-55c455c23f3f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Contacts","item":[{"name":"Import contacts","id":"a40bc742-19ea-4437-9bf0-4cbcc56ecf4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","value":"","type":"default","disabled":true},{"key":"file","type":"file","src":"/C:/Users/Gabriel/Downloads/contacts.vcf"}]},"url":"https://me.hiperpbx.com/api/contacts/import","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["contacts","import"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a40bc742-19ea-4437-9bf0-4cbcc56ecf4d"},{"name":"Get contacts","id":"85494315-9fc8-43f0-b66a-6821ef75ce56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/contacts","urlObject":{"path":["contacts"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"85494315-9fc8-43f0-b66a-6821ef75ce56"}],"id":"0f0120df-2bfa-461c-87ad-8a2863e34a7e","_postman_id":"0f0120df-2bfa-461c-87ad-8a2863e34a7e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Zoho","item":[{"name":"Get info","id":"627a08ef-1303-46bd-9445-04993a74bb71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"627a08ef-1303-46bd-9445-04993a74bb71"},{"name":"Get actions to the user","id":"9afe4ede-60f5-4752-ae83-696ced9f4771","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/zoho/action/:actionName","urlObject":{"path":["zoho","action",":actionName"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"type":"any","value":"answer","key":"actionName"}]}},"response":[],"_postman_id":"9afe4ede-60f5-4752-ae83-696ced9f4771"}],"id":"84da5804-b0a6-4b53-b5e3-463ca5673ddd","_postman_id":"84da5804-b0a6-4b53-b5e3-463ca5673ddd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"PBX Proxy","item":[{"name":"Get token of the HiperPBX API","id":"cb158a10-2cea-49a2-95e7-d765e330c151","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://me.hiperpbx.com/api/pbx/:id/auth","urlObject":{"path":["pbx",":id","auth"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Id of the organization</p>\n","type":"text/plain"},"type":"any","value":"2","key":"id"}]}},"response":[],"_postman_id":"cb158a10-2cea-49a2-95e7-d765e330c151"}],"id":"04be630d-e9b1-4bb8-99e3-1a7f5b605900","_postman_id":"04be630d-e9b1-4bb8-99e3-1a7f5b605900","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Favorites","item":[{"name":"Save favorite","id":"1cd68e3f-8aee-43dc-b38f-bee57b3467e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"favoritableId\" : 3,\r\n    \"favoritableType\": \"HiperMe\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/favorites","urlObject":{"path":["favorites"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1cd68e3f-8aee-43dc-b38f-bee57b3467e4"},{"name":"Get favorites","id":"37859f43-c014-421e-93d4-4f567a4a6dd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/favorites","urlObject":{"path":["favorites"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"37859f43-c014-421e-93d4-4f567a4a6dd3"},{"name":"Delete favorite","id":"398e0932-a312-49e1-9e15-f48ff38e6681","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://me.hiperpbx.com/api/favorites/:id","urlObject":{"path":["favorites",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"id":"4abde8d3-df92-4b9a-83bb-ddd04deaeb10","type":"any","value":null,"key":"id"}]}},"response":[],"_postman_id":"398e0932-a312-49e1-9e15-f48ff38e6681"}],"id":"51e6ac02-f1f3-4e70-adc5-6147f30478fe","_postman_id":"51e6ac02-f1f3-4e70-adc5-6147f30478fe","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"UserContacts","item":[{"name":"Get user contacts","id":"fb6f0607-6ac1-4724-b6ec-82c9ec8b4027","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/user_contacts","description":"<p>Get the contacts created by the logged user</p>\n","urlObject":{"path":["user_contacts"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"fb6f0607-6ac1-4724-b6ec-82c9ec8b4027"},{"name":"Edit user contact","id":"242009a5-5cd8-43d9-8de0-259c64a8dc77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"\",\r\n    \"lastname\" : \"\",\r\n    \"phone\" : \"\",\r\n    \"extension\" : \"\",\r\n    \"email\" : \"\",\r\n    \"department\" : \"\",\r\n    \"phoneOne\" : \"\",\r\n    \"phoneTwo\" : \"\",\r\n    \"address\" : \"\",\r\n    \"notes\" : \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/user_contacts","description":"<p>This endpoint allows the edit of user contact of the logged user</p>\n<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th><strong>Nulleable</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>No</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>lastname</td>\n<td>String</td>\n<td>No</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>String</td>\n<td>No</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>extension</td>\n<td>String</td>\n<td>No</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String</td>\n<td>No</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>department</td>\n<td>String</td>\n<td>No</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>phoneOne</td>\n<td>String</td>\n<td>No</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>phoneTwo</td>\n<td>String</td>\n<td>No</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>address</td>\n<td>String</td>\n<td>No</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>notes</td>\n<td>String</td>\n<td>No</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["user_contacts"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"242009a5-5cd8-43d9-8de0-259c64a8dc77"},{"name":"Edit user contact","id":"1aa57eba-2cb6-4e9f-84cb-38d5c517da45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"\",\r\n    \"lastname\" : \"\",\r\n    \"phone\" : \"\",\r\n    \"extension\" : \"\",\r\n    \"email\" : \"\",\r\n    \"department\" : \"\",\r\n    \"phoneOne\" : \"\",\r\n    \"phoneTwo\" : \"\",\r\n    \"address\" : \"\",\r\n    \"notes\" : \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/user_contacts/:id","description":"<p>Delete the user contact</p>\n","urlObject":{"path":["user_contacts",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"id":"d6969fb0-a62a-4393-a8c5-161179d6354d","type":"any","value":null,"key":"id"}]}},"response":[],"_postman_id":"1aa57eba-2cb6-4e9f-84cb-38d5c517da45"},{"name":"Delete user contact","id":"60239df6-e08a-4dcb-802e-7ed44b129c92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://me.hiperpbx.com/api/user_contacts/:id","urlObject":{"path":["user_contacts",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"60239df6-e08a-4dcb-802e-7ed44b129c92"}],"id":"cedd38bf-2f4e-4037-af3b-ce55919735c9","_postman_id":"cedd38bf-2f4e-4037-af3b-ce55919735c9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Licenses","item":[{"name":"Get all licenses","id":"0dc39097-eba5-4eed-8454-e686901da01d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/licenses","urlObject":{"path":["licenses"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0dc39097-eba5-4eed-8454-e686901da01d"},{"name":"Create licenses","id":"0d189a8b-28e9-4232-a7c7-563fc82877cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"organization\" : \"/api/organizations/2\",\r\n    \"type\" : \"agent_session\",\r\n    \"licenseKey\" : \"asdf-asdf\",\r\n    \"orderId\" : \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/licenses","urlObject":{"path":["licenses"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0d189a8b-28e9-4232-a7c7-563fc82877cb"}],"id":"23bfa1db-1b42-4924-8344-f1022ef2424c","_postman_id":"23bfa1db-1b42-4924-8344-f1022ef2424c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Notifications","item":[{"name":"Create notification for agent","id":"f1105cf3-f5fc-4499-9a8e-fdc862de65cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"organizationId\" : \"214\",\r\n    \"agentsNumber\" : [1001],\r\n    \"title\" : \"The title of the notification\",\r\n    \"body\" : \"The body of the notification\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/notifications/agent","description":"<p>The HTTP POST request to <code>/notifications/agent</code> endpoint is used to send notifications to an agent. The request should include the <code>organizationId</code>, <code>agentNumber</code>, <code>title</code>, and <code>body</code> in the payload.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p><code>organizationId</code> (number): The ID of the organization.</p>\n</li>\n<li><p><code>agentNumber</code> (number): The number of the agent.</p>\n</li>\n<li><p><code>title</code> (string): The title of the notification.</p>\n</li>\n<li><p><code>body</code> (string): The body content of the notification.</p>\n</li>\n</ul>\n","urlObject":{"path":["notifications","agent"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"6fa451c3-64ad-458a-af43-744e7fc79485","name":"Invalid payload","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"organizationId\" : 0,\r\n    \"agentNumber\" : 0,\r\n    \"title\" : \"The title of the notification\",\r\n    \"body\" : \"The body of the notification\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/notifications/agent"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 08 Jul 2024 20:29:31 GMT"},{"key":"Date","value":"Mon, 08 Jul 2024 20:29:30 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"359b36"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/359b36"},{"key":"Expires","value":"Mon, 08 Jul 2024 20:29:31 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"[agentNumber]\",\n            \"message\": \"This value is too short. It should have 2 characters or more.\"\n        }\n    ]\n}"},{"id":"22de6f2e-6a7d-469c-bc1f-19c39ea2b11b","name":"Notification created successfully","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"organizationId\" : 2,\r\n    \"agentNumber\" : 3000,\r\n    \"title\" : \"The title of the notification\",\r\n    \"body\" : \"The body of the notification\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/notifications/agent"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 08 Jul 2024 20:30:08 GMT"},{"key":"Date","value":"Mon, 08 Jul 2024 20:30:08 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"4f3fbf"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/4f3fbf"},{"key":"Expires","value":"Mon, 08 Jul 2024 20:30:08 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%224f3fbf%22%2C%22route%22%3A%22app_api_notificationapi_notificationsagent%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%7B%22class%22%3A%22AppBundle%5C%5CController%5C%5CApi%5C%5CNotificationApiController%22%2C%22method%22%3A%22notificationsAgent%22%2C%22file%22%3A%22C%3A%5C%5CUsers%5C%5CGabriel%5C%5CDocuments%5C%5CHiperPBX%5C%5C03.EN%20DESAROLLO%5C%5Chiperpbx-tools%5C%5Csrc%5C%5CAppBundle%5C%5CController%5C%5CApi%5C%5CNotificationApiController.php%22%2C%22line%22%3A101%7D%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"-O1J1WfELMEL6daWy5E-\"\n}"}],"_postman_id":"f1105cf3-f5fc-4499-9a8e-fdc862de65cf"},{"name":"Incoming call","id":"9e367aa7-f462-4e67-ac26-10bc4c8338f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"9e367aa7-f462-4e67-ac26-10bc4c8338f0"}],"id":"1d7ea5fc-c4a4-47a0-9fb5-4df13d0eac0a","_postman_id":"1d7ea5fc-c4a4-47a0-9fb5-4df13d0eac0a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Chat Center","item":[{"name":"Forms","item":[{"name":"Inputs","item":[{"name":"Create form input","id":"fcf54815-322d-4029-bb5d-b7d051197cb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"form_id\" : \"IRI of the Form\",\r\n    \"label\" : \"Label of the input\",\r\n    \"description\" : \"description of the input\",\r\n    \"type\" : \"text\",\r\n    \"configuration\" : \"{\\\"required\\\":false}\",\r\n    \"order\" : 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/form_inputs","description":"<h3 id=\"create-form-inputs\">Create Form Inputs</h3>\n<p>This endpoint allows you to create form inputs by sending an HTTP POST request to <code>https://me.hiperpbx.com/api/form_inputs</code>.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><strong>form_id</strong> (string): The ID of the form.</p>\n</li>\n<li><p><strong>label</strong> (string): The label for the form input.</p>\n</li>\n<li><p><strong>description</strong> (string): The description of the form input.</p>\n</li>\n<li><p><strong>type</strong> (string): The type of the form input. The allowed values for <code>type</code> are:</p>\n<ul>\n<li><p><code>text</code>: Text field.</p>\n</li>\n<li><p><code>number</code>: Numeric field.</p>\n</li>\n<li><p><code>email</code>: Email field.</p>\n</li>\n<li><p><code>select</code>: Dropdown list.</p>\n</li>\n<li><p><code>date</code>: Date field.</p>\n</li>\n<li><p><code>datetime</code>: Date and time field.</p>\n</li>\n<li><p><code>link</code>: Link field.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>configuration</strong> (string): A JSON string representing the configuration settings for the form input. It can contain the following:</p>\n<ul>\n<li><p><strong>required</strong>: A boolean value indicating whether the input is required. This can be included for all types.</p>\n</li>\n<li><p><strong>minDate</strong>: Applicable only for fields of type <code>date</code>. The value should be a date or <code>null</code>.</p>\n</li>\n<li><p><strong>maxDate</strong>: Applicable only for fields of type <code>date</code>. The value should be a date or <code>null</code>.</p>\n</li>\n<li><p><strong>options</strong>: Applicable only for fields of type <code>select</code>. The value should be an array of strings representing the options.</p>\n</li>\n<li><p><strong>multiple</strong>: Applicable only for fields of type <code>select</code>. The value should be a boolean indicating whether multiple selections are allowed.</p>\n</li>\n<li><p><strong>url</strong>: Applicable only for fields of type <code>link</code>. The value should be a string representing the URL.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>order</strong> (integer): The order of the form input.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["form_inputs"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"fcf54815-322d-4029-bb5d-b7d051197cb4"},{"name":"Delete form input","id":"286adade-1d56-4848-928c-07f280e528d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"form_id\" : \"IRI of the Form\",\r\n    \"label\" : \"Label of the input\",\r\n    \"description\" : \"description of the input\",\r\n    \"type\" : \"text\",\r\n    \"configuration\" : \"{\\\"required\\\":false}\",\r\n    \"order\" : 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/form_inputs/:id","description":"<h3 id=\"create-form-inputs\">Create Form Inputs</h3>\n<p>This endpoint allows you to create form inputs by sending an HTTP POST request to <code>https://me.hiperpbx.com/api/form_inputs</code>.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><strong>form_id</strong> (string): The ID of the form.</p>\n</li>\n<li><p><strong>label</strong> (string): The label for the form input.</p>\n</li>\n<li><p><strong>description</strong> (string): The description of the form input.</p>\n</li>\n<li><p><strong>type</strong> (string): The type of the form input. The allowed values for <code>type</code> are:</p>\n<ul>\n<li><p><code>text</code>: Text field.</p>\n</li>\n<li><p><code>number</code>: Numeric field.</p>\n</li>\n<li><p><code>email</code>: Email field.</p>\n</li>\n<li><p><code>select</code>: Dropdown list.</p>\n</li>\n<li><p><code>date</code>: Date field.</p>\n</li>\n<li><p><code>datetime</code>: Date and time field.</p>\n</li>\n<li><p><code>link</code>: Link field.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>configuration</strong> (string): A JSON string representing the configuration settings for the form input. It can contain the following:</p>\n<ul>\n<li><p><strong>required</strong>: A boolean value indicating whether the input is required. This can be included for all types.</p>\n</li>\n<li><p><strong>minDate</strong>: Applicable only for fields of type <code>date</code>. The value should be a date or <code>null</code>.</p>\n</li>\n<li><p><strong>maxDate</strong>: Applicable only for fields of type <code>date</code>. The value should be a date or <code>null</code>.</p>\n</li>\n<li><p><strong>options</strong>: Applicable only for fields of type <code>select</code>. The value should be an array of strings representing the options.</p>\n</li>\n<li><p><strong>multiple</strong>: Applicable only for fields of type <code>select</code>. The value should be a boolean indicating whether multiple selections are allowed.</p>\n</li>\n<li><p><strong>url</strong>: Applicable only for fields of type <code>link</code>. The value should be a string representing the URL.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>order</strong> (integer): The order of the form input.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["form_inputs",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"286adade-1d56-4848-928c-07f280e528d5"},{"name":"Get form input by id","id":"e16de3fb-75f4-4d97-ba29-ce80cc4f2307","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"form_id\" : \"IRI of the Form\",\r\n    \"label\" : \"Label of the input\",\r\n    \"description\" : \"description of the input\",\r\n    \"type\" : \"text\",\r\n    \"configuration\" : \"{\\\"required\\\":false}\",\r\n    \"order\" : 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/form_inputs/:id","description":"<h3 id=\"create-form-inputs\">Create Form Inputs</h3>\n<p>This endpoint allows you to create form inputs by sending an HTTP POST request to <code>https://me.hiperpbx.com/api/form_inputs</code>.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><strong>form_id</strong> (string): The ID of the form.</p>\n</li>\n<li><p><strong>label</strong> (string): The label for the form input.</p>\n</li>\n<li><p><strong>description</strong> (string): The description of the form input.</p>\n</li>\n<li><p><strong>type</strong> (string): The type of the form input. The allowed values for <code>type</code> are:</p>\n<ul>\n<li><p><code>text</code>: Text field.</p>\n</li>\n<li><p><code>number</code>: Numeric field.</p>\n</li>\n<li><p><code>email</code>: Email field.</p>\n</li>\n<li><p><code>select</code>: Dropdown list.</p>\n</li>\n<li><p><code>date</code>: Date field.</p>\n</li>\n<li><p><code>datetime</code>: Date and time field.</p>\n</li>\n<li><p><code>link</code>: Link field.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>configuration</strong> (string): A JSON string representing the configuration settings for the form input. It can contain the following:</p>\n<ul>\n<li><p><strong>required</strong>: A boolean value indicating whether the input is required. This can be included for all types.</p>\n</li>\n<li><p><strong>minDate</strong>: Applicable only for fields of type <code>date</code>. The value should be a date or <code>null</code>.</p>\n</li>\n<li><p><strong>maxDate</strong>: Applicable only for fields of type <code>date</code>. The value should be a date or <code>null</code>.</p>\n</li>\n<li><p><strong>options</strong>: Applicable only for fields of type <code>select</code>. The value should be an array of strings representing the options.</p>\n</li>\n<li><p><strong>multiple</strong>: Applicable only for fields of type <code>select</code>. The value should be a boolean indicating whether multiple selections are allowed.</p>\n</li>\n<li><p><strong>url</strong>: Applicable only for fields of type <code>link</code>. The value should be a string representing the URL.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>order</strong> (integer): The order of the form input.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["form_inputs",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"e16de3fb-75f4-4d97-ba29-ce80cc4f2307"},{"name":"Edit form input Copy","id":"29ed888a-488e-4c88-8fcc-aa767317c8dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"form_id\" : \"IRI of the Form\",\r\n    \"label\" : \"Label of the input\",\r\n    \"description\" : \"description of the input\",\r\n    \"type\" : \"text\",\r\n    \"configuration\" : \"{\\\"required\\\":false}\",\r\n    \"order\" : 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/form_inputs/:id","description":"<h3 id=\"create-form-inputs\">Create Form Inputs</h3>\n<p>This endpoint allows you to create form inputs by sending an HTTP POST request to <code>https://me.hiperpbx.com/api/form_inputs</code>.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><strong>form_id</strong> (string): The ID of the form.</p>\n</li>\n<li><p><strong>label</strong> (string): The label for the form input.</p>\n</li>\n<li><p><strong>description</strong> (string): The description of the form input.</p>\n</li>\n<li><p><strong>type</strong> (string): The type of the form input. The allowed values for <code>type</code> are:</p>\n<ul>\n<li><p><code>text</code>: Text field.</p>\n</li>\n<li><p><code>number</code>: Numeric field.</p>\n</li>\n<li><p><code>email</code>: Email field.</p>\n</li>\n<li><p><code>select</code>: Dropdown list.</p>\n</li>\n<li><p><code>date</code>: Date field.</p>\n</li>\n<li><p><code>datetime</code>: Date and time field.</p>\n</li>\n<li><p><code>link</code>: Link field.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>configuration</strong> (string): A JSON string representing the configuration settings for the form input. It can contain the following:</p>\n<ul>\n<li><p><strong>required</strong>: A boolean value indicating whether the input is required. This can be included for all types.</p>\n</li>\n<li><p><strong>minDate</strong>: Applicable only for fields of type <code>date</code>. The value should be a date or <code>null</code>.</p>\n</li>\n<li><p><strong>maxDate</strong>: Applicable only for fields of type <code>date</code>. The value should be a date or <code>null</code>.</p>\n</li>\n<li><p><strong>options</strong>: Applicable only for fields of type <code>select</code>. The value should be an array of strings representing the options.</p>\n</li>\n<li><p><strong>multiple</strong>: Applicable only for fields of type <code>select</code>. The value should be a boolean indicating whether multiple selections are allowed.</p>\n</li>\n<li><p><strong>url</strong>: Applicable only for fields of type <code>link</code>. The value should be a string representing the URL.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>order</strong> (integer): The order of the form input.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["form_inputs",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"id":"7f5255fe-d412-4cb7-8387-530baa24b0e2","type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"29ed888a-488e-4c88-8fcc-aa767317c8dd"}],"id":"df7bcf65-da9f-450b-a17d-ea5d465a29ed","_postman_id":"df7bcf65-da9f-450b-a17d-ea5d465a29ed","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Get all forms","id":"32ab17a2-3426-4353-b31a-ce141cef8134","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/forms","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["forms"],"host":["https://me.hiperpbx.com/api"],"query":[{"disabled":true,"description":{"content":"<p>Search forms of organization</p>\n","type":"text/plain"},"key":"organization.id","value":""}],"variable":[]}},"response":[],"_postman_id":"32ab17a2-3426-4353-b31a-ce141cef8134"},{"name":"Get form by id","id":"776e7632-e0a7-40b0-890e-7773fd282ae2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/forms/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["forms",":id"],"host":["https://me.hiperpbx.com/api"],"query":[{"disabled":true,"description":{"content":"<p>Search forms of organization</p>\n","type":"text/plain"},"key":"organization.id","value":""}],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"776e7632-e0a7-40b0-890e-7773fd282ae2"},{"name":"Create form","id":"62647c92-a5e0-426e-b90a-33bbe09e84d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"Name of the form\",\r\n    \"description\" : \"The description of the form\",\r\n    \"organization\" : \"IRI of the Organization\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/forms","description":"<h3 id=\"post-forms\">POST /forms</h3>\n<p>This endpoint is used to submit a new form.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>name</code> (string, required): The name of the form.</p>\n</li>\n<li><p><code>description</code> (string, required): The description of the form.</p>\n</li>\n<li><p><code>organization</code> (string, required): The organization associated with the form.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request follows the JSON schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"@context\": \"/api/contexts/Form\",\n    \"@id\": \"/api/forms/1\",\n    \"@type\": \"Form\",\n    \"id\": 1,\n    \"name\": \"Example\",\n    \"description\": \"This is the descriptioon of the form\",\n    \"organization\": {\n        \"@id\": \"/api/organizations/1\",\n        \"@type\": \"Organization\",\n        \"id\": 1,\n        \"name\": \"Default\",\n        \"logo\": null,\n        \"logoMin\": null,\n        \"theme\": null,\n        \"domain\": null,\n        \"mediaServers\": [],\n        \"sessions\": 10,\n        \"agentSessions\": 10,\n        \"osticket\": null,\n        \"LiveHelperChat\": null,\n        \"status\": null,\n        \"firebase\": \"/api/firebases/1\",\n        \"redirect\": null,\n        \"watchRTC\": 0,\n        \"bigQuery\": \"HiperMe_Dev\",\n        \"stunServer\": null,\n        \"pbxRestApi\": null,\n        \"pbxRestApiUsername\": null,\n        \"pbxRestApiPassword\": null,\n        \"timezone\": null,\n        \"customersEnabled\": 0,\n        \"chatApiKey\": null,\n        \"callCenterApiKey\": null,\n        \"callCenterId\": null,\n        \"callCenterApiUrl\": null,\n        \"agentActivityTimeout\": 1440,\n        \"pbxDomainAlt\": \"192.168.0.1:5038\",\n        \"dataSetAlt\": \"yes\",\n        \"mediaServerAlt\": \"/api/media_servers/1\",\n        \"callCenter\": true\n    },\n    \"inputs\": [],\n    \"createdAt\": \"2024-08-09T15:31:40+00:00\",\n    \"updatedAt\": \"2024-08-09T15:31:40+00:00\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["forms"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"62647c92-a5e0-426e-b90a-33bbe09e84d8"},{"name":"Edit form","id":"ee287e43-102c-4ebe-b97b-67b666d943cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"Name of the form\",\r\n    \"description\" : \"The description of the form\",\r\n    \"organization\" : \"IRI of the Organization\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/forms/:id","description":"<h3 id=\"post-forms\">POST /forms</h3>\n<p>This endpoint is used to submit a new form.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>name</code> (string, required): The name of the form.</p>\n</li>\n<li><p><code>description</code> (string, required): The description of the form.</p>\n</li>\n<li><p><code>organization</code> (string, required): The organization associated with the form.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request follows the JSON schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"@context\": \"/api/contexts/Form\",\n    \"@id\": \"/api/forms/1\",\n    \"@type\": \"Form\",\n    \"id\": 1,\n    \"name\": \"Example\",\n    \"description\": \"This is the descriptioon of the form\",\n    \"organization\": {\n        \"@id\": \"/api/organizations/1\",\n        \"@type\": \"Organization\",\n        \"id\": 1,\n        \"name\": \"Default\",\n        \"logo\": null,\n        \"logoMin\": null,\n        \"theme\": null,\n        \"domain\": null,\n        \"mediaServers\": [],\n        \"sessions\": 10,\n        \"agentSessions\": 10,\n        \"osticket\": null,\n        \"LiveHelperChat\": null,\n        \"status\": null,\n        \"firebase\": \"/api/firebases/1\",\n        \"redirect\": null,\n        \"watchRTC\": 0,\n        \"bigQuery\": \"HiperMe_Dev\",\n        \"stunServer\": null,\n        \"pbxRestApi\": null,\n        \"pbxRestApiUsername\": null,\n        \"pbxRestApiPassword\": null,\n        \"timezone\": null,\n        \"customersEnabled\": 0,\n        \"chatApiKey\": null,\n        \"callCenterApiKey\": null,\n        \"callCenterId\": null,\n        \"callCenterApiUrl\": null,\n        \"agentActivityTimeout\": 1440,\n        \"pbxDomainAlt\": \"192.168.0.1:5038\",\n        \"dataSetAlt\": \"yes\",\n        \"mediaServerAlt\": \"/api/media_servers/1\",\n        \"callCenter\": true\n    },\n    \"inputs\": [],\n    \"createdAt\": \"2024-08-09T15:31:40+00:00\",\n    \"updatedAt\": \"2024-08-09T15:31:40+00:00\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["forms",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Id of the form to update</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"ee287e43-102c-4ebe-b97b-67b666d943cb"},{"name":"Delete form","id":"1f88ee33-6271-4daf-a33c-fd880a557c11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"Name of the form\",\r\n    \"description\" : \"The description of the form\",\r\n    \"organization\" : \"IRI of the Organization\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/forms/:id","description":"<h3 id=\"post-forms\">POST /forms</h3>\n<p>This endpoint is used to submit a new form.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>name</code> (string, required): The name of the form.</p>\n</li>\n<li><p><code>description</code> (string, required): The description of the form.</p>\n</li>\n<li><p><code>organization</code> (string, required): The organization associated with the form.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request follows the JSON schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"@context\": \"/api/contexts/Form\",\n    \"@id\": \"/api/forms/1\",\n    \"@type\": \"Form\",\n    \"id\": 1,\n    \"name\": \"Example\",\n    \"description\": \"This is the descriptioon of the form\",\n    \"organization\": {\n        \"@id\": \"/api/organizations/1\",\n        \"@type\": \"Organization\",\n        \"id\": 1,\n        \"name\": \"Default\",\n        \"logo\": null,\n        \"logoMin\": null,\n        \"theme\": null,\n        \"domain\": null,\n        \"mediaServers\": [],\n        \"sessions\": 10,\n        \"agentSessions\": 10,\n        \"osticket\": null,\n        \"LiveHelperChat\": null,\n        \"status\": null,\n        \"firebase\": \"/api/firebases/1\",\n        \"redirect\": null,\n        \"watchRTC\": 0,\n        \"bigQuery\": \"HiperMe_Dev\",\n        \"stunServer\": null,\n        \"pbxRestApi\": null,\n        \"pbxRestApiUsername\": null,\n        \"pbxRestApiPassword\": null,\n        \"timezone\": null,\n        \"customersEnabled\": 0,\n        \"chatApiKey\": null,\n        \"callCenterApiKey\": null,\n        \"callCenterId\": null,\n        \"callCenterApiUrl\": null,\n        \"agentActivityTimeout\": 1440,\n        \"pbxDomainAlt\": \"192.168.0.1:5038\",\n        \"dataSetAlt\": \"yes\",\n        \"mediaServerAlt\": \"/api/media_servers/1\",\n        \"callCenter\": true\n    },\n    \"inputs\": [],\n    \"createdAt\": \"2024-08-09T15:31:40+00:00\",\n    \"updatedAt\": \"2024-08-09T15:31:40+00:00\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["forms",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>Id of the form to delete</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"1f88ee33-6271-4daf-a33c-fd880a557c11"}],"id":"13f3c71e-800f-4b60-903f-371ee17b1a5f","description":"<p>This forms can be used by:</p>\n<ul>\n<li>Chat Classifications</li>\n</ul>\n","_postman_id":"13f3c71e-800f-4b60-903f-371ee17b1a5f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Chat classifiications","item":[{"name":"Create chat classification","id":"c4fc9215-8285-4b46-b343-0a447337fd33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"The name of the chat classification\",\r\n    \"description\" : \"The name of the description\",\r\n    \"form\" : \"The IRI of the form to use by this classification\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/chat_classifications","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["chat_classifications"],"host":["https://me.hiperpbx.com/api"],"query":[{"disabled":true,"description":{"content":"<p>Search by organization id</p>\n","type":"text/plain"},"key":"organization.id","value":null}],"variable":[]}},"response":[],"_postman_id":"c4fc9215-8285-4b46-b343-0a447337fd33"},{"name":"Edit chat classification","id":"1478eca9-b116-4da0-8c25-fbf6810c15a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"The name of the chat classification\",\r\n    \"description\" : \"The name of the description\",\r\n    \"form\" : \"The IRI of the form to use by this classification\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/chat_classifications/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["chat_classifications",":id"],"host":["https://me.hiperpbx.com/api"],"query":[{"disabled":true,"description":{"content":"<p>Search by organization id</p>\n","type":"text/plain"},"key":"organization.id","value":null}],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"1478eca9-b116-4da0-8c25-fbf6810c15a2"},{"name":"Get chat classifications","id":"29b27fc2-4fac-48ea-a4ef-fb539d0b28fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/chat_classifications","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["chat_classifications"],"host":["https://me.hiperpbx.com/api"],"query":[{"disabled":true,"description":{"content":"<p>Search by organization id</p>\n","type":"text/plain"},"key":"organization.id","value":null}],"variable":[]}},"response":[],"_postman_id":"29b27fc2-4fac-48ea-a4ef-fb539d0b28fc"},{"name":"Get chat classification by id","id":"90153fb1-993f-4c48-bcb9-86520d1e2801","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/chat_classifications/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["chat_classifications",":id"],"host":["https://me.hiperpbx.com/api"],"query":[{"disabled":true,"description":{"content":"<p>Search by organization id</p>\n","type":"text/plain"},"key":"organization.id","value":null}],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"90153fb1-993f-4c48-bcb9-86520d1e2801"},{"name":"Delete chat classification","id":"74e13d89-6281-4622-a715-07a776dd91a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"The name of the chat classification\",\r\n    \"description\" : \"The name of the description\",\r\n    \"form\" : \"The IRI of the form to use by this classification\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/chat_classifications/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["chat_classifications",":id"],"host":["https://me.hiperpbx.com/api"],"query":[{"disabled":true,"description":{"content":"<p>Search by organization id</p>\n","type":"text/plain"},"key":"organization.id","value":null}],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"74e13d89-6281-4622-a715-07a776dd91a5"}],"id":"b3e5f076-a2c2-4ac2-8d71-8d4a51d6fadb","_postman_id":"b3e5f076-a2c2-4ac2-8d71-8d4a51d6fadb","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Providers","item":[{"name":"Get chat providers","id":"78e93f03-82f3-4d08-88f6-fc4858d17d3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/chat-providers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["chat-providers"],"host":["https://me.hiperpbx.com/api"],"query":[{"disabled":true,"key":"organization.id","value":null}],"variable":[]}},"response":[],"_postman_id":"78e93f03-82f3-4d08-88f6-fc4858d17d3e"},{"name":"Create chat provider","id":"97967006-573b-4eed-837b-f5c094b1b812","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name of the provider\",\r\n    \"type\": \"Gupshup\",\r\n    \"appName\": \"\",\r\n    \"apiKey\": \"iyqycgrw608npyzllgbevaf8y1ltzine\",\r\n    \"appIgId\": \"\",\r\n    \"apiKeyIg\": \"\",\r\n    \"organization\": \"Id of the organization\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/chat-providers","description":"<p>This endpoint makes an HTTP POST request to https://me.hiperpbx.com/api/chat-providers/:id in order to add a new chat provider. The request should include the following parameters in the raw request body:</p>\n<h4 id=\"body-request\">Body request</h4>\n<ul>\n<li><p><strong>name</strong> (string): The name of the chat provider.</p>\n</li>\n<li><p><strong>type</strong> (string): The type of the chat provider. The allowed values for type are:</p>\n<ul>\n<li><p>gupshup</p>\n</li>\n<li><p>twilio</p>\n</li>\n<li><p>custom</p>\n</li>\n<li><p>hiperme</p>\n</li>\n</ul>\n</li>\n<li><p><strong>organization</strong> (string): The organization associated with the chat provider.</p>\n</li>\n</ul>\n<h4 id=\"additional-parameters-based-on-type\">Additional Parameters Based on Type</h4>\n<ul>\n<li><p><strong>gupshup</strong></p>\n<ul>\n<li><p><code>appName</code> (string): The application name.</p>\n</li>\n<li><p><code>apiKey</code> (string): The API key.</p>\n</li>\n<li><p><code>appIgId</code> (string): The application ID.</p>\n</li>\n<li><p><code>apiKeyIg</code> (string): The API key ID.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>twilio</strong></p>\n<ul>\n<li><p><code>accountSid</code> (string): The account SID.</p>\n</li>\n<li><p><code>authToken</code> (string): The authentication token.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>custom</strong></p>\n<ul>\n<li><code>webhook</code> (string): The webhook URL.</li>\n</ul>\n</li>\n<li><p><strong>hiperme</strong></p>\n<ul>\n<li>No additional parameters are required.</li>\n</ul>\n</li>\n</ul>\n<p>Upon a successful request, the response will contain the details of the newly added chat provider.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["chat-providers"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"97967006-573b-4eed-837b-f5c094b1b812"},{"name":"Edit chat provider","id":"662b8298-ca6d-435b-b083-8a2584dcb3ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name of the provider\",\r\n    \"type\": \"Gupshup\",\r\n    \"appName\": \"\",\r\n    \"apiKey\": \"\",\r\n    \"appIgId\": \"\",\r\n    \"apiKeyIg\": \"\",\r\n    \"organization\": \"Id of the organization\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/chat-providers/:id","description":"<p>This endpoint makes an HTTP POST request to https://me.hiperpbx.com/api/chat-providers/:id in order to add a new chat provider. The request should include the following parameters in the raw request body:</p>\n<ul>\n<li><p>name (string): The name of the chat provider.</p>\n</li>\n<li><p>type (string): The type of the chat provider.</p>\n</li>\n<li><p>appName (string): The name of the application.</p>\n</li>\n<li><p>apiKey (string): The API key for the chat provider.</p>\n</li>\n<li><p>appIgId (string): The Instagram ID of the application.</p>\n</li>\n<li><p>apiKeyIg (string): The Instagram API key.</p>\n</li>\n<li><p>accountSid (string): The account SID for authentication.</p>\n</li>\n<li><p>authToken (string): The authentication token.</p>\n</li>\n<li><p>webhook (string): The webhook URL for the chat provider.</p>\n</li>\n<li><p>organization (string): The organization associated with the chat provider.</p>\n</li>\n</ul>\n<p>Upon a successful request, the response will contain the details of the newly added chat provider.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["chat-providers",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"662b8298-ca6d-435b-b083-8a2584dcb3ac"},{"name":"Delete chat provider","id":"746dd027-1a45-4f2c-947b-1a99c6629bb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://me.hiperpbx.com/api/chat-providers/:id","description":"<p>This endpoint makes an HTTP POST request to https://me.hiperpbx.com/api/chat-providers/:id in order to add a new chat provider. The request should include the following parameters in the raw request body:</p>\n<ul>\n<li><p>name (string): The name of the chat provider.</p>\n</li>\n<li><p>type (string): The type of the chat provider.</p>\n</li>\n<li><p>appName (string): The name of the application.</p>\n</li>\n<li><p>apiKey (string): The API key for the chat provider.</p>\n</li>\n<li><p>appIgId (string): The Instagram ID of the application.</p>\n</li>\n<li><p>apiKeyIg (string): The Instagram API key.</p>\n</li>\n<li><p>accountSid (string): The account SID for authentication.</p>\n</li>\n<li><p>authToken (string): The authentication token.</p>\n</li>\n<li><p>webhook (string): The webhook URL for the chat provider.</p>\n</li>\n<li><p>organization (string): The organization associated with the chat provider.</p>\n</li>\n</ul>\n<p>Upon a successful request, the response will contain the details of the newly added chat provider.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["chat-providers",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"746dd027-1a45-4f2c-947b-1a99c6629bb4"}],"id":"46bf8088-cfae-4238-a35c-c8b3f7409cab","_postman_id":"46bf8088-cfae-4238-a35c-c8b3f7409cab","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Bots","item":[{"name":"Get bots","id":"5e65317d-50a1-497f-8b50-0a1a340a477d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/bots","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["bots"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e65317d-50a1-497f-8b50-0a1a340a477d"},{"name":"Edit bot","id":"fa715ec3-c97a-4977-90af-aaecb0e2e06d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"The name of the bot\",\r\n    \"type\": \"Type of the bot\",\r\n    \"organization\": \"The ID of the organization\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/bots/bot-platform/bot_52_676305bb925f8_1734542779","description":"<h3 id=\"edit-bot\">Edit bot</h3>\n<p><strong>Endpoint:</strong> <code>POST https://me.hiperpbx.com/api/bots/:id</code></p>\n<p>This endpoint allows update a bot. The request should include the following parameters in the raw request body:</p>\n<h4 id=\"parameters\">Parameters</h4>\n<ul>\n<li><p><strong>name</strong> (string): The name of the bot.</p>\n</li>\n<li><p><strong>type</strong> (string): The type of the bot. The allowed values for type are:</p>\n<ul>\n<li><p>LiveHelperChat</p>\n</li>\n<li><p>BotPlatform</p>\n</li>\n<li><p>Gupshup</p>\n</li>\n</ul>\n</li>\n<li><p><strong>organization</strong> (string): The organization to which the bot belongs.</p>\n</li>\n</ul>\n<h4 id=\"additional-parameters-based-on-type\">Additional Parameters Based on Type</h4>\n<ul>\n<li><p><strong>LiveHelperChat</strong></p>\n<ul>\n<li><p><code>url</code> (string): The URL for the LiveHelperChat instance.</p>\n</li>\n<li><p><code>username</code> (string): The username for authentication.</p>\n</li>\n<li><p><code>password</code> (string): The password for authentication.</p>\n</li>\n<li><p><code>dept_id</code> (string): The department ID associated with the bot.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>BotPlatform</strong></p>\n<ul>\n<li><code>bot_platform_id</code> (string): The ID of the bot platform.</li>\n</ul>\n</li>\n<li><p><strong>Gupshup</strong></p>\n<ul>\n<li><code>url</code> (string): The URL for the Gupshup instance.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request can be documented as a JSON schema, detailing the structure of the returned data</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["bots","bot-platform","bot_52_676305bb925f8_1734542779"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa715ec3-c97a-4977-90af-aaecb0e2e06d"},{"name":"Create bot","id":"61b91097-fe2b-4498-be8a-3be8cd68bd4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"The name of the bot\",\r\n    \"type\": \"Type of the bot\",\r\n    \"organization\": \"The ID of the organization\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/bots","description":"<h3 id=\"create-a-new-bot\">Create a new Bot</h3>\n<p><strong>Endpoint:</strong> <code>POST https://me.hiperpbx.com/api/bots</code></p>\n<p>This endpoint allows the creation of a new bot. The request should include the following parameters in the raw request body:</p>\n<h4 id=\"parameters\">Parameters</h4>\n<ul>\n<li><p><strong>name</strong> (string): The name of the bot.</p>\n</li>\n<li><p><strong>type</strong> (string): The type of the bot. The allowed values for type are:</p>\n<ul>\n<li><p>LiveHelperChat</p>\n</li>\n<li><p>BotPlatform</p>\n</li>\n<li><p>Gupshup</p>\n</li>\n</ul>\n</li>\n<li><p><strong>organization</strong> (string): The organization to which the bot belongs.</p>\n</li>\n</ul>\n<h4 id=\"additional-parameters-based-on-type\">Additional Parameters Based on Type</h4>\n<ul>\n<li><p><strong>LiveHelperChat</strong></p>\n<ul>\n<li><p><code>url</code> (string): The URL for the LiveHelperChat instance.</p>\n</li>\n<li><p><code>username</code> (string): The username for authentication.</p>\n</li>\n<li><p><code>password</code> (string): The password for authentication.</p>\n</li>\n<li><p><code>dept_id</code> (string): The department ID associated with the bot.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>BotPlatform</strong></p>\n<ul>\n<li><code>bot_platform_id</code> (string): The ID of the bot platform.</li>\n</ul>\n</li>\n<li><p><strong>Gupshup</strong></p>\n<ul>\n<li><code>url</code> (string): The URL for the Gupshup instance.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request can be documented as a JSON schema, detailing the structure of the returned data</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["bots"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"61b91097-fe2b-4498-be8a-3be8cd68bd4f"},{"name":"Set active/inactive bot","id":"13716575-6ad9-495a-a28f-8e8a1a2a2286","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"isActive\" : 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/bots/:id/toggle-active","description":"<p>This endpoint allows you to activate/deactivate an user</p>\n<p>This is the description of the body request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n<th>Type</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>isActive</td>\n<td>Status of the user</td>\n<td>Integer</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><p>Use 1 to active the user</p>\n<p>Use 0 to deactivate the user</p>\n","urlObject":{"path":["bots",":id","toggle-active"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"description":{"content":"<p>The bot id that you want to desactivate</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"13716575-6ad9-495a-a28f-8e8a1a2a2286"},{"name":"Delete bot","id":"ba12c9ed-983e-429f-96ca-f36681286794","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/bots/:id","description":"<h3 id=\"create-a-new-bot\">Create a new Bot</h3>\n<p><strong>Endpoint:</strong> <code>POST https://me.hiperpbx.com/api/bots</code></p>\n<p>This endpoint allows the creation of a new bot. The request should include the following parameters in the raw request body:</p>\n<h4 id=\"parameters\">Parameters</h4>\n<ul>\n<li><p><strong>name</strong> (string): The name of the bot.</p>\n</li>\n<li><p><strong>type</strong> (string): The type of the bot. The allowed values for type are:</p>\n<ul>\n<li><p>LiveHelperChat</p>\n</li>\n<li><p>BotPlatform</p>\n</li>\n<li><p>Gupshup</p>\n</li>\n</ul>\n</li>\n<li><p><strong>organization</strong> (string): The organization to which the bot belongs.</p>\n</li>\n</ul>\n<h4 id=\"additional-parameters-based-on-type\">Additional Parameters Based on Type</h4>\n<ul>\n<li><p><strong>LiveHelperChat</strong></p>\n<ul>\n<li><p><code>url</code> (string): The URL for the LiveHelperChat instance.</p>\n</li>\n<li><p><code>username</code> (string): The username for authentication.</p>\n</li>\n<li><p><code>password</code> (string): The password for authentication.</p>\n</li>\n<li><p><code>dept_id</code> (string): The department ID associated with the bot.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>BotPlatform</strong></p>\n<ul>\n<li><code>bot_platform_id</code> (string): The ID of the bot platform.</li>\n</ul>\n</li>\n<li><p><strong>Gupshup</strong></p>\n<ul>\n<li><code>url</code> (string): The URL for the Gupshup instance.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request can be documented as a JSON schema, detailing the structure of the returned data</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["bots",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"ba12c9ed-983e-429f-96ca-f36681286794"}],"id":"09552157-a3d6-44ad-bf38-a4db61653dfd","_postman_id":"09552157-a3d6-44ad-bf38-a4db61653dfd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Departments","item":[{"name":"Get departments","id":"4880bbcf-166e-49d8-9815-5ce9f80c87a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/departments?organization.id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["departments"],"host":["https://me.hiperpbx.com/api"],"query":[{"description":{"content":"<p>Search by organization id</p>\n","type":"text/plain"},"key":"organization.id","value":null}],"variable":[]}},"response":[],"_postman_id":"4880bbcf-166e-49d8-9815-5ce9f80c87a1"},{"name":"Create department","id":"4c824369-4521-46d2-962b-057facf9e78d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name of the department\",\r\n    \"chatProvider\": \"IRI of the Chat Provider\",\r\n    \"enableSysMsgClient\": 0,\r\n    \"showAgentName\": 1,\r\n    \"whatsappNumber\": \"Number of whatsapp\",\r\n    \"strategy\": \"Type of strategy\",\r\n    \"bot\": \"IRI of the Bot\",\r\n    \"botAutoStart\": 1,\r\n    \"showImageFromClient\": 1,\r\n    \"lang\": \"es\",\r\n    \"organization\": \"IRI of the Organization\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/departments","description":"<h1 id=\"create-department\">Create Department</h1>\n<p>This endpoint allows you to create a new department.</p>\n<h2 id=\"request-body\">Request Body</h2>\n<ul>\n<li><p><code>name</code> (string, required): The name of the department.</p>\n</li>\n<li><p><code>chatProvider</code> (string, required): The chat provider for the department.</p>\n</li>\n<li><p><code>enableSysMsgClient</code> (integer, required): Indicates whether system messages are enabled for the client.</p>\n</li>\n<li><p><code>showAgentName</code> (integer, required): Indicates whether the agent's name is shown.</p>\n</li>\n<li><p><code>whatsappNumber</code> (string, required): The WhatsApp number associated with the department.</p>\n</li>\n<li><p><code>strategy</code> (string, null, required): The strategy for the department. Values <code>secuencial</code>, <code>null</code></p>\n</li>\n<li><p><code>bot</code> (string, null, required): The bot associated with the department.</p>\n</li>\n<li><p><code>botAutoStart</code> (integer, required): Indicates whether the bot auto starts.</p>\n</li>\n<li><p><code>showImageFromClient</code> (integer, required): Indicates whether images from the client are shown.</p>\n</li>\n<li><p><code>lang</code> (string, required): The language setting for the department. Values: <code>es</code>, <code>en</code></p>\n</li>\n<li><p><code>organization</code> (string, required): The organization to which the department belongs.</p>\n</li>\n</ul>\n<h2 id=\"response-json-schema\">Response (JSON Schema)</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"message\": {\n      \"type\": \"string\"\n    },\n    \"data\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"departmentId\": {\n          \"type\": \"string\"\n        }\n      }\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["departments"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c824369-4521-46d2-962b-057facf9e78d"},{"name":"Edit department","id":"07735475-9305-48c7-8f98-751dacd34e74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name of the department\",\r\n    \"chatProvider\": \"IRI of the Chat Provider\",\r\n    \"enableSysMsgClient\": 0,\r\n    \"showAgentName\": 1,\r\n    \"whatsappNumber\": \"Number of whatsapp\",\r\n    \"strategy\": \"Type of strategy\",\r\n    \"bot\": \"IRI of the Bot\",\r\n    \"botAutoStart\": 1,\r\n    \"showImageFromClient\": 1,\r\n    \"lang\": \"es\",\r\n    \"organization\": \"IRI of the Organization\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/departments/:id","description":"<h1 id=\"update-department\">Update department</h1>\n<p>This endpoint allows you to update the department</p>\n<h2 id=\"request-body\">Request Body</h2>\n<ul>\n<li><p><code>name</code> (string, required): The name of the department.</p>\n</li>\n<li><p><code>chatProvider</code> (string, required): The chat provider for the department.</p>\n</li>\n<li><p><code>enableSysMsgClient</code> (integer, required): Indicates whether system messages are enabled for the client.</p>\n</li>\n<li><p><code>showAgentName</code> (integer, required): Indicates whether the agent's name is shown.</p>\n</li>\n<li><p><code>whatsappNumber</code> (string, required): The WhatsApp number associated with the department.</p>\n</li>\n<li><p><code>strategy</code> (string, null, required): The strategy for the department. Values <code>secuencial</code>, <code>null</code></p>\n</li>\n<li><p><code>bot</code> (string, null, required): The bot associated with the department.</p>\n</li>\n<li><p><code>botAutoStart</code> (integer, required): Indicates whether the bot auto starts.</p>\n</li>\n<li><p><code>showImageFromClient</code> (integer, required): Indicates whether images from the client are shown.</p>\n</li>\n<li><p><code>lang</code> (string, required): The language setting for the department. Values: <code>es</code>, <code>en</code></p>\n</li>\n<li><p><code>organization</code> (string, required): The organization to which the department belongs.</p>\n</li>\n</ul>\n<h2 id=\"response-json-schema\">Response (JSON Schema)</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"message\": {\n      \"type\": \"string\"\n    },\n    \"data\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"departmentId\": {\n          \"type\": \"string\"\n        }\n      }\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["departments",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"07735475-9305-48c7-8f98-751dacd34e74"},{"name":"Delete department","id":"df07ad38-15a9-45a4-8872-35d30b210c8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://me.hiperpbx.com/api/departments/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["departments",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"df07ad38-15a9-45a4-8872-35d30b210c8b"}],"id":"089c692a-842e-4b0d-963e-f55970e8bd22","_postman_id":"089c692a-842e-4b0d-963e-f55970e8bd22","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Chat dispositions","item":[{"name":"Get chat dispositions","id":"064891d2-5a94-4b14-9ab3-4f5d4a8ec5bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/chat_dispositions?organization.id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["chat_dispositions"],"host":["https://me.hiperpbx.com/api"],"query":[{"description":{"content":"<p>Search by organization id</p>\n","type":"text/plain"},"key":"organization.id","value":null}],"variable":[]}},"response":[],"_postman_id":"064891d2-5a94-4b14-9ab3-4f5d4a8ec5bf"},{"name":"Create chat disposition","id":"4aeb8579-08fb-47f9-bfc4-a986894f64d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name of the chat disposition\",\r\n    \"description\": \"Description of the chat disposition\",\r\n    \"color\": \"CSS Var name\",\r\n    \"organization\": \"IRI of the Organization\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/chat_dispositions","description":"<p>This endpoint allows the user to create a new chat disposition.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>name</code> (string, required): The name of the chat disposition.</p>\n</li>\n<li><p><code>description</code> (string, required): The description of the chat disposition.</p>\n</li>\n<li><p><code>color</code> (string, required): The name of the CSS variable name</p>\n</li>\n<li><p><code>organization</code> (string, required): The organization to which the chat disposition belongs.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is a JSON object conforming to the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"id\": {\n      \"type\": \"string\"\n    },\n    \"name\": {\n      \"type\": \"string\"\n    },\n    \"description\": {\n      \"type\": \"string\"\n    },\n    \"color\": {\n      \"type\": \"string\"\n    },\n    \"organization\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["chat_dispositions"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4aeb8579-08fb-47f9-bfc4-a986894f64d3"},{"name":"Update chat disposition","id":"5e5fd326-bf6e-482c-a1dc-32e1e1f705f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name of the chat disposition\",\r\n    \"description\": \"Description of the chat disposition\",\r\n    \"color\": \"CSS Var name\",\r\n    \"organization\": \"IRI of the Organization\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/chat_dispositions/:id","description":"<p>This endpoint allows the user to update a chat disposition.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>name</code> (string, required): The name of the chat disposition.</p>\n</li>\n<li><p><code>description</code> (string, required): The description of the chat disposition.</p>\n</li>\n<li><p><code>color</code> (string, required): The name of the CSS variable name</p>\n</li>\n<li><p><code>organization</code> (string, required): The organization to which the chat disposition belongs.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is a JSON object conforming to the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"id\": {\n      \"type\": \"string\"\n    },\n    \"name\": {\n      \"type\": \"string\"\n    },\n    \"description\": {\n      \"type\": \"string\"\n    },\n    \"color\": {\n      \"type\": \"string\"\n    },\n    \"organization\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["chat_dispositions",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"5e5fd326-bf6e-482c-a1dc-32e1e1f705f7"},{"name":"Delete chat disposition","id":"5292a3ba-9389-400d-9d58-8f12cde3185b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://me.hiperpbx.com/api/chat_dispositions/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"path":["chat_dispositions",":id"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"5292a3ba-9389-400d-9d58-8f12cde3185b"}],"id":"15abc7e8-78b8-4020-8e86-4b259f29bff9","_postman_id":"15abc7e8-78b8-4020-8e86-4b259f29bff9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Get chats in cache","id":"c919a486-9139-47d1-b4eb-32e9a07f579d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/cache-chats?organization_id=2","urlObject":{"path":["cache-chats"],"host":["https://me.hiperpbx.com/api"],"query":[{"description":{"content":"<p>(Required) Id ot the organization</p>\n","type":"text/plain"},"key":"organization_id","value":"2"},{"disabled":true,"description":{"content":"<p>(Optional) Search by phone</p>\n","type":"text/plain"},"key":"phone","value":null},{"disabled":true,"description":{"content":"<p>(Optional) Search by roomId</p>\n","type":"text/plain"},"key":"roomId","value":"4d3bc8ea-ab84-44bd-a422-2d28904e9c92"}],"variable":[]}},"response":[],"_postman_id":"c919a486-9139-47d1-b4eb-32e9a07f579d"}],"id":"7b6ba945-35fc-422c-a578-307ed452484b","_postman_id":"7b6ba945-35fc-422c-a578-307ed452484b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Customer","item":[{"name":"Get customers","id":"d81b6acc-8e39-46e9-b970-2c787d4f431e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/customers?organization=2","description":"<p>The response will be in JSON format with a status code of 200. It will contain an array of customer objects with the following properties:</p>\n<ul>\n<li><p>id (string): The unique identifier of the customer.</p>\n</li>\n<li><p>name (string): The first name of the customer.</p>\n</li>\n<li><p>lastname (string): The last name of the customer.</p>\n</li>\n<li><p>phone (string): The phone number of the customer.</p>\n</li>\n<li><p>wa_phone (string): The WhatsApp phone number of the customer.</p>\n</li>\n<li><p>email (string): The email address of the customer.</p>\n</li>\n<li><p>business (string): The business associated with the customer.</p>\n</li>\n<li><p>department (string): The department associated with the customer.</p>\n</li>\n<li><p>country (string): The country of the customer.</p>\n</li>\n<li><p>createdAt (string): The timestamp of when the customer was created.</p>\n</li>\n<li><p>updatedAt (string): The timestamp of when the customer was last updated.</p>\n</li>\n<li><p>organization (number): The ID of the organization to which the customer belongs.</p>\n</li>\n</ul>\n<p>Additionally, the response includes:</p>\n<ul>\n<li>lastDocument (string): Information about the last document related to the customers.</li>\n</ul>\n<p>By default, the API returns 30 items per page. To retrieve the next page, you must include the value of <code>lastDocument</code> returned in the previous response as a query parameter in the request for the next page.</p>\n","urlObject":{"path":["customers"],"host":["https://me.hiperpbx.com/api"],"query":[{"description":{"content":"<p>The id of the organization (Required)</p>\n","type":"text/plain"},"key":"organization","value":"2"},{"disabled":true,"description":{"content":"<p>The name or the property to search (Optional)</p>\n","type":"text/plain"},"key":"property","value":"email"},{"disabled":true,"description":{"content":"<p>The value of the property to search (Required when property is present)</p>\n","type":"text/plain"},"key":"value","value":"jane.doe@example.com"},{"disabled":true,"description":{"content":"<p>The value of the property \"lastDocument\" of the request</p>\n","type":"text/plain"},"key":"lastDoc","value":"ulP3YwK1pCYO6aZpCqfI"}],"variable":[]}},"response":[],"_postman_id":"d81b6acc-8e39-46e9-b970-2c787d4f431e"},{"name":"Create customer","id":"b386e399-c15e-4f1e-a706-a9fe60f66e94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Jane\",\r\n    \"lastname\": \"Doe\",\r\n    \"phone\": \"12345\",\r\n    \"wa_phone\": \"\",\r\n    \"email\": \"jane.doe@example.com\",\r\n    \"business\": \"\",\r\n    \"department\": \"\",\r\n    \"country\": null,\r\n    \"organization\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/customers","description":"<h3 id=\"create-new-customer\">Create New Customer</h3>\n<p>This endpoint allows you to create a new customer.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>name</code> (string, required): The first name of the customer.</p>\n</li>\n<li><p><code>lastname</code> (string, required): The last name of the customer.</p>\n</li>\n<li><p><code>phone</code> (string, required): The customer's phone number.</p>\n</li>\n<li><p><code>wa_phone</code> (string, optional): The customer's WhatsApp phone number.</p>\n</li>\n<li><p><code>email</code> (string, optional): The customer's email address.</p>\n</li>\n<li><p><code>business</code> (string, optional): The customer's business name.</p>\n</li>\n<li><p><code>department</code> (string, optional): The department of the customer.</p>\n</li>\n<li><p><code>country</code> (string, optional): The country of the customer.</p>\n</li>\n<li><p><code>organization</code> (number, required): The organization ID of the customer.</p>\n</li>\n</ul>\n","urlObject":{"path":["customers"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b386e399-c15e-4f1e-a706-a9fe60f66e94"},{"name":"Get customer by id","id":"e39f99f5-6fd3-440e-8b45-8fcb38f2c7bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/customers/:customerId?organization=2","urlObject":{"path":["customers",":customerId"],"host":["https://me.hiperpbx.com/api"],"query":[{"key":"organization","value":"2"}],"variable":[{"type":"any","value":"","key":"customerId"}]}},"response":[],"_postman_id":"e39f99f5-6fd3-440e-8b45-8fcb38f2c7bb"},{"name":"Update customer by id","id":"77851aab-f97c-4203-a654-e4792ce0460b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"John\",\r\n    \"lastname\": \"Doe\",\r\n    \"phone\": \"1234\",\r\n    \"wa_phone\": \"1234\",\r\n    \"email\": \"\",\r\n    \"business\": \"\",\r\n    \"department\": \"\",\r\n    \"country\": \"\",\r\n    \"organization\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/customers/:customerId?organization=2","urlObject":{"path":["customers",":customerId"],"host":["https://me.hiperpbx.com/api"],"query":[{"key":"organization","value":"2"}],"variable":[{"type":"any","value":"","key":"customerId"}]}},"response":[],"_postman_id":"77851aab-f97c-4203-a654-e4792ce0460b"},{"name":"Update/create new property in customer","id":"3f16d613-f275-4358-a839-c2dc5f1e44d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n   \"value\" : \"no_puede_hacer_nada\",\r\n   \"key\"  : \"email\",\r\n   \"label\" : \"no_puede_hacer_nada\",\r\n   \"deletable\" : false,\r\n   \"editable\" : false,\r\n   \"searchable\" :false\r\n} ","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/customers/:customerId?organization=2","description":"<h3 id=\"update-customer-details\">Update Customer Details</h3>\n<p>This endpoint allows you to update/create the details of a specific customer for a given organization.</p>\n<p>The body of the request should include an array of data with the following keys:</p>\n<ul>\n<li><p><strong><code>key</code></strong> <strong>(string, required):</strong><br />  The unique identifier for the property being edited or added. This key is used to find the matching property in the customer data.</p>\n</li>\n<li><p><strong><code>value</code></strong> <strong>(mixed, required):</strong><br />  The value to be assigned to the property. This can be any data type depending on the context of the property.</p>\n</li>\n<li><p><strong><code>label</code></strong> <strong>(string, optional):</strong><br />  A descriptive text label for the property. If not provided, the existing label will be used (if updating) or an empty string will be assigned.</p>\n</li>\n<li><p><strong><code>editable</code></strong> <strong>(boolean, optional):</strong><br />  Indicates whether the property is editable by the user. If not provided, the existing value will be retained (if updating) or <code>false</code> will be assigned by default.</p>\n</li>\n<li><p><strong><code>deletable</code></strong> <strong>(boolean, optional):</strong><br />  Indicates whether the property can be deleted. If not provided, the existing value will be retained (if updating) or <code>false</code> will be assigned by default.</p>\n</li>\n<li><p><strong><code>searchable</code></strong> <strong>(boolean, optional):</strong><br />  Indicates whether the property is searchable. If not provided, the existing value will be retained (if updating) or <code>false</code> will be assigned by default.</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"key\": \"email\",\n  \"value\": \"example@example.com\",\n  \"label\": \"Primary Email\",\n  \"editable\": true,\n  \"deletable\": false,\n  \"searchable\": true\n}\n</code></pre>\n","urlObject":{"path":["customers",":customerId"],"host":["https://me.hiperpbx.com/api"],"query":[{"description":{"content":"<p>The id of the organization</p>\n","type":"text/plain"},"key":"organization","value":"2"}],"variable":[{"description":{"content":"<p>The id of the Customer</p>\n","type":"text/plain"},"type":"any","value":"9e39154915e24753866b","key":"customerId"}]}},"response":[],"_postman_id":"3f16d613-f275-4358-a839-c2dc5f1e44d1"},{"name":"Delete customer","id":"acd94c4e-6c1e-4498-afe7-fb51b931b93f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/customers/:customerId?organization=2","urlObject":{"path":["customers",":customerId"],"host":["https://me.hiperpbx.com/api"],"query":[{"key":"organization","value":"2"}],"variable":[{"type":"any","value":"","key":"customerId"}]}},"response":[],"_postman_id":"acd94c4e-6c1e-4498-afe7-fb51b931b93f"},{"name":"Add chat to customer","id":"d0435d42-c48e-47c2-b073-c9b8f8d736fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"chatId\": \"00cc1e8c-a5be-4284-852c-1543e98f54dt\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/customers/:customerId/chats?organization=0","urlObject":{"path":["customers",":customerId","chats"],"host":["https://me.hiperpbx.com/api"],"query":[{"key":"organization","value":"0"}],"variable":[{"description":{"content":"<p>The id of the customer</p>\n","type":"text/plain"},"type":"any","value":"","key":"customerId"}]}},"response":[],"_postman_id":"d0435d42-c48e-47c2-b073-c9b8f8d736fd"}],"id":"bd1de440-198c-4690-8213-387b24b04224","_postman_id":"bd1de440-198c-4690-8213-387b24b04224","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Agent Console","item":[{"name":"Get breaks","id":"9785cb1a-7900-4431-a066-b6eca32fde69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/agent-console/breaks","urlObject":{"path":["agent-console","breaks"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9785cb1a-7900-4431-a066-b6eca32fde69"},{"name":"Login action","id":"410bf177-8664-42c5-bb0a-1e9c17d20882","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"url":"https://me.hiperpbx.com/api/agent-console/login","urlObject":{"path":["agent-console","login"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"410bf177-8664-42c5-bb0a-1e9c17d20882"},{"name":"Logout action","id":"60d9297b-8bb4-419a-bc0c-ef61e2e03fcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"url":"https://me.hiperpbx.com/api/agent-console/logout","urlObject":{"path":["agent-console","logout"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"60d9297b-8bb4-419a-bc0c-ef61e2e03fcb"},{"name":"Break","id":"e7f1b505-03a6-42a7-8606-9bc3ed9eba77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\" : 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/agent-console/break","urlObject":{"path":["agent-console","break"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e7f1b505-03a6-42a7-8606-9bc3ed9eba77"},{"name":"Unbreak","id":"6b348272-a0ae-48d7-8c51-b51dc41f1c8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"url":"https://me.hiperpbx.com/api/agent-console/unbreak","urlObject":{"path":["agent-console","unbreak"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b348272-a0ae-48d7-8c51-b51dc41f1c8d"}],"id":"8e76da82-99ca-4bc4-a3ef-1cd0c56a6a3b","_postman_id":"8e76da82-99ca-4bc4-a3ef-1cd0c56a6a3b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Media Servers","item":[{"name":"Sessions","item":[{"name":"Store session","id":"e31f567a-b86f-45ae-a582-b6b98385f17f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}},"urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"e31f567a-b86f-45ae-a582-b6b98385f17f"}],"id":"ccb8af6b-c043-4570-8105-80e0c40ed38e","_postman_id":"ccb8af6b-c043-4570-8105-80e0c40ed38e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}}],"id":"c7091ccb-8a5c-4604-9408-e3e6e31483fc","_postman_id":"c7091ccb-8a5c-4604-9408-e3e6e31483fc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","id":"c70ef614-bd43-4167-8d28-3a3fcb5a0162","name":"HiperMe Rest API","type":"collection"}}},{"name":"Notification","event":[{"listen":"test","script":{"id":"e835c780-954e-45ea-a0da-d0f79f7040d3","exec":["if (pm.response.json().token) {\r","    pm.environment.set(\"hiperme_token\", pm.response.json().token);\r","}"],"type":"text/javascript"}}],"id":"d18a8ac9-3de3-4bf4-ac20-1a925e03e736","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"organizationId\" : 2,\r\n    \"numberCalled\" : 100,\r\n    \"extensionCalling\" : 500\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/notification","urlObject":{"path":["notification"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"4f02bb46-6ec0-44d8-ac73-693786dce5ae","name":"Do Login (Success)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\" : \"john.doe@example.com\",\r\n    \"password\" : \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/login_check"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 12:17:21 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 12:17:21 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Set-Cookie","value":"PHPSESSID=5jv7h0hssnkv6pd14e7r9ejfd4; path=/; HttpOnly"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"5ea7a5"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/5ea7a5"},{"key":"Expires","value":"Tue, 24 Nov 2020 12:17:21 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE2MDYyMjAyNDEsImV4cCI6MTYwNjIyMzg0MSwicm9sZXMiOlsiUk9MRV9BRE1JTiJdLCJlbWFpbCI6ImdhYnJpZWwuYm9udmlzc3V0b0BoaXBlcnBieC5jb20ifQ.P_YbQgCIqSBfIp5Gn5Q6-eH7ARQr2iGGOOiG0T5OZSyktX79Gty-TUFItVznJ7O1_vY2pB9sBxAiR4EK7i3FNFu_nLKQA-fE825S5IhlmXb9Xa4f0PpWXMFvRVb1DIEKenx789zT4w1t6Ie8uvM6npPGgcyVRuxPVoh-PWH3ruYvlS_pLcI95rpvMVkwAk199gJWKJeMrtanF9Y8GVS5PIOecitGH11sEDwr8slVCYp98c2OVfbv3GWg3J1fwEhGj-NR6cbiw7YDkw70hd-8YIfwQeSMvgxbHrvObx7Rz1faOpdcjlk0uzr2m9a7zSgG3QBimyyMgHHezz1Y4LSZ_uMdIByrLL3U7mtEJBBADre6s_D08L7sNZ0VFXe9LzdmNsZLd5a5ZZzfYKzJXIdF8LYapSD6DhfQoPpXgMGLgtmy1VBDLmGqSkYhq00E2IVVCoDshSbxIvB50E_Kom0s2ZnOeBTOjj1Ciui7OBM4l4euy2gltq9QxUeDiB46fLlkDBb4Hn9r1eYFyiytIBigfWWJaulTTY_-5fOSaasipLNfqyxLEni8g213SJ_HWdLkU-vyyj4MBf_K1ogJnaOEyGW5vpx2RW1gEg_1o1uMZ3phEGzlA7dVoArOVavTBHB_OkbVfxJH5UokruqnF2Mw3fTZZlPPP9yR7gmZHflXPo8\"\n}"},{"id":"3d61c774-32cf-4915-b512-ed8b35edbddc","name":"Do Login (Invalid credentials)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\" : \"\",\r\n    \"password\" : \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://me.hiperpbx.com/api/login_check"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 12:12:52 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 12:12:52 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"WWW-Authenticate","value":"Bearer"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Debug-Token","value":"122826"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/122826"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 401,\n    \"message\": \"Invalid credentials.\"\n}"}],"_postman_id":"d18a8ac9-3de3-4bf4-ac20-1a925e03e736"},{"name":"Get RSS","id":"234b7c4e-2201-4587-9f01-ffd36230e720","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/rss-feed","urlObject":{"path":["rss-feed"],"host":["https://me.hiperpbx.com/api"],"query":[],"variable":[]}},"response":[{"id":"2c3aef37-e7fa-49fe-bdfd-c71ae8c3d95e","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/extensions"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 24 Nov 2020 18:30:36 GMT"},{"key":"Date","value":"Tue, 24 Nov 2020 18:30:36 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.10"},{"key":"Content-Type","value":"application/ld+json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"deny"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Link","value":"<http://localhost:8000/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"ETag","value":"\"900f3d364102ee210d1462a6c5f19f20\""},{"key":"X-Debug-Token","value":"947ea6"},{"key":"X-Debug-Token-Link","value":"http://localhost:8000/_profiler/947ea6"},{"key":"Expires","value":"Tue, 24 Nov 2020 18:30:36 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"@context\": \"/api/contexts/Extension\",\n    \"@id\": \"/api/extensions\",\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"@id\": \"/api/extensions/1\",\n            \"@type\": \"Extension\",\n            \"id\": 1,\n            \"extension\": \"100\",\n            \"name\": \"Agente\",\n            \"secret\": \"Q1w2e3r4t5$\",\n            \"used\": \"true\",\n            \"organization\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX\",\n                \"logo\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": null,\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"pbxDomainAlt\": \"192.196.1.38:5060\",\n                \"dataSetAlt\": \"hiperpbx_1604924857\",\n                \"restApiAddressAlt\": \"http://192.168.1.38:8081\",\n                \"recordingUrlAlt\": null,\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"mediaServers\": [\n                    {\n                        \"@id\": \"/api/media_servers/1\",\n                        \"@type\": \"MediaServer\"\n                    }\n                ]\n            }\n        },\n        {\n            \"@id\": \"/api/extensions/2\",\n            \"@type\": \"Extension\",\n            \"id\": 2,\n            \"extension\": \"101\",\n            \"name\": \"Agente\",\n            \"secret\": \"Q1w2e3r4t5$\",\n            \"used\": \"true\",\n            \"organization\": {\n                \"@id\": \"/api/organizations/2\",\n                \"@type\": \"Organization\",\n                \"id\": 2,\n                \"name\": \"HiperPBX\",\n                \"logo\": null,\n                \"theme\": \"/api/themes/1\",\n                \"domain\": null,\n                \"sessions\": 10,\n                \"agentSessions\": 10,\n                \"osticket\": null,\n                \"LiveHelperChat\": null,\n                \"status\": null,\n                \"firebase\": \"/api/firebases/1\",\n                \"pbxDomainAlt\": \"192.196.1.38:5060\",\n                \"dataSetAlt\": \"hiperpbx_1604924857\",\n                \"restApiAddressAlt\": \"http://192.168.1.38:8081\",\n                \"recordingUrlAlt\": null,\n                \"mediaServerAlt\": \"/api/media_servers/1\",\n                \"mediaServers\": [\n                    {\n                        \"@id\": \"/api/media_servers/1\",\n                        \"@type\": \"MediaServer\"\n                    }\n                ]\n            }\n        }\n    ],\n    \"hydra:totalItems\": 2\n}"}],"_postman_id":"234b7c4e-2201-4587-9f01-ffd36230e720"},{"name":"Get user last loggin","id":"0b948c0f-7555-4024-976d-eb1effe9cd38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://me.hiperpbx.com/api/reports/get-percentage-of-users-logged?from=2022-06-02&to=2022-06-09","urlObject":{"path":["reports","get-percentage-of-users-logged"],"host":["https://me.hiperpbx.com/api"],"query":[{"key":"from","value":"2022-06-02"},{"key":"to","value":"2022-06-09"},{"disabled":true,"key":"organization_id","value":"2"}],"variable":[]}},"response":[],"_postman_id":"0b948c0f-7555-4024-976d-eb1effe9cd38"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"f1d765eb-bce2-42a6-8b19-489a2fe9d3a2","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"4b87ebbe-e9a8-4e6e-b351-677e4aa57818","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"hiperme_url","value":"https://me.hiperpbx.com/api"},{"key":"username","value":"john.doe@example.com"},{"key":"password","value":"example"},{"key":"hiperme_token","value":""}]}