{"info":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","description":"<html><head></head><body><p>Conheça os blocos de aplicação e entenda o seu funcionamento para começar a construir aplicações conectadas.</p>\n<h2 id=\"conceitos\">Conceitos</h2>\n<p>Existem alguns conceitos que são comuns para todas as APIs disponibilizadas pela plataforma:</p>\n<ul>\n<li><p><strong>Autenticação</strong> - Camada de segurança que possibilita o uso e acesso aos serviços das APIs.</p>\n</li>\n<li><p><strong>Blocos de aplicação</strong> - Serviço fornecido por um dos blocos.</p>\n</li>\n<li><p><strong>Webhooks</strong> - A API digivox.dev pode enviar informações para o serviço.</p>\n</li>\n</ul>\n<h2 id=\"produtos\">Produtos</h2>\n<p>A documentação de uso das APIs está organizada por linha de produto. Cada sessão de produto disponibilizamos o seguinte tipo de documentação:</p>\n<ul>\n<li><p><strong>Apresentação</strong> - Principais funcionalidades do produto.</p>\n</li>\n<li><p><strong>Documentação da API</strong> - Documentação de uso da API com trechos de códigos de exemplo em algumas liguagens de mercado.</p>\n</li>\n<li><p><strong>Casos de uso</strong> - Apresentação de alguns casos de uso para cada funcionalidade da API.</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5934202","collectionId":"7fef51e1-cada-481d-8be5-8b651972da48","publishedId":"2sAXjRV9TK","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-09-06T19:09:18.000Z"},"item":[{"name":"Autenticação","item":[{"name":"Authorization","item":[{"name":"Autenticação usando OAuth2","event":[{"listen":"test","script":{"id":"4c2e0fcd-aa4a-45b5-b711-b60722e12f18","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"9aaf78ee-db2e-4599-9aaa-294e77d41129","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"<p>(Required) Tipo de autenticação. Valores: password</p>\n","type":"text"},{"key":"client_id","value":"{{clientId}}","description":"<p>(Required) ID do cliente que dever ser gerado através da plataforma.</p>\n","type":"text"},{"key":"client_secret","value":"{{clientSecret}}","description":"<p>(Required) Senha gerada juntamente com o ID do cliente.</p>\n","type":"text"},{"key":"username","value":"{{username}}","description":"<p>(Required) Usuário válido existente na plataforma com perfil de acesso às funcionalidades da API</p>\n","type":"text"},{"key":"password","value":"{{password}}","description":"<p>(Required) Senha do usuário</p>\n","type":"text"}]},"url":"{{basePath}}/oauth2/authorize","description":"<p>Todos os apps que utilizam a API precisam se autenticar antes da execução dos comandos.</p>\n","urlObject":{"path":["oauth2","authorize"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"320d84c2-90ad-4112-91cd-b867546d8769","name":"Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"(Required) Tipo de autenticação. Valores: password","type":"text"},{"key":"client_id","value":"{{clientId}}","description":"(Required) ID do cliente que dever ser gerado através da plataforma.","type":"text"},{"key":"client_secret","value":"{{clientSecret}}","description":"(Required) Senha gerada juntamente com o ID do cliente.","type":"text"},{"key":"username","value":"{{username}}","description":"(Required) Usuário válido existente na plataforma com perfil de acesso às funcionalidades da API","type":"text"},{"key":"password","value":"{{password}}","description":"(Required) Senha do usuário","type":"text","disabled":true}]},"url":"{{basePath}}/oauth2/authorize"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n\t\"error\": \"invalid_request\",\n    \"error_description\": \"invalid_request, Missing parameters: password\"\n}"},{"id":"bb42843d-8554-47af-a8a2-83528960db3b","name":"Invalid Credentials","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"(Required) Grant type","type":"text"},{"key":"client_id","value":"{{clientId}}","description":"(Required) The ID of the client who is going to authenticate","type":"text"},{"key":"client_secret","value":"{{clientSecret}}","description":"(Required) Secret","type":"text"},{"key":"username","value":"{{username}}","description":"(Required) Username","type":"text"},{"key":"password","value":"invalidPassword","description":"(Required) Password","type":"text"}]},"url":"{{basePath}}/oauth2/authorize"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"84"},{"key":"Date","value":"Fri, 19 Apr 2019 16:14:45 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_description\": \"User credentials are not valid\",\n    \"error\": \"unauthorized_client\"\n}"},{"id":"dd9056a8-c221-4b47-b855-97f6dc0ee758","name":"Successfull Authentication","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"(Required) Grant type","type":"text"},{"key":"client_id","value":"{{clientId}}","description":"(Required) The ID of the client who is going to authenticate","type":"text"},{"key":"client_secret","value":"{{clientSecret}}","description":"(Required) Secret","type":"text"},{"key":"username","value":"{{username}}","description":"(Required) Username","type":"text"},{"key":"password","value":"{{password}}","description":"(Required) Password","type":"text"}]},"url":"{{basePath}}/oauth2/authorize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"160"},{"key":"Date","value":"Fri, 19 Apr 2019 15:48:27 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"8c0a90065ba094fbf4d7bf2f01312d6e\",\n    \"user_id\": \"b4431a87-da6d-015f-78d7-cb37c656274d\",\n    \"user_name\": \"John Doe\",\n    \"expires_in\": 3600\n}"}],"_postman_id":"9aaf78ee-db2e-4599-9aaa-294e77d41129"}],"id":"5519a540-67b8-469f-8113-0510b77d8b3c","description":"<p>Todos os requests para a REST API são protegidos utilizando HTTP Bearer authentication. Antes de executar qualquer request para a API é necessário que você faça uma autenticação para receber um token de acesso que deve ser adicionado como cabeçalho HTTP de todas as requisições, no formato \"Authorization: Bearer ACCESS_TOKEN\". O Token possui um prazo de validade e deve ser renovado sempre que expirar.</p>\n","event":[{"listen":"prerequest","script":{"id":"ec91297e-1386-4f1c-9dc4-9e60f5ea310b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"344a37e0-1c31-4e90-8be3-45df2b779238","type":"text/javascript","exec":[""]}}],"_postman_id":"5519a540-67b8-469f-8113-0510b77d8b3c","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Account Settings","item":[{"name":"Recuperar configurações de login Voz e Chat","id":"6f475ed7-ca21-491e-801a-87c62865aca4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/account/settings","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["account","settings"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"c7024b3b-2bcc-4d7b-b541-32817c8fd7f5","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{basePath}}/account/settings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Mon, 22 Apr 2019 14:59:33 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"video\": \"YES\",\n    \"chat\": \"YES\",\n    \"sipDomain\": \"labdev.digivox.com.br\",\n    \"sipPort\": 5060,\n    \"sipUser\": \"2000\",\n    \"sipPw\": \"123456\",\n    \"transferProtocol\": \"udp\",\n    \"sipRegistration\": \"YES\",\n    \"proxy\": \"\",\n    \"audioCodecOrder\": [\n        \"opus\",\n        \"g729\",\n        \"g722\",\n        \"g711u_law\",\n        \"g711a_law\"\n    ],\n    \"videoCodecOrder\": [\n        \"VP8\",\n        \"H264\"\n    ],\n    \"stunServer\": \"stun.l.google.com:19302\",\n    \"usePublicIp\": \"YES\",\n    \"sendKeepAlives\": \"YES\",\n    \"keepalivePeriod\": 2000,\n    \"xmppDomain\": \"labdev.digivox.com.br\",\n    \"xmppPort\": 5222,\n    \"xmppUser\": \"2000\",\n    \"xmppPw\": \"123456\",\n    \"sipTransportProtocol\": \"udp\",\n    \"sipIgnoreTlsCertificate\": \"YES\",\n    \"xmppTransportProtocol\": \"tcp\",\n    \"xmppIgnoreTlsCertificate\": \"YES\",\n    \"voicemail\": \"\"\n}"}],"_postman_id":"6f475ed7-ca21-491e-801a-87c62865aca4"},{"name":"Recuperar a senha do usuário autenticado","id":"c900bd74-654d-4c7a-98af-a21a799f1555","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/account/password/recovery","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["account","password","recovery"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"6a5fff44-f41e-4162-93f0-db36f68f03f6","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{basePath}}/account/password/recovery"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"0"},{"key":"Date","value":"Thu, 20 Jun 2019 18:29:27 GMT"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c900bd74-654d-4c7a-98af-a21a799f1555"},{"name":"Recuperar a senha de um usuário por login","id":"64d62c9a-8885-4fea-9a1b-6c0c3d9ffa74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/account/password/recovery/{{account_email}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["account","password","recovery","{{account_email}}"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"9aaafefe-2b68-4221-a1f9-bf9ff526a39f","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{basePath}}/account/password/recovery/{{account_email}}"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"0"},{"key":"Date","value":"Thu, 20 Jun 2019 18:27:03 GMT"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"64d62c9a-8885-4fea-9a1b-6c0c3d9ffa74"},{"name":"Atualizar a senha do usuário","id":"3b029b3e-09ca-4841-8f65-5d10bb4ebc53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"token\": \"751779b7-0df0-49b7-b89d-a245edb345f8\",\n  \"password\": \"digivox\"\n}"},"url":"{{basePath}}/account/password","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["account","password"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b029b3e-09ca-4841-8f65-5d10bb4ebc53"},{"name":"Atualizar dados do usuário","id":"4035d31f-f0f5-4eed-a5f7-2dedf6cb4025","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Marcel\",\n  \"nickname\": \"marcel\",\n  \"email\": \"marcel@me.com\"\n}"},"url":"{{basePath}}/account/user-data","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["account","user-data"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4035d31f-f0f5-4eed-a5f7-2dedf6cb4025"}],"id":"0d377f89-1939-4564-99ce-2baa7164a2d4","description":"<p>As configurações de conta para autenticação das funcionalidades de voz e chat são recuperadas através do comando Account Settings. Os dados retornados são utilizados para fazer o provisionamento das aplicações, habilitando e desabilitando funcionalidades de acordo com o licenciamento contratado e com as funcionalidades habilitadas na Plataforma. Deve ser utilizado em aplicações que possuem o SDK de Voz, video e chat sempre que o usuário logar na aplicação.</p>\n","event":[{"listen":"prerequest","script":{"id":"8dd36d1d-fc48-4fa5-9d2c-2a91ecdeda06","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"96e634ff-f183-4bda-ac00-dea5b5b7043f","type":"text/javascript","exec":[""]}}],"_postman_id":"0d377f89-1939-4564-99ce-2baa7164a2d4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"App Settings","item":[{"name":"Recuperar todas as configurações dos devices do usuário autenticado","id":"762af214-e978-48e8-b42c-2183f605ec54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/app/settings","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["app","settings"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"be41fe57-4eae-4163-8ce1-f7942998a710","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{basePath}}/app/settings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Mon, 15 Jul 2019 19:24:07 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"deviceId\": \"123\",\n        \"deviceDescription\": \"iPhone X\",\n        \"data\": \"configA=true;configB=false\"\n    },\n    {\n        \"deviceId\": \"456\",\n        \"deviceDescription\": \"iPhone XR\",\n        \"data\": \"configA=true;configB=true\"\n    }\n]"}],"_postman_id":"762af214-e978-48e8-b42c-2183f605ec54"},{"name":"Atualizar configurações de um dispositivo","id":"0bc3ff48-1ca1-4e48-8652-26030f2bbaf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"deviceDescription\": \"iPhone X\",\n  \"data\": \"configA=true;configB=false\"\n}"},"url":"{{basePath}}/app/settings/{{app_settings_deviceId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["app","settings","{{app_settings_deviceId}}"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0bc3ff48-1ca1-4e48-8652-26030f2bbaf6"},{"name":"Remove a configuração de um device","id":"b93791e5-e831-4d6a-8a04-2787b04a572e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{basePath}}/app/settings/{{app_settings_deviceId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["app","settings","{{app_settings_deviceId}}"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b93791e5-e831-4d6a-8a04-2787b04a572e"},{"name":"Recupera as configurações de um device","id":"2387db95-a403-4b58-ae23-2108ca0f43bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/app/settings/{{app_settings_deviceId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["app","settings","{{app_settings_deviceId}}"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"eee6336d-3388-41df-83ef-c4378b225874","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{basePath}}/app/settings/{{app_settings_deviceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Mon, 15 Jul 2019 19:25:11 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"deviceId\": \"123\",\n    \"deviceDescription\": \"iPhone X\",\n    \"data\": \"configA=true;configB=false\"\n}"}],"_postman_id":"2387db95-a403-4b58-ae23-2108ca0f43bf"}],"id":"5d2376b0-9ff6-4444-b656-60a3be31a273","_postman_id":"5d2376b0-9ff6-4444-b656-60a3be31a273","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Push Notifications","item":[{"name":"Recuperar dados de push notifications dos devices do usuário","id":"f710b583-e5b4-4d34-9adc-9c4e649a6971","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/push-notifications/settings","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["push-notifications","settings"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"882f88a3-21d4-4e6d-b4c3-d1807b827f2c","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{basePath}}/push-notifications/settings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 16 Jul 2019 18:27:28 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"token\": \"1188f67d48c9f11afb8572977ef74c5e\",\n        \"deviceId\": \"123\",\n        \"deviceDescription\": \"iPhone X\"\n    }\n]"}],"_postman_id":"f710b583-e5b4-4d34-9adc-9c4e649a6971"},{"name":"Adicionar/atualizar configurações de push notifications de um device","id":"0d8783c4-1d4e-4f7e-a812-7d81476b6bd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"apnsToken\": \"80fdacf12cfe945db54b31f95a93ef9edf49aae895229ae70e3dfa49a70cc88f0543c1e3380ff790de744afb24c95435f8eed8345087b41a6cc00a22971fc33a0a843ec2ed2f32bc08fb02ed3e04290f\", \"deviceDescription\": \"iPhone 16 Pro\", \"token\": \"cSXkjPQIIEF4pvCGzOgSNT:APA91bHEDrZXc0mcLOCG0qtls7rZID5r9pfWzm9qeNNJRssnReyXkrABDU8yfIh4tBNP5HOKIdoNqyRCihLS1QjBhD-17qtBXCoWVK0KRLcI4g55E2tHu0E\"}\n "},"url":"{{basePath}}push-notifications/settings/5FF8DE88-F2A5-43A7-A320-3979373F4518","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["settings","5FF8DE88-F2A5-43A7-A320-3979373F4518"],"host":["{{basePath}}push-notifications"],"query":[],"variable":[]}},"response":[],"_postman_id":"0d8783c4-1d4e-4f7e-a812-7d81476b6bd8"},{"name":"Recuperar configurações de push notifications de um device","id":"644f31b7-b757-4994-9735-16b95a9d03fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/push-notifications/settings/{{push_notifications_settings_deviceId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["push-notifications","settings","{{push_notifications_settings_deviceId}}"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"502b0df5-0af3-44de-88b6-d8533677c447","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{basePath}}/push-notifications/settings/{{push_notifications_settings_deviceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 16 Jul 2019 18:27:02 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"1188f67d48c9f11afb8572977ef74c5e\",\n    \"deviceId\": \"123\",\n    \"deviceDescription\": \"iPhone X\"\n}"}],"_postman_id":"644f31b7-b757-4994-9735-16b95a9d03fc"},{"name":"Remover configurações de push notifications de um device","id":"1ab915cf-90a8-4ad9-8cc6-8cf84ffe079d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{basePath}}/push-notifications/settings/{{push_notifications_settings_deviceId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["push-notifications","settings","{{push_notifications_settings_deviceId}}"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ab915cf-90a8-4ad9-8cc6-8cf84ffe079d"}],"id":"12b50a9a-092b-48d4-b434-e30556a94842","_postman_id":"12b50a9a-092b-48d4-b434-e30556a94842","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}}],"id":"8a9908dc-c86a-42b7-9bd0-a7786d128543","description":"<p>A digivox.dev API utiliza método de autenticação baseado no protocolo OAuth 2.0.</p>\n<p><img src=\"https://oauth.net/images/oauth-2-sm.png\" alt=\"oauth2 logo\" /></p>\n<p>Diretamente do <a href=\"http://oauth2.net\">oauth2.net</a>:</p>\n<blockquote>\n<p>OAuth 2.0 is the industry-standard protocol for authorization. OAuth 2.0 supersedes the work done on the original OAuth protocol created in 2006. OAuth 2.0 focuses on client developer simplicity while providing specific authorization flows for web applications, desktop applications, mobile phones, and living room devices.</p>\n</blockquote>\n","event":[{"listen":"prerequest","script":{"id":"f213e82f-57d5-4bbb-aec5-283fc93e37e2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5b156673-9e19-4056-bed6-1de111c09ba2","type":"text/javascript","exec":[""]}}],"_postman_id":"8a9908dc-c86a-42b7-9bd0-a7786d128543","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Voice API","item":[{"name":"Call Control","item":[{"name":"Gerar uma chamada","id":"e32fd473-2319-4c2a-a77a-efe2f3ada633","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"src\": \"2000@labdev.digivox.com.br\",\n  \"dst\": \"2001@labdev.digivox.com.br\"\n}"},"url":"{{basePath}}/calls/originate","description":"<p>Gerar uma chamada é muito simples. Utilize o comando originate para iniciar uma chamada. O app deve enviar sempre a origem e o destino da chamada.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros no JSON</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>src</td>\n<td>Informe a origem utilizando o formato número + @ + seu domínio SIP.</td>\n</tr>\n<tr>\n<td>dst</td>\n<td>Informe o destino da chamada utilizando o formato número + @ + seu domínio SIP.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["calls","originate"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"06c57d0d-8217-49dc-b53a-6f19cf718ff4","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"src\": \"2000@labdev.digivox.com.br\",\n  \"dst\": \"2001@labdev.digivox.com.br\"\n}"},"url":"{{basePath}}/calls/originate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 22 Apr 2019 15:16:23 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"callId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"src\": \"2000@labdev.digivox.com.br\",\n    \"dst\": \"2001@labdev.digivox.com.br\"\n}"}],"_postman_id":"e32fd473-2319-4c2a-a77a-efe2f3ada633"},{"name":"Desligar uma chamada","id":"7c5ab2ed-c623-4958-9e34-52bb0057b610","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"callId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"hangupCause\": \"Hangup cause\"\n}"},"url":"{{basePath}}/calls/hangup","description":"<p>Desliga uma chamada ativa. O desligamento das chamadas é tratado através de permissão de acesso. Os usuários que serão usados na autenticação da API, deverá ter acesso à essa funcionalidade para que o desligamento funcione.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros no JSON</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>callId</td>\n<td>ID da chamada que será desligada.</td>\n</tr>\n<tr>\n<td>hangupCause</td>\n<td>Causa do desligamento da chamada.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["calls","hangup"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"8598a977-6617-4a7d-bdf4-541921815ca7","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"callId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"hangupCause\": \"Hangup cause\"\n}"},"url":"{{basePath}}/calls/hangup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Type","value":"application/json;charset=ISO-8859-1"},{"key":"Content-Length","value":"76"},{"key":"Date","value":"Mon, 22 Apr 2019 15:24:37 GMT"}],"cookie":[],"responseTime":null,"body":"{\n  \"callId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"hangupCause\": \"Hangup cause\"\n}"}],"_postman_id":"7c5ab2ed-c623-4958-9e34-52bb0057b610"},{"name":"Transferir uma chamada","id":"6f57ec25-89c6-4a00-9978-8152934135bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"callId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"dst\": \"2000@labdev.digivox.com.br\"\n}"},"url":"{{basePath}}/calls/transfer","description":"<p>Transfira uma chamada para qualquer outro número. O comando de transferir chamada permite que aplicações possam transferir as chamadas de um ponto para outro, possibilitando a manipulação das chamadas ativas.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros no JSON</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>callId</td>\n<td>ID da chamada que será transferida.</td>\n</tr>\n<tr>\n<td>dst</td>\n<td>Informe o destino da transferência utilizando o formato número + @ + seu domínio SIP.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["calls","transfer"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"9ce82e7e-6858-4fa2-835d-477b128c2bc2","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"callId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"dst\": \"2000@labdev.digivox.com.br\"\n}"},"url":"{{basePath}}/api/v1/calls/transfer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"callId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"dst\": \"2000@labdev.digivox.com.br\"\n}"}],"_postman_id":"6f57ec25-89c6-4a00-9978-8152934135bb"},{"name":"Ouvir uma chamada","id":"926cad01-c245-4a6e-ac57-fc233cdf5dcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"callId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"dst\": \"2020@labdev.digivox.com.br\"\n}"},"url":"{{basePath}}/calls/listen","description":"<p>Ouça uma chamada em tempo real. Conecte as chamadas ativas com usuários externos para que possam ouvir as chamadas em tempo real e monitorar os atendimentos.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros no JSON</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>callId</td>\n<td>ID da chamada que deseja ouvir.</td>\n</tr>\n<tr>\n<td>dst</td>\n<td>Informe número de destino que será conectado na chamada para que possa ouví-la utilizando o formato número + @ + seu domínio SIP.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["calls","listen"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"6f0ea4ec-1797-44c4-9ded-c8057008c145","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"callId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"dst\": \"2020@labdev.digivox.com.br\"\n}"},"url":"{{basePath}}/api/v1/calls/listen"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"callId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"dst\": \"2020@labdev.digivox.com.br\"\n}"}],"_postman_id":"926cad01-c245-4a6e-ac57-fc233cdf5dcb"}],"id":"1d8ee4bd-8375-4b00-9179-0eda72ce2c3f","description":"<p>Controle a chamada remotamente através de qualquer aplicação. A camada Call Control das APIs permite que as chamadas sejam controladas remotamente por qualquer aplicação.</p>\n","event":[{"listen":"prerequest","script":{"id":"49e8c2d4-d49f-44e2-a5ad-07492a965ba6","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9c21714f-a021-42a4-9194-07c69fcd02d1","type":"text/javascript","exec":[""]}}],"_postman_id":"1d8ee4bd-8375-4b00-9179-0eda72ce2c3f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Conferences","item":[{"name":"Listar todas as conferências ativas","id":"6078b69c-03d4-43bc-9654-740e255caa37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/conferences","description":"<p>O comando de listar todas as conferências ativas irá exibir todas as conferências informando se são de áudio ou video. O callId retornado neste comando deve ser usado nos demais comandos de manipulação das salas de conferência.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["conferences"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"8973a2f0-92f0-41e4-9624-0d9f260d7be3","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{basePath}}/conferences"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"callId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n        \"type\": \"audio\",\n        \"name\": \"ConferenceGroup\",\n        \"number\": \"2020@labdev.digivox.com.br\"\n    }\n]"}],"_postman_id":"6078b69c-03d4-43bc-9654-740e255caa37"},{"name":"Iniciar uma conferência","id":"0eee394d-811c-4ab7-8164-44f3c04e9201","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"audio\",\n  \"name\": \"ConferenceGroup\",\n  \"number\": \"2020@labdev.digivox.com.br\"\n}"},"url":"{{basePath}}/conferences","description":"<p>Inicie uma conferência a partir de qualquer aplicação. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros no JSON</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>Tipo de conferência: audio ou video.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Defina um nome para a conferência para facilitar a adição de novos participantes.</td>\n</tr>\n<tr>\n<td>number</td>\n<td>Lista de participantes que deverão ser incluídos na conferência.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["conferences"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"a35287cb-46ae-4448-a557-4cd33584af34","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"audio\",\n  \"name\": \"ConferenceGroup\",\n  \"number\": \"2020@labdev.digivox.com.br\"\n}"},"url":"{{basePath}}/conferences"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"callId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"type\": \"audio\",\n    \"name\": \"ConferenceGroup\",\n    \"number\": \"2020@labdev.digivox.com.br\"\n}"}],"_postman_id":"0eee394d-811c-4ab7-8164-44f3c04e9201"},{"name":"Consultar o status de uma conferência","id":"a4871d70-2658-4450-a3b6-d2db9095287f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/conferences/:conferenceName","description":"<p>Consultar os detalhes de uma conferência ativa, identificando participantes, duração e outras informações.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["conferences",":conferenceName"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"5302a274-2bdb-497d-9291-e498c654ba93","type":"string","value":"{{conferences_conferenceName}}","key":"conferenceName"}]}},"response":[{"id":"31abe14e-c134-4431-9674-53a9dee966a5","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/conferences/:conferenceName","host":["{{basePath}}"],"path":["conferences",":conferenceName"],"variable":[{"key":"conferenceName","value":"{{conferenceName}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"ConferenceGroup\",\n    \"memberCount\": 1,\n    \"ghostCount\": 0,\n    \"rate\": 8000,\n    \"uuid\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"running\": true,\n    \"answered\": true,\n    \"enforceMin\": true,\n    \"dynamic\": true,\n    \"exitSound\": true,\n    \"enterSound\": true,\n    \"runTime\": 75,\n    \"members\": [\n        {\n            \"type\": \"caller\",\n            \"id\": 33,\n            \"uuid\": \"cafc5646-a91e-4595-94c4-e67ada590a4d\",\n            \"callerIdName\": \"Outbound Call\",\n            \"callerIdNumber\": \"2010\",\n            \"joinTime\": 75,\n            \"lastTalking\": 0,\n            \"energy\": 0,\n            \"volumeIn\": 0,\n            \"volumeOut\": 0,\n            \"outputVolume\": 0,\n            \"inputVolume\": 0,\n            \"autoAdjustedInputVolume\": 0,\n            \"flags\": {\n                \"canHear\": true,\n                \"canSpeak\": true,\n                \"endConference\": true,\n                \"hasFloor\": true,\n                \"hasVideo\": true,\n                \"isGhost\": true,\n                \"isModerator\": true,\n                \"muteDetect\": true,\n                \"isTalking\": true,\n                \"videoBridge\": true\n            }\n        }\n    ]\n}"}],"_postman_id":"a4871d70-2658-4450-a3b6-d2db9095287f"},{"name":"Consultar o status de uma conferência anônima","id":"a37fce99-ddfb-46da-8128-dcce6be3e541","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/conferences/anonymous/:conferenceId","description":"<p>Consultar os detalhes de uma conferência ativa, identificando participantes, duração e outras informações.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["conferences","anonymous",":conferenceId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"8cf48627-dd5a-41f3-bdd6-5e0744b0c20b","type":"string","value":"{{conferences_anonymousId}}","key":"conferenceId"}]}},"response":[{"id":"148d3d5e-9a6d-4d76-b4a1-ae8a1e3e72b4","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/conferences/:conferenceName","host":["{{basePath}}"],"path":["conferences",":conferenceName"],"variable":[{"key":"conferenceName","value":"{{conferenceName}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"ConferenceGroup\",\n    \"memberCount\": 1,\n    \"ghostCount\": 0,\n    \"rate\": 8000,\n    \"uuid\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"running\": true,\n    \"answered\": true,\n    \"enforceMin\": true,\n    \"dynamic\": true,\n    \"exitSound\": true,\n    \"enterSound\": true,\n    \"runTime\": 75,\n    \"members\": [\n        {\n            \"type\": \"caller\",\n            \"id\": 33,\n            \"uuid\": \"cafc5646-a91e-4595-94c4-e67ada590a4d\",\n            \"callerIdName\": \"Outbound Call\",\n            \"callerIdNumber\": \"2010\",\n            \"joinTime\": 75,\n            \"lastTalking\": 0,\n            \"energy\": 0,\n            \"volumeIn\": 0,\n            \"volumeOut\": 0,\n            \"outputVolume\": 0,\n            \"inputVolume\": 0,\n            \"autoAdjustedInputVolume\": 0,\n            \"flags\": {\n                \"canHear\": true,\n                \"canSpeak\": true,\n                \"endConference\": true,\n                \"hasFloor\": true,\n                \"hasVideo\": true,\n                \"isGhost\": true,\n                \"isModerator\": true,\n                \"muteDetect\": true,\n                \"isTalking\": true,\n                \"videoBridge\": true\n            }\n        }\n    ]\n}"},{"id":"e596917c-53f0-42a8-96ac-bfc9c04ca827","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/conferences/anonymous/:conferenceId","host":["{{basePath}}"],"path":["conferences","anonymous",":conferenceId"],"variable":[{"key":"conferenceId","value":"{{conferences_anonymousId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Wed, 21 Aug 2019 14:18:23 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"voice\": {\n        \"user\": \"1010\",\n        \"password\": \"cfBw^SkLhH\",\n        \"callerId\": \"1010\",\n        \"hostname\": \"labdev.digivox.com.br\",\n        \"websocketUrl\": \"wss://labdev.digivox.com.br:8082\",\n        \"conferenceId\": \"b17288cb-dfc6-45b0-85e5-dcc37775a060\",\n        \"conferenceNumber\": \"citrus-conference-b17288cb-dfc6-45b0-85e5-dcc37775a060\",\n        \"conferenceName\": \"Projeto X\",\n        \"conferenceDescription\": \"\",\n        \"users\": [\n            {\n                \"name\": \"Vinícius\"\n            }\n        ]\n    },\n    \"chat\": {\n        \"host\": \"https://public-labdev.digivox.com.br\",\n        \"port\": 8082,\n        \"bosh\": {\n            \"url\": \"https://public-labdev.digivox.com.br:5280/http-bind/\",\n            \"wait\": 3000\n        }\n    }\n}"}],"_postman_id":"a37fce99-ddfb-46da-8128-dcce6be3e541"}],"id":"0f8545d3-5422-4ee1-b329-91306a7a191c","description":"<p>A camada de conferência permite que as aplicações gerenciem remotamente as conferências dentro da Plataforma, podendo iniciar uma conferência, adicionar/remover participantes, enviar comandos para mute/unmute de áudio, mute/unmute de vídeo, alteração de layout das conferências, adicionar banner com texto de identificação do participante, iniciar e parar a gravação da conferência, iniciar e parar um aúdio ou um vídeo na conferência e demais comandos de manipulação das conferências.</p>\n","event":[{"listen":"prerequest","script":{"id":"9e1f4179-c398-4d67-abdf-e88a0d4eb628","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d789ef57-7046-41be-82c7-738b4ea04c2d","type":"text/javascript","exec":[""]}}],"_postman_id":"0f8545d3-5422-4ee1-b329-91306a7a191c","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}}],"id":"42b69351-f892-404c-9fed-43be00364447","description":"<p>Faça e recebe chamadas a partir de qualquer aplicação em qualquer lugar no mundo. A API de Voz permite fazer chamadas para outros números, atender chamadas de entrada e controlar todos os aspectos de uma chamada incluindo conferência, gravação e capturar dados dos usuários nas chamadas.</p>\n","event":[{"listen":"prerequest","script":{"id":"b899344c-56eb-4eae-a743-e37ec8f365df","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cbb2a50c-5d7e-439c-b37c-6966d97c0ce2","type":"text/javascript","exec":[""]}}],"_postman_id":"42b69351-f892-404c-9fed-43be00364447","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Departments","item":[{"name":"Criar department","id":"ba1226a1-131d-4ec8-b2ae-6b0bd97aecf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Test\",\n\t\"description\": \"Test description\"\n}","options":{"raw":{"language":"json"}}},"url":"{{basePath}}/departments","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["departments"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba1226a1-131d-4ec8-b2ae-6b0bd97aecf0"},{"name":"Listar department","id":"dab1586d-e055-4015-b89d-bad2bf8cb892","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{basePath}}/departments","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["departments"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dab1586d-e055-4015-b89d-bad2bf8cb892"},{"name":"Recuperar um department","id":"2482ad69-4040-4772-89bf-701d4e06e77b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{basePath}}/departments/:departmentId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["departments",":departmentId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"b8df924d-2e67-4df1-8dcc-94a7f91a99df","description":{"content":"<p>(Required=true) Department ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"departmentId"}]}},"response":[],"_postman_id":"2482ad69-4040-4772-89bf-701d4e06e77b"},{"name":"Remover department","id":"47b275ab-a412-4d4e-aae9-88c4665fd6c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{basePath}}/departments/:departmentId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["departments",":departmentId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"79573996-2821-485b-9f77-170800d59d50","description":{"content":"<p>(Required=true) Department ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"departmentId"}]}},"response":[],"_postman_id":"47b275ab-a412-4d4e-aae9-88c4665fd6c0"},{"name":"Atualizar department","id":"09de06ff-2cf0-42f3-8ed0-af6aaf490c97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Test\",\n\t\"description\": \"Test description\"\n}","options":{"raw":{"language":"json"}}},"url":"{{basePath}}/departments/:departmentId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["departments",":departmentId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"81be4b5a-f1ee-44b2-8622-c8f014ad9700","description":{"content":"<p>(Required=true) Department ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"departmentId"}]}},"response":[],"_postman_id":"09de06ff-2cf0-42f3-8ed0-af6aaf490c97"}],"id":"9f61ab4b-529a-4f1a-b99e-edd178c635f1","_postman_id":"9f61ab4b-529a-4f1a-b99e-edd178c635f1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Users","item":[{"name":"Listar agentes do Contact Center","id":"c819067f-af1a-48c2-b64e-fbe2e1ab79ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/users/agents?limit={{limit}}&page={{page}}&domainId={{users_domainId}}","description":"<p>Lists all agents</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["users","agents"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) The number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"description":{"content":"<p>(Optional) The Domain ID</p>\n","type":"text/plain"},"key":"domainId","value":"{{users_domainId}}"}],"variable":[]}},"response":[{"id":"1646616d-b3a7-4303-b711-87d4627a169d","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/users/agents","host":["{{basePath}}"],"path":["users","agents"],"query":[{"key":"limit","value":"{{limit}}","description":"(Optional) The number of items per page","disabled":true},{"key":"page","value":"{{page}}","description":"(Optional) The page number","disabled":true},{"key":"domainId","value":"{{users_domainId}}","description":"(Optional) The Domain ID","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Mon, 22 Apr 2019 19:57:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"metadata\": {\n        \"pagination\": {\n            \"page\": 1,\n            \"limit\": 20,\n            \"pageCount\": 1,\n            \"totalCount\": 2,\n            \"links\": {\n                \"current\": \"/users/agents?limit=20&page=1\",\n                \"first\": \"/users/agents?limit=20&page=1\",\n                \"previous\": \"/users/agents?limit=20&page=1\",\n                \"next\": \"/users/agents?limit=20&page=1\",\n                \"last\": \"/users/agents?limit=20&page=1\"\n            }\n        }\n    },\n    \"agents\": [\n        {\n            \"id\": \"888b20cd-262f-916d-c54a-cbbd8f64fc1a\",\n            \"name\": \"Atendente 01\",\n            \"username\": \"atendente01\",\n            \"email\": \"atendente01@digivox.com.br\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\",\n            \"agentsGroups\": [\n                {\n                    \"id\": \"a9da5228-9d98-0643-e71c-673c2e47db20\",\n                    \"name\": \"DemoLab\"\n                },\n                {\n                    \"id\": \"a1760609-d4c4-7527-7047-043137b60dd0\",\n                    \"name\": \"Grupo_01\"\n                }\n            ],\n            \"queues\": [\n                {\n                    \"id\": \"901911bb-3b92-4caa-bfbc-e50125c58695\",\n                    \"name\": \"DemoLab\"\n                },\n                {\n                    \"id\": \"30677055-d82a-4f60-89b4-a51d82656005\",\n                    \"name\": \"Desenvolvimento\"\n                },\n                {\n                    \"id\": \"9f4fa19d-d549-48af-b027-5ea4ad3f187b\",\n                    \"name\": \"Dev\"\n                }\n            ]\n        },\n        {\n            \"id\": \"ce9d27d9-fbd5-3684-dae7-fc246722d7b7\",\n            \"name\": \"Atendente 02\",\n            \"username\": \"atendente02\",\n            \"email\": \"atendente02@digivox.com.br\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\",\n            \"agentsGroups\": [\n                {\n                    \"id\": \"291f02bd-cf5e-0583-3999-fc0fef5e463a\",\n                    \"name\": \"Grupo_01\"\n                }\n            ],\n            \"queues\": [\n                {\n                    \"id\": \"30677055-d82a-4f60-89b4-a51d82656005\",\n                    \"name\": \"Desenvolvimento\"\n                },\n                {\n                    \"id\": \"9f4fa19d-d549-48af-b027-5ea4ad3f187b\",\n                    \"name\": \"Dev\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"c819067f-af1a-48c2-b64e-fbe2e1ab79ec"},{"name":"Listar usuários do sistema","id":"98b8872f-d0e6-45f8-981c-455a24655bf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/users?limit={{limit}}&page={{page}}&domainId={{users_domainId}}&name=Name&email=email@domain.com.br&type=User","description":"<p>Lists all users</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["users"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) The number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"description":{"content":"<p>(Optional) The Domain ID</p>\n","type":"text/plain"},"key":"domainId","value":"{{users_domainId}}"},{"description":{"content":"<p>(Optional) Filter name user</p>\n","type":"text/plain"},"key":"name","value":"Name"},{"description":{"content":"<p>(Optional) Filter email user</p>\n","type":"text/plain"},"key":"email","value":"email@domain.com.br"},{"description":{"content":"<p>(Optional) Filter profile user</p>\n","type":"text/plain"},"key":"type","value":"User"}],"variable":[]}},"response":[{"id":"b3e00a7b-cf12-4833-a4ff-6164741ddca5","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/users?limit={{limit}}&page={{page}}&domainId={{users_domainId}}","host":["{{basePath}}"],"path":["users"],"query":[{"key":"limit","value":"{{limit}}","description":"(Optional) The number of items per page"},{"key":"page","value":"{{page}}","description":"(Optional) The page number"},{"key":"domainId","value":"{{users_domainId}}","description":"(Optional) The Domain ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Mon, 22 Apr 2019 19:48:34 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"metadata\": {\n        \"pagination\": {\n            \"page\": 1,\n            \"limit\": 20,\n            \"pageCount\": 1,\n            \"totalCount\": 3,\n            \"links\": {\n                \"current\": \"/users/agents?limit=20&page=1\",\n                \"first\": \"/users/agents?limit=20&page=1\",\n                \"previous\": \"/users/agents?limit=20&page=1\",\n                \"next\": \"/users/agents?limit=20&page=1\",\n                \"last\": \"/users/agents?limit=20&page=1\"\n            }\n        }\n    },\n    \"users\": [\n        {\n            \"id\": \"4f9b6c83-054d-5186-f76e-8e8e0f602322\",\n            \"name\": \"Agente\",\n            \"username\": \"agente\",\n            \"email\": \"agente@digivox.com.br\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\",\n            \"extension\": null,\n            \"callPermission\": null\n        },\n        {\n            \"id\": \"b5531a87-da6d-015f-78d7-cb37c656274d\",\n            \"name\": \"Marcos Vinícius\",\n            \"username\": \"vinicius\",\n            \"email\": \"vinicius@digivox.com.br\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\",\n            \"extension\": \"2011\",\n            \"callPermission\": null\n        },\n        {\n            \"id\": \"b4431a87-da6d-015f-78d7-cb37c656274d\",\n            \"name\": \"Alberto Magno\",\n            \"username\": \"alberto.soares\",\n            \"email\": \"alberto@digivox.com.br\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\",\n            \"extension\": \"2012\",\n            \"callPermission\": null\n        }\n    ]\n}"}],"_postman_id":"98b8872f-d0e6-45f8-981c-455a24655bf6"},{"name":"Criar usuário","id":"09c5b998-7ee7-4dcd-af4e-7d5cf9ac31ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Test\",\n\t\"email\": \"test@domain.com.br\",\n\t\"departmentId\": \"{department_id}\",\n\t\"domainId\": \"{domain_id}\",\n\t\"password\": \"\",\n\t\"admin\": false,\n\t\"notifyUser\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{basePath}}/users","description":"<p>Parametros do JSON para adicionar usuário no body da requisição</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>(Required=true) Nome do usuário.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>(Required=true) Email do usuário.</td>\n</tr>\n<tr>\n<td>departementId</td>\n<td>(Required=false) ID do setor</td>\n</tr>\n<tr>\n<td>domainId</td>\n<td>(Required=false) ID do domínio</td>\n</tr>\n<tr>\n<td>password</td>\n<td>(Required=false) Senha</td>\n</tr>\n<tr>\n<td>admin</td>\n<td>(Required=true) Perfil do usuário</td>\n</tr>\n<tr>\n<td>notifyUser</td>\n<td>(Required=true) Notificar novo usuário</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["users"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"09c5b998-7ee7-4dcd-af4e-7d5cf9ac31ae"},{"name":"Atualizar usuário","id":"bf46df36-b086-41fe-91da-21604a76de3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Test 2\",\n\t\"email\": \"test2@domain.com.br\",\n\t\"departmentId\": \"{department_id}\",\n\t\"domainId\": \"{domain_id}\",\n\t\"password\": \"\",\n\t\"admin\": false,\n\t\"notifyUser\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{basePath}}/users/:userId","description":"<p>Parametros do JSON para adicionar usuário no body da requisição</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>(Required=true) Nome do usuário.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>(Required=true) Email do usuário.</td>\n</tr>\n<tr>\n<td>departementId</td>\n<td>(Required=false) ID do setor</td>\n</tr>\n<tr>\n<td>domainId</td>\n<td>(Required=false) ID do domínio</td>\n</tr>\n<tr>\n<td>password</td>\n<td>(Required=false) Senha</td>\n</tr>\n<tr>\n<td>admin</td>\n<td>(Required=true) Perfil do usuário</td>\n</tr>\n<tr>\n<td>notifyUser</td>\n<td>(Required=true) Notificar usuário</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["users",":userId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"a60189b5-1dff-4d94-b187-9180079041e4","description":{"content":"<p>(Required=true) User ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"userId"}]}},"response":[],"_postman_id":"bf46df36-b086-41fe-91da-21604a76de3d"},{"name":"Remover usuário","id":"a5e7d70e-4b59-43b9-be8e-aee27d347425","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{basePath}}/users/:userId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["users",":userId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"1db2a372-cd61-4377-a49e-e65c93902540","description":{"content":"<p>(Required=true) User ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"userId"}]}},"response":[],"_postman_id":"a5e7d70e-4b59-43b9-be8e-aee27d347425"},{"name":"Atualizar senha","id":"ee3b93df-03ae-45a4-bd79-2537ed76969d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"oldPassword\": \"\",\n\t\"newPassword\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{basePath}}/users","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["users"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee3b93df-03ae-45a4-bd79-2537ed76969d"}],"id":"b60f76fe-2ffd-4624-855f-9bcce744b2f8","event":[{"listen":"prerequest","script":{"id":"985926b5-0990-44b7-9519-11db1f981346","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"18082b32-6e34-4515-b7bf-24fb901555b8","type":"text/javascript","exec":[""]}}],"_postman_id":"b60f76fe-2ffd-4624-855f-9bcce744b2f8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"PBX API","item":[{"name":"Pickup Groups","item":[{"name":"Listar todos os grupos de captura","id":"6e9fe55c-976f-4321-8e4b-9f6c2f9c4d8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/pickup-groups?limit={{limit}}&page={{page}}&domainId={{pickup_groups_domainId}}&extensions={{pickup_groups_extensions}}","description":"<p>Recupere a lista dos grupos de captura.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["pickup-groups"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) Número de itens por página</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Optional) Número da página</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"description":{"content":"<p>(Optional) UUID do domínio</p>\n","type":"text/plain"},"key":"domainId","value":"{{pickup_groups_domainId}}"},{"description":{"content":"<p>(Optional) Indica se a consulta deve retornar as extensions que fazem parte do grupo. 'false' é o valor padrão.</p>\n","type":"text/plain"},"key":"extensions","value":"{{pickup_groups_extensions}}"}],"variable":[]}},"response":[{"id":"86cda7ed-ec30-4f83-a98b-3652d54549a8","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/pickup-groups?limit={{limit}}&page={{page}}&domainId={{pickupGroups_domainId}}&extensions={{pickupGroups_extensions}}","host":["{{basePath}}"],"path":["pickup-groups"],"query":[{"key":"limit","value":"{{limit}}","description":"(Optional) The number of items per page"},{"key":"page","value":"{{page}}","description":"(Optional) The page number"},{"key":"domainId","value":"{{pickupGroups_domainId}}","description":"(Optional) The Domain ID"},{"key":"extensions","value":"{{pickupGroups_extensions}}","description":"(Optional) Indicates if the query must bring the groups' extensions. 'false'  is the default value"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 23 Apr 2019 15:42:26 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"metadata\": {\n        \"pagination\": {\n            \"page\": 1,\n            \"limit\": 1,\n            \"pageCount\": 4,\n            \"totalCount\": 4,\n            \"links\": {\n                \"current\": \"/pickup-groups?limit=1&page=1\",\n                \"first\": \"/pickup-groups?limit=1&page=1\",\n                \"previous\": \"/pickup-groups?limit=1&page=1\",\n                \"next\": \"/pickup-groups?limit=1&page=2\",\n                \"last\": \"/pickup-groups?limit=1&page=4\"\n            }\n        }\n    },\n    \"pickupGroups\": [\n        {\n            \"id\": \"5eaf3480-9642-4ccd-aa7e-0af6a7224042\",\n            \"name\": \"Grupo 1\",\n            \"description\": null,\n            \"domainId\": \"e9a96b86-853b-4955-90e0-4804c2fdcfb1\",\n            \"domainName\": \"demolab.digivox.com.br\",\n            \"extensions\": [\n                {\n                    \"extensionId\": \"639c2526-c432-4c31-a6e4-0b3d1ae069b4\",\n                    \"extension\": \"4010\",\n                    \"domainId\": \"e9a96b86-853b-4955-90e0-4804c2fdcfb1\",\n                    \"domainName\": \"demolab.digivox.com.br\",\n                    \"department\": \"Comercial\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"6e9fe55c-976f-4321-8e4b-9f6c2f9c4d8c"},{"name":"Criar um grupo de captura","id":"ed646810-e386-4f84-aa8b-12e45af8b8c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Group 1\",\n  \"description\": \"Group 1\",\n  \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n  \"extensions\": [\n    \"d2055dbf-5df2-4119-a81c-ec13dfe14e60\",\n    \"3dc6d02a-d943-4067-ada6-480382839a93\"\n  ]\n}"},"url":"{{basePath}}/pickup-groups","description":"<p>Crie grupos de captura a partir de qualquer aplicação. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros no JSON</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Nome do grupo de captura.</td>\n</tr>\n<tr>\n<td>description</td>\n<td>Descrição do grupo de captura.</td>\n</tr>\n<tr>\n<td>domainId</td>\n<td>UUID do domínio.</td>\n</tr>\n<tr>\n<td>extensions</td>\n<td>Array com o UUID das extensions que farão parte do grupo de captura</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["pickup-groups"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed646810-e386-4f84-aa8b-12e45af8b8c4"},{"name":"Recuperar informações de um grupo de captura","id":"edae5f9a-fcb9-4280-aae0-7f7be0564fc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/pickup-groups/:groupId?extensions={{pickup_groups_extensions}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["pickup-groups",":groupId"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) Indicates if the query must bring the groups' extensions. 'false'  is the default value</p>\n","type":"text/plain"},"key":"extensions","value":"{{pickup_groups_extensions}}"}],"variable":[{"id":"f0787ccd-f315-4488-8a31-c6d9a8cbe3b9","description":{"content":"<p>(Required) The Group ID</p>\n","type":"text/plain"},"type":"string","value":"{{pickup_groups_groupId}}","key":"groupId"}]}},"response":[{"id":"508c961f-f407-4cfd-af27-97b20ecbb6c2","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/pickup-groups/:groupId?extensions={{pickupGroups_extensions}}","host":["{{basePath}}"],"path":["pickup-groups",":groupId"],"query":[{"key":"extensions","value":"{{pickupGroups_extensions}}","description":"(Optional) Indicates if the query must bring the groups' extensions. 'false'  is the default value"}],"variable":[{"key":"groupId","value":"{{pickupGroups_groupId}}","description":"(Required) The Group ID"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"name\": \"Group 1\",\n    \"description\": \"Group 1\",\n    \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"domainName\": \"labdev.digivox.com.br\",\n    \"extensions\": [\n        {\n            \"extensionId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n            \"extension\": \"1010\",\n            \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n            \"domainName\": \"labdev.digivox.com.br\",\n            \"department\": \"Ops\"\n        }\n    ]\n}"}],"_postman_id":"edae5f9a-fcb9-4280-aae0-7f7be0564fc2"},{"name":"Atualizar um grupo de captura","id":"9b10dddb-6d2b-43f4-9c6b-042c0e78d2af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Group 1\",\n  \"description\": \"Group 1\",\n  \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"extensions\": [\n    \"2000\"\n  ]\n}"},"url":"{{basePath}}/pickup-groups/:groupId?overrideExtensions={{pickup_groups_overrideExtensions}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["pickup-groups",":groupId"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) Indicates if the group's extensions will be ovewritten. 'false' is the default value</p>\n","type":"text/plain"},"key":"overrideExtensions","value":"{{pickup_groups_overrideExtensions}}"}],"variable":[{"id":"64c36e2f-8cff-4591-985d-b1349a476cc5","description":{"content":"<p>(Required) The Group ID</p>\n","type":"text/plain"},"type":"string","value":"{{pickup_groups_groupId}}","key":"groupId"}]}},"response":[],"_postman_id":"9b10dddb-6d2b-43f4-9c6b-042c0e78d2af"},{"name":"Remover um grupo de captura","id":"f6111777-8fa7-4264-91b7-35e08bf0532a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{Authorization}}"}],"url":"{{basePath}}/pickup-groups/:groupId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["pickup-groups",":groupId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"ba336a33-5a88-4dc5-b951-d17e03663316","description":{"content":"<p>(Required) The Group ID</p>\n","type":"text/plain"},"type":"string","value":"{{pickup_groups_groupId}}","key":"groupId"}]}},"response":[],"_postman_id":"f6111777-8fa7-4264-91b7-35e08bf0532a"},{"name":"Adicionar um ramal a um grupo de captura","id":"f16ab9eb-78f2-435e-b5ff-1416e6ee0619","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{Authorization}}"}],"url":"{{basePath}}/pickup-groups/:groupId/extensions/:extensionId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["pickup-groups",":groupId","extensions",":extensionId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"0601811d-377b-49c8-9de2-66f310ead52d","description":{"content":"<p>(Required) The Group ID</p>\n","type":"text/plain"},"type":"string","value":"{{pickup_groups_groupId}}","key":"groupId"},{"id":"0d45f791-60af-483c-808c-e78d4392256e","description":{"content":"<p>(Required) The Extension ID</p>\n","type":"text/plain"},"type":"string","value":"{{pickup_groups_extensionId}}","key":"extensionId"}]}},"response":[],"_postman_id":"f16ab9eb-78f2-435e-b5ff-1416e6ee0619"},{"name":"Remover um ramal de um grupo de captura","id":"4a53e01a-3994-4665-87aa-780b39e3fe6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{Authorization}}"}],"url":"{{basePath}}/pickup-groups/:groupId/extensions/:extensionId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["pickup-groups",":groupId","extensions",":extensionId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"2a71c788-4078-47e5-891c-915f17f3e3ab","description":{"content":"<p>(Required) The Group ID</p>\n","type":"text/plain"},"type":"string","value":"{{pickup_groups_groupId}}","key":"groupId"},{"id":"d5e53a72-eeb4-4c84-a437-9a203df6699a","description":{"content":"<p>(Required) The Extension ID</p>\n","type":"text/plain"},"type":"string","value":"{{pickup_groups_extensionId}}","key":"extensionId"}]}},"response":[],"_postman_id":"4a53e01a-3994-4665-87aa-780b39e3fe6a"}],"id":"d5fec3c3-8200-4c51-95cf-f7cdd48519f4","event":[{"listen":"prerequest","script":{"id":"711013e7-5350-4bfd-ae7d-2c0f47022bcd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"58b8717e-4e9d-4320-a4fe-abd333da4b79","type":"text/javascript","exec":[""]}}],"_postman_id":"d5fec3c3-8200-4c51-95cf-f7cdd48519f4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Ring Groups","item":[{"name":"Listar todos os grupos de chamadas","id":"24dadb9c-097d-43a1-b63e-aeda9cd91a9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/ring-groups?limit={{limit}}&page={{page}}&domainId={{ring_groups_domainId}}&destinations={{ring_groups_destinations}}&status={{ring_groups_status}}&groupName={{ring_groups_groupName}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["ring-groups"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) The number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"description":{"content":"<p>(Optional) The Domain ID</p>\n","type":"text/plain"},"key":"domainId","value":"{{ring_groups_domainId}}"},{"description":{"content":"<p>(Optional) Indicates if the query must bring the groups' destinations. 'false'  is the default value</p>\n","type":"text/plain"},"key":"destinations","value":"{{ring_groups_destinations}}"},{"description":{"content":"<p>(Optional) Indicates if the query must bring the 'active' or 'inactive' groups. By default, the status is ignored</p>\n","type":"text/plain"},"key":"status","value":"{{ring_groups_status}}"},{"description":{"content":"<p>(Optional) The Group Name</p>\n","type":"text/plain"},"key":"groupName","value":"{{ring_groups_groupName}}"}],"variable":[]}},"response":[{"id":"60628ce1-791e-42fa-911c-3e7f6d0dbe79","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/ring-groups?limit={{limit}}&page={{page}}&domainId={{ringGroups_domainId}}&destinations={{ringGroups_destinations}}&status={{ringGroups_status}}&groupName={{ringGroups_groupName}}","host":["{{basePath}}"],"path":["ring-groups"],"query":[{"key":"limit","value":"{{limit}}","description":"(Optional) The number of items per page"},{"key":"page","value":"{{page}}","description":"(Optional) The page number"},{"key":"domainId","value":"{{ringGroups_domainId}}","description":"(Optional) The Domain ID"},{"key":"destinations","value":"{{ringGroups_destinations}}","description":"(Optional) Indicates if the query must bring the groups' destinations. 'false'  is the default value"},{"key":"status","value":"{{ringGroups_status}}","description":"(Optional) Indicates if the query must bring the 'active' or 'inactive' groups. By default, the status is ignored"},{"key":"groupName","value":"{{ringGroups_groupName}}","description":"(Optional) The Group Name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"metadata\": {\n            \"pagination\": {\n                \"page\": 2,\n                \"limit\": 10,\n                \"pageCount\": 5,\n                \"totalCount\": 50,\n                \"links\": {\n                    \"current\": \"/url?limit=10&page=2\",\n                    \"first\": \"/url?limit=10&page=1\",\n                    \"previous\": \"/url?limit=10&page=1\",\n                    \"next\": \"/url?limit=10&page=3\",\n                    \"last\": \"/url?limit=10&page=5\"\n                }\n            }\n        },\n        \"ringGroups\": [\n            {\n                \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                \"name\": \"Group 1\",\n                \"extension\": \"2000\",\n                \"description\": \"Group 1\",\n                \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                \"domainName\": \"labdev.digivox.com.br\",\n                \"strategy\": \"sequence\",\n                \"active\": true,\n                \"destinations\": [\n                    {\n                        \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                        \"number\": \"2000\",\n                        \"delay\": \"10\",\n                        \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                        \"domainName\": \"labdev.digivox.com.br\",\n                        \"timeout\": \"10\",\n                        \"prompt\": \"10\"\n                    }\n                ]\n            }\n        ]\n    }\n]"}],"_postman_id":"24dadb9c-097d-43a1-b63e-aeda9cd91a9a"},{"name":"Criar um grupo de chamadas","id":"d16426af-7e34-47be-8601-63c36fe54cc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Group 1\",\n  \"extension\": \"1010\",\n  \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"context\": \"labdev.digivox.com.br\",\n  \"strategy\": \"sequence\",\n  \"cidNamePrefix\": null,\n  \"cidNumberPrefix\": null,\n  \"distinctiveRing\": null,\n  \"forwardDestination\": null,\n  \"timeoutApp\": null,\n  \"timeoutData\": null,\n  \"description\": null,\n  \"ringback\": null,\n  \"enabled\": true,\n  \"forwardEnabled\": true,\n  \"tollAllow\": null,\n  \"missedCallApp\": null,\n  \"missedCallData\": null,\n  \"destinations\": [\n    {\n      \"number\": \"2000\",\n      \"delay\": \"10\",\n      \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n      \"timeout\": \"10\",\n      \"prompt\": \"10\"\n    }\n  ]\n}"},"url":"{{basePath}}/ring-groups","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["ring-groups"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d16426af-7e34-47be-8601-63c36fe54cc4"},{"name":"Recuperar informações de um grupo de chamadas","id":"30e13dc2-fc6e-4aa1-b381-c604b752784b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/ring-groups/:groupId?destinations={{ring_groups_destinations}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["ring-groups",":groupId"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) Indicates if the query must bring the groups' destinations. 'false'  is the default value</p>\n","type":"text/plain"},"key":"destinations","value":"{{ring_groups_destinations}}"}],"variable":[{"id":"62228d3d-f579-48ff-b55f-e3076b219123","description":{"content":"<p>(Required) The Group ID</p>\n","type":"text/plain"},"type":"string","value":"{{ring_groups_groupId}}","key":"groupId"}]}},"response":[{"id":"35125018-0de7-413c-a84f-6fd1aac3498b","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{Authorization}}"}],"url":{"raw":"{{basePath}}/ring-groups/:groupId?destinations={{ringGroups_destinations}}","host":["{{basePath}}"],"path":["ring-groups",":groupId"],"query":[{"key":"destinations","value":"{{ringGroups_destinations}}","description":"(Optional) Indicates if the query must bring the groups' destinations. 'false'  is the default value"}],"variable":[{"key":"groupId","value":"{{ringGroups_groupId}}","description":"(Required) The Group ID"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"name\": \"Group 1\",\n    \"extension\": \"2000\",\n    \"description\": \"Group 1\",\n    \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"domainName\": \"labdev.digivox.com.br\",\n    \"strategy\": \"sequence\",\n    \"active\": true,\n    \"destinations\": [\n        {\n            \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n            \"number\": \"2000\",\n            \"delay\": \"10\",\n            \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n            \"domainName\": \"labdev.digivox.com.br\",\n            \"timeout\": \"10\",\n            \"prompt\": \"10\"\n        }\n    ]\n}"}],"_postman_id":"30e13dc2-fc6e-4aa1-b381-c604b752784b"},{"name":"Atualizar um grupo de chamadas","id":"3d890709-5c7e-46a6-952f-63a90d86aab7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{Authorization}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Group 1\",\n  \"extension\": \"1010\",\n  \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"context\": \"labdev.digivox.com.br\",\n  \"strategy\": \"sequence\",\n  \"cidNamePrefix\": null,\n  \"cidNumberPrefix\": null,\n  \"distinctiveRing\": null,\n  \"forwardDestination\": null,\n  \"timeoutApp\": null,\n  \"timeoutData\": null,\n  \"description\": null,\n  \"ringback\": null,\n  \"enabled\": true,\n  \"forwardEnabled\": true,\n  \"tollAllow\": null,\n  \"missedCallApp\": null,\n  \"missedCallData\": null,\n  \"destinations\": [\n    {\n      \"number\": \"2000\",\n      \"delay\": \"10\",\n      \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n      \"timeout\": \"10\",\n      \"prompt\": \"10\"\n    }\n  ]\n}"},"url":"{{basePath}}/ring-groups/:groupId?overrideDestinations={{ring_groups_overrideDestinations}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["ring-groups",":groupId"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) Indicates if the group's destinations will be ovewritten. 'false' is the default value</p>\n","type":"text/plain"},"key":"overrideDestinations","value":"{{ring_groups_overrideDestinations}}"}],"variable":[{"id":"24a12b7a-15b2-4567-98f7-682fb497b0d8","description":{"content":"<p>(Required) The Group ID</p>\n","type":"text/plain"},"type":"string","value":"{{ring_groups_groupId}}","key":"groupId"}]}},"response":[],"_postman_id":"3d890709-5c7e-46a6-952f-63a90d86aab7"},{"name":"Remover um grupo de chamadas","id":"64b9e3fc-2720-4218-a45c-8b7f577634bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{Authorization}}"}],"url":"{{basePath}}/ring-groups/:groupId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["ring-groups",":groupId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"7f0ee663-dab8-4340-87ec-d69963f223b7","description":{"content":"<p>(Required) The Group ID</p>\n","type":"text/plain"},"type":"string","value":"{{ring_groups_groupId}}","key":"groupId"}]}},"response":[],"_postman_id":"64b9e3fc-2720-4218-a45c-8b7f577634bf"},{"name":"Atualizar destinos","id":"bcc0ab3f-adde-4035-a7e9-5757514c3a38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"number\": \"2000\",\n  \"delay\": \"10\",\n  \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"timeout\": \"10\",\n  \"prompt\": \"10\"\n}"},"url":"{{basePath}}/ring-groups/:groupId/destinations","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["ring-groups",":groupId","destinations"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"70ef560a-4f67-4102-80f1-7706da447b83","description":{"content":"<p>(Required) The Group ID</p>\n","type":"text/plain"},"type":"string","value":"{{ring_groups_groupId}}","key":"groupId"}]}},"response":[],"_postman_id":"bcc0ab3f-adde-4035-a7e9-5757514c3a38"},{"name":"Adicionar um destino a um grupo de chamada","id":"fc1393d7-c02a-4514-8aca-a092961e79de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"number\": \"2000\",\n  \"delay\": \"10\",\n  \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"timeout\": \"10\",\n  \"prompt\": \"10\"\n}"},"url":"{{basePath}}/ring-groups/:groupId/destinations","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["ring-groups",":groupId","destinations"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"d5efb5b4-b91f-48fd-8257-1be628580bfa","description":{"content":"<p>(Required) The Group ID</p>\n","type":"text/plain"},"type":"string","value":"{{ring_groups_groupId}}","key":"groupId"}]}},"response":[],"_postman_id":"fc1393d7-c02a-4514-8aca-a092961e79de"},{"name":"Listar detalhes de um destino de um grupo de chamada","id":"a98c0891-108e-49d1-88c8-0d78d79b0df7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{Authorization}}"}],"url":"{{basePath}}/ring-groups/destinations/:destinationId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["ring-groups","destinations",":destinationId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"5a373746-c9bf-47a4-81b8-79b4cb963e8a","description":{"content":"<p>(Required) The Destination ID</p>\n","type":"text/plain"},"type":"string","value":"{{ring_groups_destinationId}}","key":"destinationId"}]}},"response":[{"id":"d8febd86-9f9c-4807-8487-ae00f8d15d4d","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{Authorization}}"}],"url":{"raw":"{{basePath}}/ring-groups/destinations/:destinationId","host":["{{basePath}}"],"path":["ring-groups","destinations",":destinationId"],"variable":[{"key":"destinationId","value":"{{ringGroups_destinationId}}","description":"(Required) The Destination ID"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"number\": \"2000\",\n  \"delay\": \"10\",\n  \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n  \"domainName\": \"labdev.digivox.com.br\",\n  \"timeout\": \"10\",\n  \"prompt\": \"10\"\n}"}],"_postman_id":"a98c0891-108e-49d1-88c8-0d78d79b0df7"},{"name":"Remover um destino de um grupo de chamada","id":"87ea02f4-2054-4c74-9c63-23b21081a6e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{basePath}}/ring-groups/destinations/:destinationId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["ring-groups","destinations",":destinationId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"41fd1cf3-6275-40e6-8629-bca3e5381614","description":{"content":"<p>(Required) The Destination ID</p>\n","type":"text/plain"},"type":"string","value":"{{ring_groups_destinationId}}","key":"destinationId"}]}},"response":[],"_postman_id":"87ea02f4-2054-4c74-9c63-23b21081a6e8"}],"id":"4475c3cf-a8e5-44d4-b1ba-171a7a2d075d","event":[{"listen":"prerequest","script":{"id":"9aadd51a-c6e1-41d2-95f1-d179b6936c3e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"722d179a-88b7-416e-a02a-75c1f2d7e92b","type":"text/javascript","exec":[""]}}],"_postman_id":"4475c3cf-a8e5-44d4-b1ba-171a7a2d075d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Devices","item":[{"name":"Listar todos os dispositivos","id":"35167378-0fe1-4f7d-8576-0524dd5b7ef2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{Authorization}}"}],"url":"{{basePath}}/devices?limit={{limit}}&page={{page}}&domainId={{devices_domainId}}&lines={{devices_lines}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["devices"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) The number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"description":{"content":"<p>(Optional) The Domain ID</p>\n","type":"text/plain"},"key":"domainId","value":"{{devices_domainId}}"},{"description":{"content":"<p>(Optional) Indicates if the query must bring the devices' lines. 'false'  is the default value</p>\n","type":"text/plain"},"key":"lines","value":"{{devices_lines}}"}],"variable":[]}},"response":[{"id":"2cb77570-38eb-4efc-a55a-f3cf2f17ad1d","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{Authorization}}"}],"url":{"raw":"{{basePath}}/devices?limit={{limit}}&page={{page}}&domainId={{devices_domainId}}&lines={{devices_lines}}","host":["{{basePath}}"],"path":["devices"],"query":[{"key":"limit","value":"{{limit}}","description":"(Optional) The number of items per page"},{"key":"page","value":"{{page}}","description":"(Optional) The page number"},{"key":"domainId","value":"{{devices_domainId}}","description":"(Optional) The Domain ID"},{"key":"lines","value":"{{devices_lines}}","description":"(Optional) Indicates if the query must bring the devices' lines. 'false'  is the default value\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"metadata\": {\n            \"pagination\": {\n                \"page\": 2,\n                \"limit\": 10,\n                \"pageCount\": 5,\n                \"totalCount\": 50,\n                \"links\": {\n                    \"current\": \"/url?limit=10&page=2\",\n                    \"first\": \"/url?limit=10&page=1\",\n                    \"previous\": \"/url?limit=10&page=1\",\n                    \"next\": \"/url?limit=10&page=3\",\n                    \"last\": \"/url?limit=10&page=5\"\n                }\n            }\n        },\n        \"devices\": [\n            {\n                \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                \"macAddress\": \"00:15:65:7D:13:9A\",\n                \"label\": \"2000\",\n                \"vendor\": \"Yealink\",\n                \"template\": \"yealink/t29g\",\n                \"description\": \"2000\",\n                \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                \"domainName\": \"lab.digivox.com.br\",\n                \"lines\": [\n                    {\n                        \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                        \"number\": \"1\",\n                        \"displayName\": \"2000\",\n                        \"userId\": \"2000\",\n                        \"serverAddress\": \"labdev.digivox.com.br\"\n                    }\n                ]\n            }\n        ]\n    }\n]"}],"_postman_id":"35167378-0fe1-4f7d-8576-0524dd5b7ef2"},{"name":"Atualizar informações de um dispositivo","id":"a3d33fef-2dc1-42ab-bb4f-394e8299061e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"displayName\": \"2000 - John\"\n}"},"url":"{{basePath}}/devices/:macAddress/:lineNumber","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["devices",":macAddress",":lineNumber"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"138bb876-5c20-4a52-9370-927553d8b696","description":{"content":"<p>(Required) The MAC Address</p>\n","type":"text/plain"},"type":"string","value":"{{devices_macAddress}}","key":"macAddress"},{"id":"8de5c3bc-1264-4ef8-926f-2448ca381fc3","description":{"content":"<p>(Required) The Line Number</p>\n","type":"text/plain"},"type":"string","value":"{{devices_lineNumber}}","key":"lineNumber"}]}},"response":[],"_postman_id":"a3d33fef-2dc1-42ab-bb4f-394e8299061e"}],"id":"a0c7d9d3-1aec-4022-b8a6-49ac1c0de767","event":[{"listen":"prerequest","script":{"id":"5c708978-e56a-4723-84fd-c5f8f4a1647b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f921711f-851c-47c8-9772-1f933189874e","type":"text/javascript","exec":[""]}}],"_postman_id":"a0c7d9d3-1aec-4022-b8a6-49ac1c0de767","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Call Forwardings","item":[{"name":"Listar todos os encaminhamentos de chamadas","id":"18c61c4e-4e91-479f-9d35-47c487112a75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/call-forwardings?limit={{limit}}&page={{page}}&domainId={{call_forwardings_domainId}}&doNotDisturb={{call_forwardings_doNotDisturb}}&destinations={{call_forwardings_destinations}}&extension={{call_forwardings_extension}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["call-forwardings"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) The number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"description":{"content":"<p>(Optional) The Domain ID</p>\n","type":"text/plain"},"key":"domainId","value":"{{call_forwardings_domainId}}"},{"description":{"content":"<p>(Optional) Indicates if the query must bring the forwardings with the \"Do Not Disturb\" active or not active. By default, the parameter is ignored</p>\n","type":"text/plain"},"key":"doNotDisturb","value":"{{call_forwardings_doNotDisturb}}"},{"description":{"content":"<p>(Optional) Indicates if the query must bring the forwardings' destinations. 'false'  is the default value</p>\n","type":"text/plain"},"key":"destinations","value":"{{call_forwardings_destinations}}"},{"description":{"content":"<p>(Optional) The Extension Number</p>\n","type":"text/plain"},"key":"extension","value":"{{call_forwardings_extension}}"}],"variable":[]}},"response":[{"id":"9e2e9d9d-aa2b-459e-b2cc-00ac41240506","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/call-forwardings?limit={{limit}}&page={{page}}&domainId={{call_forwardings_domainId}}&doNotDisturb={{call_forwardings_doNotDisturb}}&destinations={{call_forwardings_destinations}}&extension={{call_forwardings_extension}}","host":["{{basePath}}"],"path":["call-forwardings"],"query":[{"key":"limit","value":"{{limit}}","description":"(Optional) The number of items per page"},{"key":"page","value":"{{page}}","description":"(Optional) The page number"},{"key":"domainId","value":"{{call_forwardings_domainId}}","description":"(Optional) The Domain ID"},{"key":"doNotDisturb","value":"{{call_forwardings_doNotDisturb}}","description":"(Optional) Indicates if the query must bring the forwardings with the \"Do Not Disturb\" active or not active. By default, the parameter is ignored"},{"key":"destinations","value":"{{call_forwardings_destinations}}","description":"(Optional) Indicates if the query must bring the forwardings' destinations. 'false'  is the default value"},{"key":"extension","value":"{{call_forwardings_extension}}","description":"(Optional) The Extension Number"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"metadata\": {\n        \"pagination\": {\n            \"page\": 2,\n            \"limit\": 10,\n            \"pageCount\": 5,\n            \"totalCount\": 50,\n            \"links\": {\n                \"current\": \"/url?limit=10&page=2\",\n                \"first\": \"/url?limit=10&page=1\",\n                \"previous\": \"/url?limit=10&page=1\",\n                \"next\": \"/url?limit=10&page=3\",\n                \"last\": \"/url?limit=10&page=5\"\n            }\n        }\n    },\n    \"callForwardings\": [\n        {\n            \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n            \"domainName\": \"labdev.digivox.com.br\",\n            \"extensionId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n            \"extension\": \"2000\",\n            \"forwardAllDestinationEnabled\": true,\n            \"forwardAllDestination\": \"2000\",\n            \"doNotDisturb\": true,\n            \"enabled\": true,\n            \"forwardBusyDestinationEnabled\": true,\n            \"forwardBusyDestination\": null,\n            \"forwardNoAnswerDestinationEnabled\": true,\n            \"forwardNoAnswerDestination\": null,\n            \"forwardUserNotRegisteredDestinationEnabled\": true,\n            \"forwardUserNotRegisteredDestination\": null,\n            \"followMeCount\": 1,\n            \"description\": \"2000\",\n            \"followMeId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n            \"destinations\": [\n                {\n                    \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                    \"number\": \"2000\",\n                    \"delay\": \"10\",\n                    \"timeout\": \"10\",\n                    \"prompt\": \"10\",\n                    \"order\": \"10\",\n                    \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                    \"domainName\": \"labdev.digivox.com.br\",\n                    \"followMeId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"18c61c4e-4e91-479f-9d35-47c487112a75"},{"name":"Recuperar informações de um encaminhamento de chamadas","id":"e119b1e5-a1b8-4d8a-9af5-b47ca5014ce6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/call-forwardings/:extensionId?destinations={{call_forwardings_destinations}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["call-forwardings",":extensionId"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) Indicates if the query must bring the forwardings' destinations. 'false'  is the default value</p>\n","type":"text/plain"},"key":"destinations","value":"{{call_forwardings_destinations}}"}],"variable":[{"id":"666ad87b-3a9d-4e3a-b3d1-b51ae25f0258","description":{"content":"<p>(Required) The Extension ID</p>\n","type":"text/plain"},"type":"string","value":"{{call_forwardings_extensionId}}","key":"extensionId"}]}},"response":[{"id":"6ae55a49-21ed-4293-8bce-27b9f5c4d140","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/call-forwardings/:extensionId?destinations={{call_forwardings_destinations}}","host":["{{basePath}}"],"path":["call-forwardings",":extensionId"],"query":[{"key":"destinations","value":"{{call_forwardings_destinations}}"}],"variable":[{"key":"extensionId","value":"{{call_forwardings_extensionId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"domainName\": \"labdev.digivox.com.br\",\n    \"extensionId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"extension\": \"2000\",\n    \"forwardAllDestinationEnabled\": true,\n    \"forwardAllDestination\": \"2000\",\n    \"doNotDisturb\": true,\n    \"enabled\": true,\n    \"forwardBusyDestinationEnabled\": true,\n    \"forwardBusyDestination\": null,\n    \"forwardNoAnswerDestinationEnabled\": true,\n    \"forwardNoAnswerDestination\": null,\n    \"forwardUserNotRegisteredDestinationEnabled\": true,\n    \"forwardUserNotRegisteredDestination\": null,\n    \"followMeCount\": 1,\n    \"description\": \"2000\",\n    \"followMeId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"destinations\": [\n        {\n            \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n            \"number\": \"2000\",\n            \"delay\": \"10\",\n            \"timeout\": \"10\",\n            \"prompt\": \"10\",\n            \"order\": \"10\",\n            \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n            \"domainName\": \"labdev.digivox.com.br\",\n            \"followMeId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\"\n        }\n    ]\n}"}],"_postman_id":"e119b1e5-a1b8-4d8a-9af5-b47ca5014ce6"},{"name":"Adicionar/atualizar um encaminhamento de chamadas","id":"53eed026-18df-4ca4-9951-339157ecb31c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"forwardAllDestinationEnabled\": true,\n  \"forwardAllDestination\": \"2000\",\n  \"doNotDisturb\": true,\n  \"enabled\": true,\n  \"forwardBusyDestinationEnabled\": true,\n  \"forwardBusyDestination\": null,\n  \"forwardNoAnswerDestinationEnabled\": true,\n  \"forwardNoAnswerDestination\": null,\n  \"forwardUserNotRegisteredDestinationEnabled\": true,\n  \"forwardUserNotRegisteredDestination\": null,\n  \"description\": \"2000\",\n  \"destinations\": [\n    {\n      \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n      \"number\": \"2000\",\n      \"delay\": \"10\",\n      \"timeout\": \"10\",\n      \"prompt\": \"10\",\n      \"order\": \"10\",\n      \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n      \"domainName\": \"labdev.digivox.com.br\",\n      \"followMeId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\"\n    }\n  ]\n}"},"url":"{{basePath}}/call-forwardings/:extensionId?overrideDestinations={{call_forwardings_overrideDestinations}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["call-forwardings",":extensionId"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) Indicates if the forwarding's destinations will be ovewritten. 'false' is the default value</p>\n","type":"text/plain"},"key":"overrideDestinations","value":"{{call_forwardings_overrideDestinations}}"}],"variable":[{"id":"6d107780-a6c0-4481-ae1c-103e23f904bd","description":{"content":"<p>(Required) The Extension ID</p>\n","type":"text/plain"},"type":"string","value":"{{call_forwardings_extensionId}}","key":"extensionId"}]}},"response":[],"_postman_id":"53eed026-18df-4ca4-9951-339157ecb31c"},{"name":"Habilitar/desabilitar um encaminhamento de chamadas","id":"822cb03a-7494-461b-a521-f3cf14eb505b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{basePath}}/call-forwardings/:extensionId/forwarding/:enabled","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["call-forwardings",":extensionId","forwarding",":enabled"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"a77ef43d-920a-4977-a7b1-a7529b25cecc","description":{"content":"<p>(Required) The Extension ID</p>\n","type":"text/plain"},"type":"string","value":"{{call_forwardings_extensionId}}","key":"extensionId"},{"id":"c8394b5f-2e89-4803-8705-948546323710","description":{"content":"<p>(Required) The Forwarding Status. 'true' or 'false'</p>\n","type":"text/plain"},"type":"string","value":"{{call_forwardings_enabled}}","key":"enabled"}]}},"response":[],"_postman_id":"822cb03a-7494-461b-a521-f3cf14eb505b"},{"name":"Habilitar/desabilitar a função \"Siga-me\"","id":"41374d02-5fb4-4146-8ed4-adacb206a535","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{basePath}}/call-forwardings/:extensionId/follow-me/:enabled","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["call-forwardings",":extensionId","follow-me",":enabled"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"02d166f1-bb2e-48a9-837a-e1daae735cec","description":{"content":"<p>(Required) The Extension ID</p>\n","type":"text/plain"},"type":"string","value":"{{call_forwardings_extensionId}}","key":"extensionId"},{"id":"a1d52867-b0ea-4b03-9e1f-81940cb24cf9","description":{"content":"<p>(Required) The \"Follow Me\" Status. 'true' or 'false'</p>\n","type":"text/plain"},"type":"string","value":"{{call_forwardings_follow_me_enabled}}","key":"enabled"}]}},"response":[],"_postman_id":"41374d02-5fb4-4146-8ed4-adacb206a535"},{"name":"Habilitar/desabilitar a função \"Não perturbe\"","id":"eeeecb8a-3e48-48c0-b8bb-f38ce26e8068","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{basePath}}/call-forwardings/:extensionId/do-not-disturb/:enabled","description":"<p>curl -X PUT -H \"Authorization: Bearer TOKEN\" <a href=\"https://unity.digivox.com.br/api/v1/call-forwardings/%7BextensionId%7D/do-not-disturb/%7Benabled%7D\">https://unity.digivox.com.br/api/v1/call-forwardings/{extensionId}/do-not-disturb/{enabled}</a></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["call-forwardings",":extensionId","do-not-disturb",":enabled"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"984a14d8-092e-489e-a590-19f121293cb3","description":{"content":"<p>(Required) The Extension ID</p>\n","type":"text/plain"},"type":"string","value":"{{call_forwardings_extensionId}}","key":"extensionId"},{"id":"f563c782-54f5-4de9-88cd-50c669f3a767","description":{"content":"<p>(Required) The \"Do Not Disturb\" Status. 'true' or 'false'</p>\n","type":"text/plain"},"type":"string","value":"{{call_forwardings_do_not_disturb_enabled}}","key":"enabled"}]}},"response":[],"_postman_id":"eeeecb8a-3e48-48c0-b8bb-f38ce26e8068"},{"name":"Creates a destination","id":"8eec5027-26db-48ce-80df-f94c01b76e34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"number\": \"2000\",\n  \"delay\": \"10\",\n  \"timeout\": \"10\",\n  \"prompt\": \"0\",\n  \"order\": \"10\"\n}"},"url":"{{basePath}}/call-forwardings/:extensionId/destinations","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["call-forwardings",":extensionId","destinations"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"3446fa94-e784-40b5-bc1d-69edc1760f30","description":{"content":"<p>(Required) The Extension ID</p>\n","type":"text/plain"},"type":"string","value":"{{call_forwardings_extensionId}}","key":"extensionId"}]}},"response":[],"_postman_id":"8eec5027-26db-48ce-80df-f94c01b76e34"},{"name":"Updates a destination","id":"d9a2487e-eeb1-4a21-892c-9e4289a10a64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"number\": \"2000\",\n  \"delay\": \"10\",\n  \"timeout\": \"10\",\n  \"prompt\": \"0\",\n  \"order\": \"10\"\n}"},"url":"{{basePath}}/call-forwardings/:extensionId/destinations/:destinationId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["call-forwardings",":extensionId","destinations",":destinationId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"9e8eeb43-f5c6-4fcc-b3ce-b72eb324f8f0","description":{"content":"<p>(Required) The Extension ID</p>\n","type":"text/plain"},"type":"string","value":"{{call_forwardings_extensionId}}","key":"extensionId"},{"id":"106d4a7b-6039-4818-b3b7-da0066af998e","description":{"content":"<p>(Required) The Destination ID</p>\n","type":"text/plain"},"type":"string","value":"{{call_forwardings_destinationId}}","key":"destinationId"}]}},"response":[],"_postman_id":"d9a2487e-eeb1-4a21-892c-9e4289a10a64"},{"name":"Removes a destination","id":"59c33517-6fa5-435c-a541-54a9cc43f458","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{basePath}}/call-forwardings/:extensionId/destinations/:destinationId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["call-forwardings",":extensionId","destinations",":destinationId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"b7f129ea-ec02-4378-80d0-7f41f9ca097f","description":{"content":"<p>(Required) The Extension ID</p>\n","type":"text/plain"},"type":"string","value":"{{call_forwardings_extensionId}}","key":"extensionId"},{"id":"1edddfc0-4c83-42a0-a04c-77606ac2c380","description":{"content":"<p>(Required) The Destination ID</p>\n","type":"text/plain"},"type":"string","value":"{{call_forwardings_destinationId}}","key":"destinationId"}]}},"response":[],"_postman_id":"59c33517-6fa5-435c-a541-54a9cc43f458"}],"id":"9f11469a-6a06-48eb-8cbe-2b73c9ef7f5d","event":[{"listen":"prerequest","script":{"id":"0b860a55-3db2-4467-8269-ee2ba2d59f31","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7f6895b0-dd77-4c4b-a364-5f8aafd77bfb","type":"text/javascript","exec":[""]}}],"_postman_id":"9f11469a-6a06-48eb-8cbe-2b73c9ef7f5d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Extensions","item":[{"name":"Listar todos os ramais","id":"143e7874-45b5-4db0-92a1-40ca968a968e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/extensions?limit={{limit}}&page={{page}}&domainId={{extensions_domainId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["extensions"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) The number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"description":{"content":"<p>(Optional) The Domain ID</p>\n","type":"text/plain"},"key":"domainId","value":"{{extensions_domainId}}"}],"variable":[]}},"response":[{"id":"956a3247-47ef-4640-959d-72edf20743ce","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/extensions?limit={{limit}}&page={{page}}&domainId={{extensions_domainId}}","host":["{{basePath}}"],"path":["extensions"],"query":[{"key":"limit","value":"{{limit}}","description":"(Optional) The number of items per page"},{"key":"page","value":"{{page}}","description":"(Optional) The page number"},{"key":"domainId","value":"{{extensions_domainId}}","description":"(Optional) The Domain ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"metadata\": {\n            \"pagination\": {\n                \"page\": 2,\n                \"limit\": 10,\n                \"pageCount\": 5,\n                \"totalCount\": 50,\n                \"links\": {\n                    \"current\": \"/url?limit=10&page=2\",\n                    \"first\": \"/url?limit=10&page=1\",\n                    \"previous\": \"/url?limit=10&page=1\",\n                    \"next\": \"/url?limit=10&page=3\",\n                    \"last\": \"/url?limit=10&page=5\"\n                }\n            }\n        },\n        \"extensions\": [\n            {\n                \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                \"extension\": \"2000\",\n                \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                \"domainName\": \"labdev.digivox.com.br\",\n                \"callTimeout\": \"10\",\n                \"device\": {\n                    \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                    \"macAddress\": \"00:15:65:7D:13:9A\",\n                    \"label\": \"2000\",\n                    \"vendor\": \"Yealink\",\n                    \"template\": \"yealink/t29g\",\n                    \"description\": \"2000\",\n                    \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                    \"domainName\": \"labdev.digivox.com.br\",\n                    \"lines\": [\n                        {\n                            \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                            \"number\": \"1\",\n                            \"displayName\": \"2000\",\n                            \"userId\": \"2000\",\n                            \"serverAddress\": \"labdev.digivox.com.br\"\n                        }\n                    ]\n                },\n                \"pickupGroups\": [\n                    {\n                        \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                        \"name\": \"Group 1\",\n                        \"description\": \"Group 1\",\n                        \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                        \"domainName\": \"labdev.digivox.com.br\"\n                    }\n                ]\n            }\n        ]\n    }\n]"}],"_postman_id":"143e7874-45b5-4db0-92a1-40ca968a968e"},{"name":"Recuperar informações de um ramal utilizando seu ID","id":"69f3ca13-370e-4596-9be0-ce93ef146caf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/extensions/:extensionId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["extensions",":extensionId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"061a3619-65b6-4192-88eb-290873362508","description":{"content":"<p>(Required) The Extension ID</p>\n","type":"text/plain"},"type":"string","value":"{{extensions_extensionId}}","key":"extensionId"}]}},"response":[{"id":"447d922f-671e-46d1-b706-e5d5f1256736","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/extensions/:extensionId","host":["{{basePath}}"],"path":["extensions",":extensionId"],"variable":[{"key":"extensionId","value":"{{extensions_extensionId}}","description":"(Required) The Extension ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"extension\": \"2000\",\n    \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"domainName\": \"labdev.digivox.com.br\",\n    \"callTimeout\": \"10\",\n    \"device\": {\n        \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n        \"macAddress\": \"00:15:65:7D:13:9A\",\n        \"label\": \"2000\",\n        \"vendor\": \"Yealink\",\n        \"template\": \"yealink/t29g\",\n        \"description\": \"2000\",\n        \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n        \"domainName\": \"labdev.digivox.com.br\",\n        \"lines\": [\n            {\n                \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                \"number\": \"1\",\n                \"displayName\": \"2000\",\n                \"userId\": \"2000\",\n                \"serverAddress\": \"labdev.digivox.com.br\"\n            }\n        ]\n    },\n    \"pickupGroups\": [\n        {\n            \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n            \"name\": \"Group 1\",\n            \"description\": \"Group 1\",\n            \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n            \"domainName\": \"labdev.digivox.com.br\"\n        }\n    ]\n}"}],"_postman_id":"69f3ca13-370e-4596-9be0-ce93ef146caf"},{"name":"Recuperar informações de um ramal utilizando seu número e domínio","id":"f08fc27a-92e1-4c6d-82aa-70c970eb7992","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/extensions/:extension/:domain","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["extensions",":extension",":domain"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"9ed8bad6-dd05-4145-87f4-7fb8eab4fb81","description":{"content":"<p>(Required) The Extension Number</p>\n","type":"text/plain"},"type":"string","value":"{{extensions_extension}}","key":"extension"},{"id":"f7c57eb4-6e9d-452a-b260-2dac5d922082","description":{"content":"<p>(Required) The Domain Name or ID</p>\n","type":"text/plain"},"type":"string","value":"{{extensions_domain}}","key":"domain"}]}},"response":[{"id":"c996faac-6ff1-4459-9d0f-e550bb5a2d49","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/extensions/:extension/:domain","host":["{{basePath}}"],"path":["extensions",":extension",":domain"],"variable":[{"key":"extension","value":"{{extensions_extension}}","description":"(Required) The Extension Number"},{"key":"domain","value":"{{extensions_domain}}","description":"(Required) The Domain Name or ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"extension\": \"2000\",\n    \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n    \"domainName\": \"labdev.digivox.com.br\",\n    \"callTimeout\": \"10\",\n    \"device\": {\n        \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n        \"macAddress\": \"00:15:65:7D:13:9A\",\n        \"label\": \"2000\",\n        \"vendor\": \"Yealink\",\n        \"template\": \"yealink/t29g\",\n        \"description\": \"2000\",\n        \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n        \"domainName\": \"labdev.digivox.com.br\",\n        \"lines\": [\n            {\n                \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n                \"number\": \"1\",\n                \"displayName\": \"2000\",\n                \"userId\": \"2000\",\n                \"serverAddress\": \"labdev.digivox.com.br\"\n            }\n        ]\n    },\n    \"pickupGroups\": [\n        {\n            \"id\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n            \"name\": \"Group 1\",\n            \"description\": \"Group 1\",\n            \"domainId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n            \"domainName\": \"labdev.digivox.com.br\"\n        }\n    ]\n}"}],"_postman_id":"f08fc27a-92e1-4c6d-82aa-70c970eb7992"},{"name":"Atualizar informações de um ramal","id":"d5c02854-497e-4683-b9ed-b4aa70e67e1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"callTimeout\": \"10\"\n}"},"url":"{{basePath}}/extensions/:extensionId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["extensions",":extensionId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"7bcde1c0-7786-4ce8-8c0a-51a91abdc55f","description":{"content":"<p>(Required) The Extension ID</p>\n","type":"text/plain"},"type":"string","value":"{{extensions_extensionId}}","key":"extensionId"}]}},"response":[],"_postman_id":"d5c02854-497e-4683-b9ed-b4aa70e67e1c"}],"id":"fa0dcbd5-4462-447a-89ef-9c4e3822fb13","event":[{"listen":"prerequest","script":{"id":"4e29b128-9779-49da-b5a3-35d8f89483bb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"55a1d9e5-b871-4e2d-b1f1-ce486db1ae17","type":"text/javascript","exec":[""]}}],"_postman_id":"fa0dcbd5-4462-447a-89ef-9c4e3822fb13","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Dial Passwords","item":[{"name":"Atualizar a senha de discagem","id":"d679878d-33aa-4aea-b21a-37addf25ca60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"johndoe\",\n  \"domain\": \"labdev.digivox.com.br\",\n  \"dialPassword\": \"123456\"\n}"},"url":"{{basePath}}/dial-passwords","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["dial-passwords"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d679878d-33aa-4aea-b21a-37addf25ca60"}],"id":"86fa53a9-6452-475c-9731-8c4bcebeffb5","event":[{"listen":"prerequest","script":{"id":"22256ba2-2ea5-4933-ae84-29cb1c322878","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1533b6f1-876a-4ccf-9148-0ae32f7e903d","type":"text/javascript","exec":[""]}}],"_postman_id":"86fa53a9-6452-475c-9731-8c4bcebeffb5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Call Permissions","item":[{"name":"Atualizar a permissão de chamada do usuário","id":"e76e0ece-e647-4e7a-837d-20ae169e9ef3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{basePath}}/call-permissions/:category/users/:username/:domain","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["call-permissions",":category","users",":username",":domain"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"9d2633d0-10b6-4683-b29f-1cf90d47418b","description":{"content":"<p>(Required) The Call Permission Name</p>\n","type":"text/plain"},"type":"string","value":"{{call_permissions_category}}","key":"category"},{"id":"1a2f1a1d-864b-40af-a5a9-63d89d5c0091","description":{"content":"<p>(Required) The Username</p>\n","type":"text/plain"},"type":"string","value":"{{call_permissions_username}}","key":"username"},{"id":"fc0dfd65-8d6c-40a6-b7a9-7d93ea6e7797","description":{"content":"<p>(Required) The Domain Name or ID</p>\n","type":"text/plain"},"type":"string","value":"{{call_permissions_domain}}","key":"domain"}]}},"response":[],"_postman_id":"e76e0ece-e647-4e7a-837d-20ae169e9ef3"},{"name":"Atualzar a permissão de chamada do ramal","id":"ad32411b-77fc-40f4-abd4-6538f0567d57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{basePath}}/call-permissions/:category/extensions/:extension/:domain","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["call-permissions",":category","extensions",":extension",":domain"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"77329910-dd65-4a6f-a004-3282467ac2cc","description":{"content":"<p>(Required) The Call Permission Name</p>\n","type":"text/plain"},"type":"string","value":"{{call_permissions_category}}","key":"category"},{"id":"494bf6fc-3484-47d2-92e5-e868f4e7325f","description":{"content":"<p>(Required) The Extension Number</p>\n","type":"text/plain"},"type":"string","value":"{{call_permissions_extension}}","key":"extension"},{"id":"7e294757-f394-484d-9a2c-a198277b52fb","description":{"content":"<p>(Required) The Domain Name or ID</p>\n","type":"text/plain"},"type":"string","value":"{{call_permissions_domain}}","key":"domain"}]}},"response":[],"_postman_id":"ad32411b-77fc-40f4-abd4-6538f0567d57"}],"id":"e6eb5357-aa71-44b0-a3ba-62dc3b2280af","event":[{"listen":"prerequest","script":{"id":"1ba44c7c-0ece-410e-8161-d2e8c21b6989","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"08324a42-3aab-4bb3-964c-16a206c8d8b0","type":"text/javascript","exec":[""]}}],"_postman_id":"e6eb5357-aa71-44b0-a3ba-62dc3b2280af","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}}],"id":"efc768a3-3894-4e10-9324-1d2de43db984","_postman_id":"efc768a3-3894-4e10-9324-1d2de43db984","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Conference Rooms","item":[{"name":"Conference Room","item":[{"name":"Remover sala de conferência","id":"793208e4-adf7-4039-857a-a913cc7dd653","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{basePath}}/conference-rooms/:conferenceRoomId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["conference-rooms",":conferenceRoomId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"1118705f-bd6d-41e6-8fff-5b16293c01cd","description":{"content":"<p>(Required=true) Conference room ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"conferenceRoomId"}]}},"response":[],"_postman_id":"793208e4-adf7-4039-857a-a913cc7dd653"},{"name":"Listar todas as salas de conferência do usuário","id":"de8ad38b-1870-4627-a5ea-f66f27fbaaa2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{basePath}}/conference-rooms?enabled=true","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["conference-rooms"],"host":["{{basePath}}"],"query":[{"disabled":true,"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"description":{"content":"<p>(Required=true) Status conference room</p>\n","type":"text/plain"},"key":"enabled","value":"true"}],"variable":[]}},"response":[{"id":"6f6935ae-ea81-44ef-b4dc-5746d378d851","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/contacts?limit=3","host":["{{basePath}}"],"path":["contacts"],"query":[{"key":"limit","value":"3","description":"(Optional) The number of items per page"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 23 Jul 2019 19:56:07 GMT"}],"cookie":[],"responseTime":null,"body":"{\n\t\"conferenceRooms\": [\n\t\t{\n\t      \"id\": \"\",\n\t      \"name\": \"Teste\",\n\t      \"startDatetime\": \"30/03/2020 09:00:00\",\n\t      \"stopDatetime\": \"30/03/2020 09:30:00\",\n\t      \"waitMod\": false,\n\t      \"moderatorPin\": \"2982\",\n\t      \"participantPin\": \"4028\",\n\t      \"meetingUuid\": \"\",\n\t      \"number\": \"7674\",\n\t      \"description\": \"\",\n\t      \"citrusSendPin\": true,\n\t      \"citrusInvationParticipantExternal\": true,\n\t      \"numberExternal\": \"\",\n\t      \"createdBy\": \"\",\n\t      \"userCreatedName\": \"\",\n\t      \"anonymousModeratorUrl\": \"\",\n\t      \"anonymousParticipantUrl\": \"\",\n\t      \"conferenceRoomModerators\": [\n\t      \t{\n\t          \"id\": \"157f15e7-81cd-4200-bdde-43bb08e9be8a\",\n\t          \"name\": \"Test\",\n\t          \"email\": \"test@domain.com.br\",\n\t          \"description\": \"\",\n\t          \"userModerator\": true,\n\t          \"userUuid\": \"b5e82fd0-5b95-4bc8-fce3-7b0beb841300\",\n\t          \"type\": \"MODERATOR\"\n\t        }\n\t      ],\n\t      \"conferenceRoomParticipants\": [\n\t      \t{\n\t          \"id\": \"379b768e-8353-4730-87db-b0728a9a84b8\",\n\t          \"name\": \"Test 2\",\n\t          \"email\": \"test2@domain.com.br\",\n\t          \"description\": \"\",\n\t          \"userModerator\": false,\n\t          \"userUuid\": \"99f0ce55-ec73-a6b7-fec1-7730143ecd76\",\n\t          \"type\": \"PARTICIPANT\"\n\t        }\n\t      ],\n\t      \"conferenceRoomParticipantExternals\": [\n\t      \t{\n\t          \"id\": \"13ae2a6d-8990-4862-8027-374ae86a51f7\",\n\t          \"name\": \"Test 3\",\n\t          \"email\": \"test3@domain.com.br\",\n\t          \"description\": \"teste3\",\n\t          \"userModerator\": false,\n\t          \"userUuid\": null,\n\t          \"type\": \"PARTICIPANT_EXTERNAL\"\n\t        }\n\t      ]\n\t    }\n\t]\n}"}],"_postman_id":"de8ad38b-1870-4627-a5ea-f66f27fbaaa2"},{"name":"Adicionar sala de conferência","id":"8ddf1693-203e-494c-b391-f5877a8fd2c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Conference room\",\n\t\"startDatetime\": \"20/01/2020 12:00:00\",\n\t\"stopDatetime\": \"20/01/2020 13:00:00\",\n\t\"waitMod\": true,\n\t\"record\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{basePath}}/conference-rooms","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["conference-rooms"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"9383cf0f-df8b-4991-9e30-91782a840957","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Conference room\",\n\t\"startDatetime\": \"20/01/2020 12:00:00\",\n\t\"stopDatetime\": \"20/01/2020 13:00:00\",\n\t\"waitMod\": true,\n\t\"record\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{basePath}}/conference-rooms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"\",\n    \"name\": \"Teste\",\n    \"startDatetime\": \"30/03/2020 09:00:00\",\n    \"stopDatetime\": \"30/03/2020 09:30:00\",\n    \"waitMod\": false,\n    \"moderatorPin\": \"2982\",\n    \"participantPin\": \"4028\",\n    \"meetingUuid\": \"\",\n    \"number\": \"7674\",\n    \"description\": \"\",\n    \"citrusSendPin\": true,\n    \"citrusInvationParticipantExternal\": true,\n    \"numberExternal\": \"\",\n    \"createdBy\": \"\",\n    \"userCreatedName\": \"\",\n    \"anonymousModeratorUrl\": \"\",\n    \"anonymousParticipantUrl\": \"\",\n    \"conferenceRoomModerators\": [],\n    \"conferenceRoomParticipants\": [],\n    \"conferenceRoomParticipantExternals\": []\n}"}],"_postman_id":"8ddf1693-203e-494c-b391-f5877a8fd2c7"},{"name":"Atualizar sala de conferência","id":"ed0273ef-a233-4ea5-bce9-0bcfaf5e1aeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Conference room 2\",\n\t\"startDatetime\": \"20/01/2020 17:00:00\",\n\t\"stopDatetime\": \"20/01/2020 18:00:00\",\n\t\"waitMod\": true,\n\t\"record\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{basePath}}/conference-rooms/:conferenceRoomId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["conference-rooms",":conferenceRoomId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"5b877d5e-5e8d-4f54-a4c7-b3deea9dfdf0","description":{"content":"<p>(Required=true) Conference room ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"conferenceRoomId"}]}},"response":[],"_postman_id":"ed0273ef-a233-4ea5-bce9-0bcfaf5e1aeb"},{"name":"Recuperar uma sala de conferência","id":"d5ccfbbe-1cc5-4023-892b-ada8f0fcc0ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/conference-rooms/:conferenceRoomId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["conference-rooms",":conferenceRoomId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"569147a3-3f47-4444-81c0-9a877b9114f1","description":{"content":"<p>(Required=true) Conference room ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"conferenceRoomId"}]}},"response":[{"id":"d7c6fc0c-5018-413a-95c0-eb0b2eeab704","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/conference-rooms/:conferenceRoomId","host":["{{basePath}}"],"path":["conference-rooms",":conferenceRoomId"],"variable":[{"key":"conferenceRoomId","value":"","description":"(Required=true) Conference room ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"\",\n    \"name\": \"Teste\",\n    \"startDatetime\": \"30/03/2020 09:00:00\",\n    \"stopDatetime\": \"30/03/2020 09:30:00\",\n    \"waitMod\": false,\n    \"moderatorPin\": \"2982\",\n    \"participantPin\": \"4028\",\n    \"meetingUuid\": \"\",\n    \"number\": \"7674\",\n    \"description\": \"\",\n    \"citrusSendPin\": true,\n    \"citrusInvationParticipantExternal\": true,\n    \"numberExternal\": \"\",\n    \"createdBy\": \"\",\n    \"userCreatedName\": \"\",\n    \"anonymousModeratorUrl\": \"\",\n    \"anonymousParticipantUrl\": \"\",\n    \"conferenceRoomModerators\": [\n        {\n            \"id\": \"157f15e7-81cd-4200-bdde-43bb08e9be8a\",\n            \"name\": \"Test\",\n            \"email\": \"test@domain.com.br\",\n            \"description\": \"\",\n            \"userModerator\": true,\n            \"userUuid\": \"b5e82fd0-5b95-4bc8-fce3-7b0beb841300\",\n            \"type\": \"MODERATOR\"\n        }\n    ],\n    \"conferenceRoomParticipants\": [\n        {\n            \"id\": \"379b768e-8353-4730-87db-b0728a9a84b8\",\n            \"name\": \"Test 2\",\n            \"email\": \"test2@domain.com.br\",\n            \"description\": \"\",\n            \"userModerator\": false,\n            \"userUuid\": \"99f0ce55-ec73-a6b7-fec1-7730143ecd76\",\n            \"type\": \"PARTICIPANT\"\n        }\n    ],\n    \"conferenceRoomParticipantExternals\": [\n        {\n            \"id\": \"13ae2a6d-8990-4862-8027-374ae86a51f7\",\n            \"name\": \"Test 3\",\n            \"email\": \"test3@domain.com.br\",\n            \"description\": \"teste3\",\n            \"userModerator\": false,\n            \"userUuid\": null,\n            \"type\": \"PARTICIPANT_EXTERNAL\"\n        }\n    ]\n}"}],"_postman_id":"d5ccfbbe-1cc5-4023-892b-ada8f0fcc0ba"},{"name":"Habilitar/Desabilitar gravação de sala de conferêcia","id":"0645f6a0-fc87-41cd-a8a2-11a1be437155","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/conference-rooms/record/:conferenceRoomId?action","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["conference-rooms","record",":conferenceRoomId"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Required=true) Conference room record action(START, STOP, STATUS)</p>\n","type":"text/plain"},"key":"action","value":""}],"variable":[{"id":"030eff5a-ec5f-44bf-aa93-ea9d59cd2c90","description":{"content":"<p>(Required=true) Conference room ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"conferenceRoomId"}]}},"response":[],"_postman_id":"0645f6a0-fc87-41cd-a8a2-11a1be437155"}],"id":"001c605b-14f1-489d-9560-753e789624c8","_postman_id":"001c605b-14f1-489d-9560-753e789624c8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Conference Room Participantes","item":[{"name":"Remover participante da sala de conferência","id":"f6061f56-60d2-4e9d-b1e0-ea74b5b34d0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{basePath}}/participants/:conferenceRoomId/:participantId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["participants",":conferenceRoomId",":participantId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"096509d7-9c49-470a-ba34-7939076db756","description":{"content":"<p>(Required=true) Conference room ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"conferenceRoomId"},{"id":"1d52d01a-1067-4ac3-80ac-d60c54c51380","description":{"content":"<p>(Required=true) Conference room participant ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"participantId"}]}},"response":[],"_postman_id":"f6061f56-60d2-4e9d-b1e0-ea74b5b34d0f"},{"name":"Enviar emails para todos os participantes da sala de conferência","id":"1fea9c65-52de-4bc7-9bd4-65cea4b1311e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/participants/send-emails/:conferenceRoomId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["participants","send-emails",":conferenceRoomId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"9adf5d42-14f3-4e21-ad74-6c26ccfeb2fa","description":{"content":"<p>(Required=true) Conference room ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"conferenceRoomId"}]}},"response":[],"_postman_id":"1fea9c65-52de-4bc7-9bd4-65cea4b1311e"},{"name":"Adicionar participante na sala de conferência","id":"2a0f8e30-a735-4f3b-ab36-bba838d18850","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"[\n\t{\n\t\t\"name\": \"\",\n\t\t\"email\": \"\",\n\t\t\"description\": \"\",\n\t\t\"userUuid\": \"{user_uuid}\",\n\t\t\"type\": \"MODERATOR\"\n\t},{\n\t\t\"name\": \"\",\n\t\t\"email\": \"\",\n\t\t\"description\": \"\",\n\t\t\"userUuid\": \"{user_uuid}\",\n\t\t\"type\": \"PARTICIPANT\"\n\t},{\n\t\t\"name\": \"Teste 01\",\n\t\t\"email\": \"teste@domain.com.br\",\n\t\t\"description\": \"teste descriprion\",\n\t\t\"userUuid\": \"\",\n\t\t\"type\": \"PARTICIPANT_EXTERNAL\"\n\t}\n]","options":{"raw":{"language":"json"}}},"url":"{{basePath}}/participants/:conferenceRoomId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["participants",":conferenceRoomId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"cfcb4a98-b7b3-4b78-8f93-8a1118bb10ee","description":{"content":"<p>(Required=true) Conference room ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"conferenceRoomId"}]}},"response":[],"_postman_id":"2a0f8e30-a735-4f3b-ab36-bba838d18850"},{"name":"Atualizar participante na sala de conferência","id":"ed11ea3a-d954-489b-b81e-6b99e66dded2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Teste 02\",\n\t\"email\": \"teste2@domain.com.br\",\n\t\"description\": \"teste description 02\",\n\t\"userUuid\": \"\",\n\t\"type\": \"PARTICIPANT_EXTERNAL\"\n}","options":{"raw":{"language":"json"}}},"url":"{{basePath}}/participants/:conferenceRoomId/:participantId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["participants",":conferenceRoomId",":participantId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"d87be4eb-0f63-4c2b-b5e8-d416c77702ed","description":{"content":"<p>(Required=true) Conference room ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"conferenceRoomId"},{"id":"e397e7d2-1fcb-4bb0-99db-36053aac4e9e","description":{"content":"<p>(Required=true) Participant external ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"participantId"}]}},"response":[],"_postman_id":"ed11ea3a-d954-489b-b81e-6b99e66dded2"}],"id":"d153b480-5952-4cf6-95c6-3c90bc97154e","_postman_id":"d153b480-5952-4cf6-95c6-3c90bc97154e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}}],"id":"21027bb1-e8f3-4871-98c3-5e35143770d5","_postman_id":"21027bb1-e8f3-4871-98c3-5e35143770d5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Contact Center","item":[{"name":"Agents Groups","item":[{"name":"Listar grupos de agentes","id":"9f254d89-8e22-452a-afdd-c32fd2d87169","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/agents-groups?limit={{limit}}&page={{page}}&domainId={{agents_groups_domainId}}","description":"<p>Lists all agents groups</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["agents-groups"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) The number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"description":{"content":"<p>(Optional) The Domain ID</p>\n","type":"text/plain"},"key":"domainId","value":"{{agents_groups_domainId}}"}],"variable":[]}},"response":[{"id":"7473e09e-3503-46b4-9749-d64cd12ab69a","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"{{Authorization}}"}],"url":{"raw":"{{basePath}}/agents-groups","host":["{{basePath}}"],"path":["agents-groups"],"query":[{"key":"limit","value":"{{limit}}","disabled":true},{"key":"page","value":"{{page}}","disabled":true},{"key":"domainId","value":"{{domainId}}","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Mon, 22 Apr 2019 18:57:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"metadata\": {\n        \"pagination\": {\n            \"page\": 1,\n            \"limit\": 20,\n            \"pageCount\": 1,\n            \"totalCount\": 5,\n            \"links\": {\n                \"current\": \"/agents-groups?limit=20&page=1\",\n                \"first\": \"/agents-groups?limit=20&page=1\",\n                \"previous\": \"/agents-groups?limit=20&page=1\",\n                \"next\": \"/agents-groups?limit=20&page=1\",\n                \"last\": \"/agents-groups?limit=20&page=1\"\n            }\n        }\n    },\n    \"agentsGroups\": [\n        {\n            \"id\": \"0a5407ac-a000-9853-f897-b6d318d30a77\",\n            \"name\": \"DemoLab\",\n            \"domainId\": \"e9a96b86-853b-4955-90e0-4804c2fdcfb1\",\n            \"domainName\": \"demolab.digivox.com.br\"\n        },\n        {\n            \"id\": \"ae83a9a3-fc49-d2b7-0453-4bc9c5d33dd6\",\n            \"name\": \"Demonstração\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\"\n        },\n        {\n            \"id\": \"1de83d22-6eaf-4c01-de86-bef00fb70d00\",\n            \"name\": \"Grupo_Agente01\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\"\n        },\n        {\n            \"id\": \"43fd0018-9318-2347-e781-4428facebbbf\",\n            \"name\": \"teste\",\n            \"domainId\": \"027ac334-59d7-4bf0-be57-da9597439021\",\n            \"domainName\": \"192.168.101.50\"\n        },\n        {\n            \"id\": \"75e5fbce-3f1e-e342-7258-b0e5b8fd5b66\",\n            \"name\": \"teste grupo\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\"\n        }\n    ]\n}"}],"_postman_id":"9f254d89-8e22-452a-afdd-c32fd2d87169"}],"id":"5435791d-e7bb-4ec5-aedb-80f999bf6ab5","event":[{"listen":"prerequest","script":{"id":"bcf4492f-f47a-4e40-b485-12983164fdc8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e53c7f70-5156-4904-a2de-c8e39916907f","type":"text/javascript","exec":[""]}}],"_postman_id":"5435791d-e7bb-4ec5-aedb-80f999bf6ab5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Calls History","item":[{"name":"Consultar histórico de chamadas","id":"5415aa97-bbd5-489c-aa9f-eca0e65648a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/calls-history/:extension?limit={{limit}}&page={{page}}&status={{calls_history_status}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["calls-history",":extension"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) The number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"key":"status","value":"{{calls_history_status}}"}],"variable":[{"id":"5ac93492-4fc5-447e-863d-38ed71a17128","type":"string","value":"{{calls_history_extension}}","key":"extension"}]}},"response":[{"id":"9c8863eb-6f83-4e9a-b579-db510f9112b6","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/calls-history/:extension?status={{calls_history_status}}","host":["{{basePath}}"],"path":["calls-history",":extension"],"query":[{"key":"status","value":"{{calls_history_status}}"}],"variable":[{"key":"extension","value":"{{calls_history_extension}}"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"metadata\": {\n        \"pagination\": {\n            \"page\": 1,\n            \"limit\": 20,\n            \"pageCount\": 37,\n            \"totalCount\": 731,\n            \"links\": {\n                \"current\": \"/calls-history?limit=20&page=1\",\n                \"first\": \"/calls-history?limit=20&page=1\",\n                \"previous\": \"/calls-history?limit=20&page=1\",\n                \"next\": \"/calls-history?limit=20&page=2\",\n                \"last\": \"/calls-history?limit=20&page=37\"\n            }\n        }\n    },\n    \"calls\": [\n        {\n            \"id\": \"4fade014-e92d-6aab-bc2a-eef1b1a7ed28\",\n            \"extension\": \"2009\",\n            \"direction\": \"inbound\",\n            \"duration\": \"00:10:01\",\n            \"status\": \"success\",\n            \"date\": \"2019/09/18 11:12:50\"\n        }\n    ]\n}"}],"_postman_id":"5415aa97-bbd5-489c-aa9f-eca0e65648a7"}],"id":"52b23054-96a5-474f-8f6b-a182e257c0ea","_postman_id":"52b23054-96a5-474f-8f6b-a182e257c0ea","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Monitoring Groups","item":[{"name":"Listar grupos de monitoramento dos supervisores","id":"9a345b41-7804-4796-a1cf-a89b5008e84f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/monitoring-groups?limit={{limit}}&page={{page}}&siteId={{monitoring_groups_siteId}}","description":"<p>Lists all monitoring groups</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["monitoring-groups"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) The number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"description":{"content":"<p>(Optional) The Site ID</p>\n","type":"text/plain"},"key":"siteId","value":"{{monitoring_groups_siteId}}"}],"variable":[]}},"response":[{"id":"44c0b6ef-ccb5-492b-9aaa-a748ad3cd250","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/monitoring-groups","host":["{{basePath}}"],"path":["monitoring-groups"],"query":[{"key":"limit","value":"{{limit}}","description":"(Optional) The number of items per page","disabled":true},{"key":"page","value":"{{page}}","description":"(Optional) The page number","disabled":true},{"key":"siteId","value":"{{siteId}}","description":"(Optional) The Site ID","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Mon, 22 Apr 2019 18:39:39 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"metadata\": {\n        \"pagination\": {\n            \"page\": 1,\n            \"limit\": 20,\n            \"pageCount\": 1,\n            \"totalCount\": 7,\n            \"links\": {\n                \"current\": \"/monitoring-groups?limit=20&page=1\",\n                \"first\": \"/monitoring-groups?limit=20&page=1\",\n                \"previous\": \"/monitoring-groups?limit=20&page=1\",\n                \"next\": \"/monitoring-groups?limit=20&page=1\",\n                \"last\": \"/monitoring-groups?limit=20&page=1\"\n            }\n        }\n    },\n    \"monitoringGroups\": [\n        {\n            \"id\": \"d2cd3662-918e-9db8-9ec8-84a6efc39ef1\",\n            \"name\": \"DemoLab\"\n        },\n        {\n            \"id\": \"9c490966-960c-3bf4-b4fb-f61ddd36bc99\",\n            \"name\": \"Demonstração\"\n        },\n        {\n            \"id\": \"2311e154-0d03-05cd-94bf-ddfad3432be9\",\n            \"name\": \"Desenvolvimento\"\n        },\n        {\n            \"id\": \"7ab369c9-f836-7269-538f-8a1f8165a80b\",\n            \"name\": \"fila1\"\n        },\n        {\n            \"id\": \"35c85e8b-03e7-bc40-9bd3-1b3b9bb4a5e9\",\n            \"name\": \"fila2\"\n        },\n        {\n            \"id\": \"fe2e510e-27c8-b951-ccec-358cffe781f2\",\n            \"name\": \"grupo teste \"\n        },\n        {\n            \"id\": \"9b861e64-2545-bf86-311b-bcd2a495fd6c\",\n            \"name\": \"teste grupo\"\n        }\n    ]\n}"}],"_postman_id":"9a345b41-7804-4796-a1cf-a89b5008e84f"}],"id":"e79066da-089e-4b6e-8ca7-9e447aac9bf2","event":[{"listen":"prerequest","script":{"id":"19a00f3b-c688-4f16-8bac-e5958635eb2d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bd05071c-b201-4487-a595-49f0e4a698e1","type":"text/javascript","exec":[""]}}],"_postman_id":"e79066da-089e-4b6e-8ca7-9e447aac9bf2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Queues / Skills","item":[{"name":"Listar skills e filas","id":"3d106c08-9a12-4fbb-a0bd-ad9849f6d9a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/queues?limit={{limit}}&page={{page}}&domainId={{queues_domainId}}","description":"<p>Lists all queues</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["queues"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) The number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"description":{"content":"<p>(Optional) The Domain ID</p>\n","type":"text/plain"},"key":"domainId","value":"{{queues_domainId}}"}],"variable":[]}},"response":[{"id":"51a3411d-4052-4457-b990-fda1ec65b939","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"{{Authorization}}"}],"url":{"raw":"{{basePath}}/queues","host":["{{basePath}}"],"path":["queues"],"query":[{"key":"limit","value":"{{limit}}","disabled":true},{"key":"page","value":"{{page}}","disabled":true},{"key":"domainId","value":"{{domainId}}","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Mon, 22 Apr 2019 18:53:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"metadata\": {\n        \"pagination\": {\n            \"page\": 0,\n            \"limit\": 20,\n            \"pageCount\": 1,\n            \"totalCount\": 0,\n            \"links\": {\n                \"current\": \"/queues?limit=20&page=0\",\n                \"first\": \"/queues?limit=20&page=1\",\n                \"previous\": \"/queues?limit=20&page=1\",\n                \"next\": \"/queues?limit=20&page=1\",\n                \"last\": \"/queues?limit=20&page=1\"\n            }\n        }\n    },\n    \"queues\": [\n        {\n            \"id\": \"901911bb-3b92-4caa-bfbc-e50125c58695\",\n            \"name\": \"DemoLab\",\n            \"domainId\": \"e9a96b86-853b-4955-90e0-4804c2fdcfb1\",\n            \"domainName\": \"demolab.digivox.com.br\"\n        },\n        {\n            \"id\": \"30677055-d82a-4f60-89b4-a51d82656005\",\n            \"name\": \"Desenvolvimento\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\"\n        },\n        {\n            \"id\": \"9f4fa19d-d549-48af-b027-5ea4ad3f187b\",\n            \"name\": \"Dev\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\"\n        },\n        {\n            \"id\": \"91bc9fe8-fb14-47c1-a892-90088bd79cc8\",\n            \"name\": \"fila1\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\"\n        },\n        {\n            \"id\": \"52a7a1e3-9298-443b-96ae-8a09fd0eaa1e\",\n            \"name\": \"fila2\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\"\n        },\n        {\n            \"id\": \"2d998352-3528-4fce-9e56-ce246c11c807\",\n            \"name\": \"fila3\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\"\n        },\n        {\n            \"id\": \"6ff2ae99-ea5a-4a2d-82d1-4f5c8c84ff1f\",\n            \"name\": \"Fila teste 02\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\"\n        },\n        {\n            \"id\": \"ce1b5d5e-a64c-46de-9c78-140964b009fe\",\n            \"name\": \"Suporte Digivox\",\n            \"domainId\": \"027ac334-59d7-4bf0-be57-da9597439021\",\n            \"domainName\": \"192.168.101.50\"\n        },\n        {\n            \"id\": \"fb769f29-0644-4445-b976-ce4f6215f2fe\",\n            \"name\": \"Suporte_Digivox\",\n            \"domainId\": \"027ac334-59d7-4bf0-be57-da9597439021\",\n            \"domainName\": \"192.168.101.50\"\n        },\n        {\n            \"id\": \"70626339-b0e6-462e-83c1-77ffac503e7f\",\n            \"name\": \"Testando_CB\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\"\n        },\n        {\n            \"id\": \"f649134c-770f-4059-881b-90d2d5c639ae\",\n            \"name\": \"TesteJR\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\"\n        }\n    ]\n}"}],"_postman_id":"3d106c08-9a12-4fbb-a0bd-ad9849f6d9a3"},{"name":"Adicionar um agente a um skill/fila","id":"cada5034-8f7e-4fe1-9c57-0c7a65ec4605","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{basePath}}/callcenters/:domain/queues/:queue/agents/:agent","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["callcenters",":domain","queues",":queue","agents",":agent"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"d4e655b5-c9dd-4f7c-ae56-0d467034a840","description":{"content":"<p>(Required) The Domain Name or ID</p>\n","type":"text/plain"},"type":"string","value":"{{callcenters_domain}}","key":"domain"},{"id":"2292ba99-6f2a-4f73-abbb-bc938cc53105","description":{"content":"<p>(Required) The Queue Name</p>\n","type":"text/plain"},"type":"string","value":"{{callcenters_queue}}","key":"queue"},{"id":"3abc2165-8960-4f06-9a3e-c514106ff859","description":{"content":"<p>(Required) The Agent Name</p>\n","type":"text/plain"},"type":"string","value":"{{callcenters_agent}}","key":"agent"}]}},"response":[],"_postman_id":"cada5034-8f7e-4fe1-9c57-0c7a65ec4605"},{"name":"Remover um agente de um skill/fila","id":"0063e6ee-76ec-4435-af38-1d519ffac7f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{basePath}}/callcenters/:domain/queues/:queue/agents/:agent","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["callcenters",":domain","queues",":queue","agents",":agent"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"1ec912f4-303e-4803-86c4-ec984181a13f","description":{"content":"<p>(Required) The Domain Name or ID</p>\n","type":"text/plain"},"type":"string","value":"{{callcenters_domain}}","key":"domain"},{"id":"b49f75c2-87a6-41be-a5ca-accb3ece06c7","description":{"content":"<p>(Required) The Queue Name</p>\n","type":"text/plain"},"type":"string","value":"{{callcenters_queue}}","key":"queue"},{"id":"d8002be7-ff9a-4155-8fc0-f1faa166b0b2","description":{"content":"<p>(Required) The Agent Name</p>\n","type":"text/plain"},"type":"string","value":"{{callcenters_agent}}","key":"agent"}]}},"response":[],"_postman_id":"0063e6ee-76ec-4435-af38-1d519ffac7f4"},{"name":"Adicionar um ramal a um skill/fila","id":"f8a7dff5-1467-4213-8ccb-51226e0bcc2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{basePath}}/callcenters/:domain/queues/:queue/extensions/:extension","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["callcenters",":domain","queues",":queue","extensions",":extension"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"bc12cd22-3d9b-4c67-ad8e-220ee07b86ae","description":{"content":"<p>(Required) The Domain Name or ID</p>\n","type":"text/plain"},"type":"string","value":"{{callcenters_domain}}","key":"domain"},{"id":"9b2a6410-9bca-4fb7-a8c5-b1322ece5600","description":{"content":"<p>(Required) The Queue Name</p>\n","type":"text/plain"},"type":"string","value":"{{callcenters_queue}}","key":"queue"},{"id":"a9612791-14bb-436d-b267-ff9fc273e556","description":{"content":"<p>(Required) The Extension Number</p>\n","type":"text/plain"},"type":"string","value":"{{callcenters_extension}}","key":"extension"}]}},"response":[],"_postman_id":"f8a7dff5-1467-4213-8ccb-51226e0bcc2a"},{"name":"Remover um ramal de um skill/fila","id":"182ef9b1-9bb4-4038-8663-e1ddb8e9b347","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{basePath}}/callcenters/:domain/queues/:queue/extensions/:extension","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["callcenters",":domain","queues",":queue","extensions",":extension"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"d4de209b-d8c7-4a87-a70f-af9fb6591437","description":{"content":"<p>(Required) The Domain Name or ID</p>\n","type":"text/plain"},"type":"string","value":"{{callcenters_domain}}","key":"domain"},{"id":"1078585e-b992-46e8-84f5-b2be9add2545","description":{"content":"<p>(Required) The Queue Name</p>\n","type":"text/plain"},"type":"string","value":"{{callcenters_queue}}","key":"queue"},{"id":"8eb809fc-b1fd-44ee-a48f-28aef5672aed","description":{"content":"<p>(Required) The Extension Number</p>\n","type":"text/plain"},"type":"string","value":"{{callcenters_extension}}","key":"extension"}]}},"response":[],"_postman_id":"182ef9b1-9bb4-4038-8663-e1ddb8e9b347"}],"id":"d6c5c8ed-d4ce-40e2-a494-1050f5810b29","event":[{"listen":"prerequest","script":{"id":"0a10d2f8-5fcd-4fef-a3aa-c8ab7235b3cd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cf3ebb3a-d04a-4820-a46a-c7c2a4a9de62","type":"text/javascript","exec":[""]}}],"_postman_id":"d6c5c8ed-d4ce-40e2-a494-1050f5810b29","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Records","item":[{"name":"Listar gravações","id":"86a137d4-0352-4caf-9dc3-1bb25935f48b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/records?limit={{limit}}&page={{page}}&initDate={{records_initDate}}&endDate={{records_endDate}}&domainId={{records_domainId}}&queue={{records_queue}}&agentId={{records_agentId}}","description":"<p>Lists call records</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["records"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) The number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"description":{"content":"<p>(Optional) Init Date. Format yyyy-mm-dd HH:mm:ss</p>\n","type":"text/plain"},"key":"initDate","value":"{{records_initDate}}"},{"description":{"content":"<p>(Optional) End Date. Format yyyy-mm-dd HH:mm:ss</p>\n","type":"text/plain"},"key":"endDate","value":"{{records_endDate}}"},{"description":{"content":"<p>(Optional) The Domain ID</p>\n","type":"text/plain"},"key":"domainId","value":"{{records_domainId}}"},{"description":{"content":"<p>(Optional) The Queue Name</p>\n","type":"text/plain"},"key":"queue","value":"{{records_queue}}"},{"description":{"content":"<p>(Optional) The Agent ID</p>\n","type":"text/plain"},"key":"agentId","value":"{{records_agentId}}"}],"variable":[]}},"response":[{"id":"8c7712f9-5a04-4de4-aace-e66dc9749b44","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"{{Authorization}}"}],"url":{"raw":"{{basePath}}/records","host":["{{basePath}}"],"path":["records"],"query":[{"key":"limit","value":"{{limit}}","description":"(Optional) The number of items per page","disabled":true},{"key":"page","value":"{{page}}","description":"(Optional) The page number","disabled":true},{"key":"initDate","value":"{{records_initDate}}","description":"(Optional) Init Date. Format yyyy-mm-dd HH:mm:ss","disabled":true},{"key":"endDate","value":"{{records_endDate}}","description":"(Optional) End Date. Format yyyy-mm-dd HH:mm:ss","disabled":true},{"key":"domainId","value":"{{records_domainId}}","description":"(Optional) The Domain ID","disabled":true},{"key":"queue","value":"{{records_queue}}","description":"(Optional) The Queue Name","disabled":true},{"key":"agentId","value":"{{records_agentId}}","description":"(Optional) The Agent ID","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Mon, 22 Apr 2019 20:16:37 GMT"}],"cookie":[],"responseTime":null,"body":"{\n  \"metadata\": {\n    \"pagination\": {\n      \"page\": 1,\n      \"limit\": 10,\n      \"pageCount\": 1,\n      \"totalCount\": 1,\n      \"links\": {\n        \"current\": \"/url?limit=10&page=1\",\n        \"first\": \"/url?limit=10&page=1\",\n        \"previous\": \"/url?limit=10&page=1\",\n        \"next\": \"/url?limit=10&page=1\",\n        \"last\": \"/url?limit=10&page=1\"\n      }\n    }\n  },\n  \"records\": [\n    {\n      \"recordId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n      \"initDate\": \"2018-01-01 10:00:00\",\n      \"endDate\": \"2018-01-01 11:00:00\",\n      \"orginator\": \"5555555\",\n      \"queue\": \"support@labdev.digivox.com.br\",\n      \"queueWaitTime\": 50,\n      \"callDuration\": 200,\n      \"disconnection\": \"string\",\n      \"agentId\": \"a315dd62-a875-11e7-abc4-cec278b6b50a\",\n      \"agentUsername\": \"johndoe\",\n      \"agentName\": \"John Doe\",\n      \"protocolNumber\": \"201703027232826\",\n      \"qualifications\": \"Qualification 1, Qualification 2\"\n    }\n  ]\n}"}],"_postman_id":"86a137d4-0352-4caf-9dc3-1bb25935f48b"},{"name":"Download de gravação","id":"a7e3e7d5-fc76-412e-9860-7b85983874d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/records/:id/download","description":"<p>Downloads a call record file</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["records",":id","download"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"b2678aab-8a88-4adc-8609-a8b4fc89b61f","description":{"content":"<p>The record ID</p>\n","type":"text/plain"},"type":"string","value":"{{records_recordId}}","key":"id"}]}},"response":[],"_postman_id":"a7e3e7d5-fc76-412e-9860-7b85983874d1"}],"id":"dc833251-0dab-4fe1-b755-e5488870d27e","event":[{"listen":"prerequest","script":{"id":"e6621b12-5c9f-4cc3-a513-77649e054aad","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9df171e8-935d-46ef-bd32-ccfc15af11ff","type":"text/javascript","exec":[""]}}],"_postman_id":"dc833251-0dab-4fe1-b755-e5488870d27e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}}],"id":"eacbdc13-c8a9-49e5-90e1-8f49c89fe1d5","description":"<p>Tenha o controle do Contact Center em qualquer aplicação.</p>\n","event":[{"listen":"prerequest","script":{"id":"0f2bcd00-7fb2-4288-b89f-12bbc69e8440","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"62653c9d-41d1-435d-b172-e49fa08e450c","type":"text/javascript","exec":[""]}}],"_postman_id":"eacbdc13-c8a9-49e5-90e1-8f49c89fe1d5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Voicemails","item":[{"name":"Success","id":"54f95022-8b86-481f-9996-1328ded49628","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/voicemails/:extension?limit={{limit}}&page={{page}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["voicemails",":extension"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) The number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"}],"variable":[{"id":"f301b396-960a-4707-a28d-06a5ce2068b2","type":"string","value":"{{voicemails_extension}}","key":"extension"}]}},"response":[{"id":"d5be2853-7ce9-45f9-9bee-a4b26de201fb","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/voicemails/:extension?limit={{limit}}&page={{page}}","host":["{{basePath}}"],"path":["voicemails",":extension"],"query":[{"key":"limit","value":"{{limit}}","description":"(Optional) The number of items per page"},{"key":"page","value":"{{page}}","description":"(Optional) The page number"}],"variable":[{"key":"extension","value":"{{voicemails_extension}}"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"metadata\": {\n        \"pagination\": {\n            \"page\": 0,\n            \"limit\": 20,\n            \"pageCount\": 1,\n            \"totalCount\": 0,\n            \"links\": {\n                \"current\": \"/voicemails?limit=20&page=0\",\n                \"first\": \"/voicemails?limit=20&page=1\",\n                \"previous\": \"/voicemails?limit=20&page=1\",\n                \"next\": \"/voicemails?limit=20&page=1\",\n                \"last\": \"/voicemails?limit=20&page=1\"\n            }\n        }\n    },\n    \"voicemails\": [\n        {\n            \"id\": \"30e68a30-f58d-49bf-81f8-aaa14e1a0d14\",\n            \"name\": \"John\",\n            \"status\": \"saved\",\n            \"time\": \"11/03/2019 10:31:26\",\n            \"extension\": \"2009\",\n            \"messageId\": \"27b59636-d375-4989-8b4a-4c3c57ed5733\"\n        }\n    ]\n}"}],"_postman_id":"54f95022-8b86-481f-9996-1328ded49628"}],"id":"62cdb450-40a3-4ff5-b70e-320ab201516b","_postman_id":"62cdb450-40a3-4ff5-b70e-320ab201516b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"IVR Designer","item":[],"id":"03383e2d-0eea-43f0-992d-1bbe319eee60","description":"<p>Desenvolva árvores de URA utilizando uma interface drag and drop que facilita e agiliza a criação de árvores complexas. \nO IVR Designer possui suporte nativo a integração com APIs externas, além de módulos de integração com ASR e TTS, incluindo IBM Watson, Google Cloud, Amazon Web Services e Microsoft Bing.</p>\n<p><img src=\"http://www.digivox.com.br/digivox_dev/IVR_Designer.png\" alt=\"IVR\" /></p>\n","event":[{"listen":"prerequest","script":{"id":"3f08c9f2-fee2-4318-82cc-0a28d93e1f5a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2f9161a2-9827-4f38-b562-c5c97f96b1f0","type":"text/javascript","exec":[""]}}],"_postman_id":"03383e2d-0eea-43f0-992d-1bbe319eee60","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Softphone","item":[],"id":"6daaaeb0-6227-485f-baa0-d104da57ac79","description":"<p><img src=\"http://www.digivox.com.br/digivox_dev/webrtc-logo-vert-retro.png\" alt=\"WebRTC\" /></p>\n<p>A camada de SDK de softphone permite o desenvolvimento de softphones com marca própria e possibilita a integração de WebRTC em qualquer aplicação com poucas linhas de código.\nEntre em contato conosco para ter acesso ao SDK de desenvolvimento de integrações usando WebRTC.</p>\n","event":[{"listen":"prerequest","script":{"id":"e95750b2-49fa-420c-bf08-c7c5ac8115d7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5da21bac-c235-4ea6-90e5-ca275c9f1f42","type":"text/javascript","exec":[""]}}],"_postman_id":"6daaaeb0-6227-485f-baa0-d104da57ac79","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Message API","item":[{"name":"Mensagens Favoritas","item":[{"name":"Listar todas as mensagens favoritas","id":"ae8a1113-1b2c-40be-91fd-54c94c17da0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/favorite-messages?limit={{limit}}&page={{page}}&domain={{favorite_messages_domainId}}&to={{favorite_messages_to}}&contactType={{favorite_messages_contactType}}&text={{favorite_messages_text}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["favorite-messages"],"host":["{{basePath}}"],"query":[{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"},{"key":"domain","value":"{{favorite_messages_domainId}}"},{"key":"to","value":"{{favorite_messages_to}}"},{"key":"contactType","value":"{{favorite_messages_contactType}}"},{"key":"text","value":"{{favorite_messages_text}}"}],"variable":[]}},"response":[{"id":"fc5211ea-f027-4226-a136-06aeed66c0f2","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/favorite-messages?limit={{limit}}&page={{page}}&domainId={{favorite_messages_domainId}}","host":["{{basePath}}"],"path":["favorite-messages"],"query":[{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"},{"key":"domainId","value":"{{favorite_messages_domainId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 16 Jul 2019 14:52:12 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"metadata\": {\n        \"pagination\": {\n            \"page\": 1,\n            \"limit\": 10,\n            \"pageCount\": 1,\n            \"totalCount\": 1,\n            \"links\": {\n                \"current\": \"/favorite-messages?limit=10&page=1\",\n                \"first\": \"/favorite-messages?limit=10&page=1\",\n                \"previous\": \"/favorite-messages?limit=10&page=1\",\n                \"next\": \"/favorite-messages?limit=10&page=1\",\n                \"last\": \"/favorite-messages?limit=10&page=1\"\n            }\n        }\n    },\n    \"messages\": [\n        {\n            \"id\": \"042c046d-720d-b021-787b-62dab918c65e\",\n            \"messageId\": \"39882\",\n            \"contactType\": \"contact\",\n            \"contactTo\": \"2001@labdev.digivox.com.br\",\n            \"messageDate\": \"2019-08-15 10:00:00.0\",\n            \"message\": \"Hello\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\"\n        }\n    ]\n}"}],"_postman_id":"ae8a1113-1b2c-40be-91fd-54c94c17da0b"},{"name":"Adicionar uma mensagem como favorita","id":"863dc5e7-9707-47e6-a854-7472ea3f8060","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"messageId\": \"39882\",\n  \"contactType\": \"contact\",\n  \"contactTo\": \"2001@labdev.digivox.com.br\",\n  \"messageDate\": \"2019-08-15 10:00:00\",\n  \"message\": \"Hello\"\n}"},"url":"{{basePath}}/favorite-messages","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["favorite-messages"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"863dc5e7-9707-47e6-a854-7472ea3f8060"},{"name":"Recuperar informações de uma mensagem","id":"49a5a6cb-8312-48fd-a7a2-00180672ed68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/favorite-messages/{{favorite_messages_messageId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["favorite-messages","{{favorite_messages_messageId}}"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"3d1b1d71-c3fb-40ed-a0a3-a5262decd556","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{basePath}}/favorite-messages/{{favorite_messages_messageId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 16 Jul 2019 14:53:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"042c046d-720d-b021-787b-62dab918c65e\",\n    \"messageId\": \"39882\",\n    \"contactType\": \"contact\",\n    \"contactTo\": \"2001@labdev.digivox.com.br\",\n    \"messageDate\": \"2019-08-15 10:00:00.0\",\n    \"message\": \"Hello\",\n    \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n    \"domainName\": \"labdev.digivox.com.br\"\n}"}],"_postman_id":"49a5a6cb-8312-48fd-a7a2-00180672ed68"},{"name":"Remover uma mensagem da lista de favoritas","id":"a934b2da-3505-48a0-8c8a-528495968d12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{basePath}}/favorite-messages/{{favorite_messages_messageId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["favorite-messages","{{favorite_messages_messageId}}"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a934b2da-3505-48a0-8c8a-528495968d12"}],"id":"aaca5ef2-4fea-4fa2-ab55-b5605c5ec54b","_postman_id":"aaca5ef2-4fea-4fa2-ab55-b5605c5ec54b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}}],"id":"aa77d322-6754-48d1-81c5-6ba01d318822","description":"<p>Um única API que conecta o seu time com o mundo. Envie e receba SMS e as mais populares aplicações de chat (WhatsApp, Telegram, Facebook Messenger).\nEsta API facilita a comunicação com o seu cliente no canal que ele mais gosta de ser contactado.\nA API facilita o desenvolvimento de chat bots e aumenta a produtividade do time, ampliando a comunicação com os seus clientes.\nEntre em contato conosco para maiores detalhes. </p>\n","event":[{"listen":"prerequest","script":{"id":"6b93da36-24d2-4e38-8ce9-7b5127225e96","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"94f64ea2-88d5-4e41-b00f-7d918ab2f993","type":"text/javascript","exec":[""]}}],"_postman_id":"aa77d322-6754-48d1-81c5-6ba01d318822","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Colaboration API","item":[{"name":"Avatar","item":[{"name":"Recuperar avatar","id":"2f4e31ce-02dc-4f4e-b6a6-1c26a4c72059","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/avatars?groupId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["avatars"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Required=false) ID group chat for get group avatar</p>\n","type":"text/plain"},"key":"groupId","value":""}],"variable":[]}},"response":[],"_postman_id":"2f4e31ce-02dc-4f4e-b6a6-1c26a4c72059"},{"name":"Atualizar avatar","id":"1b951b05-8680-45ab-a449-df8abbc0b2b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{basePath}}/avatars?groupId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["avatars"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Required=false) ID group chat for set group avatar</p>\n","type":"text/plain"},"key":"groupId","value":""}],"variable":[]}},"response":[],"_postman_id":"1b951b05-8680-45ab-a449-df8abbc0b2b1"}],"id":"c492b7c0-3b7d-4315-bc2e-28d969827ddf","_postman_id":"c492b7c0-3b7d-4315-bc2e-28d969827ddf","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Attachments","item":[{"name":"Listar todos os arquivos compartilhados com um usuário ou grupo","id":"3c6fd683-a8c5-46e2-bf24-6cd30878096a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/attachments?src={{attachements_src}}&dst={{attachements_dst}}&kind={{attachements_kind}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["attachments"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>User used to find attachments. Always required when the kind is equals to 'chat'</p>\n","type":"text/plain"},"key":"src","value":"{{attachements_src}}"},{"description":{"content":"<p>(Required) User or group used to find attachments</p>\n","type":"text/plain"},"key":"dst","value":"{{attachements_dst}}"},{"description":{"content":"<p>(Required) Type of user or group</p>\n","type":"text/plain"},"key":"kind","value":"{{attachements_kind}}"}],"variable":[]}},"response":[{"id":"48403de2-9801-4704-915d-394eb2f869db","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/attachments?dst={{attachements_dst}}&kind={{attachements_kind}}","host":["{{basePath}}"],"path":["attachments"],"query":[{"key":"src","value":"{{attachements_src}}","description":"User used to find attachments. Always required when the kind is equals to 'chat'","disabled":true},{"key":"dst","value":"{{attachements_dst}}","description":"(Required) User or group used to find attachments"},{"key":"kind","value":"{{attachements_kind}}","description":"(Required) Type of user or group"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"metadata\": {\n            \"pagination\": {\n                \"page\": 1,\n                \"limit\": 10,\n                \"pageCount\": 1,\n                \"totalCount\": 1,\n                \"links\": {\n                    \"current\": \"/url?limit=10&page=2\",\n                    \"first\": \"/url?limit=10&page=1\",\n                    \"previous\": \"/url?limit=10&page=1\",\n                    \"next\": \"/url?limit=10&page=3\",\n                    \"last\": \"/url?limit=10&page=5\"\n                }\n            }\n        },\n        \"attachments\": [\n            {\n                \"kind\": \"group_chat\",\n                \"src\": \"john\",\n                \"dst\": \"group_1\",\n                \"createdAt\": \"2018-09-19 09:13:44\",\n                \"fileName\": \"sample.mp3\",\n                \"fileExtension\": \"mp3\",\n                \"fileUrl\": \"https://labdev.digivox.com.br/files/sample.mp3\"\n            }\n        ]\n    }\n]"}],"_postman_id":"3c6fd683-a8c5-46e2-bf24-6cd30878096a"},{"name":"Salvar dados de um arquivo compartilhado","id":"ac87425d-8354-4f1f-96c7-ba588ff75d82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"kind\": \"group_chat\",\n  \"src\": \"john\",\n  \"dst\": \"group_1\",\n  \"createdAt\": \"2018-09-19 09:13:44\",\n  \"fileName\": \"sample.mp3\",\n  \"fileExtension\": \"mp3\",\n  \"fileUrl\": \"https://labdev.digivox.com.br/files/sample.mp3\"\n}"},"url":"{{basePath}}/attachments","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["attachments"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac87425d-8354-4f1f-96c7-ba588ff75d82"}],"id":"956ba34e-24ad-4587-8982-75b5ec8cb986","event":[{"listen":"prerequest","script":{"id":"42cdd13c-00ca-45a6-a88e-4fc67d0043f4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"22a68804-4d86-446e-ae94-9b237d1a7911","type":"text/javascript","exec":[""]}}],"_postman_id":"956ba34e-24ad-4587-8982-75b5ec8cb986","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Presence Status","item":[{"name":"Listar todas as presenças do usuário","id":"15eafe60-f57e-4586-a483-a24bc1a9502e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/presence-status","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["presence-status"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"b450bda4-641c-4e5f-811b-a35be82d007f","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{basePath}}/presence-status"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"presenceId\": \"2a38b166-ff40-4104-a7b6-2e3decf7220f\",\n        \"presenceType\": \"chat\",\n        \"description\": \"Available\",\n        \"active\": true\n    }\n]"}],"_postman_id":"15eafe60-f57e-4586-a483-a24bc1a9502e"},{"name":"Criar um novo status de presença","id":"cf2bb952-10d8-423d-9c87-28fa6b6f0757","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"presenceType\": \"chat\",\n  \"description\": \"Available\",\n  \"active\": true\n}"},"url":"{{basePath}}/presence-status","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["presence-status"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf2bb952-10d8-423d-9c87-28fa6b6f0757"},{"name":"Atualizar os dados de uma presença do usuário","id":"888afa0d-b604-4d8d-b90a-03227dd8c208","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"presenceType\": \"chat\",\n  \"description\": \"Available\",\n  \"active\": true\n}"},"url":"{{basePath}}/presence-status/:presenceId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["presence-status",":presenceId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"cb1f4ed8-8647-4c28-ab8b-a6ca85301e29","description":{"content":"<p>(Required) The Presence ID</p>\n","type":"text/plain"},"type":"string","value":"{{presence_status_presenceId}}","key":"presenceId"}]}},"response":[],"_postman_id":"888afa0d-b604-4d8d-b90a-03227dd8c208"},{"name":"Remover um status de presença do usuário","id":"c3709ae0-cae1-4fb9-b8b3-28869f0bb2b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"{{Authorization}}"}],"url":"https://unity.digivox.com.br/api/v1/presence-status/:presenceId","description":"<p>curl -X DELETE -H \"Authorization: Bearer TOKEN\" <a href=\"https://unity.digivox.com.br/api/v1/presence-status/%7BpresenceId%7D\">https://unity.digivox.com.br/api/v1/presence-status/{presenceId}</a></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","presence-status",":presenceId"],"host":["unity","digivox","com","br"],"query":[],"variable":[{"id":"76d8d7f8-5000-4f83-93be-846958c761bc","description":{"content":"<p>(Required) The Presence ID</p>\n","type":"text/plain"},"type":"string","value":"{{presence_status_presenceId}}","key":"presenceId"}]}},"response":[],"_postman_id":"c3709ae0-cae1-4fb9-b8b3-28869f0bb2b1"},{"name":"Definir a presença do usuário","id":"f0f70de3-6dfe-47f0-8758-7da427ff7de6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{basePath}}/presence-status/:presenceId/active","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["presence-status",":presenceId","active"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"fc02bce9-88fe-4724-b62e-b35a9a454748","description":{"content":"<p>(Required) The Presence ID</p>\n","type":"text/plain"},"type":"string","value":"{{presence_status_presenceId}}","key":"presenceId"}]}},"response":[],"_postman_id":"f0f70de3-6dfe-47f0-8758-7da427ff7de6"}],"id":"8e1b13dc-df7a-4481-8b43-1c5362241cc4","event":[{"listen":"prerequest","script":{"id":"dfdc0ac9-fbd8-4b22-ba0d-7b26a463b035","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d7dc874e-decd-44cf-89fa-499ffd39aa53","type":"text/javascript","exec":[""]}}],"_postman_id":"8e1b13dc-df7a-4481-8b43-1c5362241cc4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Contacts","item":[{"name":"Listar todos os contatos do usuário","id":"2480ef01-5cc4-486d-8c71-899f57da085b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/contacts?limit={{limit}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["contacts"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) The number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"disabled":true,"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"},{"disabled":true,"description":{"content":"<p>(Optional) Indicates if the query must bring the favorites or not favorites. By default, this filter is ignored</p>\n","type":"text/plain"},"key":"favorites","value":"{{contacts_favorites}}"},{"disabled":true,"description":{"content":"<p>(Optional) Indicates if the query must bring the blocked or non blocked. By default, this filter is ignored</p>\n","type":"text/plain"},"key":"blocked","value":"{{contacts_blocked}}"},{"disabled":true,"description":{"content":"<p>(Optional) Filter contacts by name or nickname</p>\n","type":"text/plain"},"key":"name","value":"{{contacts_name}}"},{"disabled":true,"description":{"content":"<p>(Optional) Filter contacts by e-mail</p>\n","type":"text/plain"},"key":"email","value":"{{contacts_email}}"},{"disabled":true,"description":{"content":"<p>(Optional) Filter contacts by domain name or ID</p>\n","type":"text/plain"},"key":"domain","value":"{{contacts_domain}}"},{"disabled":true,"description":{"content":"<p>(Optional) Filter contacts by department</p>\n","type":"text/plain"},"key":"department","value":"{{contacts_department}}"},{"disabled":true,"description":{"content":"<p>(Optional) Filter contacts by extension</p>\n","type":"text/plain"},"key":"extension","value":"{{contacts_extension}}"},{"disabled":true,"description":{"content":"<p>(Optional) Filter added contacts</p>\n","type":"text/plain"},"key":"added","value":"{{contacts_added}}"},{"disabled":true,"description":{"content":"<p>(Optional) Filter contacts by type</p>\n","type":"text/plain"},"key":"contactType","value":"{{contacts_contactType}}"},{"disabled":true,"description":{"content":"<p>(Optional) Filter contacts by IM flag</p>\n","type":"text/plain"},"key":"im","value":"{{contacts_im}}"}],"variable":[]}},"response":[{"id":"e23b7a1e-d120-4efe-a814-2ba2e1c086b0","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/contacts?limit=3","host":["{{basePath}}"],"path":["contacts"],"query":[{"key":"limit","value":"3","description":"(Optional) The number of items per page"},{"key":"page","value":"{{page}}","description":"(Optional) The page number","disabled":true},{"key":"favorites","value":"{{contacts_favorites}}","description":"(Optional) Indicates if the query must bring the favorites or not favorites. By default, this filter is ignored","disabled":true},{"key":"blocked","value":"{{contacts_blocked}}","description":"(Optional) Indicates if the query must bring the blocked or non blocked. By default, this filter is ignored","disabled":true},{"key":"name","value":"{{contacts_name}}","description":"(Optional) Filter contacts by name or nickname","disabled":true},{"key":"email","value":"{{contacts_email}}","description":"(Optional) Filter contacts by e-mail","disabled":true},{"key":"domain","value":"{{contacts_domain}}","description":"(Optional) Filter contacts by domain name or ID","disabled":true},{"key":"department","value":"{{contacts_department}}","description":"(Optional) Filter contacts by department","disabled":true},{"key":"extension","value":"{{contacts_extension}}","description":"(Optional) Filter contacts by extension","disabled":true},{"key":"added","value":"{{contacts_added}}","description":"(Optional) Filter added contacts","disabled":true},{"key":"contactType","value":"{{contacts_contactType}}","description":"(Optional) Filter contacts by type","disabled":true},{"key":"im","value":"{{contacts_im}}","description":"(Optional) Filter contacts by IM flag","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 23 Jul 2019 19:56:07 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"metadata\": {\n        \"pagination\": {\n            \"page\": 1,\n            \"limit\": 3,\n            \"pageCount\": 8,\n            \"totalCount\": 24,\n            \"links\": {\n                \"current\": \"/contacts?limit=3&page=1\",\n                \"first\": \"/contacts?limit=3&page=1\",\n                \"previous\": \"/contacts?limit=3&page=1\",\n                \"next\": \"/contacts?limit=3&page=2\",\n                \"last\": \"/contacts?limit=3&page=8\"\n            }\n        }\n    },\n    \"contacts\": [\n        {\n            \"id\": \"b4431a87-da6d-015f-78d7-cb37c656274d\",\n            \"name\": \"Alberto Magno Xavier Soares\",\n            \"nickname\": \"Alberto\",\n            \"imId\": \"b4431a87da6d015f78d7cb37c656274d@labdev.digivox.com.br\",\n            \"extensionId\": \"b91d4c69-83d6-428c-95c5-9851ade745af\",\n            \"extension\": \"2011\",\n            \"contactType\": \"contact\",\n            \"email\": \"alberto@digivox.com.br\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\",\n            \"departmentId\": \"2e7a0006-dda3-aead-b830-e1c3dd0d851a\",\n            \"department\": \"Teste\",\n            \"privacy\": false,\n            \"blocked\": false,\n            \"favorite\": true,\n            \"admin\": true,\n            \"added\": true\n        },\n        {\n            \"id\": \"573d0df0-b431-4c8f-8a47-cd6e687d9a9a\",\n            \"name\": \"Antônio José\",\n            \"nickname\": null,\n            \"imId\": \"573d0df0b4314c8f8a47cd6e687d9a9a@labdev.digivox.com.br\",\n            \"extensionId\": \"57066654-fa30-4f1a-aa16-637d85d7e15d\",\n            \"extension\": \"4002\",\n            \"contactType\": \"contact\",\n            \"email\": \"antonio.jose@digivox.com.br\",\n            \"domainId\": \"e9a96b86-853b-4955-90e0-4804c2fdcfb1\",\n            \"domainName\": \"demolab.digivox.com.br\",\n            \"departmentId\": \"ae8be9f3-8d9a-636f-4915-7405dec9260d\",\n            \"department\": \"Suporte\",\n            \"privacy\": false,\n            \"blocked\": false,\n            \"favorite\": true,\n            \"admin\": true,\n            \"added\": true\n        },\n        {\n            \"id\": \"888b20cd-262f-916d-c54a-cbbd8f64fc1a\",\n            \"name\": \"Atendente 01\",\n            \"nickname\": \"atendente01\",\n            \"imId\": \"888b20cd262f916dc54acbbd8f64fc1a@labdev.digivox.com.br\",\n            \"extensionId\": \"3ecdf598-05a9-40fb-97b5-16e9bf3601ef\",\n            \"extension\": \"2000\",\n            \"contactType\": \"contact\",\n            \"email\": \"atendente01@digivox.com.br\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\",\n            \"departmentId\": \"2e7a0006-dda3-aead-b830-e1c3dd0d851a\",\n            \"department\": \"Teste\",\n            \"privacy\": false,\n            \"blocked\": false,\n            \"favorite\": true,\n            \"admin\": true,\n            \"added\": true\n        }\n    ]\n}"}],"_postman_id":"2480ef01-5cc4-486d-8c71-899f57da085b"},{"name":"Adicionar/atualizar um contato do usuário","id":"dc761966-3424-4410-be59-fa6a6524da1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"favorite\": true,\n  \"blocked\": true\n}"},"url":"{{basePath}}/contacts/:contactType/:contactId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["contacts",":contactType",":contactId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"a39a7c1d-3c34-4e0b-aa73-3347360507fc","description":{"content":"<p>(Required) The Contact Type</p>\n","type":"text/plain"},"type":"string","value":"{{contacts_contactType}}","key":"contactType"},{"id":"7b2af12a-61ee-4f4d-9c48-425417e63750","description":{"content":"<p>(Required) The Contact ID</p>\n","type":"text/plain"},"type":"string","value":"{{contacts_contactId}}","key":"contactId"}]}},"response":[],"_postman_id":"dc761966-3424-4410-be59-fa6a6524da1d"},{"name":"Remover um contato do usuário","id":"327d2929-62a5-449f-b76d-a58f41351207","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{Authorization}}"}],"url":"{{basePath}}/contacts/:contactType/:contactId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["contacts",":contactType",":contactId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"2f17cc43-14f8-4d73-95e0-92a45a6b2cc4","description":{"content":"<p>(Required) The Contact Type</p>\n","type":"text/plain"},"type":"string","value":"{{contacts_contactType}}","key":"contactType"},{"id":"34f106eb-d994-4075-a7a3-7e1333e72429","description":{"content":"<p>(Required) The Contact ID</p>\n","type":"text/plain"},"type":"string","value":"{{contacts_contactId}}","key":"contactId"}]}},"response":[],"_postman_id":"327d2929-62a5-449f-b76d-a58f41351207"},{"name":"Bloquear/desbloquear um contato","id":"1eb9e443-a605-4733-a8c9-746e6de46a65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{basePath}}/contacts/:contactType/:contactId/block/:blocked","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["contacts",":contactType",":contactId","block",":blocked"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"fdb0095d-08d4-4b62-8f13-0c35ced4d1ef","description":{"content":"<p>(Required) The Contact Type</p>\n","type":"text/plain"},"type":"string","value":"{{contacts_contactType}}","key":"contactType"},{"id":"5707b979-5138-443c-89d2-840b1e825bf8","description":{"content":"<p>(Required) The Contact ID</p>\n","type":"text/plain"},"type":"string","value":"{{contacts_contactId}}","key":"contactId"},{"id":"adc69fd8-a93a-473f-89fa-23a2d99e1923","description":{"content":"<p>(Required) The Contact Blocked Status. 'true' or 'false'</p>\n","type":"text/plain"},"type":"string","value":"{{contacts_blocked}}","key":"blocked"}]}},"response":[],"_postman_id":"1eb9e443-a605-4733-a8c9-746e6de46a65"},{"name":"Adicionar/remover um contato da lista de favoritos","id":"3eecdc77-8875-4752-8f06-b4d026c3fbde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{basePath}}/contacts/:contactType/:contactId/favorite/:favorite","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["contacts",":contactType",":contactId","favorite",":favorite"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"7906e6eb-aa98-4974-9860-7c35d4227058","description":{"content":"<p>(Required) The Contact Type</p>\n","type":"text/plain"},"type":"string","value":"{{contacts_contactType}}","key":"contactType"},{"id":"48f16277-fb85-462b-9a35-1fc991703479","description":{"content":"<p>(Required) The Contact ID</p>\n","type":"text/plain"},"type":"string","value":"{{contacts_contactId}}","key":"contactId"},{"id":"7297754c-1c79-4584-b359-70c5c8114820","description":{"content":"<p>(Required) The Contact Favorite Status. 'true' or 'false'</p>\n","type":"text/plain"},"type":"string","value":"{{contacts_favorite}}","key":"favorite"}]}},"response":[],"_postman_id":"3eecdc77-8875-4752-8f06-b4d026c3fbde"},{"name":"Recuperar informações de um contato","id":"d03340fe-21e1-4bb8-ab34-ea0008f4e5c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/contacts/:contactType/:contactId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["contacts",":contactType",":contactId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"ccd118b8-7091-4923-b84e-4d9d531f55d4","type":"string","value":"{{contacts_contactType}}","key":"contactType"},{"id":"f8225fa4-5675-4aa7-853a-f52935a9c7fb","type":"string","value":"{{contacts_contactId}}","key":"contactId"}]}},"response":[{"id":"789ddbb6-46d8-4353-a4c2-bf54dba608aa","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/contacts/:contactType/:contactId","host":["{{basePath}}"],"path":["contacts",":contactType",":contactId"],"variable":[{"key":"contactType","value":"{{contacts_contactType}}"},{"key":"contactId","value":"{{contacts_contactId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Fri, 26 Jul 2019 19:02:48 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"b5e82fd0-5b95-4bc8-fce3-7b0beb841300\",\n    \"name\": \"Carlos\",\n    \"nickname\": \"Carlos\",\n    \"imId\": \"b5e82fd0-5b95-4bc8-fce3-7b0beb841300@labdev.digivox.com.br\",\n    \"extensionId\": \"c72bb4dd-545f-4f89-9a5f-10e9bc42061e\",\n    \"extension\": \"2004\",\n    \"contactType\": \"contact\",\n    \"email\": \"felipe@digivox.com.br\",\n    \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n    \"domainName\": \"labdev.digivox.com.br\",\n    \"departmentId\": \"2e7a0006-dda3-aead-b830-e1c3dd0d851a\",\n    \"department\": \"Teste\",\n    \"privacy\": false,\n    \"blocked\": false,\n    \"favorite\": false,\n    \"admin\": false,\n    \"added\": true\n}"}],"_postman_id":"d03340fe-21e1-4bb8-ab34-ea0008f4e5c6"}],"id":"8d7c81d9-3a94-4ef4-8e01-ce9abab7f535","event":[{"listen":"prerequest","script":{"id":"8cad3bba-36bc-4d70-96a9-734b57065ca8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"549cd2f0-9a8e-4c2a-a94b-289ee0205a0e","type":"text/javascript","exec":[""]}}],"_postman_id":"8d7c81d9-3a94-4ef4-8e01-ce9abab7f535","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Preferred Devices","item":[{"name":"Listar dispositivo preferencial do usuário","id":"fd52f103-eeac-417a-bba5-de1ece8df1e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/preferred-devices","description":"<p>Listar o dispositivo preferencial que está definido para o usuário.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["preferred-devices"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"24fad803-0f9e-49f5-966c-736a7627aeb5","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{basePath}}/preferred-devices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 23 Apr 2019 13:02:51 GMT"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"extension\": \"1000\",\n    \"deviceId\": \"2a38b166-ff40-4104-a7b6-2e3decf7220f\"\n  }\n]"}],"_postman_id":"fd52f103-eeac-417a-bba5-de1ece8df1e5"},{"name":"Define o dispositivo preferencial do usuário","id":"eaf42fc8-a647-4502-b718-d99b7b2e30c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"extension\": \"1000\",\n  \"deviceId\": \"2a38b166-ff40-4104-a7b6-2e3decf7220f\"\n}"},"url":"{{basePath}}/preferred-devices","description":"<p>O usuário pode definir em qual dispositivo ele deseja receber as suas chamadas. Esta funcionalidade irá informar à plataforma qual o dispositivo do usuário as chamadas de entrada deverão tocar.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros no JSON</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>extension</td>\n<td>Número do dispositivo que deve ser definido como preferencial.</td>\n</tr>\n<tr>\n<td>deviceId</td>\n<td>ID do dispositivo preferencial.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["preferred-devices"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eaf42fc8-a647-4502-b718-d99b7b2e30c4"},{"name":"Listar os dispositivos do usuário","id":"6f54eba6-c467-4cee-ae66-4c68d4532c46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/preferred-devices/devices","description":"<p>Listar todos os dispositivos preferenciais do usuário.\nO retorno será um array com a lista de dispositivos do usuário contendo as seguintes informações:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros de retorno</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID do dispositivo preferencial. Este ID deve ser usado em todas as transações que precisam do ID.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Nome do dispositivo preferencial.</td>\n</tr>\n<tr>\n<td>number</td>\n<td>Número do dispositivo preferencial. Este número deve ser usado em todas as transações que precisam do número do dispositivo.</td>\n</tr>\n<tr>\n<td>editable</td>\n<td>Indica se o dispositivo é editável ou não. Alguns dispositivos são padrão do sistema e não podem ser editados.</td>\n</tr>\n<tr>\n<td>selected</td>\n<td>Indica se é o dispositivo preferencial selecionado do usuário.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["preferred-devices","devices"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"2574b477-ba14-4935-8ecf-897911eeaded","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{basePath}}/preferred-devices/devices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"2a38b166-ff40-4104-a7b6-2e3decf7220f\",\n        \"name\": \"Mobile\",\n        \"number\": \"5555555\",\n        \"editable\": true,\n        \"selected\": true\n    }\n]"}],"_postman_id":"6f54eba6-c467-4cee-ae66-4c68d4532c46"},{"name":"Criar um novo dispositivo para o usuário","id":"374b6e9f-217a-4a33-bb5f-429d23d1c2a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Mobile\",\n  \"number\": \"5555555\",\n  \"editable\": true,\n  \"selected\": true\n}"},"url":"{{basePath}}/preferred-devices/devices","description":"<p>Cadastre novos dispositivos para seus usuários através. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros do JSON</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID do dispositivo preferencial no formato UUID v4.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Nome do dispositivo preferencial.</td>\n</tr>\n<tr>\n<td>number</td>\n<td>Número do dispositivo preferencial. O número deve ser único e não pode ser repetir.</td>\n</tr>\n<tr>\n<td>editable</td>\n<td>Indica se o dispositivo é editável ou não. Por se tratar de um novo dispositivo sendo cadastrado e como poderá ser editado no futuro, envie sempre com o valor true.</td>\n</tr>\n<tr>\n<td>selected</td>\n<td>Indica se é o dispositivo preferencial selecionado do usuário. Caso deseje cadastrar e já selecionar esse como dispositivo preferencial, envie como true.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["preferred-devices","devices"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"374b6e9f-217a-4a33-bb5f-429d23d1c2a0"},{"name":"Listar dados de um dispositivo","id":"07414659-4863-4d9f-ab87-62163745d666","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/preferred-devices/devices/:deviceId","description":"<p>Liste os detalhes de um dispositivo preferencial. Para consultar os dados é necessário enviar o ID do dispositivo.\nO retorno será de acordo com a tabela abaixo:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros de retorno</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID do dispositivo preferencial. Este ID deve ser usado em todas as transações que precisam do ID.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Nome do dispositivo preferencial.</td>\n</tr>\n<tr>\n<td>number</td>\n<td>Número do dispositivo preferencial. Este número deve ser usado em todas as transações que precisam do número do dispositivo.</td>\n</tr>\n<tr>\n<td>editable</td>\n<td>Indica se o dispositivo é editável ou não. Alguns dispositivos são padrão do sistema e não podem ser editados.</td>\n</tr>\n<tr>\n<td>selected</td>\n<td>Indica se é o dispositivo preferencial selecionado do usuário.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["preferred-devices","devices",":deviceId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"754685df-cfda-450e-a9e5-302fd3886379","description":{"content":"<p>(Required) The Device ID</p>\n","type":"text/plain"},"type":"string","value":"{{preferred_devices_deviceId}}","key":"deviceId"}]}},"response":[{"id":"681ee689-efc7-42b2-a580-222d5e4e17ff","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/preferred-devices/devices/:deviceId","host":["{{basePath}}"],"path":["preferred-devices","devices",":deviceId"],"variable":[{"key":"deviceId","value":"{{preferredDevices_deviceId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"2a38b166-ff40-4104-a7b6-2e3decf7220f\",\n        \"name\": \"Mobile\",\n        \"number\": \"5555555\",\n        \"editable\": true,\n        \"selected\": true\n    }\n]"}],"_postman_id":"07414659-4863-4d9f-ab87-62163745d666"},{"name":"Atualizar os dados de um dispositivo do usuário","id":"28169207-1c6e-4483-8347-a24de40f6d6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Mobile\",\n  \"number\": \"5555555\",\n  \"editable\": true,\n  \"selected\": true\n}"},"url":"{{basePath}}/preferred-devices/devices/:deviceId","description":"<p>Atualize os dados de um dispositivo preferencial. Para atualizar os dados é necessário enviar o ID do dispositivo, além das informações abaixo no JSON:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros do JSON</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Nome do dispositivo preferencial.</td>\n</tr>\n<tr>\n<td>number</td>\n<td>Número do dispositivo preferencial. O número deve ser único e não pode ser repetir.</td>\n</tr>\n<tr>\n<td>editable</td>\n<td>Indica se o dispositivo é editável ou não.</td>\n</tr>\n<tr>\n<td>selected</td>\n<td>Indica se é o dispositivo preferencial selecionado do usuário. Caso deseje cadastrar e já selecionar esse como dispositivo preferencial, envie como true.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["preferred-devices","devices",":deviceId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"7a1d4a8a-111a-4e18-8e22-13d4cf5af373","description":{"content":"<p>(Required) The Device ID</p>\n","type":"text/plain"},"type":"string","value":"{{preferred_devices_deviceId}}","key":"deviceId"}]}},"response":[],"_postman_id":"28169207-1c6e-4483-8347-a24de40f6d6e"},{"name":"Apagar um dispositivo do usuário","id":"029201e0-ab6b-4b3d-aeec-23b631a3b7af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{basePath}}/preferred-devices/devices/:deviceId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["preferred-devices","devices",":deviceId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"9c60ce9a-3cb7-441e-9199-97c287af7bc9","description":{"content":"<p>(Required) The Device ID</p>\n","type":"text/plain"},"type":"string","value":"{{preferred_devices_deviceId}}","key":"deviceId"}]}},"response":[],"_postman_id":"029201e0-ab6b-4b3d-aeec-23b631a3b7af"}],"id":"303313e7-de27-4a56-82be-09b9b1226d51","description":"<p>Gerencie os dispositivos preferenciais do usuário e permita que ele escolha qual dispositivo ele deseja receber as suas chamadas.\nOs usuários podem criar seus dispositivos preferenciais e gerenciá-los de acordo com as necessidades do seu dia a dia.</p>\n","event":[{"listen":"prerequest","script":{"id":"abaf1c33-ca8f-4ab7-b0ef-2af8327ed590","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ac3b95f5-1048-47f1-9614-0d0d79aa5b8d","type":"text/javascript","exec":[""]}}],"_postman_id":"303313e7-de27-4a56-82be-09b9b1226d51","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"Group Chats","item":[{"name":"Listar conversas conversas em grupo","id":"bb6782c4-3307-4aab-9542-1d1b448244ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{basePath}}/group-chats?limit={{limit}}&page={{page}}&members={{group_chats_members}}","description":"<p>Consulta todos os chats em grupo que o usuário faz parte. O retorno será um array de grupos contendo os seguintes dados:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros de retorno</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>groupId</td>\n<td>ID do chat em grupo.</td>\n</tr>\n<tr>\n<td>groupName</td>\n<td>Nome do chat em grupo.</td>\n</tr>\n<tr>\n<td>members</td>\n<td>Array com a lista de participantes do grupo</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["group-chats"],"host":["{{basePath}}"],"query":[{"key":"limit","value":"{{limit}}"},{"key":"page","value":"{{page}}"},{"key":"members","value":"{{group_chats_members}}"}],"variable":[]}},"response":[{"id":"18948296-c379-4f87-b30b-0c6071fe1d40","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/group-chats?members={{group_chats_members}}","host":["{{basePath}}"],"path":["group-chats"],"query":[{"key":"limit","value":"{{limit}}","description":"(Optional) Número de registros por página","disabled":true},{"key":"page","value":"{{page}}","description":"(Optional) Número da página","disabled":true},{"key":"members","value":"{{group_chats_members}}","description":"(Optional) Indica se deseja receber os participantes do grupo em chat. 'false'  é o valor padrão"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 23 Jul 2019 11:33:06 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"metadata\": {\n        \"pagination\": {\n            \"page\": 1,\n            \"limit\": 20,\n            \"pageCount\": 1,\n            \"totalCount\": 1,\n            \"links\": {\n                \"current\": \"/group-chats?limit=20&page=1\",\n                \"first\": \"/group-chats?limit=20&page=1\",\n                \"previous\": \"/group-chats?limit=20&page=1\",\n                \"next\": \"/group-chats?limit=20&page=1\",\n                \"last\": \"/group-chats?limit=20&page=1\"\n            }\n        }\n    },\n    \"groups\": [\n        {\n            \"id\": \"f4c3c743-040e-4dc8-98b7-be0e29722e9a\",\n            \"groupId\": \"f4c3c743040e4dc898b7be0e29722e9a\",\n            \"groupName\": \"dev_group\",\n            \"description\": \"Dev Group\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\",\n            \"members\": [\n                \"b4431a87da6d015f78d7cb37c656274d@labdev.digivox.com.br\",\n                \"b5bd2f5f9dcc6c42f7472b8fb6f3ff61@labdev.digivox.com.br\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"bb6782c4-3307-4aab-9542-1d1b448244ad"},{"name":"Criar uma conversa em grupo","id":"9e231cd0-51ca-401c-a5ad-f6f0bf4946e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"dev_group\",\n  \"description\": \"Dev Group\",\n  \"domain\": \"labdev.digivox.com.br\",\n  \"members\": [\n    \"b4431a87-da6d-015f-78d7-cb37c656274d\"\n  ]\n}"},"url":"{{basePath}}/group-chats","description":"<p>Crie conversar em grupo de forma fácil e rápida. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros do JSON</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>groupId</td>\n<td>ID do chat em grupo usando o padrão UUID v4.</td>\n</tr>\n<tr>\n<td>groupName</td>\n<td>Nome do chat em grupo.</td>\n</tr>\n<tr>\n<td>members</td>\n<td>Array com a lista do login dos usuários que farão parte do chat em grupo. Todos os usuários serão automaticamente adicionados no grupo.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["group-chats"],"host":["{{basePath}}"],"query":[],"variable":[]}},"response":[{"id":"0d3f5005-ea78-4ae2-bbec-4cfb67f26fed","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"dev_group\",\n  \"description\": \"Dev Group\",\n  \"domain\": \"labdev.digivox.com.br\",\n  \"members\": [\n    \"b4431a87-da6d-015f-78d7-cb37c656274d\"\n  ]\n}"},"url":"{{basePath}}/group-chats"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 23 Jul 2019 20:06:32 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"a8bb6610-0b6e-4cbd-9d65-3a6b1c6d355a\",\n    \"groupId\": \"a8bb66100b6e4cbd9d653a6b1c6d355a\",\n    \"groupName\": \"dev_group\",\n    \"description\": \"Dev Group\",\n    \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n    \"domainName\": \"labdev.digivox.com.br\"\n}"}],"_postman_id":"9e231cd0-51ca-401c-a5ad-f6f0bf4946e9"},{"name":"Atualizar uma conversa em grupo","id":"9f938a67-c6ab-4c16-a90c-49cbd6e6b9c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"dev_group 1\",\n  \"description\": \"Dev Group 1\"\n}"},"url":"{{basePath}}/group-chats/:groupId","description":"<p>Atualize os dados de uma conversar em grupo. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parâmetros do JSON</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>groupId</td>\n<td>ID do chat em grupo usando o padrão UUID v4.</td>\n</tr>\n<tr>\n<td>groupName</td>\n<td>Nome do chat em grupo.</td>\n</tr>\n<tr>\n<td>members</td>\n<td>Array com a lista do login dos usuários que farão parte do chat em grupo. Todos os usuários serão automaticamente adicionados no grupo.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["group-chats",":groupId"],"host":["{{basePath}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[{"id":"3da1b192-f3bf-4a35-83c5-42c464a4ceb9","type":"string","value":"{{group_chats_groupId}}","key":"groupId"}]}},"response":[],"_postman_id":"9f938a67-c6ab-4c16-a90c-49cbd6e6b9c9"},{"name":"Visualizar informações de uma conversa em grupo","id":"17f95086-0c49-4d19-be9f-447d59320969","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/group-chats/:groupId?members={{group_chats_members}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["group-chats",":groupId"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) Indica se deseja receber os participantes do grupo em chat. 'false'  é o valor padrão</p>\n","type":"text/plain"},"key":"members","value":"{{group_chats_members}}"}],"variable":[{"id":"f0a8f3e5-9c73-4a5c-b2f1-be39620fdd05","description":{"content":"<p>(Required) ID do grupo de chat</p>\n","type":"text/plain"},"type":"string","value":"{{group_chats_groupId}}","key":"groupId"}]}},"response":[{"id":"79a42011-579b-444d-a037-44e5bd86c5fe","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/group-chats/:groupId?members=true","host":["{{basePath}}"],"path":["group-chats",":groupId"],"query":[{"key":"members","value":"true","description":"(Optional) Indica se deseja receber os participantes do grupo em chat. 'false'  é o valor padrão"}],"variable":[{"key":"groupId","value":"9c87ce87-a60e-42e1-a828-b8f5a123c1d8","description":"(Required) ID do grupo de chat"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 23 Jul 2019 20:11:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"9c87ce87-a60e-42e1-a828-b8f5a123c1d8\",\n    \"groupId\": \"9c87ce87a60e42e1a828b8f5a123c1d8\",\n    \"groupName\": \"dev_group\",\n    \"description\": \"Dev Group\",\n    \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n    \"domainName\": \"labdev.digivox.com.br\",\n    \"members\": [\n        {\n            \"id\": \"b4431a87-da6d-015f-78d7-cb37c656274d\",\n            \"name\": \"Alberto Magno Xavier Soares\",\n            \"imId\": \"b4431a87da6d015f78d7cb37c656274d@labdev.digivox.com.br\",\n            \"email\": \"alberto@digivox.com.br\",\n            \"admin\": false\n        },\n        {\n            \"id\": \"b5bd2f5f-9dcc-6c42-f747-2b8fb6f3ff61\",\n            \"name\": \"Usuario Unity 01\",\n            \"imId\": \"b5bd2f5f9dcc6c42f7472b8fb6f3ff61@labdev.digivox.com.br\",\n            \"email\": \"marcel@me.com\",\n            \"admin\": true\n        }\n    ]\n}"}],"_postman_id":"17f95086-0c49-4d19-be9f-447d59320969"},{"name":"Remover uma conversa em grupo","id":"ac64d9d8-2b3a-4194-b527-0924042595e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{basePath}}/group-chats/:groupId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["group-chats",":groupId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"26856a53-f768-4496-9862-e63d3701d607","description":{"content":"<p>(Required) The Group ID</p>\n","type":"text/plain"},"type":"string","value":"{{group_chats_groupId}}","key":"groupId"}]}},"response":[],"_postman_id":"ac64d9d8-2b3a-4194-b527-0924042595e5"},{"name":"Consultar grupos de chat de um usuário","id":"b42a632d-452b-482d-b2ad-5b092b3b311b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/group-chats/members/:memberId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["group-chats","members",":memberId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"188c66cf-7c31-43be-b569-fb7a76d430a4","description":{"content":"<p>(Required) The Member ID</p>\n","type":"text/plain"},"type":"string","value":"{{group_chats_memberId}}","key":"memberId"}]}},"response":[{"id":"0872eecd-4178-44ce-8da2-9aef8928f04b","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/group-chats/members/:memberId","host":["{{basePath}}"],"path":["group-chats","members",":memberId"],"variable":[{"key":"memberId","value":"b5bd2f5f-9dcc-6c42-f747-2b8fb6f3ff61","description":"(Required) The Member ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 23 Jul 2019 20:12:11 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"b5bd2f5f-9dcc-6c42-f747-2b8fb6f3ff61\",\n    \"name\": \"Usuario Unity 01\",\n    \"imId\": \"b5bd2f5f9dcc6c42f7472b8fb6f3ff61@labdev.digivox.com.br\",\n    \"groups\": [\n        {\n            \"id\": \"9c87ce87-a60e-42e1-a828-b8f5a123c1d8\",\n            \"groupId\": \"9c87ce87a60e42e1a828b8f5a123c1d8\",\n            \"groupName\": \"dev_group\",\n            \"description\": \"Dev Group\",\n            \"domainId\": \"b66a9cd3-ab34-4499-9587-a638d548d763\",\n            \"domainName\": \"labdev.digivox.com.br\",\n            \"members\": [\n                {\n                    \"id\": \"b4431a87-da6d-015f-78d7-cb37c656274d\",\n                    \"name\": \"Alberto Magno Xavier Soares\",\n                    \"imId\": \"b4431a87da6d015f78d7cb37c656274d@labdev.digivox.com.br\",\n                    \"email\": \"alberto@digivox.com.br\",\n                    \"admin\": false\n                },\n                {\n                    \"id\": \"b5bd2f5f-9dcc-6c42-f747-2b8fb6f3ff61\",\n                    \"name\": \"Usuario Unity 01\",\n                    \"imId\": \"b5bd2f5f9dcc6c42f7472b8fb6f3ff61@labdev.digivox.com.br\",\n                    \"email\": \"marcel@me.com\",\n                    \"admin\": true\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"b42a632d-452b-482d-b2ad-5b092b3b311b"},{"name":"Adicionar um participante a uma conversa em grupo","id":"68ecadde-5c9a-4637-bb24-017dec2bb06d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{basePath}}/group-chats/:groupId/members/:memberId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["group-chats",":groupId","members",":memberId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"7961e6a8-dc6c-4385-89ce-4e22b94f4184","description":{"content":"<p>(Required) The Group ID</p>\n","type":"text/plain"},"type":"string","value":"{{group_chats_groupId}}","key":"groupId"},{"id":"be6916b6-a207-44ea-bbdd-9c12eeb4e2b6","description":{"content":"<p>(Required) The Member ID</p>\n","type":"text/plain"},"type":"string","value":"{{group_chats_memberId}}","key":"memberId"}]}},"response":[],"_postman_id":"68ecadde-5c9a-4637-bb24-017dec2bb06d"},{"name":"Remover um participante de uma conversa em grupo","id":"6195fb89-3ed4-4346-b4ab-56749694bb3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{basePath}}/group-chats/:groupId/members/:memberId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["group-chats",":groupId","members",":memberId"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"d8b149a0-2f69-468a-ac3b-5f830440b957","description":{"content":"<p>(Required) The Group ID</p>\n","type":"text/plain"},"type":"string","value":"{{group_chats_groupId}}","key":"groupId"},{"id":"91d12f4c-ad30-49c5-818e-8749f88ff152","description":{"content":"<p>(Required) The Member ID</p>\n","type":"text/plain"},"type":"string","value":"{{group_chats_memberId}}","key":"memberId"}]}},"response":[],"_postman_id":"6195fb89-3ed4-4346-b4ab-56749694bb3e"},{"name":"Adiciona ou remove o usuário como administrador do grupo","id":"a2a0bc5b-c82f-44ec-9d6c-9bbfaafe3f0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{basePath}}/group-chats/:groupId/members/:memberId/admin/:admin","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["group-chats",":groupId","members",":memberId","admin",":admin"],"host":["{{basePath}}"],"query":[],"variable":[{"id":"96452c18-ad58-40f1-9359-3d7d79c76ef3","type":"string","value":"{{group_chats_groupId}}","key":"groupId"},{"id":"6b63922f-e023-4cc8-9077-9cfbbe6f09c1","type":"string","value":"{{group_chats_memberId}}","key":"memberId"},{"id":"3ae35b51-62d0-429e-b3af-e3d662a82cf9","type":"string","value":"true","key":"admin"}]}},"response":[],"_postman_id":"a2a0bc5b-c82f-44ec-9d6c-9bbfaafe3f0c"}],"id":"238f027e-4ecf-4819-8942-ec95d95cbe9f","description":"<p>Gerenciamento de chat em grupo do usuário.</p>\n","event":[{"listen":"prerequest","script":{"id":"79f55d7c-5c03-4b83-9c7d-ab28d99f25b9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1417cdd8-42e7-4d3e-ab80-8965de30e9d4","type":"text/javascript","exec":[""]}}],"_postman_id":"238f027e-4ecf-4819-8942-ec95d95cbe9f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}},{"name":"User Contacts","item":[{"name":"Listar os contatos da agenda do usuário","id":"d6fc02be-ed17-4c54-8a23-e13e5aa0d4d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{basePath}}/user-contacts?limit={{limit}}&page={{page}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}},"urlObject":{"path":["user-contacts"],"host":["{{basePath}}"],"query":[{"description":{"content":"<p>(Optional) The number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Optional) The page number</p>\n","type":"text/plain"},"key":"page","value":"{{page}}"}],"variable":[]}},"response":[{"id":"a2efcbe7-dd17-49ea-a494-e2e4f673549d","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{basePath}}/user-contacts?limit={{limit}}&page={{page}}","host":["{{basePath}}"],"path":["user-contacts"],"query":[{"key":"limit","value":"{{limit}}","description":"(Optional) The number of items per page"},{"key":"page","value":"{{page}}","description":"(Optional) The page number"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"metadata\": {\n        \"pagination\": {\n            \"page\": 1,\n            \"limit\": 20,\n            \"pageCount\": 4,\n            \"totalCount\": 74,\n            \"links\": {\n                \"current\": \"/user-contacts?limit=20&page=1\",\n                \"first\": \"/user-contacts?limit=20&page=1\",\n                \"previous\": \"/user-contacts?limit=20&page=1\",\n                \"next\": \"/user-contacts?limit=20&page=2\",\n                \"last\": \"/user-contacts?limit=20&page=4\"\n            }\n        }\n    },\n    \"contacts\": [\n        {\n            \"id\": \"1fd9c44b-0206-3bea-89f5-4c7322cc8697\",\n            \"name\": \"John\",\n            \"extension\": \"1008\",\n            \"email\": \"john@doe.com\"\n        }\n    ]\n}"}],"_postman_id":"d6fc02be-ed17-4c54-8a23-e13e5aa0d4d9"}],"id":"4a59eb5b-9354-4f3f-a54a-b1367ebe4879","_postman_id":"4a59eb5b-9354-4f3f-a54a-b1367ebe4879","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}}],"id":"f280f929-8e0c-47c7-9ac4-3e6f7660181f","description":"<p>Aumente a produtividade do seu time integrando sua equipe a outras aplicações e soluções.</p>\n","event":[{"listen":"prerequest","script":{"id":"97084751-aa8f-4fbd-bbbf-1fd56829bb22","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0624ac08-2af5-437a-b4bf-c7b04d10c37f","type":"text/javascript","exec":[""]}}],"_postman_id":"f280f929-8e0c-47c7-9ac4-3e6f7660181f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":true,"source":{"_postman_id":"7fef51e1-cada-481d-8be5-8b651972da48","id":"7fef51e1-cada-481d-8be5-8b651972da48","name":"Portal digivox.dev","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]}},"event":[{"listen":"prerequest","script":{"id":"1190d599-c94c-45bc-8a81-352534554431","type":"text/javascript","exec":["const rawData = ","    'client_id=' + pm.environment.get('clientId')","    + '&client_secret=' + pm.environment.get('clientSecret')","    + '&grant_type=password'","    + '&username=' + pm.environment.get('username')","    + '&password=' + pm.environment.get('password')","","const echoPostRequest = {","  url: pm.environment.get('basePath') + '/oauth2/authorize',","  method: 'POST',","  header: 'Content-Type:application/x-www-form-urlencoded',","  body: ","        {","            mode: 'raw',","            raw: rawData","        }","};","","var getToken = true;","","if (!pm.environment.get('accessTokenExpiry') || ","    !pm.environment.get('accessToken')) {","    console.log('Token or expiry date are missing')","} else if (pm.environment.get('accessTokenExpiry') <= (new Date()).getTime()) {","    console.log('Token is expired')","} else {","    getToken = false;","    console.log('Token and expiry date are all good');","}","","if (getToken === true) {","    pm.sendRequest(echoPostRequest, function (err, res) {","    console.log(err ? err : res.json());","        if (err === null) {","            console.log('Saving the token and expiry date')","            var responseJson = res.json();","            pm.environment.set('accessToken', responseJson.access_token)","    ","            var expiryDate = new Date();","            expiryDate.setSeconds(expiryDate.getSeconds() + responseJson.expires_in);","            pm.environment.set('accessTokenExpiry', expiryDate.getTime());","        }","    });","}"]}},{"listen":"test","script":{"id":"06d330a3-42ac-40c5-bfe7-ca16daa23d08","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"accessToken\", jsonData.access_token);"]}}]}