[{"data":1,"prerenderedAt":2290},["ShallowReactive",2],{"navigation_docs_pt":3,"-pt-api-reference-chats-create-chat":706,"-pt-api-reference-chats-create-chat-surround":2285},[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":447,"body":708,"description":2279,"extension":2280,"links":2281,"meta":2282,"navigation":1098,"path":448,"seo":2283,"stem":449,"__hash__":2284},"docs_pt\u002Fpt\u002F12.api\u002F07.reference\u002F06.chats\u002F01.create-chat.md",{"type":709,"value":710,"toc":2271},"minimark",[711,728,739,758,763,768,854,1000,1004,1709,1713,1720,1726,1733,1928,2185,2189,2245,2267],[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","POST https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fchats\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],{},"chats:write",[729,740,741,742,745,746,749,750,753,754,757],{},"Se o agente fala primeiro e tem saudação, a resposta já traz essa mensagem. A conversa aparece também em ",[719,743,744],{},"GET \u002Fv1\u002Fcalls",", com o canal ",[719,747,748],{},"web_chat",". ",[719,751,752],{},"metadata"," é seu: é guardada e devolvida, mas o agente nunca a vê. Envie ",[719,755,756],{},"Idempotency-Key"," para repetir o pedido sem abrir duas conversas.",[759,760,762],"h2",{"id":761},"corpo-do-pedido","Corpo do pedido",[729,764,765],{},[719,766,767],{},"application\u002Fjson",[769,770,771,790],"table",{},[772,773,774],"thead",{},[775,776,777,781,784,787],"tr",{},[778,779,780],"th",{},"Campo",[778,782,783],{},"Tipo",[778,785,786],{},"Obrigatório",[778,788,789],{},"Descrição",[791,792,793,810,826,839],"tbody",{},[775,794,795,801,804,807],{},[796,797,798],"td",{},[719,799,800],{},"agent_id",[796,802,803],{},"string",[796,805,806],{},"Sim",[796,808,809],{},"Agente publicado em modo prompt. Até 64 caracteres.",[775,811,812,817,820,823],{},[796,813,814],{},[719,815,816],{},"variables",[796,818,819],{},"object",[796,821,822],{},"Não",[796,824,825],{},"Variáveis da conversa (até 20), como nas chamadas.",[775,827,828,832,834,836],{},[796,829,830],{},[719,831,752],{},[796,833,819],{},[796,835,822],{},[796,837,838],{},"Até 20 pares texto → texto (500 caracteres por valor), só para si.",[775,840,841,846,849,851],{},[796,842,843],{},[719,844,845],{},"contact",[796,847,848],{},"string | null",[796,850,822],{},[796,852,853],{},"Quem conversa: telefone, e-mail ou o seu identificador. Até 120 caracteres.",[712,855,859],{"className":856,"code":857,"language":858,"meta":717,"style":717},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"agent_id\": \"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\n  \"contact\": \"+244923000000\",\n  \"variables\": {\n    \"nome\": \"Ana\"\n  },\n  \"metadata\": {\n    \"crm_ticket\": \"T-1042\"\n  }\n}\n","json",[719,860,861,867,894,914,928,950,956,969,988,994],{"__ignoreMap":717},[722,862,863],{"class":724,"line":725},[722,864,866],{"class":865},"sMK4o","{\n",[722,868,870,873,876,879,882,885,889,891],{"class":724,"line":869},2,[722,871,872],{"class":865},"  \"",[722,874,800],{"class":875},"spNyl",[722,877,878],{"class":865},"\"",[722,880,881],{"class":865},":",[722,883,884],{"class":865}," \"",[722,886,888],{"class":887},"sfazB","3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40",[722,890,878],{"class":865},[722,892,893],{"class":865},",\n",[722,895,897,899,901,903,905,907,910,912],{"class":724,"line":896},3,[722,898,872],{"class":865},[722,900,845],{"class":875},[722,902,878],{"class":865},[722,904,881],{"class":865},[722,906,884],{"class":865},[722,908,909],{"class":887},"+244923000000",[722,911,878],{"class":865},[722,913,893],{"class":865},[722,915,917,919,921,923,925],{"class":724,"line":916},4,[722,918,872],{"class":865},[722,920,816],{"class":875},[722,922,878],{"class":865},[722,924,881],{"class":865},[722,926,927],{"class":865}," {\n",[722,929,931,934,938,940,942,944,947],{"class":724,"line":930},5,[722,932,933],{"class":865},"    \"",[722,935,937],{"class":936},"sBMFI","nome",[722,939,878],{"class":865},[722,941,881],{"class":865},[722,943,884],{"class":865},[722,945,946],{"class":887},"Ana",[722,948,949],{"class":865},"\"\n",[722,951,953],{"class":724,"line":952},6,[722,954,955],{"class":865},"  },\n",[722,957,959,961,963,965,967],{"class":724,"line":958},7,[722,960,872],{"class":865},[722,962,752],{"class":875},[722,964,878],{"class":865},[722,966,881],{"class":865},[722,968,927],{"class":865},[722,970,972,974,977,979,981,983,986],{"class":724,"line":971},8,[722,973,933],{"class":865},[722,975,976],{"class":936},"crm_ticket",[722,978,878],{"class":865},[722,980,881],{"class":865},[722,982,884],{"class":865},[722,984,985],{"class":887},"T-1042",[722,987,949],{"class":865},[722,989,991],{"class":724,"line":990},9,[722,992,993],{"class":865},"  }\n",[722,995,997],{"class":724,"line":996},10,[722,998,999],{"class":865},"}\n",[759,1001,1003],{"id":1002},"exemplos","Exemplos",[1005,1006,1007,1081,1204,1556],"code-group",{},[712,1008,1013],{"className":1009,"code":1010,"filename":1011,"language":1012,"meta":717,"style":717},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -X POST \"https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fchats\" \\\n  -H \"Authorization: Bearer $DISKA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"agent_id\":\"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\"contact\":\"+244923000000\",\"variables\":{\"nome\":\"Ana\"},\"metadata\":{\"crm_ticket\":\"T-1042\"}}'\n","cURL","bash",[719,1014,1015,1037,1054,1067],{"__ignoreMap":717},[722,1016,1017,1020,1023,1026,1028,1031,1033],{"class":724,"line":725},[722,1018,1019],{"class":936},"curl",[722,1021,1022],{"class":887}," -X",[722,1024,1025],{"class":887}," POST",[722,1027,884],{"class":865},[722,1029,1030],{"class":887},"https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fchats",[722,1032,878],{"class":865},[722,1034,1036],{"class":1035},"sTEyZ"," \\\n",[722,1038,1039,1042,1044,1047,1050,1052],{"class":724,"line":869},[722,1040,1041],{"class":887},"  -H",[722,1043,884],{"class":865},[722,1045,1046],{"class":887},"Authorization: Bearer ",[722,1048,1049],{"class":1035},"$DISKA_API_KEY",[722,1051,878],{"class":865},[722,1053,1036],{"class":1035},[722,1055,1056,1058,1060,1063,1065],{"class":724,"line":896},[722,1057,1041],{"class":887},[722,1059,884],{"class":865},[722,1061,1062],{"class":887},"Content-Type: application\u002Fjson",[722,1064,878],{"class":865},[722,1066,1036],{"class":1035},[722,1068,1069,1072,1075,1078],{"class":724,"line":916},[722,1070,1071],{"class":887},"  -d",[722,1073,1074],{"class":865}," '",[722,1076,1077],{"class":887},"{\"agent_id\":\"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\"contact\":\"+244923000000\",\"variables\":{\"nome\":\"Ana\"},\"metadata\":{\"crm_ticket\":\"T-1042\"}}",[722,1079,1080],{"class":865},"'\n",[712,1082,1087],{"className":1083,"code":1084,"filename":1085,"language":1086,"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.post(\n    \"https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fchats\",\n    headers={\"Authorization\": f\"Bearer {os.environ['DISKA_API_KEY']}\"},\n    json={\n        \"agent_id\": \"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\n        \"contact\": \"+244923000000\",\n        \"variables\": {\n            \"nome\": \"Ana\",\n        },\n        \"metadata\": {\n            \"crm_ticket\": \"T-1042\",\n        },\n    },\n    timeout=30,\n)\nresponse.raise_for_status()\nprint(response.json())\n","Python","python",[719,1088,1089,1094,1100,1105,1109,1114,1119,1124,1129,1134,1139,1145,1151,1157,1163,1169,1174,1180,1186,1192,1198],{"__ignoreMap":717},[722,1090,1091],{"class":724,"line":725},[722,1092,1093],{},"import os\n",[722,1095,1096],{"class":724,"line":869},[722,1097,1099],{"emptyLinePlaceholder":1098},true,"\n",[722,1101,1102],{"class":724,"line":896},[722,1103,1104],{},"import requests\n",[722,1106,1107],{"class":724,"line":916},[722,1108,1099],{"emptyLinePlaceholder":1098},[722,1110,1111],{"class":724,"line":930},[722,1112,1113],{},"response = requests.post(\n",[722,1115,1116],{"class":724,"line":952},[722,1117,1118],{},"    \"https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fchats\",\n",[722,1120,1121],{"class":724,"line":958},[722,1122,1123],{},"    headers={\"Authorization\": f\"Bearer {os.environ['DISKA_API_KEY']}\"},\n",[722,1125,1126],{"class":724,"line":971},[722,1127,1128],{},"    json={\n",[722,1130,1131],{"class":724,"line":990},[722,1132,1133],{},"        \"agent_id\": \"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\n",[722,1135,1136],{"class":724,"line":996},[722,1137,1138],{},"        \"contact\": \"+244923000000\",\n",[722,1140,1142],{"class":724,"line":1141},11,[722,1143,1144],{},"        \"variables\": {\n",[722,1146,1148],{"class":724,"line":1147},12,[722,1149,1150],{},"            \"nome\": \"Ana\",\n",[722,1152,1154],{"class":724,"line":1153},13,[722,1155,1156],{},"        },\n",[722,1158,1160],{"class":724,"line":1159},14,[722,1161,1162],{},"        \"metadata\": {\n",[722,1164,1166],{"class":724,"line":1165},15,[722,1167,1168],{},"            \"crm_ticket\": \"T-1042\",\n",[722,1170,1172],{"class":724,"line":1171},16,[722,1173,1156],{},[722,1175,1177],{"class":724,"line":1176},17,[722,1178,1179],{},"    },\n",[722,1181,1183],{"class":724,"line":1182},18,[722,1184,1185],{},"    timeout=30,\n",[722,1187,1189],{"class":724,"line":1188},19,[722,1190,1191],{},")\n",[722,1193,1195],{"class":724,"line":1194},20,[722,1196,1197],{},"response.raise_for_status()\n",[722,1199,1201],{"class":724,"line":1200},21,[722,1202,1203],{},"print(response.json())\n",[712,1205,1210],{"className":1206,"code":1207,"filename":1208,"language":1209,"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\u002Fchats', {\n  method: 'POST',\n  headers: {\n    Authorization: `Bearer ${process.env.DISKA_API_KEY}`,\n    'Content-Type': 'application\u002Fjson'\n  },\n  body: JSON.stringify({\n    \"agent_id\": \"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\n    \"contact\": \"+244923000000\",\n    \"variables\": {\n      \"nome\": \"Ana\"\n    },\n    \"metadata\": {\n      \"crm_ticket\": \"T-1042\"\n    }\n  })\n})\nif (!response.ok) throw new Error(`${response.status} ${await response.text()}`)\nconsole.log(await response.json())\n","JavaScript","js",[719,1211,1212,1218,1252,1269,1278,1313,1331,1335,1354,1372,1390,1402,1419,1423,1435,1451,1456,1463,1470,1533],{"__ignoreMap":717},[722,1213,1214],{"class":724,"line":725},[722,1215,1217],{"class":1216},"sHwdD","\u002F\u002F Node.js 18 ou superior, num ficheiro .mjs\n",[722,1219,1220,1223,1226,1229,1233,1237,1240,1243,1245,1247,1250],{"class":724,"line":869},[722,1221,1222],{"class":875},"const",[722,1224,1225],{"class":1035}," response ",[722,1227,1228],{"class":865},"=",[722,1230,1232],{"class":1231},"s7zQu"," await",[722,1234,1236],{"class":1235},"s2Zo4"," fetch",[722,1238,1239],{"class":1035},"(",[722,1241,1242],{"class":865},"'",[722,1244,1030],{"class":887},[722,1246,1242],{"class":865},[722,1248,1249],{"class":865},",",[722,1251,927],{"class":865},[722,1253,1254,1258,1260,1262,1265,1267],{"class":724,"line":896},[722,1255,1257],{"class":1256},"swJcz","  method",[722,1259,881],{"class":865},[722,1261,1074],{"class":865},[722,1263,1264],{"class":887},"POST",[722,1266,1242],{"class":865},[722,1268,893],{"class":865},[722,1270,1271,1274,1276],{"class":724,"line":916},[722,1272,1273],{"class":1256},"  headers",[722,1275,881],{"class":865},[722,1277,927],{"class":865},[722,1279,1280,1283,1285,1288,1291,1294,1297,1300,1303,1305,1308,1311],{"class":724,"line":930},[722,1281,1282],{"class":1256},"    Authorization",[722,1284,881],{"class":865},[722,1286,1287],{"class":865}," `",[722,1289,1290],{"class":887},"Bearer ",[722,1292,1293],{"class":865},"${",[722,1295,1296],{"class":1035},"process",[722,1298,1299],{"class":865},".",[722,1301,1302],{"class":1035},"env",[722,1304,1299],{"class":865},[722,1306,1307],{"class":1035},"DISKA_API_KEY",[722,1309,1310],{"class":865},"}`",[722,1312,893],{"class":865},[722,1314,1315,1318,1321,1323,1325,1327,1329],{"class":724,"line":952},[722,1316,1317],{"class":865},"    '",[722,1319,1320],{"class":1256},"Content-Type",[722,1322,1242],{"class":865},[722,1324,881],{"class":865},[722,1326,1074],{"class":865},[722,1328,767],{"class":887},[722,1330,1080],{"class":865},[722,1332,1333],{"class":724,"line":958},[722,1334,955],{"class":865},[722,1336,1337,1340,1342,1345,1347,1350,1352],{"class":724,"line":971},[722,1338,1339],{"class":1256},"  body",[722,1341,881],{"class":865},[722,1343,1344],{"class":1035}," JSON",[722,1346,1299],{"class":865},[722,1348,1349],{"class":1235},"stringify",[722,1351,1239],{"class":1035},[722,1353,866],{"class":865},[722,1355,1356,1358,1360,1362,1364,1366,1368,1370],{"class":724,"line":990},[722,1357,933],{"class":865},[722,1359,800],{"class":1256},[722,1361,878],{"class":865},[722,1363,881],{"class":865},[722,1365,884],{"class":865},[722,1367,888],{"class":887},[722,1369,878],{"class":865},[722,1371,893],{"class":865},[722,1373,1374,1376,1378,1380,1382,1384,1386,1388],{"class":724,"line":996},[722,1375,933],{"class":865},[722,1377,845],{"class":1256},[722,1379,878],{"class":865},[722,1381,881],{"class":865},[722,1383,884],{"class":865},[722,1385,909],{"class":887},[722,1387,878],{"class":865},[722,1389,893],{"class":865},[722,1391,1392,1394,1396,1398,1400],{"class":724,"line":1141},[722,1393,933],{"class":865},[722,1395,816],{"class":1256},[722,1397,878],{"class":865},[722,1399,881],{"class":865},[722,1401,927],{"class":865},[722,1403,1404,1407,1409,1411,1413,1415,1417],{"class":724,"line":1147},[722,1405,1406],{"class":865},"      \"",[722,1408,937],{"class":1256},[722,1410,878],{"class":865},[722,1412,881],{"class":865},[722,1414,884],{"class":865},[722,1416,946],{"class":887},[722,1418,949],{"class":865},[722,1420,1421],{"class":724,"line":1153},[722,1422,1179],{"class":865},[722,1424,1425,1427,1429,1431,1433],{"class":724,"line":1159},[722,1426,933],{"class":865},[722,1428,752],{"class":1256},[722,1430,878],{"class":865},[722,1432,881],{"class":865},[722,1434,927],{"class":865},[722,1436,1437,1439,1441,1443,1445,1447,1449],{"class":724,"line":1165},[722,1438,1406],{"class":865},[722,1440,976],{"class":1256},[722,1442,878],{"class":865},[722,1444,881],{"class":865},[722,1446,884],{"class":865},[722,1448,985],{"class":887},[722,1450,949],{"class":865},[722,1452,1453],{"class":724,"line":1171},[722,1454,1455],{"class":865},"    }\n",[722,1457,1458,1461],{"class":724,"line":1176},[722,1459,1460],{"class":865},"  }",[722,1462,1191],{"class":1035},[722,1464,1465,1468],{"class":724,"line":1182},[722,1466,1467],{"class":865},"}",[722,1469,1191],{"class":1035},[722,1471,1472,1475,1478,1481,1484,1486,1489,1492,1495,1498,1500,1503,1505,1507,1510,1512,1515,1518,1521,1523,1526,1529,1531],{"class":724,"line":1188},[722,1473,1474],{"class":1231},"if",[722,1476,1477],{"class":1035}," (",[722,1479,1480],{"class":865},"!",[722,1482,1483],{"class":1035},"response",[722,1485,1299],{"class":865},[722,1487,1488],{"class":1035},"ok) ",[722,1490,1491],{"class":1231},"throw",[722,1493,1494],{"class":865}," new",[722,1496,1497],{"class":1235}," Error",[722,1499,1239],{"class":1035},[722,1501,1502],{"class":865},"`${",[722,1504,1483],{"class":1035},[722,1506,1299],{"class":865},[722,1508,1509],{"class":1035},"status",[722,1511,1467],{"class":865},[722,1513,1514],{"class":865}," ${",[722,1516,1517],{"class":1231},"await",[722,1519,1520],{"class":1035}," response",[722,1522,1299],{"class":865},[722,1524,1525],{"class":1235},"text",[722,1527,1528],{"class":1035},"()",[722,1530,1310],{"class":865},[722,1532,1191],{"class":1035},[722,1534,1535,1538,1540,1543,1545,1547,1549,1551,1553],{"class":724,"line":1194},[722,1536,1537],{"class":1035},"console",[722,1539,1299],{"class":865},[722,1541,1542],{"class":1235},"log",[722,1544,1239],{"class":1035},[722,1546,1517],{"class":1231},[722,1548,1520],{"class":1035},[722,1550,1299],{"class":865},[722,1552,858],{"class":1235},[722,1554,1555],{"class":1035},"())\n",[712,1557,1562],{"className":1558,"code":1559,"filename":1560,"language":1561,"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\u002Fchats');\ncurl_setopt_array($ch, [\n    CURLOPT_CUSTOMREQUEST => 'POST',\n    CURLOPT_HTTPHEADER => [\n        'Authorization: Bearer ' . getenv('DISKA_API_KEY'),\n        'Content-Type: application\u002Fjson',\n    ],\n    CURLOPT_POSTFIELDS => json_encode([\n        'agent_id' => '3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40',\n        'contact' => '+244923000000',\n        'variables' => [\n            'nome' => 'Ana',\n        ],\n        'metadata' => [\n            'crm_ticket' => 'T-1042',\n        ],\n    ]),\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,1563,1564,1569,1574,1579,1584,1589,1594,1599,1604,1609,1614,1619,1624,1629,1634,1639,1644,1648,1653,1658,1663,1668,1674,1680,1686,1692,1698,1703],{"__ignoreMap":717},[722,1565,1566],{"class":724,"line":725},[722,1567,1568],{},"\u003C?php\n",[722,1570,1571],{"class":724,"line":869},[722,1572,1573],{},"$ch = curl_init('https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fchats');\n",[722,1575,1576],{"class":724,"line":896},[722,1577,1578],{},"curl_setopt_array($ch, [\n",[722,1580,1581],{"class":724,"line":916},[722,1582,1583],{},"    CURLOPT_CUSTOMREQUEST => 'POST',\n",[722,1585,1586],{"class":724,"line":930},[722,1587,1588],{},"    CURLOPT_HTTPHEADER => [\n",[722,1590,1591],{"class":724,"line":952},[722,1592,1593],{},"        'Authorization: Bearer ' . getenv('DISKA_API_KEY'),\n",[722,1595,1596],{"class":724,"line":958},[722,1597,1598],{},"        'Content-Type: application\u002Fjson',\n",[722,1600,1601],{"class":724,"line":971},[722,1602,1603],{},"    ],\n",[722,1605,1606],{"class":724,"line":990},[722,1607,1608],{},"    CURLOPT_POSTFIELDS => json_encode([\n",[722,1610,1611],{"class":724,"line":996},[722,1612,1613],{},"        'agent_id' => '3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40',\n",[722,1615,1616],{"class":724,"line":1141},[722,1617,1618],{},"        'contact' => '+244923000000',\n",[722,1620,1621],{"class":724,"line":1147},[722,1622,1623],{},"        'variables' => [\n",[722,1625,1626],{"class":724,"line":1153},[722,1627,1628],{},"            'nome' => 'Ana',\n",[722,1630,1631],{"class":724,"line":1159},[722,1632,1633],{},"        ],\n",[722,1635,1636],{"class":724,"line":1165},[722,1637,1638],{},"        'metadata' => [\n",[722,1640,1641],{"class":724,"line":1171},[722,1642,1643],{},"            'crm_ticket' => 'T-1042',\n",[722,1645,1646],{"class":724,"line":1176},[722,1647,1633],{},[722,1649,1650],{"class":724,"line":1182},[722,1651,1652],{},"    ]),\n",[722,1654,1655],{"class":724,"line":1188},[722,1656,1657],{},"    CURLOPT_RETURNTRANSFER => true,\n",[722,1659,1660],{"class":724,"line":1194},[722,1661,1662],{},"    CURLOPT_TIMEOUT => 30,\n",[722,1664,1665],{"class":724,"line":1200},[722,1666,1667],{},"]);\n",[722,1669,1671],{"class":724,"line":1670},22,[722,1672,1673],{},"$body = curl_exec($ch);\n",[722,1675,1677],{"class":724,"line":1676},23,[722,1678,1679],{},"$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);\n",[722,1681,1683],{"class":724,"line":1682},24,[722,1684,1685],{},"curl_close($ch);\n",[722,1687,1689],{"class":724,"line":1688},25,[722,1690,1691],{},"if ($status >= 400) {\n",[722,1693,1695],{"class":724,"line":1694},26,[722,1696,1697],{},"    throw new RuntimeException(\"HTTP $status: $body\");\n",[722,1699,1701],{"class":724,"line":1700},27,[722,1702,999],{},[722,1704,1706],{"class":724,"line":1705},28,[722,1707,1708],{},"print_r(json_decode($body, true));\n",[759,1710,1712],{"id":1711},"experimentar","Experimentar",[729,1714,1715,1716,1719],{},"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,1717,1718],{},"api.diska.ai",". Use uma chave de teste com os âmbitos mínimos.",[1721,1722],"api-playground",{":params":1723,"body":857,"body-type":858,"locale":1724,"method":1264,"path":1725},"[]","pt","\u002Fv1\u002Fchats",[759,1727,1729,1730],{"id":1728},"resposta-201","Resposta ",[719,1731,1732],{},"201",[769,1734,1735,1745],{},[772,1736,1737],{},[775,1738,1739,1741,1743],{},[778,1740,780],{},[778,1742,783],{},[778,1744,789],{},[791,1746,1747,1763,1774,1791,1802,1813,1825,1837,1858,1873,1885,1904,1916],{},[775,1748,1749,1754,1756],{},[796,1750,1751],{},[719,1752,1753],{},"id",[796,1755,803],{},[796,1757,1758,1759,1762],{},"Identificador da conversa (o mesmo de ",[719,1760,1761],{},"GET \u002Fv1\u002Fcalls\u002F{call_id}",").",[775,1764,1765,1769,1771],{},[796,1766,1767],{},[719,1768,800],{},[796,1770,803],{},[796,1772,1773],{},"O agente.",[775,1775,1776,1780,1782],{},[796,1777,1778],{},[719,1779,1509],{},[796,1781,803],{},[796,1783,1784,1787,1788,1299],{},[719,1785,1786],{},"active"," ou ",[719,1789,1790],{},"ended",[775,1792,1793,1797,1799],{},[796,1794,1795],{},[719,1796,845],{},[796,1798,848],{},[796,1800,1801],{},"Quem conversa, como o indicou.",[775,1803,1804,1808,1810],{},[796,1805,1806],{},[719,1807,752],{},[796,1809,819],{},[796,1811,1812],{},"Os seus metadados, devolvidos tal como os enviou.",[775,1814,1815,1820,1822],{},[796,1816,1817],{},[719,1818,1819],{},"created_at",[796,1821,803],{},[796,1823,1824],{},"Data de criação (ISO 8601).",[775,1826,1827,1832,1834],{},[796,1828,1829],{},[719,1830,1831],{},"ended_at",[796,1833,848],{},[796,1835,1836],{},"Quando terminou.",[775,1838,1839,1844,1846],{},[796,1840,1841],{},[719,1842,1843],{},"end_reason",[796,1845,848],{},[796,1847,1848,1851,1852,1787,1855,1299],{},[719,1849,1850],{},"ended_by_api",", ",[719,1853,1854],{},"agent_ended",[719,1856,1857],{},"inactivity",[775,1859,1860,1865,1870],{},[796,1861,1862],{},[719,1863,1864],{},"messages",[796,1866,1867,1868],{},"array",[819,1869],{},[796,1871,1872],{},"As mensagens, por ordem.",[775,1874,1875,1880,1882],{},[796,1876,1877],{},[719,1878,1879],{},"messages[].id",[796,1881,803],{},[796,1883,1884],{},"Identificador da mensagem.",[775,1886,1887,1892,1894],{},[796,1888,1889],{},[719,1890,1891],{},"messages[].role",[796,1893,803],{},[796,1895,1896,1899,1900,1903],{},[719,1897,1898],{},"user"," (a pessoa) ou ",[719,1901,1902],{},"assistant"," (o agente).",[775,1905,1906,1911,1913],{},[796,1907,1908],{},[719,1909,1910],{},"messages[].content",[796,1912,803],{},[796,1914,1915],{},"O texto.",[775,1917,1918,1923,1925],{},[796,1919,1920],{},[719,1921,1922],{},"messages[].created_at",[796,1924,848],{},[796,1926,1927],{},"Quando foi escrita.",[712,1929,1931],{"className":856,"code":1930,"language":858,"meta":717,"style":717},"{\n  \"id\": \"5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93\",\n  \"agent_id\": \"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\n  \"status\": \"active\",\n  \"contact\": \"+244900000000\",\n  \"metadata\": {},\n  \"created_at\": \"2026-10-25T18:40:00Z\",\n  \"ended_at\": \"2026-10-25T18:41:35Z\",\n  \"end_reason\": \"caller_hangup\",\n  \"messages\": [\n    {\n      \"id\": \"5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93\",\n      \"role\": \"user\",\n      \"content\": \"Bom dia, queria marcar uma consulta.\",\n      \"created_at\": \"2026-10-25T18:40:00Z\"\n    }\n  ]\n}\n",[719,1932,1933,1937,1956,1974,1992,2011,2024,2043,2062,2081,2094,2099,2117,2136,2156,2172,2176,2181],{"__ignoreMap":717},[722,1934,1935],{"class":724,"line":725},[722,1936,866],{"class":865},[722,1938,1939,1941,1943,1945,1947,1949,1952,1954],{"class":724,"line":869},[722,1940,872],{"class":865},[722,1942,1753],{"class":875},[722,1944,878],{"class":865},[722,1946,881],{"class":865},[722,1948,884],{"class":865},[722,1950,1951],{"class":887},"5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93",[722,1953,878],{"class":865},[722,1955,893],{"class":865},[722,1957,1958,1960,1962,1964,1966,1968,1970,1972],{"class":724,"line":896},[722,1959,872],{"class":865},[722,1961,800],{"class":875},[722,1963,878],{"class":865},[722,1965,881],{"class":865},[722,1967,884],{"class":865},[722,1969,888],{"class":887},[722,1971,878],{"class":865},[722,1973,893],{"class":865},[722,1975,1976,1978,1980,1982,1984,1986,1988,1990],{"class":724,"line":916},[722,1977,872],{"class":865},[722,1979,1509],{"class":875},[722,1981,878],{"class":865},[722,1983,881],{"class":865},[722,1985,884],{"class":865},[722,1987,1786],{"class":887},[722,1989,878],{"class":865},[722,1991,893],{"class":865},[722,1993,1994,1996,1998,2000,2002,2004,2007,2009],{"class":724,"line":930},[722,1995,872],{"class":865},[722,1997,845],{"class":875},[722,1999,878],{"class":865},[722,2001,881],{"class":865},[722,2003,884],{"class":865},[722,2005,2006],{"class":887},"+244900000000",[722,2008,878],{"class":865},[722,2010,893],{"class":865},[722,2012,2013,2015,2017,2019,2021],{"class":724,"line":952},[722,2014,872],{"class":865},[722,2016,752],{"class":875},[722,2018,878],{"class":865},[722,2020,881],{"class":865},[722,2022,2023],{"class":865}," {},\n",[722,2025,2026,2028,2030,2032,2034,2036,2039,2041],{"class":724,"line":958},[722,2027,872],{"class":865},[722,2029,1819],{"class":875},[722,2031,878],{"class":865},[722,2033,881],{"class":865},[722,2035,884],{"class":865},[722,2037,2038],{"class":887},"2026-10-25T18:40:00Z",[722,2040,878],{"class":865},[722,2042,893],{"class":865},[722,2044,2045,2047,2049,2051,2053,2055,2058,2060],{"class":724,"line":971},[722,2046,872],{"class":865},[722,2048,1831],{"class":875},[722,2050,878],{"class":865},[722,2052,881],{"class":865},[722,2054,884],{"class":865},[722,2056,2057],{"class":887},"2026-10-25T18:41:35Z",[722,2059,878],{"class":865},[722,2061,893],{"class":865},[722,2063,2064,2066,2068,2070,2072,2074,2077,2079],{"class":724,"line":990},[722,2065,872],{"class":865},[722,2067,1843],{"class":875},[722,2069,878],{"class":865},[722,2071,881],{"class":865},[722,2073,884],{"class":865},[722,2075,2076],{"class":887},"caller_hangup",[722,2078,878],{"class":865},[722,2080,893],{"class":865},[722,2082,2083,2085,2087,2089,2091],{"class":724,"line":996},[722,2084,872],{"class":865},[722,2086,1864],{"class":875},[722,2088,878],{"class":865},[722,2090,881],{"class":865},[722,2092,2093],{"class":865}," [\n",[722,2095,2096],{"class":724,"line":1141},[722,2097,2098],{"class":865},"    {\n",[722,2100,2101,2103,2105,2107,2109,2111,2113,2115],{"class":724,"line":1147},[722,2102,1406],{"class":865},[722,2104,1753],{"class":936},[722,2106,878],{"class":865},[722,2108,881],{"class":865},[722,2110,884],{"class":865},[722,2112,1951],{"class":887},[722,2114,878],{"class":865},[722,2116,893],{"class":865},[722,2118,2119,2121,2124,2126,2128,2130,2132,2134],{"class":724,"line":1153},[722,2120,1406],{"class":865},[722,2122,2123],{"class":936},"role",[722,2125,878],{"class":865},[722,2127,881],{"class":865},[722,2129,884],{"class":865},[722,2131,1898],{"class":887},[722,2133,878],{"class":865},[722,2135,893],{"class":865},[722,2137,2138,2140,2143,2145,2147,2149,2152,2154],{"class":724,"line":1159},[722,2139,1406],{"class":865},[722,2141,2142],{"class":936},"content",[722,2144,878],{"class":865},[722,2146,881],{"class":865},[722,2148,884],{"class":865},[722,2150,2151],{"class":887},"Bom dia, queria marcar uma consulta.",[722,2153,878],{"class":865},[722,2155,893],{"class":865},[722,2157,2158,2160,2162,2164,2166,2168,2170],{"class":724,"line":1165},[722,2159,1406],{"class":865},[722,2161,1819],{"class":936},[722,2163,878],{"class":865},[722,2165,881],{"class":865},[722,2167,884],{"class":865},[722,2169,2038],{"class":887},[722,2171,949],{"class":865},[722,2173,2174],{"class":724,"line":1171},[722,2175,1455],{"class":865},[722,2177,2178],{"class":724,"line":1176},[722,2179,2180],{"class":865},"  ]\n",[722,2182,2183],{"class":724,"line":1182},[722,2184,999],{"class":865},[759,2186,2188],{"id":2187},"erros","Erros",[769,2190,2191,2201],{},[772,2192,2193],{},[775,2194,2195,2198],{},[778,2196,2197],{},"Código",[778,2199,2200],{},"Quando",[791,2202,2203,2213,2225,2235],{},[775,2204,2205,2210],{},[796,2206,2207],{},[719,2208,2209],{},"403",[796,2211,2212],{},"O chat pela API não está activo para a organização.",[775,2214,2215,2220],{},[796,2216,2217],{},[719,2218,2219],{},"404",[796,2221,2222],{},[719,2223,2224],{},"Agente não encontrado.",[775,2226,2227,2232],{},[796,2228,2229],{},[719,2230,2231],{},"409",[796,2233,2234],{},"O agente não está publicado, está inactivo ou usa o Flow Builder.",[775,2236,2237,2242],{},[796,2238,2239],{},[719,2240,2241],{},"422",[796,2243,2244],{},"Variáveis recusadas ou metadados acima dos limites.",[729,2246,2247,2248,1851,2251,1851,2253,1851,2255,2258,2259,2262,2263,1299],{},"Os erros comuns a todos os endpoints (",[719,2249,2250],{},"401",[719,2252,2209],{},[719,2254,2241],{},[719,2256,2257],{},"429"," e ",[719,2260,2261],{},"5xx",") estão em ",[2264,2265,2188],"a",{"href":2266},"\u002Fpt\u002Fapi\u002Fapi-channel#erros",[2268,2269,2270],"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 .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}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 .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}",{"title":717,"searchDepth":869,"depth":869,"links":2272},[2273,2274,2275,2276,2278],{"id":761,"depth":869,"text":762},{"id":1002,"depth":869,"text":1003},{"id":1711,"depth":869,"text":1712},{"id":1728,"depth":869,"text":2277},"Resposta 201",{"id":2187,"depth":869,"text":2188},"Abre uma conversa com um agente publicado em modo prompt.","md",null,{},{"title":447,"description":2279},"xGDeSc46ePpoAB1RC1XfIM6UaD9dbrqTbjR47wNxqcw",[2286,2288],{"title":441,"path":442,"stem":443,"description":2287,"children":-1},"Converse por texto com um agente publicado, a partir da sua aplicação ou do seu site: crie a conversa, envie mensagens e receba a resposta do agente no mesmo pedido.",{"title":451,"path":452,"stem":453,"description":2289,"children":-1},"Envia a mensagem da pessoa e devolve a resposta do agente (reply) no mesmo pedido, normalmente em poucos segundos.",1795253953931]