{"info":{"_postman_id":"7f349cfc-918a-4ecd-99ad-e6e71909005a","name":"Digisac","description":"<html><head></head><body><h3 id=\"introdução\">Introdução</h3>\n<p>Para utilizar a API, é necessário possuir acesso à plataforma. Caso ainda não tenha uma conta, você pode solicitar em: <a href=\"https://digisac.com.br/teste-gratis/\">https://digisac.com.br/teste-gratis/</a></p>\n<p>A autenticação é realizada por meio um <strong>Bearer Token</strong>, que pode ser gerado em: <strong>Conta &gt; API &gt; Tokens de acesso pessoal</strong></p>\n<p>O token seguirá as mesmas permissões do usuário que o criou, respeitando os acessos configurados na plataforma.</p>\n<p>A URL base da API está disponível em: <strong>Conta &gt; Informações</strong> e deve ser utilizada em todas as requisições.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"53282970","collectionId":"7f349cfc-918a-4ecd-99ad-e6e71909005a","publishedId":"2sBXihpXmF","public":true,"customColor":{"top-bar":"f3f4f9","right-sidebar":"ffffff","highlight":"084aa0"},"publishDate":"2026-03-17T19:14:02.000Z"},"item":[{"name":"⚙️ Gerais","item":[{"name":"Acionamento flag no robô","item":[{"name":"Acionamento flag no robô","id":"f57e32c8-15c9-4556-8cdb-81b0d4815e5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{URL}}/api/v1/bots/{{botId}}/trigger-signal/{{contactId}}?flag=flagAqui","urlObject":{"path":["api","v1","bots","{{botId}}","trigger-signal","{{contactId}}"],"host":["{{URL}}"],"query":[{"key":"flag","value":"flagAqui"}],"variable":[]}},"response":[],"_postman_id":"f57e32c8-15c9-4556-8cdb-81b0d4815e5b"}],"id":"970c0672-8f19-4cec-b975-14eb7c23ac6a","_postman_id":"970c0672-8f19-4cec-b975-14eb7c23ac6a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Agendamentos","item":[{"name":"Listar agendamentos","id":"65e609d8-bea7-4f96-bac9-eb0d2a9a7a0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/schedule?perPage=40","urlObject":{"path":["api","v1","schedule"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"65e609d8-bea7-4f96-bac9-eb0d2a9a7a0d"},{"name":"Buscar agendamento","id":"b487d4ac-7be9-4c3d-856a-dd30fe0bbe42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/schedule/{{scheduleId}}","urlObject":{"path":["api","v1","schedule","{{scheduleId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b487d4ac-7be9-4c3d-856a-dd30fe0bbe42"},{"name":"Editar agendamento","id":"665d0eed-da47-43d0-823e-e2fc3780fb89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"contactId\": \"{{contactId}}\", //ID do contato\r\n  \"departmentId\": \"{{departmentId}}\", //ID do departamento\r\n  \"files\": [],\r\n  \"message\": \"{{text}}\",\r\n  \"notes\": \"{{notes}}}}\",\r\n  \"notificateUser\": true, //true or false\r\n  \"openTicket\": true, //true or false\r\n  \"scheduledAt\": \"{{2023-07-15 10:35:18}}\",\r\n  \"userId\": \"{{userId}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/schedule/{{scheduleId}}","urlObject":{"path":["api","v1","schedule","{{scheduleId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"665d0eed-da47-43d0-823e-e2fc3780fb89"},{"name":"Criar agendamento","id":"ee22cffe-1c8e-4c72-b7d1-baf77f3de7a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"contactId\": \"{{contactId}}\",\r\n  \"departmentId\": \"{{departmentId}}\",\r\n  \"files\": [{{arquivos}}],\r\n  \"message\": \"{{text}}\",\r\n  \"notes\": \"{{note}}}}\",\r\n  \"notificateUser\": true, //true or false\r\n  \"openTicket\": true, //true or false\r\n  \"scheduledAt\": \"{{2023-07-15 10:35:18}}\",\r\n  \"userId\": \"{{userId}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/schedule","urlObject":{"path":["api","v1","schedule"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee22cffe-1c8e-4c72-b7d1-baf77f3de7a8"},{"name":"Excluir agendamento","id":"dd0b9683-2d3b-45b4-a203-ad03e80f5e8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/schedule/{{scheduleId}}","urlObject":{"path":["api","v1","schedule","{{scheduleId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd0b9683-2d3b-45b4-a203-ad03e80f5e8e"}],"id":"a1db241c-f60a-443f-a5b5-9b0897b147e6","description":"<p>Os agendamentos são utilizados para programar a plataforma para fazer alguma ação em uma determinada data e horário. Com esta ferramenta, você poderá agendar uma abertura de chamado automática com algum cliente, uma notificação a um atendente de sua plataforma ou até fazer as duas ações simultaneamente.</p>\n","_postman_id":"a1db241c-f60a-443f-a5b5-9b0897b147e6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Agora","item":[{"name":"Buscar departamentos (Agora)","id":"22569225-5425-440a-8252-c3d22223823f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/now/departments-resume","urlObject":{"path":["api","v1","now","departments-resume"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"22569225-5425-440a-8252-c3d22223823f"},{"name":"Buscar atendentes (Agora)","id":"a725b8e1-439b-40cb-885c-95f0c326bbb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/now/attendance-resume","urlObject":{"path":["api","v1","now","attendance-resume"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a725b8e1-439b-40cb-885c-95f0c326bbb6"},{"name":"Buscar todos os dados (Agora)","id":"302f44ca-be99-4063-8d52-6b4c16353e7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/now/resume","urlObject":{"path":["api","v1","now","resume"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"302f44ca-be99-4063-8d52-6b4c16353e7e"}],"id":"30abedf0-6547-453b-bb9e-25aaa634ff6f","description":"<p>Nesta função é possível visualizar em tempo real todos os atendimentos que estão acontecendo na plataforma por atendente e departamento.</p>\n","_postman_id":"30abedf0-6547-453b-bb9e-25aaa634ff6f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Assuntos de chamado","item":[{"name":"Listar assuntos de fechamento","id":"7b9c8f81-54fd-4064-970d-a73b15033b6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/ticket-topics?perPage=40","urlObject":{"path":["api","v1","ticket-topics"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"7b9c8f81-54fd-4064-970d-a73b15033b6b"},{"name":"Buscar um assunto específico","id":"92f342df-0aa7-4aa2-a046-1654a7743dac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/ticket-topics/{{ticketTopicId}}","urlObject":{"path":["api","v1","ticket-topics","{{ticketTopicId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"92f342df-0aa7-4aa2-a046-1654a7743dac"},{"name":"Editar assunto específico","id":"87ceb0ab-f004-4529-a452-93f033a5024f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"{{name}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/ticket-topics/{{ticketTopicId}}","urlObject":{"path":["api","v1","ticket-topics","{{ticketTopicId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"87ceb0ab-f004-4529-a452-93f033a5024f"},{"name":"Criar assunto","id":"2df51e9e-ef4c-4673-8c22-433aed2c62cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"{{name}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/ticket-topics","urlObject":{"path":["api","v1","ticket-topics"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2df51e9e-ef4c-4673-8c22-433aed2c62cb"},{"name":"Excluir assunto específico","id":"4ee1d3aa-af64-477e-aa88-3c4fd1b46a4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/ticket-topics/{{ticketTopicId}}","urlObject":{"path":["api","v1","ticket-topics","{{ticketTopicId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ee1d3aa-af64-477e-aa88-3c4fd1b46a4d"}],"id":"08876cf8-c394-41eb-8d43-47c5bdf4db3c","description":"<p>O assunto de chamado é uma ferramenta utilizada para classificar seus atendimentos. Deverá ser inserido sempre que o usuário fechar o chamado com o contato, desta maneira será necessário definir um “titulo” para aquele atendimento.</p>\n","_postman_id":"08876cf8-c394-41eb-8d43-47c5bdf4db3c","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Auditoria de autenticação","item":[{"name":"Listar auditorias de autenticação","id":"2945ec58-fbfb-428a-82e4-693ccbee7bef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth-history?perPage=40","urlObject":{"path":["api","v1","auth-history"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"2945ec58-fbfb-428a-82e4-693ccbee7bef"},{"name":"Buscar auditoria de autenticação","id":"6ca9e383-601a-4e28-bc8c-dec42a4bbc08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/auth-history/{{authId}}","urlObject":{"path":["api","v1","auth-history","{{authId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ca9e383-601a-4e28-bc8c-dec42a4bbc08"}],"id":"1f3885db-1f8e-4403-9aa5-28fcf8b4a4b0","description":"<p>Nesta função é possível filtrar os eventos de criação, alteração e exclusão, por usuários e datas de mudanças no sistema.</p>\n","_postman_id":"1f3885db-1f8e-4403-9aa5-28fcf8b4a4b0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Autorização","item":[{"name":"Gerar Token de acesso","id":"c1df874d-fdce-4c2c-a92b-1837f5812f57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"grant_type\": \"password\",\r\n    \"client_id\": \"api\",\r\n    \"client_secret\": \"secret\",\r\n    \"username\": \"{{email}}\", //e-mail de login do usuário\r\n    \"password\": \"{{password}}\" //senha de login do usuário\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/oauth/token","urlObject":{"path":["api","v1","oauth","token"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1df874d-fdce-4c2c-a92b-1837f5812f57"}],"id":"d8a8a22e-978c-4a4b-b8eb-28382bb50e1c","description":"<p>Gerar o Token de acesso em sua plataforma.</p>\n","_postman_id":"d8a8a22e-978c-4a4b-b8eb-28382bb50e1c","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Avaliações","item":[{"name":"Listar avaliações","id":"0a95243e-a21d-4a55-9129-b726327bb3db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/questions?perPage=40","urlObject":{"path":["api","v1","questions"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"0a95243e-a21d-4a55-9129-b726327bb3db"},{"name":"Buscar avaliação","id":"04e4e718-3657-4e88-99e8-e0adc6360b45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/questions/{{questionId}}","urlObject":{"path":["api","v1","questions","{{questionId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"04e4e718-3657-4e88-99e8-e0adc6360b45"},{"name":"Editar avaliação","id":"afa680ad-7a1f-4cde-be49-02f3e1c5663d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"{{name}}\",\r\n  \"duration\": \"{{duration}}\", //duração\r\n  \"type\": \"{{type}}\", //tipo (NPS ou CSAT)\r\n  \"questionMessage\": \"{{O que você achou da nossa avaliação?}}\",\r\n  \"tries\": {{tries}}, //tentativas\r\n  \"successMessage\": \"{{Obrigado por responder}}\",\r\n  \"invalidMessage\": \"{{Resposta invalida}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/questions/{{questionId}}","urlObject":{"path":["api","v1","questions","{{questionId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"afa680ad-7a1f-4cde-be49-02f3e1c5663d"},{"name":"Criar avaliação","id":"2678a092-f61b-407d-b37d-2741a089f13c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"{{name}}\",\r\n  \"duration\": \"{{duration}}\",\r\n  \"type\": \"{{type}}\",\r\n  \"questionMessage\": \"{{O que você achou da nossa avaliação?}}\",\r\n  \"tries\": {{tries}}, //tentativas\r\n  \"successMessage\": \"{{Obrigado por responder}}\",\r\n  \"invalidMessage\": \"{{Resposta invalida}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/questions","urlObject":{"path":["api","v1","questions"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2678a092-f61b-407d-b37d-2741a089f13c"},{"name":"Excluir avaliação","id":"f85e6c84-5c55-4a05-b46d-9e297755d748","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/questions/{{questionId}}","urlObject":{"path":["api","v1","questions","{{questionId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f85e6c84-5c55-4a05-b46d-9e297755d748"}],"id":"64147ea5-37eb-4d07-b01e-672040a7d217","description":"<p>Com a ferramenta de avaliação você poderá medir o desempenho dos serviços prestados aos seus clientes, solicitando sempre, ao final de um atendimento**.**</p>\n","_postman_id":"64147ea5-37eb-4d07-b01e-672040a7d217","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Campanhas","item":[{"name":"Listar campanhas","id":"4ffdf0fd-dbf4-4280-8236-b20c4173b51a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/campaigns?perPage=40","urlObject":{"path":["api","v1","campaigns"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"4ffdf0fd-dbf4-4280-8236-b20c4173b51a"},{"name":"Buscar campanha","id":"709ebc36-c78a-4de9-8a34-d661c5af91ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/campaigns/{{campaignsId}}","urlObject":{"path":["api","v1","campaigns","{{campaignsId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"709ebc36-c78a-4de9-8a34-d661c5af91ee"},{"name":"Extrair status de uma campanha","id":"f245370c-e787-488f-8a52-9d844e2cd41d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/campaigns/{{campaignId}}/stats","urlObject":{"path":["api","v1","campaigns","{{campaignId}}","stats"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f245370c-e787-488f-8a52-9d844e2cd41d"},{"name":"Visualizar quem criou e enviou uma campanha","id":"0217a099-a6bc-409e-a835-1b4dcb8f449f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/campaigns?query={\"where\":{\"$and\":[{\"createdAt\":{\"$gte\":\"{{2024-05-07T00:00:00.000Z}}\"}},{\"createdAt\":{\"$lte\":\"{{2024-05-07T23:00:00.000Z}}\"}}]},\"order\":[[\"createdAt\",\"DESC\"]],\"include\":[\"service\",\"tags\",{\"model\":\"messages\",\"include\":\"file\"},{\"model\":\"createdBy\",\"attributes\":[\"id\",\"name\"]},{\"model\":\"sentBy\",\"attributes\":[\"id\",\"name\"]}],\"page\":1,\"perPage\":15}","urlObject":{"path":["api","v1","campaigns"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"where\":{\"$and\":[{\"createdAt\":{\"$gte\":\"{{2024-05-07T00:00:00.000Z}}\"}},{\"createdAt\":{\"$lte\":\"{{2024-05-07T23:00:00.000Z}}\"}}]},\"order\":[[\"createdAt\",\"DESC\"]],\"include\":[\"service\",\"tags\",{\"model\":\"messages\",\"include\":\"file\"},{\"model\":\"createdBy\",\"attributes\":[\"id\",\"name\"]},{\"model\":\"sentBy\",\"attributes\":[\"id\",\"name\"]}],\"page\":1,\"perPage\":15}"}],"variable":[]}},"response":[],"_postman_id":"0217a099-a6bc-409e-a835-1b4dcb8f449f"},{"name":"Editar campanha","id":"b163d245-9508-4224-9bb7-539ef2d8b8db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"//Copiar o retorno do GET \"Buscar campanha\" aqui e altera-lo","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/campaigns/{{campaignsId}}","urlObject":{"path":["api","v1","campaigns","{{campaignsId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b163d245-9508-4224-9bb7-539ef2d8b8db"},{"name":"Exportar resultados da campanha","id":"ca0fdca4-f796-4da4-86d8-821dfe45904f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer  {{TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"where\": {\n        \"campaignId\": \"{{campaignId}}\" //ID da campanha\n    },\n    \"type\": \"semiColon\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/campaigns/export/csv\n","urlObject":{"path":["api","v1","campaigns","export","csv\n"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ca0fdca4-f796-4da4-86d8-821dfe45904f"},{"name":"Excluir campanha","id":"666fdee4-af40-4300-8ae3-f6b32babd937","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/campaigns/{{campaignsId}}","urlObject":{"path":["api","v1","campaigns","{{campaignsId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"666fdee4-af40-4300-8ae3-f6b32babd937"}],"id":"de03d7c9-83d0-4683-bea5-092ef7830371","description":"<p>Disparo de mensagens em massa.</p>\n","_postman_id":"de03d7c9-83d0-4683-bea5-092ef7830371","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Campos personalizados","item":[{"name":"Listar campos personalizados","id":"5945656f-b149-4bd7-99a5-31b2d0980826","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/custom-fields?perPage=40","urlObject":{"path":["api","v1","custom-fields"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"5945656f-b149-4bd7-99a5-31b2d0980826"},{"name":"Buscar campo personalizado","id":"ef10df02-675c-4636-9a95-f702fad3fb0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/custom-fields/{{customFieldsId}}","urlObject":{"path":["api","v1","custom-fields","{{customFieldsId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef10df02-675c-4636-9a95-f702fad3fb0b"},{"name":"Editar campo personalizado","id":"2af89175-06d5-4520-8cfb-87cc5021e27f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\",\r\n    \"type\": \"text\",\r\n    \"allowed\": \"contacts\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/custom-fields/{{customFieldsId}}","urlObject":{"path":["api","v1","custom-fields","{{customFieldsId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2af89175-06d5-4520-8cfb-87cc5021e27f"},{"name":"Criar campo personalizado","id":"b836b4be-c14d-4eb0-8b02-6d875339df7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\",\r\n    \"type\": \"text\",\r\n    \"allowed\": \"contacts\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/custom-fields","urlObject":{"path":["api","v1","custom-fields"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b836b4be-c14d-4eb0-8b02-6d875339df7b"},{"name":"Excluir campo personalizado","id":"20e5b5e9-010b-49b2-9f91-d8fc7f7341f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/custom-fields/{{customFieldsId}}","urlObject":{"path":["api","v1","custom-fields","{{customFieldsId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"20e5b5e9-010b-49b2-9f91-d8fc7f7341f1"}],"id":"92efdc08-f0cd-4530-a13c-f7007f924d09","description":"<p>A ferramenta de Campos Personalizados é utilizada para adicionar campos de preenchimento nos registros de contatos. Com ela é possível criar um pequeno banco de dados para informações mais simples, mas que podem ajudar no dia a dia, como por exemplo, um e-mail do cliente, CPF ou até um número de matrícula.</p>\n","_postman_id":"92efdc08-f0cd-4530-a13c-f7007f924d09","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Cargos","item":[{"name":"Listar cargos","id":"7301ced2-feab-4338-a54f-2be5d41d7db4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/roles?perPage=40","urlObject":{"path":["api","v1","roles"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"7301ced2-feab-4338-a54f-2be5d41d7db4"},{"name":"Buscar cargo","id":"d172d1b0-bd83-497c-b94f-adc37663a238","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/roles/{{roleId}}","urlObject":{"path":["api","v1","roles","{{roleId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d172d1b0-bd83-497c-b94f-adc37663a238"},{"name":"Buscar permissões do cargo","id":"f2eb153e-3e83-44a7-ab71-4862cce555d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}}}/api/v1/roles/{{roleId}}?include=permissions","urlObject":{"path":["api","v1","roles","{{roleId}}"],"host":["{{URL}}}}"],"query":[{"key":"include","value":"permissions"}],"variable":[]}},"response":[],"_postman_id":"f2eb153e-3e83-44a7-ab71-4862cce555d5"},{"name":"Buscar cargos do usuário","id":"cc01da19-9bb9-4c60-86de-d9d839eac177","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/users/{{roleId}}?include=roles","urlObject":{"path":["api","v1","users","{{roleId}}"],"host":["{{URL}}"],"query":[{"key":"include","value":"roles"}],"variable":[]}},"response":[],"_postman_id":"cc01da19-9bb9-4c60-86de-d9d839eac177"},{"name":"Editar cargo","id":"371c94e9-2e75-4ac4-8b29-dacbedae6b4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"displayName\": \"{{name}}\",\r\n  \"isAdmin\": {{false}},\r\n  \"permissions\": [] \r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/roles/{{roleId}}","urlObject":{"path":["api","v1","roles","{{roleId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"371c94e9-2e75-4ac4-8b29-dacbedae6b4e"},{"name":"Criar cargo","id":"be5038ba-9439-4223-99ea-431f8648b1a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"displayName\": \"{{name}}\",\r\n  \"isAdmin\": {{false}},\r\n  \"permissions\": [] \r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/roles","urlObject":{"path":["api","v1","roles"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"be5038ba-9439-4223-99ea-431f8648b1a0"},{"name":"Excluir cargo","id":"6a142b27-3220-4ee1-ac12-9167f4ea6256","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/roles/{{roleId}}","urlObject":{"path":["api","v1","roles","{{roleId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a142b27-3220-4ee1-ac12-9167f4ea6256"}],"id":"bcc4227d-5d4f-4a35-8158-69de90aeb3ca","description":"<p>Os cargos funcionam como uma hierarquia de acesso dentro da plataforma. Aqui serão configuradas as permissões que o Administrador oferece aos seus usuários.</p>\n<p>A plataforma já vem configurada para que o Administrador tenha acesso total e o Operador tem um acesso mais limitado, basicamente tem permissão de uso no Chat e visualização de algumas ferramentas.</p>\n","_postman_id":"bcc4227d-5d4f-4a35-8158-69de90aeb3ca","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Central de notificações","item":[{"name":"Listar central de notificações","id":"cb2c2fbf-8253-4741-8cc8-92f38a7cf3b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/notifications?perPage=40","urlObject":{"path":["api","v1","notifications"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"cb2c2fbf-8253-4741-8cc8-92f38a7cf3b1"},{"name":"Marcar todas as notificações como lidas","id":"5e0fdf09-11a1-46ba-bf1f-54a8d90b1937","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/notifications/read-all","urlObject":{"path":["api","v1","notifications","read-all"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e0fdf09-11a1-46ba-bf1f-54a8d90b1937"}],"id":"c27c66d4-10e8-4f10-b196-ae2a83061f7c","_postman_id":"c27c66d4-10e8-4f10-b196-ae2a83061f7c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Chamados","item":[{"name":"Buscar chamados do contato","id":"0bf432d1-63f7-478a-9bb7-2f4cfb0e6b37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?where[contactId]={{contactId}}","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"where[contactId]","value":"{{contactId}}"}],"variable":[]}},"response":[],"_postman_id":"0bf432d1-63f7-478a-9bb7-2f4cfb0e6b37"},{"name":"Buscar pelo contactid todos os chamados do cliente trazendo quem encerrou/transferiu","id":"d53d0ef2-a6fc-476e-a996-ec5908bb3d42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?query={\"where\":{\"contactId\":\"{{contactId}}\"},\"attributes\":[\"id\",\"isOpen\",\"protocol\",\"origin\",\"startedAt\",\"endedAt\"],\"include\":[{\"model\":\"ticketTransfers\",\"attributes\":[\"action\",\"fromDistribution\"],\"include\":[{\"model\":\"byUser\",\"attributes\":[\"id\",\"name\",\"email\",\"status\"]}]}],\"perPage\":50}\n","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"where\":{\"contactId\":\"{{contactId}}\"},\"attributes\":[\"id\",\"isOpen\",\"protocol\",\"origin\",\"startedAt\",\"endedAt\"],\"include\":[{\"model\":\"ticketTransfers\",\"attributes\":[\"action\",\"fromDistribution\"],\"include\":[{\"model\":\"byUser\",\"attributes\":[\"id\",\"name\",\"email\",\"status\"]}]}],\"perPage\":50}\n"}],"variable":[]}},"response":[],"_postman_id":"d53d0ef2-a6fc-476e-a996-ec5908bb3d42"},{"name":"Transferência de chamado","id":"46c45862-533e-4e36-a224-588393e885eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"departmentId\": \"{{departmentId}}\",\r\n    \"userId\": \"{{userId}}\", //id do usuário SE for abrir direto para ele\r\n    \"comments\": \"{{comments}}\" //comentario interno\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}/ticket/transfer","urlObject":{"path":["api","v1","contacts","{{contactId}}","ticket","transfer"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"46c45862-533e-4e36-a224-588393e885eb"},{"name":"Transferência de Transferência em massa","id":"5176577f-d894-48d7-97f6-5312e622cb78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"departmentId\": \"{{departmentId}}\", //id do departamento que vai receber os chamados\n    \"userId\": \"{{userId}}\", //id do usuário que vai receber os chamados\n    \"comments\": \"{{comments}}\", //comentário da transferência\n    \"ticketsSelectedId\": [\n        \"{{idTicket}}\", //id dos chamados\n        \"{{idTicket}}\",\n        \"{{idTicket}}\",\n        \"{{idTicket}}\",\n        \"{{idTicket}}\",\n        \"{{idTicket}}\",\n        \"{{idTicket}}\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/ticket/bulk-transfer","urlObject":{"path":["api","v1","contacts","ticket","bulk-transfer"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5176577f-d894-48d7-97f6-5312e622cb78"},{"name":"Abertura de chamado","id":"275c368a-285e-49ee-a5b9-b0ba0a4c3d65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"departmentId\": \"{{departmentId}}\",\r\n    \"userId\": \"{{userId}}\",\r\n    \"comments\": \"{{comments}}\" //comentario interno\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}/ticket/transfer","urlObject":{"path":["api","v1","contacts","{{contactId}}","ticket","transfer"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"275c368a-285e-49ee-a5b9-b0ba0a4c3d65"},{"name":"Fechar chamado","id":"5f132ba4-76d6-44e8-a113-b9618094c58c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}/ticket/close","urlObject":{"path":["api","v1","contacts","{{contactId}}","ticket","close"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f132ba4-76d6-44e8-a113-b9618094c58c"},{"name":"Fechar um chamado com assunto","id":"f55a5c2d-377c-4614-8124-e1913af42a82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ticketTopicIds\": \"{{ticketTopicIds}}\" //ID do chamado\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}/ticket/close","urlObject":{"path":["api","v1","contacts","{{contactId}}","ticket","close"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f55a5c2d-377c-4614-8124-e1913af42a82"}],"id":"30fd3a35-d350-4897-87cb-2adb06facbfb","description":"<p>Acontecerá todo o atendimento entre atendente e contato. Abaixo estão as imagens da estrutura do bate papo e todas as ferramentas disponíveis:</p>\n<img src=\"https://content.pstmn.io/02abd137-00c0-4f7f-9a5d-0aa5585a1cf7/aW1hZ2UucG5n\" width=\"505\" height=\"497\" />","_postman_id":"30fd3a35-d350-4897-87cb-2adb06facbfb","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Conexões","item":[{"name":"Listar conexões","id":"70aeba4c-6759-4937-af88-1120554862a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/services?perPage=35","urlObject":{"path":["api","v1","services"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"35"}],"variable":[]}},"response":[],"_postman_id":"70aeba4c-6759-4937-af88-1120554862a7"},{"name":"Buscar conexão","id":"ba7961cb-52cc-42ab-bb47-db814115b9cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/services/{{serviceId}}","urlObject":{"path":["api","v1","services","{{serviceId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba7961cb-52cc-42ab-bb47-db814115b9cd"},{"name":"Buscar conexões ativas","id":"9e152525-0f37-478c-a966-02f1947e19fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/services?query={\"where\":{\"archivedAt\":{\"$eq\":null}},\"order\":[[\"name\",\"asc\"]],\"page\":1,\"perPage\":50}","urlObject":{"path":["api","v1","services"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"where\":{\"archivedAt\":{\"$eq\":null}},\"order\":[[\"name\",\"asc\"]],\"page\":1,\"perPage\":50}"}],"variable":[]}},"response":[],"_postman_id":"9e152525-0f37-478c-a966-02f1947e19fd"},{"name":"Editar conexão","id":"309db7f1-df4d-4dee-aa88-b45288aa080f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"{{serviceId}}\", //id da conexão\r\n    \"name\": \"{{name}}\",\r\n    \"archivedAt\": null,\r\n    \"type\": \"{{type}}\", //tipo (e-mail, telegram, etc)\r\n    \"deletedAt\": null,\r\n    \"accountId\": \"{{accountId}}\", //id da conta\r\n    \"botId\": \"{{botId}}\", //id do robo\r\n    \"defaultDepartmentId\": \"{{defaultDepartmentId}}\" //id departamento padrão\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/services/{{serviceId}}","urlObject":{"path":["api","v1","services","{{serviceId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"309db7f1-df4d-4dee-aa88-b45288aa080f"},{"name":"Arquivar conexão","id":"27c2ead0-a844-43cd-916e-02fc5cc805e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"archive\": true,\r\n    \"type\": \"{{tipo}}\" //tipo (e-mail, telegram, etc)\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/services/{{serviceId}}/archive","urlObject":{"path":["api","v1","services","{{serviceId}}","archive"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"27c2ead0-a844-43cd-916e-02fc5cc805e0"},{"name":"Criar conexão","id":"2e5fcf96-7b04-42d1-9709-bcecbe2d66e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"{{name}}\",\r\n    \"type\":\"{{type}}\", //tipo (e-mail, telegram, etc)\r\n    \"botId\": \"{{teste}}\", //id do robo\r\n    \"defaultDepartmentId\": \"{{teste}}\" //id departamento padrão\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/services","urlObject":{"path":["api","v1","services"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2e5fcf96-7b04-42d1-9709-bcecbe2d66e8"},{"name":"Desligar conexão","id":"3e91aec4-048e-48d4-85c0-d0042cae3c1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{URL}}api/v1/services/{{serviceId}}/shutdown","urlObject":{"path":["v1","services","{{serviceId}}","shutdown"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e91aec4-048e-48d4-85c0-d0042cae3c1c"},{"name":"Iniciar conexão","id":"9545225d-750f-4468-9117-f99bdf46816c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{URL}}/api/v1/services/{{serviceId}}/start","urlObject":{"path":["api","v1","services","{{serviceId}}","start"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9545225d-750f-4468-9117-f99bdf46816c"},{"name":"Reiniciar conexão","id":"d0e46454-b56a-4d73-bafe-c8dd7490ec0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{URL}}api/v1/services/{{serviceId}}/restart","urlObject":{"path":["v1","services","{{serviceId}}","restart"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d0e46454-b56a-4d73-bafe-c8dd7490ec0d"},{"name":"Gerar QR Code","id":"52f646a6-d67c-49f6-8b29-07defc978cd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{URL}}/api/v1/services/{{serviceId}}/logout","urlObject":{"path":["api","v1","services","{{serviceId}}","logout"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"52f646a6-d67c-49f6-8b29-07defc978cd4"},{"name":"Excluir conexão","id":"0b2e26d8-26f0-4975-8b0a-6438691df92f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/services/{{serviceId}}","urlObject":{"path":["api","v1","services","{{serviceId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0b2e26d8-26f0-4975-8b0a-6438691df92f"}],"id":"032da50b-71d7-4970-a34e-1831c1898078","description":"<p>A Digisac disponibiliza as seguintes conexões:</p>\n<img src=\"https://content.pstmn.io/b1fb5d74-918e-40af-8318-e854fcf0d3cf/aW1hZ2UucG5n\" width=\"612\" height=\"172\" />","_postman_id":"032da50b-71d7-4970-a34e-1831c1898078","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Contatos","item":[{"name":"Listar todos os contatos","id":"5f6b55da-af19-462c-9ba2-2e201ef1000e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts?perPage=40","urlObject":{"path":["api","v1","contacts"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"5f6b55da-af19-462c-9ba2-2e201ef1000e"},{"name":"Listar contatos da conexão","id":"14a36649-c3e7-4c5c-b881-d808898732eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts?where[serviceId]={{serviceId}}?perPage=40","urlObject":{"path":["api","v1","contacts"],"host":["{{URL}}"],"query":[{"key":"where[serviceId]","value":"{{serviceId}}?perPage=40"}],"variable":[]}},"response":[],"_postman_id":"14a36649-c3e7-4c5c-b881-d808898732eb"},{"name":"Buscar contato","id":"aca891c6-8bbf-4824-8b3b-126ec680bb4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"aca891c6-8bbf-4824-8b3b-126ec680bb4e"},{"name":"Buscar contato por número de uma conexão específica","id":"ad577c4f-21cb-44d2-9dac-6bd1bf006f9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v1/contacts?where[data.number][$iLike]=%{{number}}%&where[serviceId]={{serviceId}}","urlObject":{"path":["api","v1","contacts"],"host":["{{url}}"],"query":[{"key":"where[data.number][$iLike]","value":"%{{number}}%"},{"key":"where[serviceId]","value":"{{serviceId}}"}],"variable":[]}},"response":[],"_postman_id":"ad577c4f-21cb-44d2-9dac-6bd1bf006f9a"},{"name":"Buscar tags vinculadas a um contato","id":"f8caf589-b094-4d46-b4cd-24824f87f679","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts/{{contactId}}?include[0]=tags&include[1]=","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[{"key":"include[0]","value":"tags"},{"key":"include[1]","value":""}],"variable":[]}},"response":[],"_postman_id":"f8caf589-b094-4d46-b4cd-24824f87f679"},{"name":"Buscar contatos vinculados ao Campo Personalizado","id":"7de92a08-fcae-4f0e-a405-27ed87b5e23e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts?query={\"include\":[{\"model\":\"customFieldValues\",\"include\":[{\"model\":\"customField\",\"where\":{\"name\":\"{{customFieldName}}\"}}]}]}","urlObject":{"path":["api","v1","contacts"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"include\":[{\"model\":\"customFieldValues\",\"include\":[{\"model\":\"customField\",\"where\":{\"name\":\"{{customFieldName}}\"}}]}]}"}],"variable":[]}},"response":[],"_postman_id":"7de92a08-fcae-4f0e-a405-27ed87b5e23e"},{"name":"Busca de contatos que possuem X campos personalizados preenchidos","id":"ee01e752-b298-4257-b62c-c750e4af1c96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts?query={\"include\":[{\"model\":\"customFieldValues\",\"include\":[{\"model\":\"customField\",\"where\":{\"$or\":[{\"name\":\"{{customFieldName1}}\"},{\"name\":\"{{customFieldName2}}\"},{\"name\":\"{{customFieldName3}}\"},{\"name\":\"{{customFieldName4}}\"}]}}]}]}","urlObject":{"path":["api","v1","contacts"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"include\":[{\"model\":\"customFieldValues\",\"include\":[{\"model\":\"customField\",\"where\":{\"$or\":[{\"name\":\"{{customFieldName1}}\"},{\"name\":\"{{customFieldName2}}\"},{\"name\":\"{{customFieldName3}}\"},{\"name\":\"{{customFieldName4}}\"}]}}]}]}"}],"variable":[]}},"response":[],"_postman_id":"ee01e752-b298-4257-b62c-c750e4af1c96"},{"name":"Buscar contatos vinculados a Organização","id":"06870498-9912-4b1b-a0d5-f124263295da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts?query={\"include\":[{\"model\":\"person\",\"required\":\"true\",\"where\":{\"id\":\"{{organizationId}}\"}}],\"perPage\":\"30\"}","urlObject":{"path":["api","v1","contacts"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"include\":[{\"model\":\"person\",\"required\":\"true\",\"where\":{\"id\":\"{{organizationId}}\"}}],\"perPage\":\"30\"}"}],"variable":[]}},"response":[],"_postman_id":"06870498-9912-4b1b-a0d5-f124263295da"},{"name":"Buscar contatos vinculados a Pessoa","id":"91572182-9861-4dc8-b16d-4b36b680e107","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts?query={\"include\":[{\"model\":\"person\",\"required\":\"true\",\"where\":{\"id\":\"{{personId}}\"}}],\"perPage\":\"30\"}","urlObject":{"path":["api","v1","contacts"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"include\":[{\"model\":\"person\",\"required\":\"true\",\"where\":{\"id\":\"{{personId}}\"}}],\"perPage\":\"30\"}"}],"variable":[]}},"response":[],"_postman_id":"91572182-9861-4dc8-b16d-4b36b680e107"},{"name":"Editar contato","id":"4c65b11b-3d19-4991-8e2f-6ada36b4df10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\"internalName\": \"{{name}}\",\r\n\"number\": \"{{number}}\",\r\n\"serviceId\": \"{{serviceid}}\", //id conexão\r\n\"defaultDepartmentId\": null,\r\n\"tagIds\": [\"{{tagIds}}\", \"{{tagIds}}\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c65b11b-3d19-4991-8e2f-6ada36b4df10"},{"name":"Editar tag do contato","id":"cdc3ff02-c2b0-438d-bad4-1102460b2a69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\"tagIds\": [\"{{tagIds}}\", \"{{tagIds}}\"] //id tag\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cdc3ff02-c2b0-438d-bad4-1102460b2a69"},{"name":"Editar campo personalizado de um contato","id":"4b9d3ba2-6e7b-492c-bcb3-261823fac10a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"customFields\": [\r\n        {\r\n            \"id\": \"{{customFieldsId}}\",\r\n            \"value\": \"{{texto}}\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4b9d3ba2-6e7b-492c-bcb3-261823fac10a"},{"name":"Incluir tags em um contato existente","id":"01db21e2-1841-4ba9-b0be-91760e0f93ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\"tagIds\": [\"{{tagIds}}\", \"{{tagIds}}\"] //id tag\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"01db21e2-1841-4ba9-b0be-91760e0f93ef"},{"name":"Cadastrar contato","id":"57789d7f-9ff7-40d4-b121-ee7cd94924a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"internalName\": \"{{name}}\",\r\n\"number\": \"{{number}}\", //número contato\r\n\"serviceId\": \"{{serviceid}}\", //id conexão\r\n\"defaultDepartmentId\": null,\r\n\"tagIds\": [\"{{tagIds}}\"], //id tag\r\n\"customFields\": [ //campos personalizados\r\n        {\r\n            \"id\": \"{{customFieldId}}\", //id campo personalizado\r\n            \"value\": \"{{value}}\" //texto\r\n        }\r\n]\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts","urlObject":{"path":["api","v1","contacts"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"57789d7f-9ff7-40d4-b121-ee7cd94924a2"},{"name":"Cadastrar múltiplos contatos","id":"5a24928f-f260-46d5-837e-df120f777338","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"internalName\": \"{{name}}\", //Nome do contato\r\n        \"number\": \"{{number}}\", //Número do contato\r\n        \"serviceId\": \"{{serviceid}}\", //ID da conexão\r\n        \"defaultDepartmentId\": null,\r\n        \"tagIds\": [\r\n            \"{{tagIds}}\" //ID da TAG\r\n        ]\r\n    },\r\n    {\r\n        \"internalName\": \"{{name}}\",\r\n        \"number\": \"{{number}}\",\r\n        \"serviceId\": \"{{serviceid}}\",\r\n        \"defaultDepartmentId\": null,\r\n        \"tagIds\": [\r\n            \"{{tagIds}}\"\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/many","urlObject":{"path":["api","v1","contacts","many"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a24928f-f260-46d5-837e-df120f777338"},{"name":"Exportar contatos","id":"6f3b1194-e2d9-4e23-8103-6f98acd33cca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"where\": {\r\n    \"visible\": true,\r\n    \"isGroup\": {\r\n      \"$eq\": false\r\n    },\r\n    \"isBroadcast\": {\r\n      \"$eq\": false\r\n    },\r\n    \"serviceId\": \"{{serviceId}}\" //id conexão\r\n  },\r\n  \"include\": [\r\n    \"avatar\",\r\n    \"tags\",\r\n    {\r\n      \"model\": \"service\",\r\n      \"required\": true\r\n    },\r\n    \"person\"\r\n  ],\r\n  \"order\": [\r\n    [\r\n      \"name\",\r\n      \"ASC\"\r\n    ]\r\n  ],\r\n  \"page\": 1,\r\n  \"perPage\": 15,\r\n  \"type\": \"comma\",\r\n  \"serviceType\": \"whatsapp\" //tipo de conexão (e-mail, telegram, etc)\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/export/csv","urlObject":{"path":["api","v1","contacts","export","csv"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f3b1194-e2d9-4e23-8103-6f98acd33cca"},{"name":"Total de contatos com filtros","id":"ebf02cb8-643e-4a0d-9b19-c205281d1a62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"query\": {\r\n    \"isFiltered\": false,\r\n    \"departmentIds\": [ \r\n      {{departmentIds}} //id departamento - Opcional\r\n    ]\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/count","description":"<p>Realizar uma requisição nessa rota retornará a quantidade de<br />chamados do usuário em aberto e a quantidade de chamados na fila dos<br />departamentos em que estiver vinculado.</p>\n","urlObject":{"path":["api","v1","contacts","count"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ebf02cb8-643e-4a0d-9b19-c205281d1a62"},{"name":"Sincroniza contato","id":"5459db5d-6632-4f1d-b540-21584957a157","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}/sync","description":"<p>Inicia a sincronização do contato e busca novas mensagens.</p>\n","urlObject":{"path":["api","v1","contacts","{{contactId}}","sync"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5459db5d-6632-4f1d-b540-21584957a157"},{"name":"Bloquear contato","id":"c91588d7-f4b6-4a50-b52d-2898f772cd0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{URL}}/api/v1/contacts/{{contactId}}/block","urlObject":{"path":["api","v1","contacts","{{contactId}}","block"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c91588d7-f4b6-4a50-b52d-2898f772cd0c"},{"name":"Desbloquear contato","id":"a618647a-4186-4578-8eab-a3f42ae42356","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"block\": false,\r\n    \"description\": \"{{description}}\" //descrição (texto explicando o motivo)\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}/block","urlObject":{"path":["api","v1","contacts","{{contactId}}","block"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a618647a-4186-4578-8eab-a3f42ae42356"},{"name":"Excluir contato","id":"efd6b079-3ece-4687-8250-933e3c0c5f79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"efd6b079-3ece-4687-8250-933e3c0c5f79"},{"name":"Exclui multiplos contatos","id":"1173cedf-8cb3-43b1-b963-d03ca5bcb645","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"where\": {\r\n    \"id\": [\r\n      \"{{contactId}}\", //ID dos contatos que deseja excluir\r\n      \"{{contactId}}\"\r\n    ]\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/many","urlObject":{"path":["api","v1","contacts","many"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1173cedf-8cb3-43b1-b963-d03ca5bcb645"}],"id":"800d33a1-5a7c-40e3-bb62-8c35c0389188","description":"<p>Contatos são os números dos seus clientes que serão salvos dentro da Digisac.</p>\n","_postman_id":"800d33a1-5a7c-40e3-bb62-8c35c0389188","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Controle de ausência","item":[{"name":"Listar ausências","id":"364ab678-18ff-4ffd-986a-666fd9b17b8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/absence?filters[createdAt]={{2024-04-09T12:50:49.385}}Z&filters[endedAt]={{2024-04-16T12:50:49.385}}Z&include=user&page=1000&perPage=40","urlObject":{"path":["api","v1","absence"],"host":["{{URL}}"],"query":[{"key":"filters[createdAt]","value":"{{2024-04-09T12:50:49.385}}Z"},{"key":"filters[endedAt]","value":"{{2024-04-16T12:50:49.385}}Z"},{"key":"include","value":"user"},{"key":"page","value":"1000"},{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"364ab678-18ff-4ffd-986a-666fd9b17b8b"}],"id":"04c1737f-7d7a-4e70-85fe-4b5bc8367fbd","_postman_id":"04c1737f-7d7a-4e70-85fe-4b5bc8367fbd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Créditos SMS","item":[{"name":"Listagem de créditos","id":"2be05807-8e73-4337-ba48-12d42e71b7b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/credit-movements?perPage=40","urlObject":{"path":["api","v1","credit-movements"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"2be05807-8e73-4337-ba48-12d42e71b7b0"},{"name":"Balanço","id":"e2de5243-825d-4bb5-99fc-55a14f308165","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/credit-movements/balances","urlObject":{"path":["api","v1","credit-movements","balances"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e2de5243-825d-4bb5-99fc-55a14f308165"},{"name":"Buscar uma movimentação expecífica ","id":"e213e90d-bdcc-457c-8204-c77f25b2fd94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/credit-movements/{{movementId}}","urlObject":{"path":["api","v1","credit-movements","{{movementId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e213e90d-bdcc-457c-8204-c77f25b2fd94"}],"id":"afe501dc-4ed3-4e20-a5f2-85df897f8869","description":"<p>Os créditos são utilizados para fazer o envio de mensagens via SMS pela plataforma. Esta área é o local para consultar a quantidade de créditos disponíveis para o envio de campanhas.</p>\n","_postman_id":"afe501dc-4ed3-4e20-a5f2-85df897f8869","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Departamentos","item":[{"name":"Listar departamentos","id":"f1a73257-9cbd-462e-b101-ed75a748df1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/departments?perPage=40","urlObject":{"path":["api","v1","departments"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"f1a73257-9cbd-462e-b101-ed75a748df1d"},{"name":"Buscar departamento","id":"ace328b7-4c12-4edf-909b-30d62ef280f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/departments/{{departmentId}}","urlObject":{"path":["api","v1","departments","{{departmentId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ace328b7-4c12-4edf-909b-30d62ef280f6"},{"name":"Editar departamento","id":"de595a15-9a80-4792-a8cc-db3484cf3b68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\" //nome\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/departments/{{departmentId}}","urlObject":{"path":["api","v1","departments","{{departmentId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"de595a15-9a80-4792-a8cc-db3484cf3b68"},{"name":"Criar departamento","id":"d57ddd1b-3cbb-4441-a0f0-16bfc45ea5e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\" //nome\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/departments","urlObject":{"path":["api","v1","departments"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d57ddd1b-3cbb-4441-a0f0-16bfc45ea5e7"},{"name":"Arquivar departamento","id":"d6e61285-7546-4c7b-b288-274dc9117c2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"archive\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/departments/{{departmentId}}/archive","urlObject":{"path":["api","v1","departments","{{departmentId}}","archive"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d6e61285-7546-4c7b-b288-274dc9117c2a"},{"name":"Excluir departamento","id":"268d35b8-1c6c-40e8-a9d5-7ff3470d2951","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/departments/{{departmentId}}","urlObject":{"path":["api","v1","departments","{{departmentId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"268d35b8-1c6c-40e8-a9d5-7ff3470d2951"}],"id":"34c8cd95-a839-42fa-9990-7fdc79bd2791","description":"<p>Os departamentos se referem às áreas da empresa que realizarão os atendimentos (ex.: Suporte, Comercial, Atendimento).</p>\n<p>Obs.: em cada departamento, é possível vincular mais de um usuário cadastrado.</p>\n","_postman_id":"34c8cd95-a839-42fa-9990-7fdc79bd2791","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Distribuição de chamados","item":[{"name":"Listas distribuições de chamados","id":"ed55d765-7d8f-4f34-934d-01eaabb55193","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/distribution?perPage=40","urlObject":{"path":["api","v1","distribution"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"ed55d765-7d8f-4f34-934d-01eaabb55193"},{"name":"Buscar distribuição de chamados","id":"641c25bc-92d6-4440-aec8-2dc0a9988297","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/distribution/{{distributionId}}","urlObject":{"path":["api","v1","distribution","{{distributionId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"641c25bc-92d6-4440-aec8-2dc0a9988297"},{"name":"Editar distribuição de chamados","id":"d3073a58-605c-4332-8ead-81d0941dd6b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\",\r\n    \"maxNum\": 1, //máximo de chamados por Atendente e Departamento\r\n    \"timeToRedistribute\": 5,//tempo máximo em minutos que os chamados permanecerão na fila do usuário offline.\r\n    \"departments\": [\r\n        {\r\n            \"id\": \"[{{departmentId}}], [{{departmentId}}]\" //id departamento\r\n        }\r\n    ],\r\n    \"roles\": [\r\n        {\r\n            \"id\": \"[{{roleId}}], [{{roleId}}]\" //id cargo\r\n        }\r\n    ],\r\n    \"redistributeAll\": false, //redistribuir todos os chamados\r\n    \"redistributeAssignedTickets\": false, //redistribuir somente chamados não respondidos\r\n    \"distributeQueue\": true //true = distribuir em Fila ou false = Distribuição Padrão\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/distribution/{{distributionId}}","urlObject":{"path":["api","v1","distribution","{{distributionId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3073a58-605c-4332-8ead-81d0941dd6b3"},{"name":"Criar distribuição de chamados - Fila","id":"1e819797-9b29-40b8-ae54-299e2634545b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\",\r\n    \"maxNum\": 1, //máximo de chamados por Atendente e Departamento\r\n    \"timeToRedistribute\": 5, //tempo máximo em minutos que os chamados permanecerão na fila do usuário offline.\r\n    \"departments\": [\r\n        {\r\n            \"id\": \"[{{departmentId}}], [{{departmentId}}]\" //id departamento\r\n        }\r\n    ],\r\n    \"roles\": [\r\n        {\r\n            \"id\": \"[{{roleId}}], [{{roleId}}]\" //id cargo\r\n        }\r\n    ],\r\n    \"redistributeAll\": false, //redistribuir todos os chamados\r\n    \"redistributeAssignedTickets\": false, //redistribuir somente chamados não respondidos\r\n    \"distributeQueue\": true //true = Distribuir em fila\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/distribution","urlObject":{"path":["api","v1","distribution"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e819797-9b29-40b8-ae54-299e2634545b"},{"name":"Criar distribuição de chamados - Padrão","id":"12b93a55-dace-4041-ab6d-c4babc8b200b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\",\r\n    \"maxNum\": 1, //máximo de chamados por Atendente e Departamento\r\n    \"timeToRedistribute\": 5, //tempo máximo em minutos que os chamados permanecerão na fila do usuário offline.\r\n    \"departments\": [\r\n        {\r\n            \"id\": \"[{{departmentId}}], [{{departmentId}}]\" //id departamento\r\n        }\r\n    ],\r\n    \"roles\": [\r\n        {\r\n            \"id\": \"[{{roleId}}], [{{roleId}}]\" //id cargo\r\n        }\r\n    ],\r\n    \"redistributeAll\": false, //redistribuir todos os chamados\r\n    \"redistributeAssignedTickets\": false, //redistribuir somente chamados não respondidos\r\n    \"distributeQueue\": false //false = Distribuição padrão\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/distribution","urlObject":{"path":["api","v1","distribution"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"12b93a55-dace-4041-ab6d-c4babc8b200b"},{"name":"Excluir distribuição de chamados","id":"07be91af-f351-4df7-ab26-cc2505370b38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/distribution/{{distributionId}}","urlObject":{"path":["api","v1","distribution","{{distributionId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"07be91af-f351-4df7-ab26-cc2505370b38"}],"id":"26783997-07cc-4852-841b-a2b85b66a022","description":"<p>A distribuição de chamados tem a intenção de realizar a ramificação de atendimentos de maneira igualitária e automática para usuários de determinados departamentos.</p>\n","_postman_id":"26783997-07cc-4852-841b-a2b85b66a022","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Estatísticas de atendimento","item":[{"name":"Buscar estatísticas por período","id":"9d33ebcc-1be5-4832-9634-9d177a89e024","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-01-01T23:59:59.999Z}}&endPeriod={{2023-01-02T23:59:59.999Z}}&grouping=&departmentId=all&userId=all&periodType=openDate&departmentParticipation=last&userParticipation=last&status=all","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-01-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2023-01-02T23:59:59.999Z}}"},{"key":"grouping","value":""},{"key":"departmentId","value":"all"},{"key":"userId","value":"all"},{"key":"periodType","value":"openDate"},{"key":"departmentParticipation","value":"last"},{"key":"userParticipation","value":"last"},{"key":"status","value":"all"}],"variable":[]}},"response":[],"_postman_id":"9d33ebcc-1be5-4832-9634-9d177a89e024"},{"name":"Buscar estatísticas por conexão","id":"f2d03fcc-85b2-4f8b-a3d5-0e74ecb35c3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&serviceId={{serviceId}}","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"serviceId","value":"{{serviceId}}"}],"variable":[]}},"response":[],"_postman_id":"f2d03fcc-85b2-4f8b-a3d5-0e74ecb35c3d"},{"name":"Buscar estatísticas por departamento","id":"c0972ccb-c9ba-4d1d-a14e-b6bbbbd52bb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&grouping=&departmentId={{departmentId}}","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"grouping","value":""},{"key":"departmentId","value":"{{departmentId}}"}],"variable":[]}},"response":[],"_postman_id":"c0972ccb-c9ba-4d1d-a14e-b6bbbbd52bb1"},{"name":"Buscar estatísticas por usuário","id":"b4db6ec4-6be2-4707-9fa1-c2474958b681","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&userId={{userId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}},"urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"userId","value":"{{userId}}"}],"variable":[]}},"response":[],"_postman_id":"b4db6ec4-6be2-4707-9fa1-c2474958b681"},{"name":"Buscar estatísticas por dpt + usuário","id":"1dce3e81-e1c8-4c02-b893-32b424a34bf3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&grouping=&departmentId={{departmentId}}&userId={{userId}}","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"grouping","value":""},{"key":"departmentId","value":"{{departmentId}}"},{"key":"userId","value":"{{userId}}"}],"variable":[]}},"response":[],"_postman_id":"1dce3e81-e1c8-4c02-b893-32b424a34bf3"},{"name":"Buscar estatísticas por data de abertura","id":"9921dc11-8bd6-4987-8f69-c080814c9638","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&periodType=open","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"periodType","value":"open"}],"variable":[]}},"response":[],"_postman_id":"9921dc11-8bd6-4987-8f69-c080814c9638"},{"name":"Buscar estatísticas por data de fechamento","id":"38c21fe3-b0b3-49f2-a060-9c21bcae0e6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&periodType=close","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"periodType","value":"close"}],"variable":[]}},"response":[],"_postman_id":"38c21fe3-b0b3-49f2-a060-9c21bcae0e6b"},{"name":"Buscar estatísticas dos chamados abertos","id":"9e310a76-199a-42a1-a5ce-45d540dda2c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&status=open","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"status","value":"open"}],"variable":[]}},"response":[],"_postman_id":"9e310a76-199a-42a1-a5ce-45d540dda2c0"},{"name":"Buscar estatísticas dos chamados fechados","id":"cc5add0e-e4a5-4f73-80b1-b72d46d45d11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&status=close","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"status","value":"close"}],"variable":[]}},"response":[],"_postman_id":"cc5add0e-e4a5-4f73-80b1-b72d46d45d11"},{"name":"Buscar estatísticas com todos os filtros ativos","id":"5cd07992-7a78-44b8-9bbd-94b7a3c907ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&grouping=&departmentId={{departmentId}}&userId={{userId}}&periodType={{open/close}}Date&departmentParticipation={{last/middle}}&userParticipation={{last/middle}}&status={{all/open/close}}&serviceId={{serviceId}}","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"grouping","value":""},{"key":"departmentId","value":"{{departmentId}}"},{"key":"userId","value":"{{userId}}"},{"key":"periodType","value":"{{open/close}}Date"},{"key":"departmentParticipation","value":"{{last/middle}}"},{"key":"userParticipation","value":"{{last/middle}}"},{"key":"status","value":"{{all/open/close}}"},{"key":"serviceId","value":"{{serviceId}}"}],"variable":[]}},"response":[],"_postman_id":"5cd07992-7a78-44b8-9bbd-94b7a3c907ee"}],"id":"aed3bb72-8759-455e-98bb-afbbf1079d6f","description":"<p>Essa ferramenta permite que seja visualizado uma média de como estão os atendimentos com os clientes de uma maneira geral ou individualizada de acordo com os filtros gerados.</p>\n","_postman_id":"aed3bb72-8759-455e-98bb-afbbf1079d6f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Estatísticas de avaliações","item":[{"name":"Buscar avaliações sem filtro","id":"faa718a6-71ee-4122-917c-7556db1b955a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/answers","urlObject":{"path":["api","v1","answers"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"faa718a6-71ee-4122-917c-7556db1b955a"},{"name":"Buscar avaliações por período","id":"62ecc903-e760-47c6-b589-53a8df1a3cb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/answers/overview?startPeriod={{2024-01-01T23:59:59.999Z}}&endPeriod={{2023-01-02T23:59:59.999Z}}","urlObject":{"path":["api","v1","answers","overview"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-01-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2023-01-02T23:59:59.999Z}}"}],"variable":[]}},"response":[],"_postman_id":"62ecc903-e760-47c6-b589-53a8df1a3cb8"},{"name":"Buscar avaliações por conexão","id":"a907523a-e4cb-4207-9ee0-cb98a73546eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/answers/overview?serviceId={{serviceId}}&periodType={{all/close/open}}&from={{2024-07-30T18:01:07.341Z}}&to={{2024-08-06T18:01:07.341Z}}&type={{csat/nps}}","urlObject":{"path":["api","v1","answers","overview"],"host":["{{URL}}"],"query":[{"key":"serviceId","value":"{{serviceId}}"},{"key":"periodType","value":"{{all/close/open}}"},{"key":"from","value":"{{2024-07-30T18:01:07.341Z}}"},{"key":"to","value":"{{2024-08-06T18:01:07.341Z}}"},{"key":"type","value":"{{csat/nps}}"}],"variable":[]}},"response":[],"_postman_id":"a907523a-e4cb-4207-9ee0-cb98a73546eb"},{"name":"Buscar avaliações por departamento","id":"dcf4f60d-80b5-47aa-98b3-51bde6ac52f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/answers/overview?departmentId={{departmentId}}&from={{2024-07-30T18:01:07.341Z}}&to={{2024-08-06T18:01:07.341Z}}&type={{csat/nps}}","urlObject":{"path":["api","v1","answers","overview"],"host":["{{URL}}"],"query":[{"key":"departmentId","value":"{{departmentId}}"},{"key":"from","value":"{{2024-07-30T18:01:07.341Z}}"},{"key":"to","value":"{{2024-08-06T18:01:07.341Z}}"},{"key":"type","value":"{{csat/nps}}"}],"variable":[]}},"response":[],"_postman_id":"dcf4f60d-80b5-47aa-98b3-51bde6ac52f2"},{"name":"Buscar avaliações por usuário","id":"93e6b2c5-1a95-46e3-9cf6-69b118ce5d17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/answers/overview?userId={{userId}}&from={{2024-07-30T18:01:07.341Z}}&to={{2024-08-06T18:01:07.341Z}}&type={{csat/nps}}","urlObject":{"path":["api","v1","answers","overview"],"host":["{{URL}}"],"query":[{"key":"userId","value":"{{userId}}"},{"key":"from","value":"{{2024-07-30T18:01:07.341Z}}"},{"key":"to","value":"{{2024-08-06T18:01:07.341Z}}"},{"key":"type","value":"{{csat/nps}}"}],"variable":[]}},"response":[],"_postman_id":"93e6b2c5-1a95-46e3-9cf6-69b118ce5d17"},{"name":"Buscar avaliações por dpt + usuário","id":"f464e76a-d514-45a3-a214-fc534d4df88d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/answers/overview?userId={{userId}}&departmentId={{departmentId}}&from={{2024-07-30T18:01:07.341Z}}&to={{2024-08-06T18:01:07.341Z}}&type={{csat/nps}}","urlObject":{"path":["api","v1","answers","overview"],"host":["{{URL}}"],"query":[{"key":"userId","value":"{{userId}}"},{"key":"departmentId","value":"{{departmentId}}"},{"key":"from","value":"{{2024-07-30T18:01:07.341Z}}"},{"key":"to","value":"{{2024-08-06T18:01:07.341Z}}"},{"key":"type","value":"{{csat/nps}}"}],"variable":[]}},"response":[],"_postman_id":"f464e76a-d514-45a3-a214-fc534d4df88d"},{"name":"Buscar avaliações com todos os filtros ativos","id":"96652be1-464f-44c8-9eda-b52929de94c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/answers/overview?userId={{userId}}&departmentId={{departmentId}}&serviceId={{serviceId}}&periodType={{all/close/open}}&from={{2024-07-30T18:01:07.341Z}}&to={{2024-08-06T18:01:07.341Z}}&type={{csat/nps}}","urlObject":{"path":["api","v1","answers","overview"],"host":["{{URL}}"],"query":[{"key":"userId","value":"{{userId}}"},{"key":"departmentId","value":"{{departmentId}}"},{"key":"serviceId","value":"{{serviceId}}"},{"key":"periodType","value":"{{all/close/open}}"},{"key":"from","value":"{{2024-07-30T18:01:07.341Z}}"},{"key":"to","value":"{{2024-08-06T18:01:07.341Z}}"},{"key":"type","value":"{{csat/nps}}"}],"variable":[]}},"response":[],"_postman_id":"96652be1-464f-44c8-9eda-b52929de94c8"}],"id":"a140b0e9-4463-45e8-a4c7-c0bc09bc10da","_postman_id":"a140b0e9-4463-45e8-a4c7-c0bc09bc10da","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Feriados","item":[{"name":"Listar feriados","id":"a01fd446-fa2e-4afd-a768-99702849a8ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/holiday?perPage=40","urlObject":{"path":["api","v1","holiday"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"a01fd446-fa2e-4afd-a768-99702849a8ed"},{"name":"Buscar feriado","id":"db08284e-c019-4d34-9a98-3f9ec2ef4ea8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/holiday/{{holidayId}}","urlObject":{"path":["api","v1","holiday","{{holidayId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"db08284e-c019-4d34-9a98-3f9ec2ef4ea8"},{"name":"Editar feriado","id":"cb264e05-b157-40b1-8326-726cce2a6b91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\", //nome feriado\r\n    \"from\": \"{{2024-07-25T03:00:00.000Z}}\", //data e hora inicial\r\n    \"to\": \"{{2024-07-27T02:59:00.000Z}}\", //data e hora final\r\n    \"message\": \"{{massage}}\" //mensagem de texto do feriado\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/holiday/{{holidayId}}","urlObject":{"path":["api","v1","holiday","{{holidayId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cb264e05-b157-40b1-8326-726cce2a6b91"},{"name":"Criar feriado","id":"1a27efd7-93a5-46bc-8ca3-e9bc486f7aa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\", //nome feriado\r\n    \"from\": \"{{2024-07-25T03:00:00.000Z}}\", //data e hora inicial\r\n    \"to\": \"{{2024-07-27T02:59:00.000Z}}\", //data e hora final\r\n    \"message\": \"{{massage}}\" //mensagem de texto do feriado\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/holiday","urlObject":{"path":["api","v1","holiday"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a27efd7-93a5-46bc-8ca3-e9bc486f7aa8"},{"name":"Excluir feriado","id":"d4331f6f-31d9-4deb-89f7-e3350dd4a039","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/holiday/{{holidayId}}","urlObject":{"path":["api","v1","holiday","{{holidayId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d4331f6f-31d9-4deb-89f7-e3350dd4a039"}],"id":"f8c588ef-d151-44c2-9521-0cbd0dd6a288","description":"<p>Com ícone feriados é possível determinar, como o próprio nome diz, dias de feriados, nos quais o robô realizará interação com essas datas e identificará ser um dia de “não trabalho”, enviando assim, uma mensagem de ausência para todos os clientes que entrarem em contato naquele dia especifico.</p>\n","_postman_id":"f8c588ef-d151-44c2-9521-0cbd0dd6a288","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Funil de vendas","item":[{"name":"Listar funis de vendas","id":"b0368e55-c1ba-4cdc-8266-a58bd1df99c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/pipelines?perPage=30","urlObject":{"path":["api","v1","pipelines"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"30"}],"variable":[]}},"response":[],"_postman_id":"b0368e55-c1ba-4cdc-8266-a58bd1df99c4"},{"name":"Buscar funil de vendas","id":"8f74d597-34e7-4347-8562-39060346d9e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/pipelines/{{pipelineId}}","urlObject":{"path":["api","v1","pipelines","{{pipelineId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f74d597-34e7-4347-8562-39060346d9e6"},{"name":"Criar funil de vendas","id":"d21e9aa9-e20c-4edd-96c4-194a7c5b71aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{name}}\", //nome\n    \"type\": \"sales\",\n    \"goBack\": false //false ou true\n    // \"goBack\": false = Apenas avançar\n    //\"goBack\": true = Avançar e recuar\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/pipelines","urlObject":{"path":["api","v1","pipelines"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d21e9aa9-e20c-4edd-96c4-194a7c5b71aa"},{"name":"Editar funil de vendas","id":"ecfe9493-923b-4ef7-befd-5cff3f828e53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{name}}\", //nome\n    \"type\": \"sales\",\n    \"goBack\": false //false ou true\n    // \"goBack\": false = Apenas avançar\n    //\"goBack\": true = Avançar e recuar\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/pipelines/{{pipelineId}}","urlObject":{"path":["api","v1","pipelines","{{pipelineId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ecfe9493-923b-4ef7-befd-5cff3f828e53"},{"name":"Apagar funil de vendas","id":"1581e0db-ffe1-42f4-91da-596c3f2df1e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/pipelines/{{pipelineId}}","urlObject":{"path":["api","v1","pipelines","{{pipelineId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1581e0db-ffe1-42f4-91da-596c3f2df1e0"},{"name":"Listar oportunidades","id":"a263c239-740a-4ea2-95b3-c9d4dd014096","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Token}}"}],"url":"{{URL}}/api/v1/cards?query={\"where\":{\"pipelineId\":\"{{pipelineId}}\"}}","urlObject":{"path":["api","v1","cards"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"where\":{\"pipelineId\":\"{{pipelineId}}\"}}"}],"variable":[]}},"response":[],"_postman_id":"a263c239-740a-4ea2-95b3-c9d4dd014096"},{"name":"Buscar oportunidades","id":"a167954d-de51-44be-ab44-a3872b46b8c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Token}}"}],"url":"{{URL}}/api/v1/cards/{{cardsId}}","urlObject":{"path":["api","v1","cards","{{cardsId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a167954d-de51-44be-ab44-a3872b46b8c3"},{"name":"Criar oportunidade","id":"bb50ea3a-24ce-4ad7-8301-a28f25634782","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"{{title}}\",\n    \"description\": \"{{description}}\",\n    \"accountId\": \"{{accountId}}\",\n    \"contactId\": \"{{contactId}}\",\n    \"pipelineId\": \"{{pipelineId}}\",\n    \"pipelineStageId\": \"{{pipelineStageId}}\",\n    \"ownerId\": \"{{ownerId}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/v1/cards","urlObject":{"path":["v1","cards"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb50ea3a-24ce-4ad7-8301-a28f25634782"},{"name":"Editar oportunidade","id":"5cfe94ab-9fa4-4cac-aff7-88fce2a53ea1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"{{title}}\",\n    \"description\": \"\",\n    \"accountId\": \"{{accountId}}\",\n    \"contactId\": \"{{contactId}}\",\n    \"pipelineId\": \"{{pipelineId}}\",\n    \"pipelineStageId\": \"{{pipelineStageId}}\",\n    \"organization\": \"\",\n    \"organizationSegment\": \"\",\n    \"statusId\": null,\n    \"reasonId\": null,\n    \"originChannel\": \"\",\n    \"originCampaign\": \"\",\n    \"order\": 1,\n    \"ownerId\": \"{{ownerId}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/v1/cards/{{cardsId}}","urlObject":{"path":["v1","cards","{{cardsId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5cfe94ab-9fa4-4cac-aff7-88fce2a53ea1"},{"name":"Apagar oportunidade","id":"55b66df9-18e1-4933-a5f8-a2653413bf76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/v1/cards/{{cardsId}}","urlObject":{"path":["v1","cards","{{cardsId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"55b66df9-18e1-4933-a5f8-a2653413bf76"}],"id":"6c4babe7-a654-4299-a940-df0820e2eaac","_postman_id":"6c4babe7-a654-4299-a940-df0820e2eaac","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Grupos WhatsApp","item":[{"name":"Listar grupos por conexão WhatsApp","id":"f3ccd8c3-2ff1-47bb-af30-f17aa2962387","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/whatsapp/groups/service/{{serviceId}}","urlObject":{"path":["api","v1","whatsapp","groups","service","{{serviceId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f3ccd8c3-2ff1-47bb-af30-f17aa2962387"},{"name":"Adicionar participante","id":"04ddc9ee-b44b-4559-bd6c-b1260911f15a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[{\n    \"number\": \"{{number}}}}\" // número de quem será adicionado\n}]","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}/add-members","urlObject":{"path":["api","v1","contacts","{{contactId}}","add-members"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"04ddc9ee-b44b-4559-bd6c-b1260911f15a"},{"name":"Atribuir cargo de administrador","id":"6883f0eb-735c-4135-8014-40b44a76d1d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    \"{{contactId}}\" // id do contato de quem será promovido a administrador\n] ","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}/promote-members","urlObject":{"path":["api","v1","contacts","{{contactId}}","promote-members"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6883f0eb-735c-4135-8014-40b44a76d1d2"},{"name":"Criar novo grupo","id":"4324eba0-bb17-418f-b455-5091500a4678","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"serviceId\": \"{{serviceId}}\", // id da conexão\n  \"internalName\": \"{{groupName}}\", // nome do grupo\n  \"isGroup\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts","urlObject":{"path":["api","v1","contacts"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4324eba0-bb17-418f-b455-5091500a4678"},{"name":"Remover permissões de administrador","id":"bee13848-012c-423a-873e-95741ef35995","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    \"{{contactId}}\" // id do contato de quem será retirado o cargo de administrador\n] ","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}/demote-members","urlObject":{"path":["api","v1","contacts","{{contactId}}","demote-members"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bee13848-012c-423a-873e-95741ef35995"}],"id":"6f8e1abc-731a-4f6b-bca4-0c411bce0f01","_postman_id":"6f8e1abc-731a-4f6b-bca4-0c411bce0f01","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Histórico de chamados","item":[{"name":"Buscar chamados abertos por contactid","id":"aa75929a-80ef-4e54-911c-ea29933e6cb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?query={\"where\":{\"isOpen\":true},\"include\":[{\"model\":\"contact\",\"required\":true,\"where\":{\"visible\":true,\"id\":\"{{contactId}}\"}}]}","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"where\":{\"isOpen\":true},\"include\":[{\"model\":\"contact\",\"required\":true,\"where\":{\"visible\":true,\"id\":\"{{contactId}}\"}}]}"}],"variable":[]}},"response":[],"_postman_id":"aa75929a-80ef-4e54-911c-ea29933e6cb5"},{"name":"Buscar chamados abertos por departamento","id":"ec05fb32-39c9-4181-82ea-6ffeb0268e5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?query={\"where\":{\"isOpen\":true,\"departmentId\":\"{{departmentId}}\"},\"include\":[{\"model\":\"contact\",\"required\":true,\"where\":{\"visible\":true}}],\"order\":[[\"updatedAt\",\"DESC\"]],\"page\":1,\"perPage\":15}","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"where\":{\"isOpen\":true,\"departmentId\":\"{{departmentId}}\"},\"include\":[{\"model\":\"contact\",\"required\":true,\"where\":{\"visible\":true}}],\"order\":[[\"updatedAt\",\"DESC\"]],\"page\":1,\"perPage\":15}"}],"variable":[]}},"response":[],"_postman_id":"ec05fb32-39c9-4181-82ea-6ffeb0268e5c"},{"name":"Buscar por um chamado específico","id":"f1ce41cd-1cf8-4390-8539-b426d9273e1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets/{{ticketId}}?include[0][model]=contact&include[0][include][0]=avatar&include[0][include][1]=thumbAvatar&include[1]=department&include[2]=user&include[3]=ticketTopics","urlObject":{"path":["api","v1","tickets","{{ticketId}}"],"host":["{{URL}}"],"query":[{"key":"include[0][model]","value":"contact"},{"key":"include[0][include][0]","value":"avatar"},{"key":"include[0][include][1]","value":"thumbAvatar"},{"key":"include[1]","value":"department"},{"key":"include[2]","value":"user"},{"key":"include[3]","value":"ticketTopics"}],"variable":[]}},"response":[],"_postman_id":"f1ce41cd-1cf8-4390-8539-b426d9273e1b"},{"name":"Buscar chamados por período","id":"3a1a609f-4d43-4123-837f-af866c39453e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?startPeriod={{2024-01-01T23:59:59.999Z}}&endPeriod={{2023-01-02T23:59:59.999Z}}","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-01-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2023-01-02T23:59:59.999Z}}"}],"variable":[]}},"response":[],"_postman_id":"3a1a609f-4d43-4123-837f-af866c39453e"},{"name":"Buscar chamados abertos por conexão","id":"891fc404-4aa9-498e-bfcc-21e5aef4b97d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?query={\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{\"isOpen\":true},\"include\":[{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true,\"serviceId\":\"{{serviceId}}\"},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true}]}],\"page\":1,\"perPage\":20}","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{\"isOpen\":true},\"include\":[{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true,\"serviceId\":\"{{serviceId}}\"},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true}]}],\"page\":1,\"perPage\":20}"}],"variable":[]}},"response":[],"_postman_id":"891fc404-4aa9-498e-bfcc-21e5aef4b97d"},{"name":"Buscar chamados fechados por conexão","id":"346c7cbe-4b99-4963-b6c9-6e7ed60f48c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?query={\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{\"isOpen\":false},\"include\":[{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true,\"serviceId\":\"{{serviceId}}\"},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true}]}],\"page\":1,\"perPage\":20}","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{\"isOpen\":false},\"include\":[{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true,\"serviceId\":\"{{serviceId}}\"},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true}]}],\"page\":1,\"perPage\":20}"}],"variable":[]}},"response":[],"_postman_id":"346c7cbe-4b99-4963-b6c9-6e7ed60f48c6"},{"name":"Buscar chamados abertos + fechados por conexão","id":"1830696d-3db0-455d-9186-7c80c9713864","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?query={\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{\"isOpen\":{\"$in\":[true,false]}},\"include\":[{\"model\":\"contact\",\"attributes\":[\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true,\"serviceId\":\"{{serviceId}}\"},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true}]}],\"page\":1,\"perPage\":20}","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{\"isOpen\":{\"$in\":[true,false]}},\"include\":[{\"model\":\"contact\",\"attributes\":[\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true,\"serviceId\":\"{{serviceId}}\"},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true}]}],\"page\":1,\"perPage\":20}"}],"variable":[]}},"response":[],"_postman_id":"1830696d-3db0-455d-9186-7c80c9713864"},{"name":"Buscar todos os chamados da plataforma","id":"7e2d1592-d416-411f-93f7-36dd07a77577","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?query={\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{},\"include\":[{\"model\":\"account\"},{\"model\":\"firstMessage\",\"attributes\":[\"id\",\"type\",\"text\",\"timestamp\",\"isFromMe\",\"sent\",\"data\",\"accountId\",\"serviceId\",\"contactId\",\"fromId\",\"toId\",\"userId\",\"ticketId\",\"isFromBot\",\"isFromSync\",\"visible\",\"ticketUserId\",\"ticketDepartmentId\",\"origin\",\"botId\",\"campaignId\"]},{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true},{\"model\":\"tags\",\"attributes\":[\"id\",\"label\",\"accountId\"]},{\"model\":\"person\",\"attributes\":[\"id\",\"name\",\"document\",\"accountId\"]},{\"model\":\"thumbAvatar\"}]},{\"model\":\"user\",\"attributes\":[\"id\",\"name\",\"email\",\"isSuperAdmin\",\"active\",\"accountId\",\"isFirstLogin\",\"status\",\"timetableId\",\"archivedAt\",\"phoneNumber\",\"data\",\"language\",\"isActiveInternalChat\"]},{\"model\":\"department\",\"attributes\":[\"id\",\"name\",\"accountId\",\"archivedAt\",\"distributionId\"]},{\"model\":\"ticketTopics\",\"attributes\":[\"id\",\"name\",\"archivedAt\"]}]}&perPage=30","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{},\"include\":[{\"model\":\"account\"},{\"model\":\"firstMessage\",\"attributes\":[\"id\",\"type\",\"text\",\"timestamp\",\"isFromMe\",\"sent\",\"data\",\"accountId\",\"serviceId\",\"contactId\",\"fromId\",\"toId\",\"userId\",\"ticketId\",\"isFromBot\",\"isFromSync\",\"visible\",\"ticketUserId\",\"ticketDepartmentId\",\"origin\",\"botId\",\"campaignId\"]},{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true},{\"model\":\"tags\",\"attributes\":[\"id\",\"label\",\"accountId\"]},{\"model\":\"person\",\"attributes\":[\"id\",\"name\",\"document\",\"accountId\"]},{\"model\":\"thumbAvatar\"}]},{\"model\":\"user\",\"attributes\":[\"id\",\"name\",\"email\",\"isSuperAdmin\",\"active\",\"accountId\",\"isFirstLogin\",\"status\",\"timetableId\",\"archivedAt\",\"phoneNumber\",\"data\",\"language\",\"isActiveInternalChat\"]},{\"model\":\"department\",\"attributes\":[\"id\",\"name\",\"accountId\",\"archivedAt\",\"distributionId\"]},{\"model\":\"ticketTopics\",\"attributes\":[\"id\",\"name\",\"archivedAt\"]}]}"},{"key":"perPage","value":"30"}],"variable":[]}},"response":[],"_postman_id":"7e2d1592-d416-411f-93f7-36dd07a77577"},{"name":"Exportar histórico de chamados em PDF","id":"b73f20fa-e9d6-43dc-af20-1a1e7db95bc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/pdf/tickets/{{ticketId}}/pt-BR?pdf=1&lng=pt-BR","urlObject":{"path":["pdf","tickets","{{ticketId}}","pt-BR"],"host":["{{URL}}"],"query":[{"key":"pdf","value":"1"},{"key":"lng","value":"pt-BR"}],"variable":[]}},"response":[],"_postman_id":"b73f20fa-e9d6-43dc-af20-1a1e7db95bc5"},{"name":"Exportar histórico de chamados em TXT","id":"35d07cfd-8403-4708-83c3-7299633dbfc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"protocol\": \"{{protocolNumber}}\" //Número do protocolo\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/tickets/export","urlObject":{"path":["api","v1","tickets","export"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"35d07cfd-8403-4708-83c3-7299633dbfc3"},{"name":"Exportar histórico de chamados em CSV","id":"9132d34a-1b56-4f7e-93a7-c827702d6621","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{URL}}/api/v1/tickets/export-history?query={\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{},\"include\":[{\"model\":\"firstMessage\",\"attributes\":[\"id\",\"type\",\"text\",\"timestamp\",\"isFromMe\",\"sent\",\"data\",\"accountId\",\"serviceId\",\"contactId\",\"fromId\",\"toId\",\"userId\",\"ticketId\",\"isFromBot\",\"isFromSync\",\"visible\",\"ticketUserId\",\"ticketDepartmentId\",\"origin\",\"botId\",\"campaignId\"]},{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true},{\"model\":\"tags\",\"attributes\":[\"id\",\"label\",\"accountId\"]},{\"model\":\"person\",\"attributes\":[\"id\",\"name\",\"document\",\"accountId\"]}]},{\"model\":\"user\",\"attributes\":[\"id\",\"name\",\"email\",\"isSuperAdmin\",\"active\",\"accountId\",\"isFirstLogin\",\"status\",\"timetableId\",\"archivedAt\",\"phoneNumber\",\"data\",\"language\",\"isActiveInternalChat\"]},{\"model\":\"department\",\"attributes\":[\"id\",\"name\",\"accountId\",\"archivedAt\",\"distributionId\"]},{\"model\":\"ticketTopics\",\"attributes\":[\"id\",\"name\",\"archivedAt\"]}]}","urlObject":{"path":["api","v1","tickets","export-history"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{},\"include\":[{\"model\":\"firstMessage\",\"attributes\":[\"id\",\"type\",\"text\",\"timestamp\",\"isFromMe\",\"sent\",\"data\",\"accountId\",\"serviceId\",\"contactId\",\"fromId\",\"toId\",\"userId\",\"ticketId\",\"isFromBot\",\"isFromSync\",\"visible\",\"ticketUserId\",\"ticketDepartmentId\",\"origin\",\"botId\",\"campaignId\"]},{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true},{\"model\":\"tags\",\"attributes\":[\"id\",\"label\",\"accountId\"]},{\"model\":\"person\",\"attributes\":[\"id\",\"name\",\"document\",\"accountId\"]}]},{\"model\":\"user\",\"attributes\":[\"id\",\"name\",\"email\",\"isSuperAdmin\",\"active\",\"accountId\",\"isFirstLogin\",\"status\",\"timetableId\",\"archivedAt\",\"phoneNumber\",\"data\",\"language\",\"isActiveInternalChat\"]},{\"model\":\"department\",\"attributes\":[\"id\",\"name\",\"accountId\",\"archivedAt\",\"distributionId\"]},{\"model\":\"ticketTopics\",\"attributes\":[\"id\",\"name\",\"archivedAt\"]}]}"}],"variable":[]}},"response":[],"_postman_id":"9132d34a-1b56-4f7e-93a7-c827702d6621"},{"name":"Exportar histórico de chamados de uma conexão específica em CSV","id":"008831ec-e39d-422e-83a8-77cc5e09f812","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{URL}}/api/v1/tickets/export-history?query={\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{},\"include\":[{\"model\":\"firstMessage\",\"attributes\":[\"id\",\"type\",\"text\",\"timestamp\",\"isFromMe\",\"sent\",\"data\",\"accountId\",\"serviceId\",\"contactId\",\"fromId\",\"toId\",\"userId\",\"ticketId\",\"isFromBot\",\"isFromSync\",\"visible\",\"ticketUserId\",\"ticketDepartmentId\",\"origin\",\"botId\",\"campaignId\"]},{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true,\"serviceId\":\"{{servieId}}\"},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true},{\"model\":\"tags\",\"attributes\":[\"id\",\"label\",\"accountId\"]},{\"model\":\"person\",\"attributes\":[\"id\",\"name\",\"document\",\"accountId\"]}]},{\"model\":\"user\",\"attributes\":[\"id\",\"name\",\"email\",\"isSuperAdmin\",\"active\",\"accountId\",\"isFirstLogin\",\"status\",\"timetableId\",\"archivedAt\",\"phoneNumber\",\"data\",\"language\",\"isActiveInternalChat\"]},{\"model\":\"department\",\"attributes\":[\"id\",\"name\",\"accountId\",\"archivedAt\",\"distributionId\"]},{\"model\":\"ticketTopics\",\"attributes\":[\"id\",\"name\",\"archivedAt\"]}]}","urlObject":{"path":["api","v1","tickets","export-history"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{},\"include\":[{\"model\":\"firstMessage\",\"attributes\":[\"id\",\"type\",\"text\",\"timestamp\",\"isFromMe\",\"sent\",\"data\",\"accountId\",\"serviceId\",\"contactId\",\"fromId\",\"toId\",\"userId\",\"ticketId\",\"isFromBot\",\"isFromSync\",\"visible\",\"ticketUserId\",\"ticketDepartmentId\",\"origin\",\"botId\",\"campaignId\"]},{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true,\"serviceId\":\"{{servieId}}\"},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true},{\"model\":\"tags\",\"attributes\":[\"id\",\"label\",\"accountId\"]},{\"model\":\"person\",\"attributes\":[\"id\",\"name\",\"document\",\"accountId\"]}]},{\"model\":\"user\",\"attributes\":[\"id\",\"name\",\"email\",\"isSuperAdmin\",\"active\",\"accountId\",\"isFirstLogin\",\"status\",\"timetableId\",\"archivedAt\",\"phoneNumber\",\"data\",\"language\",\"isActiveInternalChat\"]},{\"model\":\"department\",\"attributes\":[\"id\",\"name\",\"accountId\",\"archivedAt\",\"distributionId\"]},{\"model\":\"ticketTopics\",\"attributes\":[\"id\",\"name\",\"archivedAt\"]}]}"}],"variable":[]}},"response":[],"_postman_id":"008831ec-e39d-422e-83a8-77cc5e09f812"}],"id":"9d56620d-6437-4a89-b6d5-2071a9a20a37","description":"<p>O Histórico de Chamados é um dos relatórios de análise de atendimentos mais completos da plataforma, principalmente pelos seus filtros.</p>\n","_postman_id":"9d56620d-6437-4a89-b6d5-2071a9a20a37","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Integrações","item":[{"name":"Listar integrações","id":"dfedefb4-17c3-42e0-8bdc-b72d85d30fc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/integrations?perPage=40","urlObject":{"path":["api","v1","integrations"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"dfedefb4-17c3-42e0-8bdc-b72d85d30fc8"},{"name":"Buscar integração","id":"a032444d-1596-4d21-800b-edadf58fba7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/integrations/{{integrationId}}","urlObject":{"path":["api","v1","integrations","{{integrationId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a032444d-1596-4d21-800b-edadf58fba7e"}],"id":"7394985b-e7c4-492f-85c6-7d73d61b025e","description":"<p>A função de integrações tem como objetivo incorporar algum site dentro da plataforma Digisac. Com esta função, o usuário conseguirá acessar o site integrado sem precisar sair da própria plataforma.</p>\n","_postman_id":"7394985b-e7c4-492f-85c6-7d73d61b025e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Idioma da plataforma","item":[{"name":"Editar idioma da plataforma","id":"3c3c0f5d-b540-46aa-abda-5a69f192676e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"language\": \"pt-BR\" //pt-BR / en-US / es\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/me","description":"<p>Só funciona para o usuário do token</p>\n","urlObject":{"path":["api","v1","me"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c3c0f5d-b540-46aa-abda-5a69f192676e"}],"id":"c011e6e6-1489-411e-a63e-28b3e083b147","description":"<p>No painel de navegação, é possível escolher a língua descrita na Digisac, as opções são: Português (Brasil), Inglês e Espanhol.  </p>\n<img src=\"https://content.pstmn.io/030ffd0b-b855-4a65-9c28-57a6724599f7/aW1hZ2UucG5n\" alt height=\"105\" width=\"588\" />","_postman_id":"c011e6e6-1489-411e-a63e-28b3e083b147","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Mensagens","item":[{"name":"Listar mensagens","id":"30f322cd-ff3b-4ca2-8a29-aed31aa4a774","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/messages?perPage=40","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"30f322cd-ff3b-4ca2-8a29-aed31aa4a774"},{"name":"Buscar total de mensagens do contato","id":"79785d0b-a883-4ef7-9c30-9d0d550493a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/messages?where[contactId]={{contactId}}","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[{"key":"where[contactId]","value":"{{contactId}}"}],"variable":[]}},"response":[],"_postman_id":"79785d0b-a883-4ef7-9c30-9d0d550493a6"},{"name":"Buscar mensagem include=file","id":"40cfbf2f-6d70-48e3-9bf4-72e5dac17b50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"sec-ch-ua-platform","value":"\"Linux\""},{"key":"Authorization","value":"{{vault:bearer-token}}"},{"key":"branch","value":"default"},{"key":"Referer","value":""}],"url":"{{URL}}/api/v1/messages/{{messageId}}?include[0]=file","urlObject":{"path":["api","v1","messages","{{messageId}}"],"host":["{{URL}}"],"query":[{"key":"include[0]","value":"file"}],"variable":[]}},"response":[],"_postman_id":"40cfbf2f-6d70-48e3-9bf4-72e5dac17b50"},{"name":"Enviar mensagem para contato já cadastrado","id":"b2628c7a-0904-4a92-a195-53b9df50aa97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"{{text}}\", //texto\r\n    \"type\": \"chat\",\r\n    \"contactId\": \"{{contactId}}\", //ID contato\r\n    \"userId\": \"{{userId}}\", //ID usuário\r\n    \"origin\": \"bot\" // bot or user\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b2628c7a-0904-4a92-a195-53b9df50aa97"},{"name":"Enviar mensagem para contato não cadastrado","id":"3363144e-187d-4216-925d-38d8777dfc43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"{{text}}\", //texto\r\n    \"type\": \"chat\",\r\n    \"serviceId\": \"{{serviceId}}\", // ID conexão\r\n    \"number\": \"{{number}}\", //número do contato\r\n    \"userId\": \"{{userId}}\", //ID usuário\r\n    \"origin\": \"bot\" // bot or user\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3363144e-187d-4216-925d-38d8777dfc43"},{"name":"Enviar mensagem SEM abrir o chamado","id":"362f89c7-1503-4799-b086-ce5bed86a812","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"{{text}}\",\r\n    \"type\": \"chat\",\r\n    \"contactId\": \"{{contactId}}\",\r\n    \"userId\": \"{{userId}}\",\r\n    \"dontOpenTicket\": \"true\", //este parametro faz com que o chamado não seja aberto no momento do envio da mensagem\r\n    \"origin\": \"bot\" // bot or user\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"362f89c7-1503-4799-b086-ce5bed86a812"},{"name":"Enviar comentário","id":"cc99256a-804f-4631-a9eb-bc3a3734305d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"{{text}}\", //texto\r\n    \"type\": \"comment\", // chat or comment\r\n    \"contactId\": \"{{contactId}}\", //id contato\r\n    \"userId\": \"{{userId}}\", //id usuário\r\n    \"origin\": \"bot\" // bot or user\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc99256a-804f-4631-a9eb-bc3a3734305d"},{"name":"Enviar de mensagem usando bot e sem abrir chamado","id":"900c2149-a7f2-4191-bdbf-ab9c47fe97fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"text\": \"{{text}}\",\r\n\"number\": \"{{number}}\", //número do contato\r\n\"serviceId\": \"{{serviceid}}\", //id conexão\r\n\"origin\": \"bot\",\r\n\"dontOpenticket\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"900c2149-a7f2-4191-bdbf-ab9c47fe97fb"},{"name":"Enviar imagem","id":"520dfb47-d89f-4852-a710-feae5ea96b8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"{{text}}\", //Texto\r\n    \"number\": \"{{number}}\", //Número do contato\r\n    \"serviceId\": \"{{serviceId}}\", //ID conexão\r\n    \"file\": {\r\n        \"base64\": \"{{base64}}\", //Converter a imagem em base64\r\n        \"mimetype\": \"image/jpeg\",\r\n        \"name\": \"{{name}}\" //Nome imagem\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"520dfb47-d89f-4852-a710-feae5ea96b8d"},{"name":"Enviar PDF","id":"34d63c84-1af7-4b75-89d9-def47eaa1b1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"{{text}}\", //Texto\r\n    \"number\": \"{{number}}\", //Número do contato\r\n    \"serviceId\": \"{{serviceId}}\", //ID conexão\r\n    \"file\": {\r\n        \"base64\": \"{{base64}}\", //Converter o PDF em base64\r\n        \"mimetype\": \"application/pdf\",\r\n        \"name\": \"{{name}}\" //Nome arquivo PDF\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}},"urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"34d63c84-1af7-4b75-89d9-def47eaa1b1b"},{"name":"Enviar áudio","id":"356b3dff-fe98-4601-9e6e-4222f33b4d50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"number\": \"{{número}}\", //Número do contato\n    \"serviceId\": \"{{serviceid}}\", //ID conexão\n    \"file\": {\n        \"base64\": \"{{base64}}\", //Converter o áudio em base64\n        \"mimetype\": \"audio/mpeg\" \n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"356b3dff-fe98-4601-9e6e-4222f33b4d50"},{"name":"Reagir a uma mensagem","id":"73f911f2-33e7-4c54-bf34-846b67409498","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reactionEmojiRendered\": \"🙏\" //Colocar o emoji (reação)\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages/{{messageId}}/send-reaction","urlObject":{"path":["api","v1","messages","{{messageId}}","send-reaction"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"73f911f2-33e7-4c54-bf34-846b67409498"},{"name":"Editar mensagem","id":"1498505a-4bc4-4050-b732-bb7da50c3ddb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\"mentionedList\": [],\n\"contactId\": \"{{contactId}}\",\n\"text\": \"{{text}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages/messageId","urlObject":{"path":["api","v1","messages","messageId"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1498505a-4bc4-4050-b732-bb7da50c3ddb"}],"id":"cdf1d299-1b0e-4e53-aa57-8919533d48e6","_postman_id":"cdf1d299-1b0e-4e53-aa57-8919533d48e6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Mensagens interativas","item":[{"name":"Listar mensagens interativas","id":"63ff3db1-d54a-43ad-8d34-63d440a6403d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/interactive-messages?perPage=40","urlObject":{"path":["api","v1","interactive-messages"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"63ff3db1-d54a-43ad-8d34-63d440a6403d"},{"name":"Buscar mensagem interativa","id":"098b378b-0806-4949-b370-f70e471cc352","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/interactive-messages/{{interactiveMessagesId}}","urlObject":{"path":["api","v1","interactive-messages","{{interactiveMessagesId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"098b378b-0806-4949-b370-f70e471cc352"},{"name":"Criar mensagem interativa em lista","id":"791fb8ee-b6a7-49cb-893b-c8d7ef5861a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\",\r\n    \"file\": null,\r\n    \"interactive\": {\r\n        \"type\": \"list\", //lista\r\n        \"action\": {\r\n            \"button\": \"{{name_list}}\",\r\n            \"sections\": [\r\n                {\r\n                    \"title\": \"{{title_list}}\",\r\n                    \"rows\": [\r\n                        {\r\n                            \"title\": \"{{name_row1}}\"\r\n                        },\r\n                        {\r\n                            \"title\": \"{{name_row2}}\"\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        },\r\n        \"body\": //corpo\r\n        {\r\n            \"text\": \"{{body}}\"\r\n        },\r\n        \"footer\": //rodapé\r\n        {\r\n            \"text\": \"{{footer}}\"\r\n        },\r\n        \"header\": //cabeçalho\r\n        {\r\n            \"type\": \"text\",\r\n            \"text\": \"{{text}}\"\r\n        }\r\n    },\r\n    \"departments\": //id departamento\r\n    [\r\n        {\r\n            \"id\": \"{{departmentId}}\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/interactive-messages","urlObject":{"path":["api","v1","interactive-messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"791fb8ee-b6a7-49cb-893b-c8d7ef5861a3"},{"name":"Criar mensagem interativa com imagem","id":"23f1d2c4-265a-4c2c-ba99-ed53c4573d40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{name}}\", //nome\n    \"interactive\": {\n        \"body\": {\n            \"text\": \"{{text}}\" //texto\n        },\n        \"type\": \"button\", //tipo\n        \"action\": {\n            \"buttons\": [\n                {\n                    \"type\": \"reply\",\n                    \"reply\": {\n                        \"title\": \"{{Button1}}\" //texto botão 1\n                    }\n                },\n                {\n                    \"type\": \"reply\",\n                    \"reply\": {\n                        \"title\": \"{{Button2}}\" //texto botão 2\n                    }\n                }\n            ]\n        },\n        \"header\": {\n            \"type\": \"image\",\n            \"image\": {\n                \"id\": \"{{id}}\" //base64Url image_id\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/interactive-messages","urlObject":{"path":["api","v1","interactive-messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"23f1d2c4-265a-4c2c-ba99-ed53c4573d40"},{"name":"Enviar mensagem interativa com botão","id":"4027be9e-75a0-4ef7-9994-ba74f828ebd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"type\": \"chat\",\r\n    \"interactiveMessage\": {\r\n        \"name\": \"{{name}}\",\r\n        \"interactive\": {\r\n            \"type\": \"button\",\r\n            \"action\": {\r\n                \"buttons\": [\r\n                    {\r\n                        \"type\": \"reply\",\r\n                        \"reply\": {\r\n                            \"title\": \"{{button1}}\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"reply\",\r\n                        \"reply\": {\r\n                            \"title\": \"{{button2}}\"\r\n                        }\r\n                    }\r\n                ]\r\n            },\r\n            \"body\": {\r\n                \"text\": \"{{text}}\"\r\n            }\r\n        },\r\n        \"departments\": [\r\n            {\r\n                \"id\": \"{{departmentId}}\"\r\n            }\r\n        ]\r\n    },\r\n    \"contactId\": \"{{contactId}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4027be9e-75a0-4ef7-9994-ba74f828ebd6"},{"name":"Enviar mensagem interativa","id":"d2acff59-413a-4720-b825-8403e5cb25cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"\r\n//exemplo de um modelo de body:\r\n\r\n{\r\n  \"contactId\": \"{{contactId}}\", //id contato\r\n  \"interactiveMessage\": {\r\n    \"interactive\": {\r\n      \"body\": { \r\n        \"text\": \"{{Bem vindo, Teste.}}\"  //texto mensagem interativa\r\n    },\r\n      \"type\": \"button\",\r\n      \"action\": {\r\n        \"buttons\": [\r\n          {\r\n            \"type\": \"reply\",\r\n            \"reply\": {\r\n              \"title\": \"{{Sim}}\" //titulo botão\r\n            }\r\n          },\r\n          {\r\n            \"type\": \"reply\",\r\n            \"reply\": {\r\n              \"title\": \"{{Não}}\" //titulo botão\r\n            }\r\n          }\r\n        ]\r\n      }\r\n    }\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2acff59-413a-4720-b825-8403e5cb25cd"},{"name":"Excluir mensagem interativa","id":"7a37130a-be58-42e4-aa15-3d0ad720327d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/interactive-messages/{{interactiveMessagesId}}","urlObject":{"path":["api","v1","interactive-messages","{{interactiveMessagesId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a37130a-be58-42e4-aa15-3d0ad720327d"}],"id":"54d3b97e-9843-49b4-bb84-b581121313e9","description":"<p>As mensagens interativas são mensagens pré-definidas pelo administrador da plataforma com o intuito de engajar os clientes com botões, links e chamadas para ação. São como os templates, porém é possível personaliza-las de acordo com a necessidade durante o túnel de atendimento aberto sem gerar custo adicional sobre este envio.</p>\n","_postman_id":"54d3b97e-9843-49b4-bb84-b581121313e9","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Meus dados","item":[{"name":"Buscar meus dados","id":"417afd3b-85af-48e3-bdd0-417cb8f3ce54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/me","urlObject":{"path":["api","v1","me"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"417afd3b-85af-48e3-bdd0-417cb8f3ce54"}],"id":"eb0d6d36-82ff-4189-b50e-e263d06273a9","_postman_id":"eb0d6d36-82ff-4189-b50e-e263d06273a9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Notificação","item":[{"name":"Marcar como não lido","id":"085078f1-ac4a-4b29-a8db-1a66e8a5218e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"serviceid\": \"{{serviceid}}\", //ID conexão\r\n    \"data\": {\r\n        \"unread\": true //true or false\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"085078f1-ac4a-4b29-a8db-1a66e8a5218e"},{"name":"Notificação mensagens receptivas","id":"91b62bcb-8946-4989-9f65-d1b72c8c7df8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"unread\": \"1\" //quantidade de notificações receptivas\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"91b62bcb-8946-4989-9f65-d1b72c8c7df8"},{"name":"Silenciar contato","id":"59441adc-9e16-4f31-8982-1ab7bd56e94a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\"isSilenced\": true // true or false\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"59441adc-9e16-4f31-8982-1ab7bd56e94a"}],"id":"eeb7bd20-b6a4-4d53-8389-48c15f641825","_postman_id":"eeb7bd20-b6a4-4d53-8389-48c15f641825","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Organizações","item":[{"name":"Listar organizações","id":"99cbe292-32ff-41a6-af6d-180c05e000dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/organizations?perPage=40","urlObject":{"path":["api","v1","organizations"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"99cbe292-32ff-41a6-af6d-180c05e000dd"},{"name":"Buscar organização","id":"f01055d3-c29c-439b-913e-5ca1d19ddcc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/organizations/{{organizationId}}","urlObject":{"path":["api","v1","organizations","{{organizationId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f01055d3-c29c-439b-913e-5ca1d19ddcc6"},{"name":"Editar organização","id":"92ca7cf9-e5bb-4fd4-b633-49a80f66b2b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": {{name}}    \r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/organizations/{{organizationId}}","urlObject":{"path":["api","v1","organizations","{{organizationId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"92ca7cf9-e5bb-4fd4-b633-49a80f66b2b8"},{"name":"Criar organização","id":"efffe607-14b7-49cf-8e56-4e76ae17e3f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"{{name}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/organizations","urlObject":{"path":["api","v1","organizations"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"efffe607-14b7-49cf-8e56-4e76ae17e3f5"},{"name":"Excluir organização","id":"abf63b6f-4413-4171-ab72-8f8d6a82ae6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/organizations/{{organizationId}}","urlObject":{"path":["api","v1","organizations","{{organizationId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"abf63b6f-4413-4171-ab72-8f8d6a82ae6b"}],"id":"55221269-9225-4212-afd6-f59a7cc329a0","description":"<p>Organizações é uma forma de liberar o acesso da plataforma a um terceiro, vinculando a um agrupamento de Pessoas, permitindo o acesso a esse terceiro (usuário) de somente visualizar as conversas de um agrupamento de Pessoas em especifico.</p>\n","_postman_id":"55221269-9225-4212-afd6-f59a7cc329a0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Pessoas","item":[{"name":"Listar pessoas","id":"831f8b81-c73d-473e-9370-25fc200662ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/people?perPage=40","urlObject":{"path":["api","v1","people"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"831f8b81-c73d-473e-9370-25fc200662ff"},{"name":"Buscar pessoa","id":"33e0ae84-c54b-4295-9bca-f8e62abc989d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/people/{{peopleId}}","urlObject":{"path":["api","v1","people","{{peopleId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"33e0ae84-c54b-4295-9bca-f8e62abc989d"},{"name":"Editar pessoa","id":"d89944d9-325c-453c-87af-6956079f4a3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\",\r\n    \"document\": \"{{document}}\", //documento\r\n    \"organizationIds\": [\"{{organizationId}}\", \"{{organizationId}}\"] //id organização\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/people/{{peopleId}}","urlObject":{"path":["api","v1","people","{{peopleId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d89944d9-325c-453c-87af-6956079f4a3f"},{"name":"Criar pessoa","id":"22baa4a8-1139-4929-8bf9-c9661dd3fc45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\",\r\n    \"document\": \"{{document}}\", //documento\r\n    \"organizationIds\": [\"{{organizationId}}\", \"{{organizationId}}\"] //id organização\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/people","urlObject":{"path":["api","v1","people"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"22baa4a8-1139-4929-8bf9-c9661dd3fc45"},{"name":"Excluir pessoa","id":"055438e6-d4b7-4ce7-ac85-9c62dde58c56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/people/{{peopleId}}","urlObject":{"path":["api","v1","people","{{peopleId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"055438e6-d4b7-4ce7-ac85-9c62dde58c56"}],"id":"dbeb83f5-a3a9-4a86-bf18-0f2e462d2d52","description":"<p>Pessoas são como um agrupamento de contatos, ou seja, é um facilitador para encontrar contatos vinculados em um mesmo grupo diretamente nas conversas internas do Chat.</p>\n","_postman_id":"dbeb83f5-a3a9-4a86-bf18-0f2e462d2d52","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Planos","item":[{"name":"Listar planos","id":"e4a53dc0-45de-4a52-9012-d809ffa83a83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/plans","urlObject":{"path":["api","v1","plans"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e4a53dc0-45de-4a52-9012-d809ffa83a83"},{"name":"Buscar plano","id":"385772e3-1bae-4182-8834-cd5c8e09ef70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/plans/{{planId}}","urlObject":{"path":["api","v1","plans","{{planId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"385772e3-1bae-4182-8834-cd5c8e09ef70"}],"id":"991a7acc-a0ea-46bf-85c3-639dd77f3bf2","description":"<p>Para um maior controle de sua fatura e para que tenha mais autonomia, com a ferramenta do meu plano você pode ter acesso a sua situação financeira, descrição dos itens disponíveis em seu plano, emissão de 2ª via, histórico de fatura. Além disso, você pode realizar tanto aumento quanto redução a quantidade de usuários e conexões disponíveis.</p>\n","_postman_id":"991a7acc-a0ea-46bf-85c3-639dd77f3bf2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Redefinir senha","item":[{"name":"Solicitar uma nova senha","id":"563af943-85f3-4ea8-8759-04de801b6586","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"{{email}}\" //e-mail de acesso do usuário que deseja redefinir a senha\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/reset-password/request","urlObject":{"path":["api","v1","reset-password","request"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"563af943-85f3-4ea8-8759-04de801b6586"}],"id":"20a0328b-1b69-4482-aa32-bf3575c45283","_postman_id":"20a0328b-1b69-4482-aa32-bf3575c45283","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Respostas rápidas","item":[{"name":"Listar respostas rápidas","id":"6bb1194c-d920-41ae-9c3f-473df58ecdd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/quick-replies?perPage=40","urlObject":{"path":["api","v1","quick-replies"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"6bb1194c-d920-41ae-9c3f-473df58ecdd1"},{"name":"Listar textos e departamentos das respostas rápidas","id":"6cbd6abf-43a5-4b8b-9ad0-034a4701c856","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/quick-replies?query={\"attributes\":[\"id\",\"text\"],\"include\":[{\"model\":\"departments\",\"attributes\":[\"name\",\"id\"],\"through\":{\"attributes\":[]}}],\"perPage\":40}","urlObject":{"path":["api","v1","quick-replies"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"attributes\":[\"id\",\"text\"],\"include\":[{\"model\":\"departments\",\"attributes\":[\"name\",\"id\"],\"through\":{\"attributes\":[]}}],\"perPage\":40}"}],"variable":[]}},"response":[],"_postman_id":"6cbd6abf-43a5-4b8b-9ad0-034a4701c856"},{"name":"Listar somente os textos das respostas rápidas","id":"06349ea9-91b1-4bbe-af81-f3d3aaa03064","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/quick-replies?query={\"attributes\":[\"text\"],\"perPage\":40}","urlObject":{"path":["api","v1","quick-replies"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"attributes\":[\"text\"],\"perPage\":40}"}],"variable":[]}},"response":[],"_postman_id":"06349ea9-91b1-4bbe-af81-f3d3aaa03064"},{"name":"Buscar resposta rápida","id":"415bed1e-8605-4e0a-900b-0a9e92d91194","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/quick-replies/{{quickRepliesId}}","urlObject":{"path":["api","v1","quick-replies","{{quickRepliesId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"415bed1e-8605-4e0a-900b-0a9e92d91194"},{"name":"Editar resposta rápida ","id":"3454b305-abe3-482b-ab30-70091eab5560","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"{{text}}\",\r\n    \"departmentIds\":  [\"{{departmentId}}\", \"{{departmentId}}\"] //id departamento\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/quick-replies/{{quickRepliesId}}","urlObject":{"path":["api","v1","quick-replies","{{quickRepliesId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3454b305-abe3-482b-ab30-70091eab5560"},{"name":"Criar resposta rápida","id":"061edd38-7a32-4b7f-910a-c326d652e24d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"{{test}}\",\r\n    \"departmentIds\":  [\"{{departmentId}}\", \"{{departmentId}}\"] //id departamento\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/quick-replies","urlObject":{"path":["api","v1","quick-replies"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"061edd38-7a32-4b7f-910a-c326d652e24d"},{"name":"Excluir resposta rápida","id":"f7822f67-9fc0-4f84-a11c-598d8999471b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/quick-replies/{{quickRepliesId}}","urlObject":{"path":["api","v1","quick-replies","{{quickRepliesId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7822f67-9fc0-4f84-a11c-598d8999471b"}],"id":"4325207f-95df-4ec9-bab1-2141566ad534","description":"<p>A ferramenta de Respostas Rápidas pode ser utilizada para agilizar o atendimento com o cliente, com ela pode-se criar vários textos que normalmente são enviados com frequência aos clientes, como por exemplo: um endereço, uma conta de banco, um formulário ou até alguma mensagem de apresentação dos atendentes.</p>\n","_postman_id":"4325207f-95df-4ec9-bab1-2141566ad534","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Robôs","item":[{"name":"Listar bots V1 / V2 / V3","id":"2864355e-c2d3-45ca-b025-1cd264a62ca9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/bots?perPage=40","urlObject":{"path":["api","v1","bots"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"2864355e-c2d3-45ca-b025-1cd264a62ca9"},{"name":"Listar bots V1 / V2","id":"36bf8144-4ebc-45f4-b7e4-73811fa8dbf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/bots?query={\"where\":{\"settings\":{\"botCreatedVersion\":{\"$or\":[null,\"v1\",\"v2\"]}}},\"order\":[[\"name\",\"ASC\"]],\"page\":1,\"perPage\":40}","urlObject":{"path":["api","v1","bots"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"where\":{\"settings\":{\"botCreatedVersion\":{\"$or\":[null,\"v1\",\"v2\"]}}},\"order\":[[\"name\",\"ASC\"]],\"page\":1,\"perPage\":40}"}],"variable":[]}},"response":[],"_postman_id":"36bf8144-4ebc-45f4-b7e4-73811fa8dbf7"},{"name":"Listar bots V3","id":"762f1b90-0523-4763-8383-135e42edc864","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/bots?query={\"where\":{\"settings\":{\"botCreatedVersion\":\"v3\"}},\"order\":[[\"name\",\"ASC\"]],\"page\":1,\"perPage\":40}","urlObject":{"path":["api","v1","bots"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"where\":{\"settings\":{\"botCreatedVersion\":\"v3\"}},\"order\":[[\"name\",\"ASC\"]],\"page\":1,\"perPage\":40}"}],"variable":[]}},"response":[],"_postman_id":"762f1b90-0523-4763-8383-135e42edc864"},{"name":"Buscar bot","id":"91f772fb-d0f5-43c9-9582-1d6b91dbc11d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/bots/{{botId}}","urlObject":{"path":["api","v1","bots","{{botId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"91f772fb-d0f5-43c9-9582-1d6b91dbc11d"},{"name":"Editar bot","id":"77c1d38e-4841-4823-bcf8-11df4e553abd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"//Copiar o retorno do GET \"Buscar bot\" aqui e altera-lo","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/bots/{{botId}}","urlObject":{"path":["api","v1","bots","{{botId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"77c1d38e-4841-4823-bcf8-11df4e553abd"},{"name":"Excluir bot","id":"533355b9-10d5-4426-9d07-8e18bf305808","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/bots/{{botId}}","urlObject":{"path":["api","v1","bots","{{botId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"533355b9-10d5-4426-9d07-8e18bf305808"}],"id":"40257c2c-c75e-483c-afe5-e74d7b2ad39f","description":"<p>Os robôs de atendimento, ou mais conhecidos como Chatbot ou somente Bot, realizam o atendimento inicial com os seus clientes. Ele é receptivo, por isso, é necessário que ele receba uma mensagem do contato para ser acionado.</p>\n","_postman_id":"40257c2c-c75e-483c-afe5-e74d7b2ad39f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Tags","item":[{"name":"Listar tags","id":"44b3ae34-79c5-4087-b62d-56953f2ee50a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tags?perPage=40","urlObject":{"path":["api","v1","tags"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"44b3ae34-79c5-4087-b62d-56953f2ee50a"},{"name":"Buscar tag","id":"60716c4f-263e-4c14-a397-16db85d68e01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tags/{{tagId}}","urlObject":{"path":["api","v1","tags","{{tagId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"60716c4f-263e-4c14-a397-16db85d68e01"},{"name":"Buscar tags vinculadas a um contato","id":"07e28f28-2fed-4994-a1e9-8b54efbaeabd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts/{{contactId}}?include[0]=tags&include[1]=","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[{"key":"include[0]","value":"tags"},{"key":"include[1]","value":""}],"variable":[]}},"response":[],"_postman_id":"07e28f28-2fed-4994-a1e9-8b54efbaeabd"},{"name":"Editar tag","id":"ed420bbe-0153-4681-b4fc-4b26f6d4fb4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"label\": \"{{name}}\", //nome da tag\r\n    \"backgroundColor\": \"{{#40C3FF}}\", //# da cor da Tag\r\n    \"departments\": [] //ID dos departamentos\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/tags/{{tagId}}","urlObject":{"path":["api","v1","tags","{{tagId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed420bbe-0153-4681-b4fc-4b26f6d4fb4f"},{"name":"Criar tag","id":"89984117-78f9-4c81-9dfb-dddfef17e957","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"label\": \"{{name}}\", //nome da tag\r\n    \"backgroundColor\": \"{{#40C3FF}}\", //# da cor da Tag\r\n    \"departments\": [] //ID dos departamentos\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/tags","urlObject":{"path":["api","v1","tags"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"89984117-78f9-4c81-9dfb-dddfef17e957"},{"name":"Adicona uma tag a multiplos contatos","id":"7535cdc9-f9ed-451b-9741-fc81179ebbc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"where\": {\r\n    \"id\": [\r\n      \"{{contactId}}\", //id contato\r\n      \"{{contactId}}\",\r\n      \"{{contactId}}\"\r\n    ]\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/tags/{{tagId}}/contacts","urlObject":{"path":["api","v1","tags","{{tagId}}","contacts"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7535cdc9-f9ed-451b-9741-fc81179ebbc8"},{"name":"Remove uma tag a multiplos contatos","id":"8f2b7786-6299-4993-827c-a4929ed8e11f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"where\": {\r\n    \"id\": [\r\n      \"{{id do contato}}\",\r\n      \"{{id do contato}}\"\r\n    ]\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/tags/{{tagId}}/contacts","urlObject":{"path":["api","v1","tags","{{tagId}}","contacts"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f2b7786-6299-4993-827c-a4929ed8e11f"},{"name":"Excluir tag","id":"0d86bec4-f639-4920-94fa-41b212017998","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/tags/{{tagId}}","urlObject":{"path":["api","v1","tags","{{tagId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0d86bec4-f639-4920-94fa-41b212017998"}],"id":"00eca043-f573-4662-8db6-6fe9a18fb40f","description":"<p>As Tags são como etiquetas que têm como finalidade classificar os seus contatos através de palavras-chave.</p>\n","_postman_id":"00eca043-f573-4662-8db6-6fe9a18fb40f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Templates","item":[{"name":"Listar templates","id":"622b94e8-c714-4a0e-a7ea-82763b62b42a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/whatsapp-business-templates?perPage=40","urlObject":{"path":["api","v1","whatsapp-business-templates"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"622b94e8-c714-4a0e-a7ea-82763b62b42a"},{"name":"Buscar template","id":"70cbb534-43d0-4f10-995f-7263a1679604","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/whatsapp-business-templates/{{templateId}}","urlObject":{"path":["api","v1","whatsapp-business-templates","{{templateId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"70cbb534-43d0-4f10-995f-7263a1679604"},{"name":"Total de templates cadastrados","id":"e63b6e4d-1d64-4936-ad75-8c1ddb155958","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/whatsapp-business-templates/count","urlObject":{"path":["api","v1","whatsapp-business-templates","count"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e63b6e4d-1d64-4936-ad75-8c1ddb155958"},{"name":"Editar template","id":"a4ea1edc-75a3-4436-844b-2db9253ce2d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"// //Copiar o retorno do GET \"Buscar template\" aqui e altera-lo","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/whatsapp-business-templates/{{templateId}}","urlObject":{"path":["api","v1","whatsapp-business-templates","{{templateId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4ea1edc-75a3-4436-844b-2db9253ce2d2"},{"name":"Enviar template para aprovação","id":"dc2487b7-d6a8-465e-9457-a2731a221ee1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{URL}}/api/v1/whatsapp-business-templates/{{hsmId}}/send-to-review","urlObject":{"path":["api","v1","whatsapp-business-templates","{{hsmId}}","send-to-review"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc2487b7-d6a8-465e-9457-a2731a221ee1"},{"name":"Sincronizar templates com o provedor","id":"1ebde2d3-6449-4381-a542-e6709745471c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{URL}}/api/v1/whatsapp-business-templates/refresh-templates","urlObject":{"path":["api","v1","whatsapp-business-templates","refresh-templates"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ebde2d3-6449-4381-a542-e6709745471c"},{"name":"Enviar template com botão","id":"dd8ae199-d3a8-4049-8ba1-bb7c84d39bce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"type\": \"chat\",\r\n    \"number\": \"{{number}}\", //Número do contato\r\n    \"serviceId\": \"{{serviceId}}\", //ID conexão\r\n    \"hsmId\": \"{{hsmId}}\", //ID HSM\r\n    \"files\": [],\r\n    \"uploadingFiles\": false,\r\n    \"replyTo\": null,\r\n    \"parameters\": [],\r\n    \"file\": {}\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd8ae199-d3a8-4049-8ba1-bb7c84d39bce"},{"name":"Enviar template com URL no botão","id":"06b9a4c7-75fb-4cc2-b06e-fa78d4d70cfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"type\": \"chat\",\r\n    \"contactId\": \"{{contactId}}\", //ID do contato\r\n    \"hsmId\": \"{{hsmId}}\", //ID do template\r\n    \"files\": [],\r\n    \"uploadingFiles\": false,\r\n    \"replyTo\": null,\r\n    \"parameters\": [\r\n        {\r\n            \"type\": \"body\",\r\n            \"parameters\": [\r\n                {\r\n                    \"type\": \"text\",\r\n                    \"text\": \"{{text}}\" //Texto\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"type\": \"button\",\r\n            \"sub_type\": \"url\",\r\n            \"index\": 0,\r\n            \"parameters\": [\r\n                {\r\n                    \"type\": \"text\",\r\n                    \"text\": \"{{text}}\" //Parâmetro na rota (URL)\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"file\": {}\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"06b9a4c7-75fb-4cc2-b06e-fa78d4d70cfe"},{"name":"Envio de template com dois parâmetros","id":"871a3d1d-1ffc-4498-bcc6-65e907cf25f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer Token"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"chat\",\n  \"number\": \"{{number}}\", //número do contato\n  \"serviceId\": \"{{serviceId}}\", //id da conexão\n  \"hsmId\": \"{{hsmId}}\", //id do template\n  \"files\": [],\n  \"uploadingFiles\": false,\n  \"replyTo\": null,\n  \"parameters\": [\n    {\n      \"type\": \"body\",\n      \"parameters\": [\n        {\n          \"type\": \"text\",\n          \"text\": \"{{text1}}\" //texto 1\n        },\n        {\n          \"type\": \"text\",\n          \"text\": \"{{text2}}\" //texto 2\n        }\n      ]\n    }\n  ],\n  \"file\": {}\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"871a3d1d-1ffc-4498-bcc6-65e907cf25f5"},{"name":"Criar template somente com texto","id":"8ea1a83c-cccf-4d49-ae90-a2c8f7e836e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"{{name}}\", //Nome do template\r\n  \"internalName\": \"{{internalName}}\", //Nome interno que irá aparecer no front da plataforma\r\n  \"components\": [],\r\n  \"serviceId\": \"{{serviceId}}\", //ID da conexão\r\n  \"messageType\": \"text_only\", //Tipo da mensagem\r\n  \"language\": \"pt_BR\", //Idioma\r\n  \"category\": \"{{category}}\", //Categoria do template, por exemplo: MARKETING\r\n  \"namespace\": \"\",\r\n  \"status\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/whatsapp-business-templates","urlObject":{"path":["api","v1","whatsapp-business-templates"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ea1a83c-cccf-4d49-ae90-a2c8f7e836e8"},{"name":"Excluir template","id":"7999176e-801a-423e-bc82-a93a03925188","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/whatsapp-business-templates/{{templateId}}","urlObject":{"path":["api","v1","whatsapp-business-templates","{{templateId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7999176e-801a-423e-bc82-a93a03925188"}],"id":"b6f11af1-369b-4919-9702-a90547e7e38d","description":"<p>Os TEMPLATES são textos padrões aprovados pelo Whatsapp utilizados para iniciar um atendimento ativo através da conexão oficial do Whatsapp – WABA (mencionada no tópico de conexões).</p>\n","_postman_id":"b6f11af1-369b-4919-9702-a90547e7e38d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Termos de aceite","item":[{"name":"Listar termos de aceite","id":"19621a0c-9834-446f-890a-8d9265a07e71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/acceptance-terms?perPage=40","urlObject":{"path":["api","v1","acceptance-terms"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"19621a0c-9834-446f-890a-8d9265a07e71"},{"name":"Buscar termo de aceite","id":"cf3486a8-aaff-4468-9de6-4f10ee6b51e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/acceptance-terms/{{termsId}}","urlObject":{"path":["api","v1","acceptance-terms","{{termsId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf3486a8-aaff-4468-9de6-4f10ee6b51e2"},{"name":"Editar termo de aceite","id":"9043ccdf-21bd-4564-bda4-f31620fa49ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\",\r\n    \"textField\": \"{{text}}\", //texto\r\n    \"file\": {}\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/acceptance-terms/{{termsId}}","urlObject":{"path":["api","v1","acceptance-terms","{{termsId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9043ccdf-21bd-4564-bda4-f31620fa49ea"},{"name":"Criar termo de aceite","id":"a7af5be1-7488-46b2-91dc-e87e71074ac5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{nome}}\",\r\n    \"textField\": \"{{texto}}\", //Texto\r\n    \"file\": {}\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/acceptance-terms","urlObject":{"path":["api","v1","acceptance-terms"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7af5be1-7488-46b2-91dc-e87e71074ac5"},{"name":"Excluir termo de aceite","id":"d90709bc-bb16-4d22-8745-1244c1ec0e3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/acceptance-terms/{{termsId}}","urlObject":{"path":["api","v1","acceptance-terms","{{termsId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d90709bc-bb16-4d22-8745-1244c1ec0e3c"}],"id":"2aef3a5b-e17f-47d5-bec7-11b00fcb5c2e","description":"<p>Esta funcionalidade tem o objetivo de solicitar ao cliente que aceite ou não continuar um atendimento, de acordo com as normas e regras de sua empresa.</p>\n","_postman_id":"2aef3a5b-e17f-47d5-bec7-11b00fcb5c2e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Tokens","item":[{"name":"Listar tokens","id":"3abbc3ba-1044-450e-b987-9b6691665af9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/me/tokens?perPage30=","urlObject":{"path":["api","v1","me","tokens"],"host":["{{URL}}"],"query":[{"key":"perPage30","value":""}],"variable":[]}},"response":[],"_postman_id":"3abbc3ba-1044-450e-b987-9b6691665af9"},{"name":"Buscar token","id":"8d042d67-4048-4a90-ae2a-1d656f0386ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/me/tokens/{{tokenId}}","urlObject":{"path":["api","v1","me","tokens","{{tokenId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d042d67-4048-4a90-ae2a-1d656f0386ab"},{"name":"Editar token","id":"2a3aa3a3-39c8-4172-aba6-9a284f777284","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/me/tokens/{{tokenId}}","urlObject":{"path":["api","v1","me","tokens","{{tokenId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a3aa3a3-39c8-4172-aba6-9a284f777284"},{"name":"Criar token","id":"b16ff079-ca25-4941-bfc5-36d32afcffaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/me/tokens","urlObject":{"path":["api","v1","me","tokens"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b16ff079-ca25-4941-bfc5-36d32afcffaf"},{"name":"Excluir token","id":"1ab0caed-4e50-4a54-9457-80020e6b99c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/me/tokens/{{tokenId}}","urlObject":{"path":["api","v1","me","tokens","{{tokenId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ab0caed-4e50-4a54-9457-80020e6b99c8"}],"id":"903ebb11-6b06-469e-87da-f0a010245fe7","description":"<p>Tokens de acesso pessoal.</p>\n","_postman_id":"903ebb11-6b06-469e-87da-f0a010245fe7","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Usuários","item":[{"name":"Listar usuários","id":"a514dfa6-9283-4897-bddd-6de914ba2843","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/users?perPage=40","urlObject":{"path":["api","v1","users"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"a514dfa6-9283-4897-bddd-6de914ba2843"},{"name":"Listar usuários com seus departamentos","id":"1130d8e2-e845-442e-bf46-d77b0827ed99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/users?query={\"include\":[{\"model\":\"departments\",\"attributes\":[\"id\",\"name\"]}],\"page\":1,\"perPage\":15}","urlObject":{"path":["api","v1","users"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"include\":[{\"model\":\"departments\",\"attributes\":[\"id\",\"name\"]}],\"page\":1,\"perPage\":15}"}],"variable":[]}},"response":[],"_postman_id":"1130d8e2-e845-442e-bf46-d77b0827ed99"},{"name":"Buscar usuário","id":"389b12f6-0065-4471-9722-639863b7142c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/users/{{userId}}","urlObject":{"path":["api","v1","users","{{userId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"389b12f6-0065-4471-9722-639863b7142c"},{"name":"Editar usuário","id":"d62a2f79-d9b2-4ef9-85d5-0746230a03d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\"accountId\": \"{{accountId}}\",\r\n\"email\": \"{{e-mail}}\",\r\n\"name\": \"{{name}}\",\r\n\"isAdmin\": true //true or false\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/{{userId}}","urlObject":{"path":["api","v1","users","{{userId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d62a2f79-d9b2-4ef9-85d5-0746230a03d0"},{"name":"Criar usuário","id":"0c3c60d3-0c80-4f85-9cc2-c9ce17a15b4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"accountId\": \"{{accountId}}\", //id conta\r\n\"email\": {{email}}, \r\n\"password\": \"{{password}}\", //senha\r\n\"name\": \"{{name}}\",\r\n\"rolesId\": \"{{roleId}}\", //id cargo\r\n\"organizationIds\":[],\r\n\"departmentsId\": \"{{departmentsId}}\" //id departamento\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users","urlObject":{"path":["api","v1","users"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0c3c60d3-0c80-4f85-9cc2-c9ce17a15b4a"},{"name":"Arquiva usuário","id":"8c905e6d-f246-4b91-a5dd-a3afb12c98bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"archive\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/{{userId}}/archive","urlObject":{"path":["api","v1","users","{{userId}}","archive"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c905e6d-f246-4b91-a5dd-a3afb12c98bb"}],"id":"c7585fc4-ddf1-4ad9-b2bd-d4f17efb5f45","description":"<p>Os usuários são os responsáveis por realizar o atendimento ao cliente. É necessário que cada um tenha o seu login e senha individual para que consigam acessar a Digisac, e a função de criar esses usuários é do administrador.</p>\n","_postman_id":"c7585fc4-ddf1-4ad9-b2bd-d4f17efb5f45","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Versões","item":[{"name":"Versão da plataforma","id":"5d759d75-42c3-4a80-a044-0e1691c3e2a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/versions","urlObject":{"path":["api","v1","versions"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d759d75-42c3-4a80-a044-0e1691c3e2a2"}],"id":"8f06b096-3461-4948-965f-d03cfc33e532","_postman_id":"8f06b096-3461-4948-965f-d03cfc33e532","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"Webhooks","item":[{"name":"Listar webhooks","id":"57ad65f1-68c9-47f5-9772-78d905934312","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/me/webhooks?perPage=40","urlObject":{"path":["api","v1","me","webhooks"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"57ad65f1-68c9-47f5-9772-78d905934312"},{"name":"Buscar webhook","id":"86ee12da-839c-4d84-b3d3-716139907efe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/me/webhooks/{{webhookId}}","urlObject":{"path":["api","v1","me","webhooks","{{webhookId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"86ee12da-839c-4d84-b3d3-716139907efe"},{"name":"Editar webhook","id":"e078d7b7-9a8b-4940-a0b5-d316352b82a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"active\": {{true or false}},\r\n    \"name\": \"{{name}}}}\",\r\n    \"url\": \"{{url}}\",\r\n    \"events\": [\r\n        \"{{message.created}}\",\r\n        \"{{message.updated}}\"\r\n    ],\r\n    \"type\": \"{{general}}\", //tipo\r\n    \"userId\": \"{{userId}}\",\r\n    \"updatedAt\": \"{{date}}\",\r\n    \"createdAt\": \"{{date}}\",\r\n    \"deletedAt\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/me/webhooks/{{webhookId}}","urlObject":{"path":["api","v1","me","webhooks","{{webhookId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e078d7b7-9a8b-4940-a0b5-d316352b82a5"},{"name":"Criar webhook","id":"666f00be-298c-4c8a-ad79-f6a9bb740c62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"active\": {{true or falsze}},\r\n    \"name\": \"{{name}}\",\r\n    \"url\": \"{{url}}\",\r\n    \"events\": [\r\n        \"{{message.created}}\",\r\n        \"{{message.updated}}\"\r\n    ],\r\n    \"type\": \"{{general}}\",\r\n    \"userId\": \"{{userId}}\",\r\n    \"accountId\": \"{{accountId}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/me/webhooks","urlObject":{"path":["api","v1","me","webhooks"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"666f00be-298c-4c8a-ad79-f6a9bb740c62"},{"name":"Teste Webhook","id":"d1ceb292-4256-4cc1-b1c0-a734361009a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \r\n    \"teste\": \"teste\" \r\n}","options":{"raw":{"language":"json"}}},"url":"{{link_Completo_Webhook}}","urlObject":{"host":["{{link_Completo_Webhook}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1ceb292-4256-4cc1-b1c0-a734361009a9"}],"id":"82bd80d7-06e2-442f-995c-a3a52837cfe5","_postman_id":"82bd80d7-06e2-442f-995c-a3a52837cfe5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}},{"name":"WhatsApp","item":[{"name":"Validação WhatsApp","id":"1e4f670a-bdd9-4fa1-aa66-7f8cdca4b145","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts/exists?numbers[]={{contactNumber}}&serviceId={{serviceId}}","urlObject":{"path":["api","v1","contacts","exists"],"host":["{{URL}}"],"query":[{"key":"numbers[]","value":"{{contactNumber}}"},{"key":"serviceId","value":"{{serviceId}}"}],"variable":[]}},"response":[],"_postman_id":"1e4f670a-bdd9-4fa1-aa66-7f8cdca4b145"}],"id":"c4029fb2-34ec-4375-abe2-3d4743b2b05a","_postman_id":"c4029fb2-34ec-4375-abe2-3d4743b2b05a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","name":"⚙️ Gerais","type":"folder"}}}],"id":"4ff63924-f187-4359-bbb5-da7c215cfc7f","description":"<p>Nesta collection, você vai encontrar uma série de requisições de API para usar no seu ambiente Digisac. Caso não encontre o que precisa, nosso suporte está a disposição em <a href=\"https://digisac.gitbook.io/manual-digisac-2-0/informacoes-complementares/contatos-digisac\">nossos canais de atendimento.</a></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"79e17feb-effd-459e-83db-21f70b82ce33","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"8a888c76-c0db-4cfd-9fe6-fc396ac3ef1a","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"4ff63924-f187-4359-bbb5-da7c215cfc7f"},{"name":"🛠️ Populares","item":[{"name":"Agora","item":[{"name":"Buscar departamentos (Agora)","id":"91d7fdcd-de9b-4c61-b27e-2e0bd58d1661","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/now/departments-resume","urlObject":{"path":["api","v1","now","departments-resume"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"91d7fdcd-de9b-4c61-b27e-2e0bd58d1661"},{"name":"Buscar atendentes (Agora)","id":"a8be119a-6c3f-46fc-949b-ae59aa6200ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/now/attendance-resume","urlObject":{"path":["api","v1","now","attendance-resume"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a8be119a-6c3f-46fc-949b-ae59aa6200ee"},{"name":"Buscar todos os dados (Agora)","id":"d60cc81f-0877-428a-a525-393f023482cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/now/resume","urlObject":{"path":["api","v1","now","resume"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d60cc81f-0877-428a-a525-393f023482cc"}],"id":"2438cafb-9efd-419a-812f-ca65cad79b76","description":"<p>Nesta função é possível visualizar em tempo real todos os atendimentos que estão acontecendo na plataforma por atendente e departamento.</p>\n","_postman_id":"2438cafb-9efd-419a-812f-ca65cad79b76","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","name":"🛠️ Populares","type":"folder"}}},{"name":"Autorização","item":[{"name":"Gerar Token de acesso","id":"a7ec3a80-14b9-4fc6-b8d4-5956443fc125","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"grant_type\": \"password\",\r\n    \"client_id\": \"api\",\r\n    \"client_secret\": \"secret\",\r\n    \"username\": \"{{e-mail}}\", //e-mail de login do usuário\r\n    \"password\": \"{{password}}\" //senha de login do usuário\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/oauth/token","urlObject":{"path":["api","v1","oauth","token"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7ec3a80-14b9-4fc6-b8d4-5956443fc125"}],"id":"d630cc03-9be5-4392-acfb-c0ee074c5060","description":"<p>Gerar o Token de acesso em sua plataforma.</p>\n","_postman_id":"d630cc03-9be5-4392-acfb-c0ee074c5060","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","name":"🛠️ Populares","type":"folder"}}},{"name":"Chamados","item":[{"name":"Buscar chamados do contato","id":"0c9fe14b-8e02-4786-a5ef-457e10582d65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/tickets?where[contactId]={{contactId}}","urlObject":{"path":["tickets"],"host":["{{URL}}"],"query":[{"key":"where[contactId]","value":"{{contactId}}"}],"variable":[]}},"response":[],"_postman_id":"0c9fe14b-8e02-4786-a5ef-457e10582d65"},{"name":"Buscar pelo contactid todos os chamados do cliente trazendo quem encerrou/transferiu","id":"f8d4768c-43f7-4f27-bb89-d221f00e5e3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?query={\"where\":{\"contactId\":\"{{contactId}}\"},\"attributes\":[\"id\",\"isOpen\",\"protocol\",\"origin\",\"startedAt\",\"endedAt\"],\"include\":[{\"model\":\"ticketTransfers\",\"attributes\":[\"action\",\"fromDistribution\"],\"include\":[{\"model\":\"byUser\",\"attributes\":[\"id\",\"name\",\"email\",\"status\"]}]}],\"perPage\":50}\n","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"where\":{\"contactId\":\"{{contactId}}\"},\"attributes\":[\"id\",\"isOpen\",\"protocol\",\"origin\",\"startedAt\",\"endedAt\"],\"include\":[{\"model\":\"ticketTransfers\",\"attributes\":[\"action\",\"fromDistribution\"],\"include\":[{\"model\":\"byUser\",\"attributes\":[\"id\",\"name\",\"email\",\"status\"]}]}],\"perPage\":50}\n"}],"variable":[]}},"response":[],"_postman_id":"f8d4768c-43f7-4f27-bb89-d221f00e5e3c"},{"name":"Transferência de chamado","id":"e0cb54d2-a987-4215-99f4-331aa530aa1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"departmentId\": \"{{departmentId}}\", //id departamento\r\n    \"userId\": \"{{userId}}\", //id do usuário SE for abrir direto para ele\r\n    \"comments\": \"{{comments}}\" //comentario interno\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1//contacts/{{contactId}}/ticket/transfer","urlObject":{"path":["api","v1","","contacts","{{contactId}}","ticket","transfer"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e0cb54d2-a987-4215-99f4-331aa530aa1a"},{"name":"Abertura de chamado","id":"c79e5db4-45c2-4332-9f02-d8e191104738","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"departmentId\": \"{{departmentId}}\", //id departamento\r\n    \"userId\": \"{{userId}}\", //id do usuário SE for abrir direto para ele\r\n    \"comments\": \"{{comments}}\" //comentario interno\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/contacts/{{contactId}}/ticket/transfer","urlObject":{"path":["contacts","{{contactId}}","ticket","transfer"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c79e5db4-45c2-4332-9f02-d8e191104738"},{"name":"Fechar chamado","id":"ac9c32f5-b531-42eb-a0c5-4577bdae0867","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}/ticket/close","urlObject":{"path":["api","v1","contacts","{{contactId}}","ticket","close"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac9c32f5-b531-42eb-a0c5-4577bdae0867"},{"name":"Fechar um chamado com assunto","id":"0a1969f7-daf5-4da0-a7a5-ff087824015e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ticketTopicIds\": \"{{ticketTopicIds}}\" //ID do chamado\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}/ticket/close","urlObject":{"path":["api","v1","contacts","{{contactId}}","ticket","close"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0a1969f7-daf5-4da0-a7a5-ff087824015e"}],"id":"a680b1dc-d594-4c45-a31e-a19162d2f62e","description":"<p>Acontecerá todo o atendimento entre atendente e contato. Abaixo estão as imagens da estrutura do bate papo e todas as ferramentas disponíveis:</p>\n<img src=\"https://content.pstmn.io/02abd137-00c0-4f7f-9a5d-0aa5585a1cf7/aW1hZ2UucG5n\" width=\"505\" height=\"497\" />","_postman_id":"a680b1dc-d594-4c45-a31e-a19162d2f62e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","name":"🛠️ Populares","type":"folder"}}},{"name":"Contatos","item":[{"name":"Listar todos os contatos","id":"f059848a-b13d-49da-bf1d-cb289f3e5f83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts?perPage=40","urlObject":{"path":["api","v1","contacts"],"host":["{{URL}}"],"query":[{"key":"perPage","value":"40"}],"variable":[]}},"response":[],"_postman_id":"f059848a-b13d-49da-bf1d-cb289f3e5f83"},{"name":"Listar contatos da conexão","id":"3953b6ac-d95e-4771-8112-fa69eb676470","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts?where[serviceId]={{serviceId}}?perPage=40","urlObject":{"path":["api","v1","contacts"],"host":["{{URL}}"],"query":[{"key":"where[serviceId]","value":"{{serviceId}}?perPage=40"}],"variable":[]}},"response":[],"_postman_id":"3953b6ac-d95e-4771-8112-fa69eb676470"},{"name":"Buscar contato","id":"69e4d592-7872-4ba2-abbb-7a14c7ea64c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"69e4d592-7872-4ba2-abbb-7a14c7ea64c4"},{"name":"Buscar contato por número de uma conexão específica","id":"d27be7d0-8c2f-495e-8858-da11e3cc37fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v1/contacts?where[data.number][$iLike]=%{{number}}%&where[serviceId]={{serviceId}}","urlObject":{"path":["api","v1","contacts"],"host":["{{url}}"],"query":[{"key":"where[data.number][$iLike]","value":"%{{number}}%"},{"key":"where[serviceId]","value":"{{serviceId}}"}],"variable":[]}},"response":[],"_postman_id":"d27be7d0-8c2f-495e-8858-da11e3cc37fc"},{"name":"Buscar tags vinculadas a um contato","id":"ae4e1473-d24e-40c1-bf04-04ad2805f57d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts/{{contactId}}?include[0]=tags&include[1]=","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[{"key":"include[0]","value":"tags"},{"key":"include[1]","value":""}],"variable":[]}},"response":[],"_postman_id":"ae4e1473-d24e-40c1-bf04-04ad2805f57d"},{"name":"Buscar contatos que possuem campo personalizado específico","id":"e2d9a4c6-af62-43d4-a4d2-1d0ccdac4eee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts?query={\"include\":[{\"model\":\"customFieldValues\",\"include\":[{\"model\":\"customField\",\"where\":{\"name\":\"{{customFieldName}}\"}}]}]}","urlObject":{"path":["api","v1","contacts"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"include\":[{\"model\":\"customFieldValues\",\"include\":[{\"model\":\"customField\",\"where\":{\"name\":\"{{customFieldName}}\"}}]}]}"}],"variable":[]}},"response":[],"_postman_id":"e2d9a4c6-af62-43d4-a4d2-1d0ccdac4eee"},{"name":"Buscar campos personalizados de um contato específico","id":"260cb73c-1ed9-45c6-9bc1-607fb6a197a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts/{{contactId}}?query={\"include\":[{\"model\":\"customFieldValues\",\"include\":[{\"model\":\"customField\",\"where\":{\"name\":\"{{customFieldName}}\"}}]}]}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"include\":[{\"model\":\"customFieldValues\",\"include\":[{\"model\":\"customField\",\"where\":{\"name\":\"{{customFieldName}}\"}}]}]}"}],"variable":[]}},"response":[],"_postman_id":"260cb73c-1ed9-45c6-9bc1-607fb6a197a3"},{"name":"Busca de contatos que possuem X campos personalizados preenchidos","id":"713fc694-8818-4475-b072-153c927364d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts?query={\"include\":[{\"model\":\"customFieldValues\",\"include\":[{\"model\":\"customField\",\"where\":{\"$or\":[{\"name\":\"{{customFieldName1}}\"},{\"name\":\"{{customFieldName2}}\"},{\"name\":\"{{customFieldName3}}\"},{\"name\":\"{{customFieldName4}}\"}]}}]}]}","urlObject":{"path":["api","v1","contacts"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"include\":[{\"model\":\"customFieldValues\",\"include\":[{\"model\":\"customField\",\"where\":{\"$or\":[{\"name\":\"{{customFieldName1}}\"},{\"name\":\"{{customFieldName2}}\"},{\"name\":\"{{customFieldName3}}\"},{\"name\":\"{{customFieldName4}}\"}]}}]}]}"}],"variable":[]}},"response":[],"_postman_id":"713fc694-8818-4475-b072-153c927364d1"},{"name":"Verifica a existência de um contato","id":"f9b85082-6c9b-44ff-a9d2-6a7b06f2520f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/contacts/exists?numbers[]={{phoneNumber}}&serviceId={{serviceId}}","urlObject":{"path":["api","v1","contacts","exists"],"host":["{{URL}}"],"query":[{"key":"numbers[]","value":"{{phoneNumber}}"},{"key":"serviceId","value":"{{serviceId}}"}],"variable":[]}},"response":[],"_postman_id":"f9b85082-6c9b-44ff-a9d2-6a7b06f2520f"},{"name":"Editar contato","id":"8ba4538a-2722-49e2-8908-403ec09c6a27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\"internalName\": \"{{name}}\",\r\n\"number\": \"{{number}}\",\r\n\"serviceId\": \"{{serviceid}}\", //id conexão\r\n\"defaultDepartmentId\": null,\r\n\"tagIds\": [\"{{tagIds}}\", \"{{tagIds}}\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ba4538a-2722-49e2-8908-403ec09c6a27"},{"name":"Editar tag do contato","id":"d14dd402-d405-4ad2-bcd8-9c31b712003a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\"tagIds\": [\"{{tagIds}}\", \"{{tagIds}}\"] //id tag\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d14dd402-d405-4ad2-bcd8-9c31b712003a"},{"name":"Editar campo personalizado de um contato","id":"755d32fc-aa61-46cc-8453-f1fcea02d1a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"customFields\": [\r\n        {\r\n            \"id\": \"{{customFieldsId}}\",\r\n            \"value\": \"{{texto}}\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"755d32fc-aa61-46cc-8453-f1fcea02d1a4"},{"name":"Incluir tags em um contato existente Copy","id":"59a37f0b-df98-4ab2-ab34-a15e922e611e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\"tagIds\": [\"{{tagIds}}\", \"{{tagIds}}\"] //id tag\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"59a37f0b-df98-4ab2-ab34-a15e922e611e"},{"name":"Cadastrar contato","id":"123fd1ef-13b8-4487-950d-ed13674b5642","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"internalName\": \"{{name}}\",\r\n\"number\": \"{{number}}\", //número contato\r\n\"serviceId\": \"{{serviceid}}\", //id conexão\r\n\"defaultDepartmentId\": null,\r\n\"tagIds\": [\"{{tagIds}}\"], //id tag\r\n\"customFields\": [ //campos personalizados\r\n        {\r\n            \"customFieldId\": \"{{customFieldId}}\", //id campo personalizado\r\n            \"value\": \"{{value}}\" //texto\r\n        }\r\n]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts","urlObject":{"path":["api","v1","contacts"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"123fd1ef-13b8-4487-950d-ed13674b5642"},{"name":"Cadastrar múltiplos contatos","id":"0ffe9846-273b-4ac0-b974-28dbc86393cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"internalName\": \"{{name}}\", //Nome do contato\r\n        \"number\": \"{{number}}\", //Número do contato\r\n        \"serviceId\": \"{{serviceid}}\", //ID da conexão\r\n        \"defaultDepartmentId\": null,\r\n        \"tagIds\": [\r\n            \"{{tagIds}}\" //ID da TAG\r\n        ]\r\n    },\r\n    {\r\n        \"internalName\": \"{{name}}\",\r\n        \"number\": \"{{number}}\",\r\n        \"serviceId\": \"{{serviceid}}\",\r\n        \"defaultDepartmentId\": null,\r\n        \"tagIds\": [\r\n            \"{{tagIds}}\"\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/many","urlObject":{"path":["api","v1","contacts","many"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ffe9846-273b-4ac0-b974-28dbc86393cf"},{"name":"Exportar contatos","id":"92eae25e-ad4a-4f3d-9b17-c0eaa12b64d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"where\": {\r\n    \"visible\": true,\r\n    \"isGroup\": {\r\n      \"$eq\": false\r\n    },\r\n    \"isBroadcast\": {\r\n      \"$eq\": false\r\n    },\r\n    \"serviceId\": \"{{serviceId}}\" //id conexão\r\n  },\r\n  \"include\": [\r\n    \"avatar\",\r\n    \"tags\",\r\n    {\r\n      \"model\": \"service\",\r\n      \"required\": true\r\n    },\r\n    \"person\"\r\n  ],\r\n  \"order\": [\r\n    [\r\n      \"name\",\r\n      \"ASC\"\r\n    ]\r\n  ],\r\n  \"page\": 1,\r\n  \"perPage\": 15,\r\n  \"type\": \"comma\",\r\n  \"serviceType\": \"whatsapp\" //tipo de conexão (e-mail, telegram, etc)\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/export/csv","urlObject":{"path":["api","v1","contacts","export","csv"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"92eae25e-ad4a-4f3d-9b17-c0eaa12b64d1"},{"name":"Total de contatos com filtros","id":"81ec82ef-ea17-4f2a-b846-ac92f8f7d997","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"query\": {\r\n    \"isFiltered\": false,\r\n    \"departmentIds\": [ \r\n      {{departmentIds}} //id departamento - Opcional\r\n    ]\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/count","description":"<p>Realizar uma requisição nessa rota retornará a quantidade de<br />chamados do usuário em aberto e a quantidade de chamados na fila dos<br />departamentos em que estiver vinculado.</p>\n","urlObject":{"path":["api","v1","contacts","count"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"81ec82ef-ea17-4f2a-b846-ac92f8f7d997"},{"name":"Sincroniza contato","id":"e649132f-1782-4d79-8989-bab720471db4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}/sync","description":"<p>Inicia a sincronização do contato e busca novas mensagens.</p>\n","urlObject":{"path":["api","v1","contacts","{{contactId}}","sync"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e649132f-1782-4d79-8989-bab720471db4"},{"name":"Bloquear contato","id":"e29b8723-2a2e-4d19-9ca9-e3001451f55c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{URL}}/api/v1/contacts/{{contactId}}/block","urlObject":{"path":["api","v1","contacts","{{contactId}}","block"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e29b8723-2a2e-4d19-9ca9-e3001451f55c"},{"name":"Desbloquear contato","id":"e415587e-1c9d-4df2-ba11-b428d7a17772","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"block\": false,\r\n    \"description\": \"{{description}}\" //descrição (texto explicando o motivo)\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/{{contactId}}/block","urlObject":{"path":["api","v1","contacts","{{contactId}}","block"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e415587e-1c9d-4df2-ba11-b428d7a17772"},{"name":"Excluir contato","id":"e307938d-8f63-418d-9471-9f2da241ce7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/contacts/{{contactId}}","urlObject":{"path":["api","v1","contacts","{{contactId}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e307938d-8f63-418d-9471-9f2da241ce7e"},{"name":"Exclui multiplos contatos","id":"e5bb09a1-143b-42bb-aaba-dc82cacb6b64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"where\": {\r\n    \"id\": [\r\n      \"{{contactId}}\", //ID dos contatos que deseja excluir\r\n      \"{{contactId}}\"\r\n    ]\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/contacts/many","urlObject":{"path":["api","v1","contacts","many"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e5bb09a1-143b-42bb-aaba-dc82cacb6b64"}],"id":"e6a3e8ea-346e-46f2-b472-f9915fb8d5be","description":"<p>Contatos são os números dos seus clientes que serão salvos dentro da Digisac.</p>\n","_postman_id":"e6a3e8ea-346e-46f2-b472-f9915fb8d5be","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","name":"🛠️ Populares","type":"folder"}}},{"name":"Estatísticas de atendimento","item":[{"name":"Buscar estatísticas por período","id":"5fc73a4c-609a-45a0-8d97-bfc1b782f712","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-01-01T23:59:59.999Z}}&endPeriod={{2023-01-02T23:59:59.999Z}}","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-01-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2023-01-02T23:59:59.999Z}}"}],"variable":[]}},"response":[],"_postman_id":"5fc73a4c-609a-45a0-8d97-bfc1b782f712"},{"name":"Buscar estatísticas pela conexão","id":"ab0411a2-7bfa-4994-a8d9-7df5c0dc1465","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&serviceId={{serviceId}}","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"serviceId","value":"{{serviceId}}"}],"variable":[]}},"response":[],"_postman_id":"ab0411a2-7bfa-4994-a8d9-7df5c0dc1465"},{"name":"Buscar estatísticas por departamento","id":"041b11fd-83df-44b5-b7b6-19696d09456e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&grouping=&departmentId={{departmentId}}","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"grouping","value":""},{"key":"departmentId","value":"{{departmentId}}"}],"variable":[]}},"response":[],"_postman_id":"041b11fd-83df-44b5-b7b6-19696d09456e"},{"name":"Buscar estatísticas por usuário","id":"be7728fa-662f-4ed7-b6f2-9e10dd51158b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&userId={{userId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","name":"🛠️ Populares","type":"folder"}},"urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"userId","value":"{{userId}}"}],"variable":[]}},"response":[],"_postman_id":"be7728fa-662f-4ed7-b6f2-9e10dd51158b"},{"name":"Buscar estatísticas por departamento + usuário","id":"28355e95-58f2-4708-bc28-c4dc87c47c2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&grouping=&departmentId={{departmentId}}&userId={{userId}}","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"grouping","value":""},{"key":"departmentId","value":"{{departmentId}}"},{"key":"userId","value":"{{userId}}"}],"variable":[]}},"response":[],"_postman_id":"28355e95-58f2-4708-bc28-c4dc87c47c2c"},{"name":"Buscar estatísticas pelo status dos chamados","id":"c9c72535-eeef-4039-af72-02bd111370fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&status={{all/open/close}}","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"status","value":"{{all/open/close}}"}],"variable":[]}},"response":[],"_postman_id":"c9c72535-eeef-4039-af72-02bd111370fb"},{"name":"Buscar estatísticas com todos os filtros ativos","id":"7f105fed-d9e8-48a4-8d18-c51e7776728f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/dashboard/general?startPeriod={{2024-07-01T23:59:59.999Z}}&endPeriod={{2024-07-30T23:59:59.999Z}}&grouping=&departmentId={{departmentId}}&userId={{userId}}&periodType={{open/close}}Date&departmentParticipation={{last/middle}}&userParticipation={{last/middle}}&status={{all/open/close}}&serviceId={{serviceId}}","urlObject":{"path":["api","v1","dashboard","general"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-07-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2024-07-30T23:59:59.999Z}}"},{"key":"grouping","value":""},{"key":"departmentId","value":"{{departmentId}}"},{"key":"userId","value":"{{userId}}"},{"key":"periodType","value":"{{open/close}}Date"},{"key":"departmentParticipation","value":"{{last/middle}}"},{"key":"userParticipation","value":"{{last/middle}}"},{"key":"status","value":"{{all/open/close}}"},{"key":"serviceId","value":"{{serviceId}}"}],"variable":[]}},"response":[],"_postman_id":"7f105fed-d9e8-48a4-8d18-c51e7776728f"}],"id":"74909cb4-5a3b-44ff-88b2-1857cdde90a0","description":"<p>Essa ferramenta permite que seja visualizado uma média de como estão os atendimentos com os clientes de uma maneira geral ou individualizada de acordo com os filtros gerados.</p>\n","_postman_id":"74909cb4-5a3b-44ff-88b2-1857cdde90a0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","name":"🛠️ Populares","type":"folder"}}},{"name":"Histórico de chamados","item":[{"name":"Buscar por um chamado específico","id":"f22a0c96-16d8-43d3-bfec-28772d492da8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets/{{ticketId}}?include[0][model]=contact&include[0][include][0]=avatar&include[0][include][1]=thumbAvatar&include[1]=department&include[2]=user&include[3]=ticketTopics","urlObject":{"path":["api","v1","tickets","{{ticketId}}"],"host":["{{URL}}"],"query":[{"key":"include[0][model]","value":"contact"},{"key":"include[0][include][0]","value":"avatar"},{"key":"include[0][include][1]","value":"thumbAvatar"},{"key":"include[1]","value":"department"},{"key":"include[2]","value":"user"},{"key":"include[3]","value":"ticketTopics"}],"variable":[]}},"response":[],"_postman_id":"f22a0c96-16d8-43d3-bfec-28772d492da8"},{"name":"Buscar chamados por período","id":"b2e42c40-b0e2-44e6-bcf6-43eede3cef76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?startPeriod={{2024-01-01T23:59:59.999Z}}&endPeriod={{2023-01-02T23:59:59.999Z}}","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"startPeriod","value":"{{2024-01-01T23:59:59.999Z}}"},{"key":"endPeriod","value":"{{2023-01-02T23:59:59.999Z}}"}],"variable":[]}},"response":[],"_postman_id":"b2e42c40-b0e2-44e6-bcf6-43eede3cef76"},{"name":"Buscar chamados abertos por conexão","id":"4033b203-1556-4cef-a2ac-c1ec1b32e98f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?query={\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{\"isOpen\":true},\"include\":[{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true,\"serviceId\":\"{{serviceId}}\"},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true}]}],\"page\":1,\"perPage\":20}","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{\"isOpen\":true},\"include\":[{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true,\"serviceId\":\"{{serviceId}}\"},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true}]}],\"page\":1,\"perPage\":20}"}],"variable":[]}},"response":[],"_postman_id":"4033b203-1556-4cef-a2ac-c1ec1b32e98f"},{"name":"Buscar chamados fechados por conexão","id":"e457a9df-34db-4f1f-a58e-189b0da0bf58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?query={\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{\"isOpen\":false},\"include\":[{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true,\"serviceId\":\"{{serviceId}}\"},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true}]}],\"page\":1,\"perPage\":20}","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{\"isOpen\":false},\"include\":[{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true,\"serviceId\":\"{{serviceId}}\"},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true}]}],\"page\":1,\"perPage\":20}"}],"variable":[]}},"response":[],"_postman_id":"e457a9df-34db-4f1f-a58e-189b0da0bf58"},{"name":"Buscar chamados abertos + fechados por conexão","id":"2d22471f-b4f1-42d0-a73d-375d416f9af8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?query={\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{\"isOpen\":{\"$in\":[true,false]}},\"include\":[{\"model\":\"contact\",\"attributes\":[\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true,\"serviceId\":\"{{serviceId}}\"},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true}]}],\"page\":1,\"perPage\":20}","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{\"isOpen\":{\"$in\":[true,false]}},\"include\":[{\"model\":\"contact\",\"attributes\":[\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true,\"serviceId\":\"{{serviceId}}\"},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true}]}],\"page\":1,\"perPage\":20}"}],"variable":[]}},"response":[],"_postman_id":"2d22471f-b4f1-42d0-a73d-375d416f9af8"},{"name":"Buscar todos os chamados da plataforma","id":"85e7b11e-8c62-4b30-9045-987bd322525f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tickets?query={\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{},\"include\":[{\"model\":\"account\"},{\"model\":\"firstMessage\",\"attributes\":[\"id\",\"type\",\"text\",\"timestamp\",\"isFromMe\",\"sent\",\"data\",\"accountId\",\"serviceId\",\"contactId\",\"fromId\",\"toId\",\"userId\",\"ticketId\",\"isFromBot\",\"isFromSync\",\"visible\",\"ticketUserId\",\"ticketDepartmentId\",\"origin\",\"botId\",\"campaignId\"]},{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true},{\"model\":\"tags\",\"attributes\":[\"id\",\"label\",\"accountId\"]},{\"model\":\"person\",\"attributes\":[\"id\",\"name\",\"document\",\"accountId\"]},{\"model\":\"thumbAvatar\"}]},{\"model\":\"user\",\"attributes\":[\"id\",\"name\",\"email\",\"isSuperAdmin\",\"active\",\"accountId\",\"isFirstLogin\",\"status\",\"timetableId\",\"archivedAt\",\"phoneNumber\",\"data\",\"language\",\"isActiveInternalChat\"]},{\"model\":\"department\",\"attributes\":[\"id\",\"name\",\"accountId\",\"archivedAt\",\"distributionId\"]},{\"model\":\"ticketTopics\",\"attributes\":[\"id\",\"name\",\"archivedAt\"]}]}&perPage=30","urlObject":{"path":["api","v1","tickets"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{},\"include\":[{\"model\":\"account\"},{\"model\":\"firstMessage\",\"attributes\":[\"id\",\"type\",\"text\",\"timestamp\",\"isFromMe\",\"sent\",\"data\",\"accountId\",\"serviceId\",\"contactId\",\"fromId\",\"toId\",\"userId\",\"ticketId\",\"isFromBot\",\"isFromSync\",\"visible\",\"ticketUserId\",\"ticketDepartmentId\",\"origin\",\"botId\",\"campaignId\"]},{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true},{\"model\":\"tags\",\"attributes\":[\"id\",\"label\",\"accountId\"]},{\"model\":\"person\",\"attributes\":[\"id\",\"name\",\"document\",\"accountId\"]},{\"model\":\"thumbAvatar\"}]},{\"model\":\"user\",\"attributes\":[\"id\",\"name\",\"email\",\"isSuperAdmin\",\"active\",\"accountId\",\"isFirstLogin\",\"status\",\"timetableId\",\"archivedAt\",\"phoneNumber\",\"data\",\"language\",\"isActiveInternalChat\"]},{\"model\":\"department\",\"attributes\":[\"id\",\"name\",\"accountId\",\"archivedAt\",\"distributionId\"]},{\"model\":\"ticketTopics\",\"attributes\":[\"id\",\"name\",\"archivedAt\"]}]}"},{"key":"perPage","value":"30"}],"variable":[]}},"response":[],"_postman_id":"85e7b11e-8c62-4b30-9045-987bd322525f"},{"name":"Exportar histórico de chamados em PDF","id":"756e4fb1-9125-4875-b087-d5defe8313ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URLbase}}/pdf/tickets/{{ticketId}}/pt-BR?pdf=1&lng=pt-BR","urlObject":{"path":["pdf","tickets","{{ticketId}}","pt-BR"],"host":["{{URLbase}}"],"query":[{"key":"pdf","value":"1"},{"key":"lng","value":"pt-BR"}],"variable":[]}},"response":[],"_postman_id":"756e4fb1-9125-4875-b087-d5defe8313ba"},{"name":"Exportar histórico de chamados em TXT","id":"982ac51a-db8c-4310-b46a-0c84b9b50e68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"protocol\": \"{{protocolNumber}}\" //Número do protocolo\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/tickets/export","urlObject":{"path":["api","v1","tickets","export"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"982ac51a-db8c-4310-b46a-0c84b9b50e68"},{"name":"Exportar histórico de chamados em CSV","id":"2e490e36-a113-41fb-9301-e728a8b2c8a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{URL}}/api/v1/tickets/export-history?query={\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{},\"include\":[{\"model\":\"firstMessage\",\"attributes\":[\"id\",\"type\",\"text\",\"timestamp\",\"isFromMe\",\"sent\",\"data\",\"accountId\",\"serviceId\",\"contactId\",\"fromId\",\"toId\",\"userId\",\"ticketId\",\"isFromBot\",\"isFromSync\",\"visible\",\"ticketUserId\",\"ticketDepartmentId\",\"origin\",\"botId\",\"campaignId\"]},{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true},{\"model\":\"tags\",\"attributes\":[\"id\",\"label\",\"accountId\"]},{\"model\":\"person\",\"attributes\":[\"id\",\"name\",\"document\",\"accountId\"]}]},{\"model\":\"user\",\"attributes\":[\"id\",\"name\",\"email\",\"isSuperAdmin\",\"active\",\"accountId\",\"isFirstLogin\",\"status\",\"timetableId\",\"archivedAt\",\"phoneNumber\",\"data\",\"language\",\"isActiveInternalChat\"]},{\"model\":\"department\",\"attributes\":[\"id\",\"name\",\"accountId\",\"archivedAt\",\"distributionId\"]},{\"model\":\"ticketTopics\",\"attributes\":[\"id\",\"name\",\"archivedAt\"]}]}","urlObject":{"path":["api","v1","tickets","export-history"],"host":["{{URL}}"],"query":[{"key":"query","value":"{\"distinct\":true,\"order\":[[\"updatedAt\",\"DESC\"]],\"where\":{},\"include\":[{\"model\":\"firstMessage\",\"attributes\":[\"id\",\"type\",\"text\",\"timestamp\",\"isFromMe\",\"sent\",\"data\",\"accountId\",\"serviceId\",\"contactId\",\"fromId\",\"toId\",\"userId\",\"ticketId\",\"isFromBot\",\"isFromSync\",\"visible\",\"ticketUserId\",\"ticketDepartmentId\",\"origin\",\"botId\",\"campaignId\"]},{\"model\":\"contact\",\"attributes\":[\"id\",\"accountId\",\"name\",\"alternativeName\",\"internalName\",\"serviceId\",\"data\",\"note\",\"personId\",\"status\"],\"required\":true,\"where\":{\"visible\":true},\"include\":[{\"model\":\"service\",\"attributes\":[\"id\",\"name\",\"type\",\"accountId\",\"botId\",\"archivedAt\"],\"required\":true},{\"model\":\"tags\",\"attributes\":[\"id\",\"label\",\"accountId\"]},{\"model\":\"person\",\"attributes\":[\"id\",\"name\",\"document\",\"accountId\"]}]},{\"model\":\"user\",\"attributes\":[\"id\",\"name\",\"email\",\"isSuperAdmin\",\"active\",\"accountId\",\"isFirstLogin\",\"status\",\"timetableId\",\"archivedAt\",\"phoneNumber\",\"data\",\"language\",\"isActiveInternalChat\"]},{\"model\":\"department\",\"attributes\":[\"id\",\"name\",\"accountId\",\"archivedAt\",\"distributionId\"]},{\"model\":\"ticketTopics\",\"attributes\":[\"id\",\"name\",\"archivedAt\"]}]}"}],"variable":[]}},"response":[],"_postman_id":"2e490e36-a113-41fb-9301-e728a8b2c8a2"}],"id":"ffa4fde9-5b19-432f-a4eb-39e85f57ee92","description":"<p>O Histórico de Chamados é um dos relatórios de análise de atendimentos mais completos da plataforma, principalmente pelos seus filtros.</p>\n","_postman_id":"ffa4fde9-5b19-432f-a4eb-39e85f57ee92","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","name":"🛠️ Populares","type":"folder"}}},{"name":"Mensagens","item":[{"name":"Enviar mensagem","id":"9945024f-5f15-4b96-9aa6-26ca06067411","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"{{text}}\", //Texto\r\n    \"type\": \"chat\",\r\n    \"contactId\": \"{{contactId}}\", //ID contato\r\n    \"userId\": \"{{userId}}\", //ID usuário\r\n    \"origin\": \"bot\" // bot or user\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9945024f-5f15-4b96-9aa6-26ca06067411"},{"name":"Enviar mensagem SEM abrir o chamado","id":"bf795aad-00c1-475a-9031-21d7dedb13e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"{{text}}\",\r\n    \"type\": \"chat\",\r\n    \"contactId\": \"{{contactId}}\",\r\n    \"userId\": \"{{userId}}\",\r\n    \"dontOpenTicket\": \"true\", //este parametro faz com que o chamado não seja aberto no momento do envio da mensagem\r\n    \"origin\": \"bot\" // bot or user\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf795aad-00c1-475a-9031-21d7dedb13e2"},{"name":"Enviar comentário","id":"e6cc4c95-15a3-4c88-8248-76f5b61cd19c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"{{text}}\", //texto\r\n    \"type\": \"comment\", // chat or comment\r\n    \"contactId\": \"{{contactId}}\", //id contato\r\n    \"userId\": \"{{userId}}\", //id usuário\r\n    \"origin\": \"bot\" // bot or user\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6cc4c95-15a3-4c88-8248-76f5b61cd19c"},{"name":"Enviar de mensagem usando bot e sem abrir chamado","id":"1dbf18f2-15be-44b4-8f55-ba61d1448ac8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"text\": \"{{text}}\",\r\n\"number\": \"{{number}}\",\r\n\"serviceId\": \"{{serviceid}}\",\r\n\"origin\": \"bot\",\r\n\"dontOpenticket\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1dbf18f2-15be-44b4-8f55-ba61d1448ac8"},{"name":"Enviar imagem","id":"e76d80f9-d000-4f16-9817-28ddc9be4ba4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"{{text}}\", //Texto\r\n    \"number\": \"{{number}}\", //Número do contato\r\n    \"serviceId\": \"{{serviceId}}\", //ID conexão\r\n    \"file\": {\r\n        \"base64\": \"{{base64}}\", //Converter a imagem em base64\r\n        \"mimetype\": \"image/jpeg\",\r\n        \"name\": \"{{name}}\" //Nome imagem\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e76d80f9-d000-4f16-9817-28ddc9be4ba4"},{"name":"Enviar PDF","id":"19a90f49-5958-4701-92e0-f8e30a7995d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"{{text}}\", //Texto\r\n    \"number\": \"{{number}}\", //Número do contato\r\n    \"serviceId\": \"{{serviceId}}\", //ID conexão\r\n    \"file\": {\r\n        \"base64\": \"{{base64}}\", //Converter o PDF em base64\r\n        \"mimetype\": \"application/pdf\",\r\n        \"name\": \"{{name}}\" //Nome arquivo PDF\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","name":"🛠️ Populares","type":"folder"}},"urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"19a90f49-5958-4701-92e0-f8e30a7995d7"},{"name":"Enviar comentário","id":"e4deed4e-30e7-49af-889d-1c6820501a5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"Olá\",\r\n    \"type\": \"comment\", // chat or comment\r\n    \"contactId\": \"{{contactId}}\", //id contato\r\n    \"userId\": \"{{userId}}\", //id usuário\r\n    \"origin\": \"bot\" // bot or user\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e4deed4e-30e7-49af-889d-1c6820501a5b"},{"name":"Enviar áudio","id":"e2b7c4ec-14d8-4607-804c-bd647108e423","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"number\": \"{{número}}\", //Número do contato\n    \"serviceId\": \"{{serviceid}}\", //ID conexão\n    \"file\": {\n        \"base64\": \"{{base64}}\", //Converter o áudio em base64\n        \"mimetype\": \"audio/mpeg\" \n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e2b7c4ec-14d8-4607-804c-bd647108e423"}],"id":"f363a9ca-729d-4340-b452-781e392e6b48","_postman_id":"f363a9ca-729d-4340-b452-781e392e6b48","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","name":"🛠️ Populares","type":"folder"}}}],"id":"4feca5d6-5704-4302-a18a-bbab578b6b5f","description":"<p>Nesta collection, você encontrará as requisições de API mais populares utilizadas no ambiente Digisac. Elas são as mais pedidas pelos nossos usuários e podem facilitar a sua busca. Caso não encontre o que precisa, estaremos a disposição em <a href=\"https://digisac.gitbook.io/manual-digisac-2-0/informacoes-complementares/contatos-digisac\">nossos canais de atendimento.</a></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"b699e49d-7f7b-4f95-b597-6bf2fc662ff8","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"a075dbe5-5fbb-48b1-8f79-d09c64aa1ae2","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"4feca5d6-5704-4302-a18a-bbab578b6b5f"}]}