[{"data":1,"prerenderedAt":2282},["ShallowReactive",2],{"navigation_docs_pt":3,"-pt-api-reference-calls-list-calls":706,"-pt-api-reference-calls-list-calls-surround":2277},[4,8,26,52,101,131,181,219,237,247,269,291,562,572,613,662,692],{"title":5,"path":6,"stem":7},"Introdução","\u002Fpt\u002Fintroduction","pt\u002F01.introduction",{"title":9,"path":10,"stem":11,"children":12},"Começar","\u002Fpt\u002Fgetting-started","pt\u002F02.getting-started\u002Findex",[13,14,18,22],{"title":9,"path":10,"stem":11},{"title":15,"path":16,"stem":17},"Configuração inicial","\u002Fpt\u002Fgetting-started\u002Finitial-setup","pt\u002F02.getting-started\u002F01.initial-setup",{"title":19,"path":20,"stem":21},"Criar o primeiro agente","\u002Fpt\u002Fgetting-started\u002Ffirst-agent","pt\u002F02.getting-started\u002F02.first-agent",{"title":23,"path":24,"stem":25},"Fazer uma chamada de teste","\u002Fpt\u002Fgetting-started\u002Ftest-call","pt\u002F02.getting-started\u002F03.test-call",{"title":27,"path":28,"stem":29,"children":30},"Conceitos","\u002Fpt\u002Fconcepts","pt\u002F03.concepts\u002Findex",[31,32,36,40,44,48],{"title":27,"path":28,"stem":29},{"title":33,"path":34,"stem":35},"Agente de voz","\u002Fpt\u002Fconcepts\u002Fagent","pt\u002F03.concepts\u002F01.agent",{"title":37,"path":38,"stem":39},"Fluxo","\u002Fpt\u002Fconcepts\u002Fflow","pt\u002F03.concepts\u002F02.flow",{"title":41,"path":42,"stem":43},"Runtime","\u002Fpt\u002Fconcepts\u002Fruntime","pt\u002F03.concepts\u002F03.runtime",{"title":45,"path":46,"stem":47},"Organização e permissões","\u002Fpt\u002Fconcepts\u002Forganization","pt\u002F03.concepts\u002F04.organization",{"title":49,"path":50,"stem":51},"Prompt Builder","\u002Fpt\u002Fconcepts\u002Fprompt-builder","pt\u002F03.concepts\u002F05.prompt-builder",{"title":53,"path":54,"stem":55,"children":56},"Guias","\u002Fpt\u002Fguides","pt\u002F04.guides\u002Findex",[57,58,61,65,69,73,77,81,85,89,93,97],{"title":53,"path":54,"stem":55},{"title":19,"path":59,"stem":60},"\u002Fpt\u002Fguides\u002Fcreate-first-agent","pt\u002F04.guides\u002F01.create-first-agent",{"title":62,"path":63,"stem":64},"Usar o Flow Builder","\u002Fpt\u002Fguides\u002Fuse-flow-builder","pt\u002F04.guides\u002F02.use-flow-builder",{"title":66,"path":67,"stem":68},"Publicar e receber chamadas","\u002Fpt\u002Fguides\u002Fpublish-agent","pt\u002F04.guides\u002F03.publish-agent",{"title":70,"path":71,"stem":72},"Testar um agente","\u002Fpt\u002Fguides\u002Ftest-agent","pt\u002F04.guides\u002F04.test-agent",{"title":74,"path":75,"stem":76},"Transferir para humano","\u002Fpt\u002Fguides\u002Ftransfer-to-human","pt\u002F04.guides\u002F05.transfer-to-human",{"title":78,"path":79,"stem":80},"Marcar reuniões com Cal.com","\u002Fpt\u002Fguides\u002Fbook-meetings","pt\u002F04.guides\u002F06.book-meetings",{"title":82,"path":83,"stem":84},"Enviar SMS","\u002Fpt\u002Fguides\u002Fsend-sms","pt\u002F04.guides\u002F07.send-sms",{"title":86,"path":87,"stem":88},"Configurar uma lista telefónica","\u002Fpt\u002Fguides\u002Fconfigure-phone-book","pt\u002F04.guides\u002F08.configure-phone-book",{"title":90,"path":91,"stem":92},"Incorporar o widget de voz","\u002Fpt\u002Fguides\u002Fembed-widget","pt\u002F04.guides\u002F09.embed-widget",{"title":94,"path":95,"stem":96},"Gravar chamadas","\u002Fpt\u002Fguides\u002Frecord-calls","pt\u002F04.guides\u002F10.record-calls",{"title":98,"path":99,"stem":100},"Ocultar dados pessoais","\u002Fpt\u002Fguides\u002Fredact-personal-data","pt\u002F04.guides\u002F11.redact-personal-data",{"title":102,"path":103,"stem":104,"children":105},"Flow Builder","\u002Fpt\u002Fflow-builder","pt\u002F05.flow-builder\u002Findex",[106,107,111,115,119,123,127],{"title":102,"path":103,"stem":104},{"title":108,"path":109,"stem":110},"Interface do builder","\u002Fpt\u002Fflow-builder\u002Finterface","pt\u002F05.flow-builder\u002F01.interface",{"title":112,"path":113,"stem":114},"Estrutura de um fluxo","\u002Fpt\u002Fflow-builder\u002Fstructure","pt\u002F05.flow-builder\u002F02.structure",{"title":116,"path":117,"stem":118},"Variáveis do fluxo","\u002Fpt\u002Fflow-builder\u002Fvariables","pt\u002F05.flow-builder\u002F03.variables",{"title":120,"path":121,"stem":122},"Condições e caminhos","\u002Fpt\u002Fflow-builder\u002Fbranches","pt\u002F05.flow-builder\u002F04.branches",{"title":124,"path":125,"stem":126},"Testar um fluxo","\u002Fpt\u002Fflow-builder\u002Ftesting","pt\u002F05.flow-builder\u002F05.testing",{"title":128,"path":129,"stem":130},"Validação e publicação","\u002Fpt\u002Fflow-builder\u002Fvalidation-publishing","pt\u002F05.flow-builder\u002F06.validation-publishing",{"title":132,"path":133,"stem":134,"children":135},"Nós","\u002Fpt\u002Fnodes","pt\u002F06.nodes\u002Findex",[136,137,141,145,149,153,157,161,165,169,173,177],{"title":132,"path":133,"stem":134},{"title":138,"path":139,"stem":140},"Conversação","\u002Fpt\u002Fnodes\u002Fconversation","pt\u002F06.nodes\u002F01.conversation",{"title":142,"path":143,"stem":144},"Mensagem","\u002Fpt\u002Fnodes\u002Fmessage","pt\u002F06.nodes\u002F02.message",{"title":146,"path":147,"stem":148},"Dividir o caminho","\u002Fpt\u002Fnodes\u002Fsplit-path","pt\u002F06.nodes\u002F03.split-path",{"title":150,"path":151,"stem":152},"Saltar para","\u002Fpt\u002Fnodes\u002Fjump-to","pt\u002F06.nodes\u002F04.jump-to",{"title":154,"path":155,"stem":156},"Disparar subfluxo","\u002Fpt\u002Fnodes\u002Ftrigger-subflow","pt\u002F06.nodes\u002F05.trigger-subflow",{"title":158,"path":159,"stem":160},"Acção personalizada","\u002Fpt\u002Fnodes\u002Fcustom-action","pt\u002F06.nodes\u002F06.custom-action",{"title":162,"path":163,"stem":164},"Enviar SMS durante a chamada","\u002Fpt\u002Fnodes\u002Fsend-sms-during-call","pt\u002F06.nodes\u002F07.send-sms-during-call",{"title":166,"path":167,"stem":168},"Transferência","\u002Fpt\u002Fnodes\u002Ftransfer","pt\u002F06.nodes\u002F08.transfer",{"title":170,"path":171,"stem":172},"Agendamento","\u002Fpt\u002Fnodes\u002Fbooking","pt\u002F06.nodes\u002F09.booking",{"title":174,"path":175,"stem":176},"Terminar chamada","\u002Fpt\u002Fnodes\u002Fend-call","pt\u002F06.nodes\u002F10.end-call",{"title":178,"path":179,"stem":180},"Nós em breve","\u002Fpt\u002Fnodes\u002Fcoming-soon","pt\u002F06.nodes\u002F11.coming-soon",{"title":182,"path":183,"stem":184,"children":185},"Acções","\u002Fpt\u002Factions","pt\u002F07.actions\u002Findex",[186,187,191,195,199,203,207,211,215],{"title":182,"path":183,"stem":184},{"title":188,"path":189,"stem":190},"Transferências de chamada","\u002Fpt\u002Factions\u002Fcall-transfers","pt\u002F07.actions\u002F01.call-transfers",{"title":192,"path":193,"stem":194},"IVR","\u002Fpt\u002Factions\u002Fivr","pt\u002F07.actions\u002F02.ivr",{"title":196,"path":197,"stem":198},"SMS durante a chamada","\u002Fpt\u002Factions\u002Fduring-call-sms","pt\u002F07.actions\u002F03.during-call-sms",{"title":200,"path":201,"stem":202},"SMS pós-chamada","\u002Fpt\u002Factions\u002Fpost-call-sms","pt\u002F07.actions\u002F04.post-call-sms",{"title":204,"path":205,"stem":206},"Acções personalizadas","\u002Fpt\u002Factions\u002Fcustom-actions","pt\u002F07.actions\u002F05.custom-actions",{"title":208,"path":209,"stem":210},"Extratores de Informação","\u002Fpt\u002Factions\u002Finformation-extractors","pt\u002F07.actions\u002F06.information-extractors",{"title":212,"path":213,"stem":214},"Avaliações Personalizadas","\u002Fpt\u002Factions\u002Fcustom-evaluations","pt\u002F07.actions\u002F07.custom-evaluations",{"title":216,"path":217,"stem":218},"Agendamento em tempo real","\u002Fpt\u002Factions\u002Freal-time-booking","pt\u002F07.actions\u002F08.real-time-booking",{"title":220,"path":221,"stem":222,"children":223},"Base de conhecimento","\u002Fpt\u002Fknowledge-base","pt\u002F08.knowledge-base\u002Findex",[224,225,229,233],{"title":220,"path":221,"stem":222},{"title":226,"path":227,"stem":228},"Fontes","\u002Fpt\u002Fknowledge-base\u002Fsources","pt\u002F08.knowledge-base\u002F01.sources",{"title":230,"path":231,"stem":232},"Citações","\u002Fpt\u002Fknowledge-base\u002Fcitations","pt\u002F08.knowledge-base\u002F02.citations",{"title":234,"path":235,"stem":236},"Memória partilhada","\u002Fpt\u002Fknowledge-base\u002Fshared-memory","pt\u002F08.knowledge-base\u002F03.shared-memory",{"title":238,"path":239,"stem":240,"children":241},"Centro de Testes","\u002Fpt\u002Ftest-center","pt\u002F09.test-center\u002Findex",[242,243],{"title":238,"path":239,"stem":240},{"title":244,"path":245,"stem":246},"Avaliações","\u002Fpt\u002Ftest-center\u002Fevaluations","pt\u002F09.test-center\u002F01.evaluations",{"title":248,"path":249,"stem":250,"children":251},"Históricos e análises","\u002Fpt\u002Fhistory","pt\u002F10.history\u002Findex",[252,253,257,261,265],{"title":248,"path":249,"stem":250},{"title":254,"path":255,"stem":256},"Visão geral","\u002Fpt\u002Fhistory\u002Fdashboard","pt\u002F10.history\u002F01.dashboard",{"title":258,"path":259,"stem":260},"Chamadas","\u002Fpt\u002Fhistory\u002Fcalls","pt\u002F10.history\u002F02.calls",{"title":262,"path":263,"stem":264},"Gravações","\u002Fpt\u002Fhistory\u002Frecordings","pt\u002F10.history\u002F03.recordings",{"title":266,"path":267,"stem":268},"Análises","\u002Fpt\u002Fhistory\u002Fanalytics","pt\u002F10.history\u002F04.analytics",{"title":270,"path":271,"stem":272,"children":273},"WhatsApp","\u002Fpt\u002Fwhatsapp","pt\u002F11.whatsapp\u002Findex",[274,275,279,283,287],{"title":270,"path":271,"stem":272},{"title":276,"path":277,"stem":278},"Ligar o número","\u002Fpt\u002Fwhatsapp\u002Fconnect","pt\u002F11.whatsapp\u002F01.connect",{"title":280,"path":281,"stem":282},"Templates","\u002Fpt\u002Fwhatsapp\u002Ftemplates","pt\u002F11.whatsapp\u002F02.templates",{"title":284,"path":285,"stem":286},"Conversas","\u002Fpt\u002Fwhatsapp\u002Fconversations","pt\u002F11.whatsapp\u002F03.conversations",{"title":288,"path":289,"stem":290},"Chamadas de voz","\u002Fpt\u002Fwhatsapp\u002Fcalls","pt\u002F11.whatsapp\u002F04.calls",{"title":292,"path":293,"stem":294,"children":295},"API","\u002Fpt\u002Fapi","pt\u002F12.api\u002Findex",[296,297,301,305,309,313,317,321,536,554,558],{"title":292,"path":293,"stem":294},{"title":298,"path":299,"stem":300},"Começar com a API","\u002Fpt\u002Fapi\u002Fgetting-started","pt\u002F12.api\u002F01.getting-started",{"title":302,"path":303,"stem":304},"API da DISKA","\u002Fpt\u002Fapi\u002Fapi-channel","pt\u002F12.api\u002F02.api-channel",{"title":306,"path":307,"stem":308},"Autenticação","\u002Fpt\u002Fapi\u002Fauthentication","pt\u002F12.api\u002F03.authentication",{"title":310,"path":311,"stem":312},"Webhooks","\u002Fpt\u002Fapi\u002Fwebhooks","pt\u002F12.api\u002F04.webhooks",{"title":314,"path":315,"stem":316},"Endpoints","\u002Fpt\u002Fapi\u002Fendpoints","pt\u002F12.api\u002F05.endpoints",{"title":318,"path":319,"stem":320},"Tempo real","\u002Fpt\u002Fapi\u002Frealtime","pt\u002F12.api\u002F06.realtime",{"title":322,"path":323,"stem":324,"children":325},"Referência da API","\u002Fpt\u002Fapi\u002Freference","pt\u002F12.api\u002F07.reference\u002Findex",[326,327,337,363,380,398,440,466,475,485,511],{"title":322,"path":323,"stem":324},{"title":328,"path":329,"stem":330,"children":331},"Identidade","\u002Fpt\u002Fapi\u002Freference\u002Fidentity","pt\u002F12.api\u002F07.reference\u002F01.identity\u002Findex",[332,333],{"title":328,"path":329,"stem":330},{"title":334,"path":335,"stem":336},"Ver a chave e a organização","\u002Fpt\u002Fapi\u002Freference\u002Fidentity\u002Fget-identity","pt\u002F12.api\u002F07.reference\u002F01.identity\u002F01.get-identity",{"title":338,"path":339,"stem":340,"children":341},"Agentes","\u002Fpt\u002Fapi\u002Freference\u002Fagents","pt\u002F12.api\u002F07.reference\u002F02.agents\u002Findex",[342,343,347,351,355,359],{"title":338,"path":339,"stem":340},{"title":344,"path":345,"stem":346},"Listar agentes","\u002Fpt\u002Fapi\u002Freference\u002Fagents\u002Flist-agents","pt\u002F12.api\u002F07.reference\u002F02.agents\u002F01.list-agents",{"title":348,"path":349,"stem":350},"Ver um agente","\u002Fpt\u002Fapi\u002Freference\u002Fagents\u002Fget-agent","pt\u002F12.api\u002F07.reference\u002F02.agents\u002F02.get-agent",{"title":352,"path":353,"stem":354},"Editar um agente","\u002Fpt\u002Fapi\u002Freference\u002Fagents\u002Fupdate-agent","pt\u002F12.api\u002F07.reference\u002F02.agents\u002F03.update-agent",{"title":356,"path":357,"stem":358},"Criar um agente","\u002Fpt\u002Fapi\u002Freference\u002Fagents\u002Fcreate-agent","pt\u002F12.api\u002F07.reference\u002F02.agents\u002F04.create-agent",{"title":360,"path":361,"stem":362},"Publicar um agente","\u002Fpt\u002Fapi\u002Freference\u002Fagents\u002Fpublish-agent","pt\u002F12.api\u002F07.reference\u002F02.agents\u002F05.publish-agent",{"title":258,"path":364,"stem":365,"children":366},"\u002Fpt\u002Fapi\u002Freference\u002Fcalls","pt\u002F12.api\u002F07.reference\u002F03.calls\u002Findex",[367,368,372,376],{"title":258,"path":364,"stem":365},{"title":369,"path":370,"stem":371},"Listar chamadas","\u002Fpt\u002Fapi\u002Freference\u002Fcalls\u002Flist-calls","pt\u002F12.api\u002F07.reference\u002F03.calls\u002F01.list-calls",{"title":373,"path":374,"stem":375},"Ver uma chamada","\u002Fpt\u002Fapi\u002Freference\u002Fcalls\u002Fget-call","pt\u002F12.api\u002F07.reference\u002F03.calls\u002F02.get-call",{"title":377,"path":378,"stem":379},"Descarregar a gravação","\u002Fpt\u002Fapi\u002Freference\u002Fcalls\u002Fget-call-recording","pt\u002F12.api\u002F07.reference\u002F03.calls\u002F03.get-call-recording",{"title":381,"path":382,"stem":383,"children":384},"Chamadas de saída","\u002Fpt\u002Fapi\u002Freference\u002Foutbound-calls","pt\u002F12.api\u002F07.reference\u002F04.outbound-calls\u002Findex",[385,386,390,394],{"title":381,"path":382,"stem":383},{"title":387,"path":388,"stem":389},"Fazer uma chamada de saída","\u002Fpt\u002Fapi\u002Freference\u002Foutbound-calls\u002Fcreate-outbound-call","pt\u002F12.api\u002F07.reference\u002F04.outbound-calls\u002F01.create-outbound-call",{"title":391,"path":392,"stem":393},"Ver uma chamada de saída","\u002Fpt\u002Fapi\u002Freference\u002Foutbound-calls\u002Fget-outbound-call","pt\u002F12.api\u002F07.reference\u002F04.outbound-calls\u002F02.get-outbound-call",{"title":395,"path":396,"stem":397},"Desligar uma chamada de saída","\u002Fpt\u002Fapi\u002Freference\u002Foutbound-calls\u002Fhang-up-outbound-call","pt\u002F12.api\u002F07.reference\u002F04.outbound-calls\u002F03.hang-up-outbound-call",{"title":399,"path":400,"stem":401,"children":402},"Campanhas","\u002Fpt\u002Fapi\u002Freference\u002Fcampaigns","pt\u002F12.api\u002F07.reference\u002F05.campaigns\u002Findex",[403,404,408,412,416,420,424,428,432,436],{"title":399,"path":400,"stem":401},{"title":405,"path":406,"stem":407},"Listar campanhas","\u002Fpt\u002Fapi\u002Freference\u002Fcampaigns\u002Flist-campaigns","pt\u002F12.api\u002F07.reference\u002F05.campaigns\u002F01.list-campaigns",{"title":409,"path":410,"stem":411},"Criar uma campanha","\u002Fpt\u002Fapi\u002Freference\u002Fcampaigns\u002Fcreate-campaign","pt\u002F12.api\u002F07.reference\u002F05.campaigns\u002F02.create-campaign",{"title":413,"path":414,"stem":415},"Ver uma campanha","\u002Fpt\u002Fapi\u002Freference\u002Fcampaigns\u002Fget-campaign","pt\u002F12.api\u002F07.reference\u002F05.campaigns\u002F03.get-campaign",{"title":417,"path":418,"stem":419},"Acrescentar destinatários","\u002Fpt\u002Fapi\u002Freference\u002Fcampaigns\u002Fadd-campaign-recipients","pt\u002F12.api\u002F07.reference\u002F05.campaigns\u002F04.add-campaign-recipients",{"title":421,"path":422,"stem":423},"Listar destinatários","\u002Fpt\u002Fapi\u002Freference\u002Fcampaigns\u002Flist-campaign-recipients","pt\u002F12.api\u002F07.reference\u002F05.campaigns\u002F05.list-campaign-recipients",{"title":425,"path":426,"stem":427},"Iniciar uma campanha","\u002Fpt\u002Fapi\u002Freference\u002Fcampaigns\u002Fstart-campaign","pt\u002F12.api\u002F07.reference\u002F05.campaigns\u002F06.start-campaign",{"title":429,"path":430,"stem":431},"Pausar uma campanha","\u002Fpt\u002Fapi\u002Freference\u002Fcampaigns\u002Fpause-campaign","pt\u002F12.api\u002F07.reference\u002F05.campaigns\u002F07.pause-campaign",{"title":433,"path":434,"stem":435},"Retomar uma campanha","\u002Fpt\u002Fapi\u002Freference\u002Fcampaigns\u002Fresume-campaign","pt\u002F12.api\u002F07.reference\u002F05.campaigns\u002F08.resume-campaign",{"title":437,"path":438,"stem":439},"Cancelar uma campanha","\u002Fpt\u002Fapi\u002Freference\u002Fcampaigns\u002Fcancel-campaign","pt\u002F12.api\u002F07.reference\u002F05.campaigns\u002F09.cancel-campaign",{"title":441,"path":442,"stem":443,"children":444},"Chat","\u002Fpt\u002Fapi\u002Freference\u002Fchats","pt\u002F12.api\u002F07.reference\u002F06.chats\u002Findex",[445,446,450,454,458,462],{"title":441,"path":442,"stem":443},{"title":447,"path":448,"stem":449},"Criar uma conversa","\u002Fpt\u002Fapi\u002Freference\u002Fchats\u002Fcreate-chat","pt\u002F12.api\u002F07.reference\u002F06.chats\u002F01.create-chat",{"title":451,"path":452,"stem":453},"Enviar uma mensagem","\u002Fpt\u002Fapi\u002Freference\u002Fchats\u002Fsend-chat-message","pt\u002F12.api\u002F07.reference\u002F06.chats\u002F02.send-chat-message",{"title":455,"path":456,"stem":457},"Ver uma conversa","\u002Fpt\u002Fapi\u002Freference\u002Fchats\u002Fget-chat","pt\u002F12.api\u002F07.reference\u002F06.chats\u002F03.get-chat",{"title":459,"path":460,"stem":461},"Listar conversas","\u002Fpt\u002Fapi\u002Freference\u002Fchats\u002Flist-chats","pt\u002F12.api\u002F07.reference\u002F06.chats\u002F04.list-chats",{"title":463,"path":464,"stem":465},"Terminar uma conversa","\u002Fpt\u002Fapi\u002Freference\u002Fchats\u002Fend-chat","pt\u002F12.api\u002F07.reference\u002F06.chats\u002F05.end-chat",{"title":266,"path":467,"stem":468,"children":469},"\u002Fpt\u002Fapi\u002Freference\u002Fanalytics","pt\u002F12.api\u002F07.reference\u002F07.analytics\u002Findex",[470,471],{"title":266,"path":467,"stem":468},{"title":472,"path":473,"stem":474},"Resumo das análises","\u002Fpt\u002Fapi\u002Freference\u002Fanalytics\u002Fget-overview","pt\u002F12.api\u002F07.reference\u002F07.analytics\u002F01.get-overview",{"title":476,"path":477,"stem":478,"children":479},"Números","\u002Fpt\u002Fapi\u002Freference\u002Fphone-numbers","pt\u002F12.api\u002F07.reference\u002F08.phone-numbers\u002Findex",[480,481],{"title":476,"path":477,"stem":478},{"title":482,"path":483,"stem":484},"Listar números","\u002Fpt\u002Fapi\u002Freference\u002Fphone-numbers\u002Flist-phone-numbers","pt\u002F12.api\u002F07.reference\u002F08.phone-numbers\u002F01.list-phone-numbers",{"title":486,"path":487,"stem":488,"children":489},"Conhecimento","\u002Fpt\u002Fapi\u002Freference\u002Fknowledge","pt\u002F12.api\u002F07.reference\u002F09.knowledge\u002Findex",[490,491,495,499,503,507],{"title":486,"path":487,"stem":488},{"title":492,"path":493,"stem":494},"Listar bases de conhecimento","\u002Fpt\u002Fapi\u002Freference\u002Fknowledge\u002Flist-knowledge-bases","pt\u002F12.api\u002F07.reference\u002F09.knowledge\u002F01.list-knowledge-bases",{"title":496,"path":497,"stem":498},"Criar uma base de conhecimento","\u002Fpt\u002Fapi\u002Freference\u002Fknowledge\u002Fcreate-knowledge-base","pt\u002F12.api\u002F07.reference\u002F09.knowledge\u002F02.create-knowledge-base",{"title":500,"path":501,"stem":502},"Adicionar um documento de texto","\u002Fpt\u002Fapi\u002Freference\u002Fknowledge\u002Fadd-text-document","pt\u002F12.api\u002F07.reference\u002F09.knowledge\u002F03.add-text-document",{"title":504,"path":505,"stem":506},"Importar uma página web","\u002Fpt\u002Fapi\u002Freference\u002Fknowledge\u002Fimport-url","pt\u002F12.api\u002F07.reference\u002F09.knowledge\u002F04.import-url",{"title":508,"path":509,"stem":510},"Carregar um PDF","\u002Fpt\u002Fapi\u002Freference\u002Fknowledge\u002Fupload-pdf","pt\u002F12.api\u002F07.reference\u002F09.knowledge\u002F05.upload-pdf",{"title":310,"path":512,"stem":513,"children":514},"\u002Fpt\u002Fapi\u002Freference\u002Fwebhooks","pt\u002F12.api\u002F07.reference\u002F10.webhooks\u002Findex",[515,516,520,524,528,532],{"title":310,"path":512,"stem":513},{"title":517,"path":518,"stem":519},"Listar endpoints de webhook","\u002Fpt\u002Fapi\u002Freference\u002Fwebhooks\u002Flist-webhook-endpoints","pt\u002F12.api\u002F07.reference\u002F10.webhooks\u002F01.list-webhook-endpoints",{"title":521,"path":522,"stem":523},"Registar um endpoint de webhook","\u002Fpt\u002Fapi\u002Freference\u002Fwebhooks\u002Fcreate-webhook-endpoint","pt\u002F12.api\u002F07.reference\u002F10.webhooks\u002F02.create-webhook-endpoint",{"title":525,"path":526,"stem":527},"Alterar um endpoint de webhook","\u002Fpt\u002Fapi\u002Freference\u002Fwebhooks\u002Fupdate-webhook-endpoint","pt\u002F12.api\u002F07.reference\u002F10.webhooks\u002F03.update-webhook-endpoint",{"title":529,"path":530,"stem":531},"Remover um endpoint de webhook","\u002Fpt\u002Fapi\u002Freference\u002Fwebhooks\u002Fdelete-webhook-endpoint","pt\u002F12.api\u002F07.reference\u002F10.webhooks\u002F04.delete-webhook-endpoint",{"title":533,"path":534,"stem":535},"Testar um endpoint de webhook","\u002Fpt\u002Fapi\u002Freference\u002Fwebhooks\u002Ftest-webhook-endpoint","pt\u002F12.api\u002F07.reference\u002F10.webhooks\u002F05.test-webhook-endpoint",{"title":537,"path":538,"stem":539,"children":540},"Guias da API","\u002Fpt\u002Fapi\u002Fguides","pt\u002F12.api\u002F08.guides\u002Findex",[541,542,546,550],{"title":537,"path":538,"stem":539},{"title":543,"path":544,"stem":545},"Sincronizar chamadas com o CRM","\u002Fpt\u002Fapi\u002Fguides\u002Fsync-calls-crm","pt\u002F12.api\u002F08.guides\u002F01.sync-calls-crm",{"title":547,"path":548,"stem":549},"Exportar o histórico de chamadas","\u002Fpt\u002Fapi\u002Fguides\u002Fexport-call-history","pt\u002F12.api\u002F08.guides\u002F02.export-call-history",{"title":551,"path":552,"stem":553},"Alimentar o conhecimento a partir do site","\u002Fpt\u002Fapi\u002Fguides\u002Fknowledge-from-website","pt\u002F12.api\u002F08.guides\u002F03.knowledge-from-website",{"title":555,"path":556,"stem":557},"Versões e alterações","\u002Fpt\u002Fapi\u002Fchangelog","pt\u002F12.api\u002F09.changelog",{"title":559,"path":560,"stem":561},"OAuth para plataformas parceiras","\u002Fpt\u002Fapi\u002Foauth","pt\u002F12.api\u002F10.oauth",{"title":563,"path":564,"stem":565,"children":566},"Integrações","\u002Fpt\u002Fintegrations","pt\u002F13.integrations\u002Findex",[567,568],{"title":563,"path":564,"stem":565},{"title":569,"path":570,"stem":571},"Cal.com","\u002Fpt\u002Fintegrations\u002Fcalcom","pt\u002F13.integrations\u002F01.calcom",{"title":573,"path":574,"stem":575,"children":576},"Telefonia","\u002Fpt\u002Ftelephony","pt\u002F14.telephony\u002Findex",[577,578,582,586,590,594,597,601,605,609],{"title":573,"path":574,"stem":575},{"title":579,"path":580,"stem":581},"Números de telefone","\u002Fpt\u002Ftelephony\u002Fnumbers","pt\u002F14.telephony\u002F01.numbers",{"title":583,"path":584,"stem":585},"Ligar por SIP","\u002Fpt\u002Ftelephony\u002Fsip-trunk","pt\u002F14.telephony\u002F02.sip-trunk",{"title":587,"path":588,"stem":589},"Chamadas telefónicas","\u002Fpt\u002Ftelephony\u002Fphone-calls","pt\u002F14.telephony\u002F03.phone-calls",{"title":591,"path":592,"stem":593},"Configuração de chamada","\u002Fpt\u002Ftelephony\u002Fcall-settings","pt\u002F14.telephony\u002F04.call-settings",{"title":399,"path":595,"stem":596},"\u002Fpt\u002Ftelephony\u002Fcampaigns","pt\u002F14.telephony\u002F05.campaigns",{"title":598,"path":599,"stem":600},"Chamadas em simultâneo","\u002Fpt\u002Ftelephony\u002Fconcurrency","pt\u002F14.telephony\u002F06.concurrency",{"title":602,"path":603,"stem":604},"Transferências","\u002Fpt\u002Ftelephony\u002Ftransfers","pt\u002F14.telephony\u002F07.transfers",{"title":606,"path":607,"stem":608},"Webhooks do agente","\u002Fpt\u002Ftelephony\u002Fwebhooks","pt\u002F14.telephony\u002F08.webhooks",{"title":610,"path":611,"stem":612},"Erros e motivos de fim","\u002Fpt\u002Ftelephony\u002Ferrors","pt\u002F14.telephony\u002F09.errors",{"title":614,"path":615,"stem":616,"children":617},"Definições","\u002Fpt\u002Fsettings","pt\u002F15.settings\u002Findex",[618,619,623,627,631,635,639,643,647,651,654,658],{"title":614,"path":615,"stem":616},{"title":620,"path":621,"stem":622},"Perfil","\u002Fpt\u002Fsettings\u002Fpersonal-profile","pt\u002F15.settings\u002F01.personal-profile",{"title":624,"path":625,"stem":626},"Credenciais","\u002Fpt\u002Fsettings\u002Fcredentials","pt\u002F15.settings\u002F02.credentials",{"title":628,"path":629,"stem":630},"Password","\u002Fpt\u002Fsettings\u002Fpassword","pt\u002F15.settings\u002F03.password",{"title":632,"path":633,"stem":634},"Autenticação de dois fatores","\u002Fpt\u002Fsettings\u002Ftwo-factor","pt\u002F15.settings\u002F04.two-factor",{"title":636,"path":637,"stem":638},"Sessões ativas","\u002Fpt\u002Fsettings\u002Fsessions","pt\u002F15.settings\u002F05.sessions",{"title":640,"path":641,"stem":642},"Empresa","\u002Fpt\u002Fsettings\u002Fcompany","pt\u002F15.settings\u002F06.company",{"title":644,"path":645,"stem":646},"Organização","\u002Fpt\u002Fsettings\u002Forganization","pt\u002F15.settings\u002F07.organization",{"title":648,"path":649,"stem":650},"Membros","\u002Fpt\u002Fsettings\u002Fmembers","pt\u002F15.settings\u002F08.members",{"title":563,"path":652,"stem":653},"\u002Fpt\u002Fsettings\u002Fintegrations","pt\u002F15.settings\u002F09.integrations",{"title":655,"path":656,"stem":657},"Chaves API","\u002Fpt\u002Fsettings\u002Fapi-keys","pt\u002F15.settings\u002F10.api-keys",{"title":659,"path":660,"stem":661},"Aplicações ligadas e Apps OAuth","\u002Fpt\u002Fsettings\u002Fconnected-apps","pt\u002F15.settings\u002F11.connected-apps",{"title":663,"path":664,"stem":665,"children":666},"Problemas frequentes","\u002Fpt\u002Ftroubleshooting","pt\u002F16.troubleshooting\u002Findex",[667,668,672,676,680,684,688],{"title":663,"path":664,"stem":665},{"title":669,"path":670,"stem":671},"Agente não atende","\u002Fpt\u002Ftroubleshooting\u002Fagent-not-answering","pt\u002F16.troubleshooting\u002F01.agent-not-answering",{"title":673,"path":674,"stem":675},"Chamadas caem","\u002Fpt\u002Ftroubleshooting\u002Fcalls-drop","pt\u002F16.troubleshooting\u002F02.calls-drop",{"title":677,"path":678,"stem":679},"Fluxo não publica","\u002Fpt\u002Ftroubleshooting\u002Fflow-not-publishing","pt\u002F16.troubleshooting\u002F03.flow-not-publishing",{"title":681,"path":682,"stem":683},"Conhecimento não responde","\u002Fpt\u002Ftroubleshooting\u002Fkb-not-answering","pt\u002F16.troubleshooting\u002F04.kb-not-answering",{"title":685,"path":686,"stem":687},"Integração não liga","\u002Fpt\u002Ftroubleshooting\u002Fintegration-not-connecting","pt\u002F16.troubleshooting\u002F05.integration-not-connecting",{"title":689,"path":690,"stem":691},"Testes falham","\u002Fpt\u002Ftroubleshooting\u002Ftests-failing","pt\u002F16.troubleshooting\u002F06.tests-failing",{"title":693,"path":694,"stem":695,"children":696,"page":705},"Legal","\u002Fpt\u002Flegal","pt\u002F17.legal",[697,701],{"title":698,"path":699,"stem":700},"Política de Privacidade","\u002Fpt\u002Flegal\u002Fprivacy","pt\u002F17.legal\u002F01.privacy",{"title":702,"path":703,"stem":704},"Termos e Condições","\u002Fpt\u002Flegal\u002Fterms","pt\u002F17.legal\u002F02.terms",false,{"id":707,"title":369,"body":708,"description":2271,"extension":2272,"links":2273,"meta":2274,"navigation":1027,"path":370,"seo":2275,"stem":371,"__hash__":2276},"docs_pt\u002Fpt\u002F12.api\u002F07.reference\u002F03.calls\u002F01.list-calls.md",{"type":709,"value":710,"toc":2261},"minimark",[711,728,739,768,773,778,957,961,1350,1354,1361,1369,1376,1736,2199,2203,2234,2257],[712,713,718],"pre",{"className":714,"code":715,"language":716,"meta":717,"style":717},"language-http shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","GET https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fcalls\n","http","",[719,720,721],"code",{"__ignoreMap":717},[722,723,726],"span",{"class":724,"line":725},"line",1,[722,727,715],{},[729,730,731,735,736],"p",{},[732,733,734],"strong",{},"Âmbito:"," ",[719,737,738],{},"calls:read",[729,740,741,742,747,748,751,752,755,756,759,760,763,764,767],{},"Tem dois modos de ",[743,744,746],"a",{"href":745},"\u002Fpt\u002Fapi\u002Fapi-channel#pagina%C3%A7%C3%A3o","paginação",": ",[732,749,750],{},"offset"," (por omissão, com ",[719,753,754],{},"total",") e ",[732,757,758],{},"cursor"," (",[719,761,762],{},"cursor=start",", depois o ",[719,765,766],{},"next_cursor"," recebido), melhor para exportar históricos grandes.",[769,770,772],"h2",{"id":771},"parâmetros","Parâmetros",[774,775,777],"h3",{"id":776},"na-query-string","Na query string",[779,780,781,800],"table",{},[782,783,784],"thead",{},[785,786,787,791,794,797],"tr",{},[788,789,790],"th",{},"Nome",[788,792,793],{},"Tipo",[788,795,796],{},"Obrigatório",[788,798,799],{},"Descrição",[801,802,803,827,841,875,903,921,937],"tbody",{},[785,804,805,811,814,817],{},[806,807,808],"td",{},[719,809,810],{},"search",[806,812,813],{},"string | null",[806,815,816],{},"Não",[806,818,819,820,823,824,826],{},"Texto no identificador, no ",[719,821,822],{},"external_ref",", no nome ou no contacto de quem ligou. Não funciona com ",[719,825,758],{},". Até 200 caracteres.",[785,828,829,834,836,838],{},[806,830,831],{},[719,832,833],{},"agent_id",[806,835,813],{},[806,837,816],{},[806,839,840],{},"Só chamadas deste agente.",[785,842,843,848,850,852],{},[806,844,845],{},[719,846,847],{},"status",[806,849,813],{},[806,851,816],{},[806,853,854,855,858,859,858,862,858,865,858,868,858,871,874],{},"Só chamadas neste estado. Um de: ",[719,856,857],{},"created",", ",[719,860,861],{},"active",[719,863,864],{},"completed",[719,866,867],{},"failed",[719,869,870],{},"cancelled",[719,872,873],{},"abandoned",".",[785,876,877,882,884,886],{},[806,878,879],{},[719,880,881],{},"channel",[806,883,813],{},[806,885,816],{},[806,887,888,889,892,893,858,896,899,900,874],{},"Só chamadas deste canal: ",[719,890,891],{},"browser_demo"," (chamada web), ",[719,894,895],{},"phone",[719,897,898],{},"whatsapp"," ou ",[719,901,902],{},"web_chat",[785,904,905,910,913,915],{},[806,906,907],{},[719,908,909],{},"limit",[806,911,912],{},"integer",[806,914,816],{},[806,916,917,918,874],{},"Quantas chamadas por página. Entre 1 e 200. Padrão: ",[719,919,920],{},"50",[785,922,923,927,929,931],{},[806,924,925],{},[719,926,750],{},[806,928,912],{},[806,930,816],{},[806,932,933,934,874],{},"Modo offset: quantas chamadas saltar. Mínimo 0. Padrão: ",[719,935,936],{},"0",[785,938,939,943,945,947],{},[806,940,941],{},[719,942,758],{},[806,944,813],{},[806,946,816],{},[806,948,949,950,953,954,956],{},"Modo cursor: ",[719,951,952],{},"start"," na primeira página, depois o ",[719,955,766],{}," recebido. Até 200 caracteres.",[769,958,960],{"id":959},"exemplos","Exemplos",[962,963,964,1010,1082,1269],"code-group",{},[712,965,970],{"className":966,"code":967,"filename":968,"language":969,"meta":717,"style":717},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl \"https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fcalls?limit=10\" \\\n  -H \"Authorization: Bearer $DISKA_API_KEY\"\n","cURL","bash",[719,971,972,993],{"__ignoreMap":717},[722,973,974,978,982,986,989],{"class":724,"line":725},[722,975,977],{"class":976},"sBMFI","curl",[722,979,981],{"class":980},"sMK4o"," \"",[722,983,985],{"class":984},"sfazB","https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fcalls?limit=10",[722,987,988],{"class":980},"\"",[722,990,992],{"class":991},"sTEyZ"," \\\n",[722,994,996,999,1001,1004,1007],{"class":724,"line":995},2,[722,997,998],{"class":984},"  -H",[722,1000,981],{"class":980},[722,1002,1003],{"class":984},"Authorization: Bearer ",[722,1005,1006],{"class":991},"$DISKA_API_KEY",[722,1008,1009],{"class":980},"\"\n",[712,1011,1016],{"className":1012,"code":1013,"filename":1014,"language":1015,"meta":717,"style":717},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import os\n\nimport requests\n\nresponse = requests.get(\n    \"https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fcalls?limit=10\",\n    headers={\"Authorization\": f\"Bearer {os.environ['DISKA_API_KEY']}\"},\n    timeout=30,\n)\nresponse.raise_for_status()\nprint(response.json())\n","Python","python",[719,1017,1018,1023,1029,1035,1040,1046,1052,1058,1064,1070,1076],{"__ignoreMap":717},[722,1019,1020],{"class":724,"line":725},[722,1021,1022],{},"import os\n",[722,1024,1025],{"class":724,"line":995},[722,1026,1028],{"emptyLinePlaceholder":1027},true,"\n",[722,1030,1032],{"class":724,"line":1031},3,[722,1033,1034],{},"import requests\n",[722,1036,1038],{"class":724,"line":1037},4,[722,1039,1028],{"emptyLinePlaceholder":1027},[722,1041,1043],{"class":724,"line":1042},5,[722,1044,1045],{},"response = requests.get(\n",[722,1047,1049],{"class":724,"line":1048},6,[722,1050,1051],{},"    \"https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fcalls?limit=10\",\n",[722,1053,1055],{"class":724,"line":1054},7,[722,1056,1057],{},"    headers={\"Authorization\": f\"Bearer {os.environ['DISKA_API_KEY']}\"},\n",[722,1059,1061],{"class":724,"line":1060},8,[722,1062,1063],{},"    timeout=30,\n",[722,1065,1067],{"class":724,"line":1066},9,[722,1068,1069],{},")\n",[722,1071,1073],{"class":724,"line":1072},10,[722,1074,1075],{},"response.raise_for_status()\n",[722,1077,1079],{"class":724,"line":1078},11,[722,1080,1081],{},"print(response.json())\n",[712,1083,1088],{"className":1084,"code":1085,"filename":1086,"language":1087,"meta":717,"style":717},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Node.js 18 ou superior, num ficheiro .mjs\nconst response = await fetch('https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fcalls?limit=10', {\n  headers: { Authorization: `Bearer ${process.env.DISKA_API_KEY}` }\n})\nif (!response.ok) throw new Error(`${response.status} ${await response.text()}`)\nconsole.log(await response.json())\n","JavaScript","js",[719,1089,1090,1096,1132,1177,1184,1245],{"__ignoreMap":717},[722,1091,1092],{"class":724,"line":725},[722,1093,1095],{"class":1094},"sHwdD","\u002F\u002F Node.js 18 ou superior, num ficheiro .mjs\n",[722,1097,1098,1102,1105,1108,1112,1116,1119,1122,1124,1126,1129],{"class":724,"line":995},[722,1099,1101],{"class":1100},"spNyl","const",[722,1103,1104],{"class":991}," response ",[722,1106,1107],{"class":980},"=",[722,1109,1111],{"class":1110},"s7zQu"," await",[722,1113,1115],{"class":1114},"s2Zo4"," fetch",[722,1117,1118],{"class":991},"(",[722,1120,1121],{"class":980},"'",[722,1123,985],{"class":984},[722,1125,1121],{"class":980},[722,1127,1128],{"class":980},",",[722,1130,1131],{"class":980}," {\n",[722,1133,1134,1138,1141,1144,1147,1149,1152,1155,1158,1161,1163,1166,1168,1171,1174],{"class":724,"line":1031},[722,1135,1137],{"class":1136},"swJcz","  headers",[722,1139,1140],{"class":980},":",[722,1142,1143],{"class":980}," {",[722,1145,1146],{"class":1136}," Authorization",[722,1148,1140],{"class":980},[722,1150,1151],{"class":980}," `",[722,1153,1154],{"class":984},"Bearer ",[722,1156,1157],{"class":980},"${",[722,1159,1160],{"class":991},"process",[722,1162,874],{"class":980},[722,1164,1165],{"class":991},"env",[722,1167,874],{"class":980},[722,1169,1170],{"class":991},"DISKA_API_KEY",[722,1172,1173],{"class":980},"}`",[722,1175,1176],{"class":980}," }\n",[722,1178,1179,1182],{"class":724,"line":1037},[722,1180,1181],{"class":980},"}",[722,1183,1069],{"class":991},[722,1185,1186,1189,1191,1194,1197,1199,1202,1205,1208,1211,1213,1216,1218,1220,1222,1224,1227,1230,1233,1235,1238,1241,1243],{"class":724,"line":1042},[722,1187,1188],{"class":1110},"if",[722,1190,759],{"class":991},[722,1192,1193],{"class":980},"!",[722,1195,1196],{"class":991},"response",[722,1198,874],{"class":980},[722,1200,1201],{"class":991},"ok) ",[722,1203,1204],{"class":1110},"throw",[722,1206,1207],{"class":980}," new",[722,1209,1210],{"class":1114}," Error",[722,1212,1118],{"class":991},[722,1214,1215],{"class":980},"`${",[722,1217,1196],{"class":991},[722,1219,874],{"class":980},[722,1221,847],{"class":991},[722,1223,1181],{"class":980},[722,1225,1226],{"class":980}," ${",[722,1228,1229],{"class":1110},"await",[722,1231,1232],{"class":991}," response",[722,1234,874],{"class":980},[722,1236,1237],{"class":1114},"text",[722,1239,1240],{"class":991},"()",[722,1242,1173],{"class":980},[722,1244,1069],{"class":991},[722,1246,1247,1250,1252,1255,1257,1259,1261,1263,1266],{"class":724,"line":1048},[722,1248,1249],{"class":991},"console",[722,1251,874],{"class":980},[722,1253,1254],{"class":1114},"log",[722,1256,1118],{"class":991},[722,1258,1229],{"class":1110},[722,1260,1232],{"class":991},[722,1262,874],{"class":980},[722,1264,1265],{"class":1114},"json",[722,1267,1268],{"class":991},"())\n",[712,1270,1275],{"className":1271,"code":1272,"filename":1273,"language":1274,"meta":717,"style":717},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003C?php\n$ch = curl_init('https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fcalls?limit=10');\ncurl_setopt_array($ch, [\n    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('DISKA_API_KEY')],\n    CURLOPT_RETURNTRANSFER => true,\n    CURLOPT_TIMEOUT => 30,\n]);\n$body = curl_exec($ch);\n$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);\ncurl_close($ch);\nif ($status >= 400) {\n    throw new RuntimeException(\"HTTP $status: $body\");\n}\nprint_r(json_decode($body, true));\n","PHP","php",[719,1276,1277,1282,1287,1292,1297,1302,1307,1312,1317,1322,1327,1332,1338,1344],{"__ignoreMap":717},[722,1278,1279],{"class":724,"line":725},[722,1280,1281],{},"\u003C?php\n",[722,1283,1284],{"class":724,"line":995},[722,1285,1286],{},"$ch = curl_init('https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fcalls?limit=10');\n",[722,1288,1289],{"class":724,"line":1031},[722,1290,1291],{},"curl_setopt_array($ch, [\n",[722,1293,1294],{"class":724,"line":1037},[722,1295,1296],{},"    CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('DISKA_API_KEY')],\n",[722,1298,1299],{"class":724,"line":1042},[722,1300,1301],{},"    CURLOPT_RETURNTRANSFER => true,\n",[722,1303,1304],{"class":724,"line":1048},[722,1305,1306],{},"    CURLOPT_TIMEOUT => 30,\n",[722,1308,1309],{"class":724,"line":1054},[722,1310,1311],{},"]);\n",[722,1313,1314],{"class":724,"line":1060},[722,1315,1316],{},"$body = curl_exec($ch);\n",[722,1318,1319],{"class":724,"line":1066},[722,1320,1321],{},"$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);\n",[722,1323,1324],{"class":724,"line":1072},[722,1325,1326],{},"curl_close($ch);\n",[722,1328,1329],{"class":724,"line":1078},[722,1330,1331],{},"if ($status >= 400) {\n",[722,1333,1335],{"class":724,"line":1334},12,[722,1336,1337],{},"    throw new RuntimeException(\"HTTP $status: $body\");\n",[722,1339,1341],{"class":724,"line":1340},13,[722,1342,1343],{},"}\n",[722,1345,1347],{"class":724,"line":1346},14,[722,1348,1349],{},"print_r(json_decode($body, true));\n",[769,1351,1353],{"id":1352},"experimentar","Experimentar",[729,1355,1356,1357,1360],{},"Envie o pedido a partir desta página, com a sua chave. A chave fica só nesta página: não é guardada e só é enviada para ",[719,1358,1359],{},"api.diska.ai",". Use uma chave de teste com os âmbitos mínimos.",[1362,1363],"api-playground",{":params":1364,"body-type":1365,"locale":1366,"method":1367,"path":1368},"[{\"name\":\"search\",\"in\":\"query\"},{\"name\":\"agent_id\",\"in\":\"query\"},{\"name\":\"status\",\"in\":\"query\",\"options\":[\"created\",\"active\",\"completed\",\"failed\",\"cancelled\",\"abandoned\"]},{\"name\":\"channel\",\"in\":\"query\",\"options\":[\"browser_demo\",\"phone\",\"whatsapp\",\"web_chat\"]},{\"name\":\"limit\",\"in\":\"query\",\"value\":\"10\"},{\"name\":\"offset\",\"in\":\"query\"},{\"name\":\"cursor\",\"in\":\"query\"}]","none","pt","GET","\u002Fv1\u002Fcalls",[769,1370,1372,1373],{"id":1371},"resposta-200","Resposta ",[719,1374,1375],{},"200",[779,1377,1378,1389],{},[782,1379,1380],{},[785,1381,1382,1385,1387],{},[788,1383,1384],{},"Campo",[788,1386,793],{},[788,1388,799],{},[801,1390,1391,1407,1424,1439,1451,1463,1485,1507,1533,1545,1557,1569,1581,1594,1606,1618,1639,1653,1670,1684,1695,1709,1722],{},[785,1392,1393,1398,1404],{},[806,1394,1395],{},[719,1396,1397],{},"items",[806,1399,1400,1401],{},"array",[1402,1403],"object",{},[806,1405,1406],{},"As chamadas desta página.",[785,1408,1409,1414,1417],{},[806,1410,1411],{},[719,1412,1413],{},"items[].id",[806,1415,1416],{},"string",[806,1418,1419,1420,1423],{},"Identificador da chamada (o ",[719,1421,1422],{},"call_id"," dos webhooks).",[785,1425,1426,1431,1433],{},[806,1427,1428],{},[719,1429,1430],{},"items[].external_ref",[806,1432,813],{},[806,1434,1435,1436,1423],{},"Identificador da sessão de voz (o ",[719,1437,1438],{},"session_id",[785,1440,1441,1446,1448],{},[806,1442,1443],{},[719,1444,1445],{},"items[].agent_id",[806,1447,813],{},[806,1449,1450],{},"Agente que atendeu.",[785,1452,1453,1458,1460],{},[806,1454,1455],{},[719,1456,1457],{},"items[].agent_name",[806,1459,813],{},[806,1461,1462],{},"Nome do agente que atendeu.",[785,1464,1465,1470,1472],{},[806,1466,1467],{},[719,1468,1469],{},"items[].channel",[806,1471,1416],{},[806,1473,1474,892,1476,858,1478,899,1480,1482,1483,874],{},[719,1475,891],{},[719,1477,895],{},[719,1479,898],{},[719,1481,902],{},". Padrão: ",[719,1484,891],{},[785,1486,1487,1492,1494],{},[806,1488,1489],{},[719,1490,1491],{},"items[].direction",[806,1493,813],{},[806,1495,1496,858,1499,1502,1503,1506],{},[719,1497,1498],{},"inbound",[719,1500,1501],{},"outbound",", ou ",[719,1504,1505],{},"null"," em chamadas web.",[785,1508,1509,1514,1516],{},[806,1510,1511],{},[719,1512,1513],{},"items[].status",[806,1515,1416],{},[806,1517,1518,1519,858,1521,858,1523,858,1525,858,1527,858,1529,1482,1531,874],{},"Estado da chamada. Um de: ",[719,1520,857],{},[719,1522,861],{},[719,1524,864],{},[719,1526,867],{},[719,1528,870],{},[719,1530,873],{},[719,1532,857],{},[785,1534,1535,1540,1542],{},[806,1536,1537],{},[719,1538,1539],{},"items[].caller_name",[806,1541,813],{},[806,1543,1544],{},"Nome de quem ligou, quando conhecido.",[785,1546,1547,1552,1554],{},[806,1548,1549],{},[719,1550,1551],{},"items[].caller_contact",[806,1553,813],{},[806,1555,1556],{},"Contacto de quem ligou, quando conhecido.",[785,1558,1559,1564,1566],{},[806,1560,1561],{},[719,1562,1563],{},"items[].started_at",[806,1565,813],{},[806,1567,1568],{},"Início da chamada.",[785,1570,1571,1576,1578],{},[806,1572,1573],{},[719,1574,1575],{},"items[].ended_at",[806,1577,813],{},[806,1579,1580],{},"Fim da chamada.",[785,1582,1583,1588,1591],{},[806,1584,1585],{},[719,1586,1587],{},"items[].duration_seconds",[806,1589,1590],{},"integer | null",[806,1592,1593],{},"Duração em segundos.",[785,1595,1596,1601,1603],{},[806,1597,1598],{},[719,1599,1600],{},"items[].end_reason",[806,1602,813],{},[806,1604,1605],{},"Motivo do fim da chamada.",[785,1607,1608,1613,1615],{},[806,1609,1610],{},[719,1611,1612],{},"items[].summary",[806,1614,813],{},[806,1616,1617],{},"Resumo da chamada, quando gerado.",[785,1619,1620,1625,1628],{},[806,1621,1622],{},[719,1623,1624],{},"items[].is_simulation",[806,1626,1627],{},"boolean",[806,1629,1630,1633,1634,1636,1637,874],{},[719,1631,1632],{},"true"," em chamadas web de teste (",[719,1635,891],{},"). Padrão: ",[719,1638,1632],{},[785,1640,1641,1646,1650],{},[806,1642,1643],{},[719,1644,1645],{},"items[].labels",[806,1647,1400,1648],{},[1416,1649],{},[806,1651,1652],{},"Etiquetas da chamada.",[785,1654,1655,1660,1662],{},[806,1656,1657],{},[719,1658,1659],{},"items[].has_post_call",[806,1661,1627],{},[806,1663,1664,1666,1667,874],{},[719,1665,1632],{}," quando existe resultado pós-chamada. Padrão: ",[719,1668,1669],{},"false",[785,1671,1672,1677,1679],{},[806,1673,1674],{},[719,1675,1676],{},"items[].executed_actions_count",[806,1678,912],{},[806,1680,1681,1682,874],{},"Número de acções executadas. Padrão: ",[719,1683,936],{},[785,1685,1686,1690,1692],{},[806,1687,1688],{},[719,1689,909],{},[806,1691,912],{},[806,1693,1694],{},"Tamanho da página pedido.",[785,1696,1697,1701,1703],{},[806,1698,1699],{},[719,1700,754],{},[806,1702,1590],{},[806,1704,1705,1706,1708],{},"Total de chamadas com estes filtros (modo offset); ",[719,1707,1505],{}," em modo cursor.",[785,1710,1711,1715,1717],{},[806,1712,1713],{},[719,1714,750],{},[806,1716,1590],{},[806,1718,1719,1720,1708],{},"Offset desta página (modo offset); ",[719,1721,1505],{},[785,1723,1724,1728,1730],{},[806,1725,1726],{},[719,1727,766],{},[806,1729,813],{},[806,1731,1732,1733,1735],{},"Cursor da página seguinte (modo cursor), ou ",[719,1734,1505],{}," no fim.",[712,1737,1740],{"className":1738,"code":1739,"language":1265,"meta":717,"style":717},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"items\": [\n    {\n      \"id\": \"8d0c6a3e-2f14-4b7a-9c55-1e3f0a6d2b81\",\n      \"external_ref\": \"sess_7f3a9c1e\",\n      \"agent_id\": \"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\n      \"agent_name\": \"Recepção\",\n      \"channel\": \"phone\",\n      \"direction\": \"inbound\",\n      \"status\": \"completed\",\n      \"caller_name\": \"Ana Silva\",\n      \"caller_contact\": \"+244900000000\",\n      \"started_at\": \"2026-10-25T18:40:00Z\",\n      \"ended_at\": \"2026-10-25T18:41:35Z\",\n      \"duration_seconds\": 95,\n      \"end_reason\": \"caller_hangup\",\n      \"summary\": \"O cliente pediu o horário de abertura e marcou uma visita para sexta-feira.\",\n      \"is_simulation\": false,\n      \"labels\": [\n        \"urgente\"\n      ],\n      \"has_post_call\": false,\n      \"executed_actions_count\": 2\n    }\n  ],\n  \"limit\": 50,\n  \"total\": 1,\n  \"offset\": 0,\n  \"next_cursor\": \"…\"\n}\n",[719,1741,1742,1747,1761,1766,1788,1807,1826,1846,1864,1883,1901,1921,1941,1961,1981,1999,2020,2041,2056,2070,2081,2087,2101,2116,2122,2128,2144,2160,2176,2194],{"__ignoreMap":717},[722,1743,1744],{"class":724,"line":725},[722,1745,1746],{"class":980},"{\n",[722,1748,1749,1752,1754,1756,1758],{"class":724,"line":995},[722,1750,1751],{"class":980},"  \"",[722,1753,1397],{"class":1100},[722,1755,988],{"class":980},[722,1757,1140],{"class":980},[722,1759,1760],{"class":980}," [\n",[722,1762,1763],{"class":724,"line":1031},[722,1764,1765],{"class":980},"    {\n",[722,1767,1768,1771,1774,1776,1778,1780,1783,1785],{"class":724,"line":1037},[722,1769,1770],{"class":980},"      \"",[722,1772,1773],{"class":976},"id",[722,1775,988],{"class":980},[722,1777,1140],{"class":980},[722,1779,981],{"class":980},[722,1781,1782],{"class":984},"8d0c6a3e-2f14-4b7a-9c55-1e3f0a6d2b81",[722,1784,988],{"class":980},[722,1786,1787],{"class":980},",\n",[722,1789,1790,1792,1794,1796,1798,1800,1803,1805],{"class":724,"line":1042},[722,1791,1770],{"class":980},[722,1793,822],{"class":976},[722,1795,988],{"class":980},[722,1797,1140],{"class":980},[722,1799,981],{"class":980},[722,1801,1802],{"class":984},"sess_7f3a9c1e",[722,1804,988],{"class":980},[722,1806,1787],{"class":980},[722,1808,1809,1811,1813,1815,1817,1819,1822,1824],{"class":724,"line":1048},[722,1810,1770],{"class":980},[722,1812,833],{"class":976},[722,1814,988],{"class":980},[722,1816,1140],{"class":980},[722,1818,981],{"class":980},[722,1820,1821],{"class":984},"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40",[722,1823,988],{"class":980},[722,1825,1787],{"class":980},[722,1827,1828,1830,1833,1835,1837,1839,1842,1844],{"class":724,"line":1054},[722,1829,1770],{"class":980},[722,1831,1832],{"class":976},"agent_name",[722,1834,988],{"class":980},[722,1836,1140],{"class":980},[722,1838,981],{"class":980},[722,1840,1841],{"class":984},"Recepção",[722,1843,988],{"class":980},[722,1845,1787],{"class":980},[722,1847,1848,1850,1852,1854,1856,1858,1860,1862],{"class":724,"line":1060},[722,1849,1770],{"class":980},[722,1851,881],{"class":976},[722,1853,988],{"class":980},[722,1855,1140],{"class":980},[722,1857,981],{"class":980},[722,1859,895],{"class":984},[722,1861,988],{"class":980},[722,1863,1787],{"class":980},[722,1865,1866,1868,1871,1873,1875,1877,1879,1881],{"class":724,"line":1066},[722,1867,1770],{"class":980},[722,1869,1870],{"class":976},"direction",[722,1872,988],{"class":980},[722,1874,1140],{"class":980},[722,1876,981],{"class":980},[722,1878,1498],{"class":984},[722,1880,988],{"class":980},[722,1882,1787],{"class":980},[722,1884,1885,1887,1889,1891,1893,1895,1897,1899],{"class":724,"line":1072},[722,1886,1770],{"class":980},[722,1888,847],{"class":976},[722,1890,988],{"class":980},[722,1892,1140],{"class":980},[722,1894,981],{"class":980},[722,1896,864],{"class":984},[722,1898,988],{"class":980},[722,1900,1787],{"class":980},[722,1902,1903,1905,1908,1910,1912,1914,1917,1919],{"class":724,"line":1078},[722,1904,1770],{"class":980},[722,1906,1907],{"class":976},"caller_name",[722,1909,988],{"class":980},[722,1911,1140],{"class":980},[722,1913,981],{"class":980},[722,1915,1916],{"class":984},"Ana Silva",[722,1918,988],{"class":980},[722,1920,1787],{"class":980},[722,1922,1923,1925,1928,1930,1932,1934,1937,1939],{"class":724,"line":1334},[722,1924,1770],{"class":980},[722,1926,1927],{"class":976},"caller_contact",[722,1929,988],{"class":980},[722,1931,1140],{"class":980},[722,1933,981],{"class":980},[722,1935,1936],{"class":984},"+244900000000",[722,1938,988],{"class":980},[722,1940,1787],{"class":980},[722,1942,1943,1945,1948,1950,1952,1954,1957,1959],{"class":724,"line":1340},[722,1944,1770],{"class":980},[722,1946,1947],{"class":976},"started_at",[722,1949,988],{"class":980},[722,1951,1140],{"class":980},[722,1953,981],{"class":980},[722,1955,1956],{"class":984},"2026-10-25T18:40:00Z",[722,1958,988],{"class":980},[722,1960,1787],{"class":980},[722,1962,1963,1965,1968,1970,1972,1974,1977,1979],{"class":724,"line":1346},[722,1964,1770],{"class":980},[722,1966,1967],{"class":976},"ended_at",[722,1969,988],{"class":980},[722,1971,1140],{"class":980},[722,1973,981],{"class":980},[722,1975,1976],{"class":984},"2026-10-25T18:41:35Z",[722,1978,988],{"class":980},[722,1980,1787],{"class":980},[722,1982,1984,1986,1989,1991,1993,1997],{"class":724,"line":1983},15,[722,1985,1770],{"class":980},[722,1987,1988],{"class":976},"duration_seconds",[722,1990,988],{"class":980},[722,1992,1140],{"class":980},[722,1994,1996],{"class":1995},"sbssI"," 95",[722,1998,1787],{"class":980},[722,2000,2002,2004,2007,2009,2011,2013,2016,2018],{"class":724,"line":2001},16,[722,2003,1770],{"class":980},[722,2005,2006],{"class":976},"end_reason",[722,2008,988],{"class":980},[722,2010,1140],{"class":980},[722,2012,981],{"class":980},[722,2014,2015],{"class":984},"caller_hangup",[722,2017,988],{"class":980},[722,2019,1787],{"class":980},[722,2021,2023,2025,2028,2030,2032,2034,2037,2039],{"class":724,"line":2022},17,[722,2024,1770],{"class":980},[722,2026,2027],{"class":976},"summary",[722,2029,988],{"class":980},[722,2031,1140],{"class":980},[722,2033,981],{"class":980},[722,2035,2036],{"class":984},"O cliente pediu o horário de abertura e marcou uma visita para sexta-feira.",[722,2038,988],{"class":980},[722,2040,1787],{"class":980},[722,2042,2044,2046,2049,2051,2053],{"class":724,"line":2043},18,[722,2045,1770],{"class":980},[722,2047,2048],{"class":976},"is_simulation",[722,2050,988],{"class":980},[722,2052,1140],{"class":980},[722,2054,2055],{"class":980}," false,\n",[722,2057,2059,2061,2064,2066,2068],{"class":724,"line":2058},19,[722,2060,1770],{"class":980},[722,2062,2063],{"class":976},"labels",[722,2065,988],{"class":980},[722,2067,1140],{"class":980},[722,2069,1760],{"class":980},[722,2071,2073,2076,2079],{"class":724,"line":2072},20,[722,2074,2075],{"class":980},"        \"",[722,2077,2078],{"class":984},"urgente",[722,2080,1009],{"class":980},[722,2082,2084],{"class":724,"line":2083},21,[722,2085,2086],{"class":980},"      ],\n",[722,2088,2090,2092,2095,2097,2099],{"class":724,"line":2089},22,[722,2091,1770],{"class":980},[722,2093,2094],{"class":976},"has_post_call",[722,2096,988],{"class":980},[722,2098,1140],{"class":980},[722,2100,2055],{"class":980},[722,2102,2104,2106,2109,2111,2113],{"class":724,"line":2103},23,[722,2105,1770],{"class":980},[722,2107,2108],{"class":976},"executed_actions_count",[722,2110,988],{"class":980},[722,2112,1140],{"class":980},[722,2114,2115],{"class":1995}," 2\n",[722,2117,2119],{"class":724,"line":2118},24,[722,2120,2121],{"class":980},"    }\n",[722,2123,2125],{"class":724,"line":2124},25,[722,2126,2127],{"class":980},"  ],\n",[722,2129,2131,2133,2135,2137,2139,2142],{"class":724,"line":2130},26,[722,2132,1751],{"class":980},[722,2134,909],{"class":1100},[722,2136,988],{"class":980},[722,2138,1140],{"class":980},[722,2140,2141],{"class":1995}," 50",[722,2143,1787],{"class":980},[722,2145,2147,2149,2151,2153,2155,2158],{"class":724,"line":2146},27,[722,2148,1751],{"class":980},[722,2150,754],{"class":1100},[722,2152,988],{"class":980},[722,2154,1140],{"class":980},[722,2156,2157],{"class":1995}," 1",[722,2159,1787],{"class":980},[722,2161,2163,2165,2167,2169,2171,2174],{"class":724,"line":2162},28,[722,2164,1751],{"class":980},[722,2166,750],{"class":1100},[722,2168,988],{"class":980},[722,2170,1140],{"class":980},[722,2172,2173],{"class":1995}," 0",[722,2175,1787],{"class":980},[722,2177,2179,2181,2183,2185,2187,2189,2192],{"class":724,"line":2178},29,[722,2180,1751],{"class":980},[722,2182,766],{"class":1100},[722,2184,988],{"class":980},[722,2186,1140],{"class":980},[722,2188,981],{"class":980},[722,2190,2191],{"class":984},"…",[722,2193,1009],{"class":980},[722,2195,2197],{"class":724,"line":2196},30,[722,2198,1343],{"class":980},[769,2200,2202],{"id":2201},"erros","Erros",[779,2204,2205,2215],{},[782,2206,2207],{},[785,2208,2209,2212],{},[788,2210,2211],{},"Código",[788,2213,2214],{},"Quando",[801,2216,2217],{},[785,2218,2219,2224],{},[806,2220,2221],{},[719,2222,2223],{},"400",[806,2225,2226,1502,2229,2231,2232,874],{},[719,2227,2228],{},"Cursor inválido.",[719,2230,810],{}," usado com ",[719,2233,758],{},[729,2235,2236,2237,858,2240,858,2243,858,2246,2249,2250,2253,2254,874],{},"Os erros comuns a todos os endpoints (",[719,2238,2239],{},"401",[719,2241,2242],{},"403",[719,2244,2245],{},"422",[719,2247,2248],{},"429"," e ",[719,2251,2252],{},"5xx",") estão em ",[743,2255,2202],{"href":2256},"\u002Fpt\u002Fapi\u002Fapi-channel#erros",[2258,2259,2260],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":717,"searchDepth":995,"depth":995,"links":2262},[2263,2266,2267,2268,2270],{"id":771,"depth":995,"text":772,"children":2264},[2265],{"id":776,"depth":1031,"text":777},{"id":959,"depth":995,"text":960},{"id":1352,"depth":995,"text":1353},{"id":1371,"depth":995,"text":2269},"Resposta 200",{"id":2201,"depth":995,"text":2202},"Lista as chamadas da organização, da mais recente para a mais antiga.","md",null,{},{"title":369,"description":2271},"M3CgQ00G6fwYEoAEyTgqlioP6Dbbd7jXzwF5m8IIe84",[2278,2280],{"title":258,"path":364,"stem":365,"description":2279,"children":-1},"O histórico de chamadas da organização e o detalhe de cada uma: transcrição, acções executadas e resultado pós-chamada.",{"title":373,"path":374,"stem":375,"description":2281,"children":-1},"Devolve uma chamada com todos os campos da lista e ainda a transcrição (messages), as acções executadas (tool_calls), o resultado pós-chamada (post_call) e o estado da gravação.",1795253900047]