[{"data":1,"prerenderedAt":2238},["ShallowReactive",2],{"navigation_docs_en":3,"-en-api-guides-export-call-history":705,"-en-api-guides-export-call-history-surround":2233},[4,8,26,52,101,131,181,219,237,247,269,291,562,572,612,661,691],{"title":5,"path":6,"stem":7},"Introduction","\u002Fen\u002Fintroduction","en\u002F01.introduction",{"title":9,"path":10,"stem":11,"children":12},"Getting started","\u002Fen\u002Fgetting-started","en\u002F02.getting-started\u002Findex",[13,14,18,22],{"title":9,"path":10,"stem":11},{"title":15,"path":16,"stem":17},"Initial setup","\u002Fen\u002Fgetting-started\u002Finitial-setup","en\u002F02.getting-started\u002F01.initial-setup",{"title":19,"path":20,"stem":21},"Create your first agent","\u002Fen\u002Fgetting-started\u002Ffirst-agent","en\u002F02.getting-started\u002F02.first-agent",{"title":23,"path":24,"stem":25},"Run a test call","\u002Fen\u002Fgetting-started\u002Ftest-call","en\u002F02.getting-started\u002F03.test-call",{"title":27,"path":28,"stem":29,"children":30},"Concepts","\u002Fen\u002Fconcepts","en\u002F03.concepts\u002Findex",[31,32,36,40,44,48],{"title":27,"path":28,"stem":29},{"title":33,"path":34,"stem":35},"Voice agent","\u002Fen\u002Fconcepts\u002Fagent","en\u002F03.concepts\u002F01.agent",{"title":37,"path":38,"stem":39},"Flow","\u002Fen\u002Fconcepts\u002Fflow","en\u002F03.concepts\u002F02.flow",{"title":41,"path":42,"stem":43},"Runtime","\u002Fen\u002Fconcepts\u002Fruntime","en\u002F03.concepts\u002F03.runtime",{"title":45,"path":46,"stem":47},"Organization and permissions","\u002Fen\u002Fconcepts\u002Forganization","en\u002F03.concepts\u002F04.organization",{"title":49,"path":50,"stem":51},"Prompt Builder","\u002Fen\u002Fconcepts\u002Fprompt-builder","en\u002F03.concepts\u002F05.prompt-builder",{"title":53,"path":54,"stem":55,"children":56},"Guides","\u002Fen\u002Fguides","en\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},"\u002Fen\u002Fguides\u002Fcreate-first-agent","en\u002F04.guides\u002F01.create-first-agent",{"title":62,"path":63,"stem":64},"Use the Flow Builder","\u002Fen\u002Fguides\u002Fuse-flow-builder","en\u002F04.guides\u002F02.use-flow-builder",{"title":66,"path":67,"stem":68},"Publish and receive calls","\u002Fen\u002Fguides\u002Fpublish-agent","en\u002F04.guides\u002F03.publish-agent",{"title":70,"path":71,"stem":72},"Test an agent","\u002Fen\u002Fguides\u002Ftest-agent","en\u002F04.guides\u002F04.test-agent",{"title":74,"path":75,"stem":76},"Transfer to a human","\u002Fen\u002Fguides\u002Ftransfer-to-human","en\u002F04.guides\u002F05.transfer-to-human",{"title":78,"path":79,"stem":80},"Book meetings with Cal.com","\u002Fen\u002Fguides\u002Fbook-meetings","en\u002F04.guides\u002F06.book-meetings",{"title":82,"path":83,"stem":84},"Send SMS","\u002Fen\u002Fguides\u002Fsend-sms","en\u002F04.guides\u002F07.send-sms",{"title":86,"path":87,"stem":88},"Configure a phone book","\u002Fen\u002Fguides\u002Fconfigure-phone-book","en\u002F04.guides\u002F08.configure-phone-book",{"title":90,"path":91,"stem":92},"Embed the voice widget","\u002Fen\u002Fguides\u002Fembed-widget","en\u002F04.guides\u002F09.embed-widget",{"title":94,"path":95,"stem":96},"Record calls","\u002Fen\u002Fguides\u002Frecord-calls","en\u002F04.guides\u002F10.record-calls",{"title":98,"path":99,"stem":100},"Redact personal data","\u002Fen\u002Fguides\u002Fredact-personal-data","en\u002F04.guides\u002F11.redact-personal-data",{"title":102,"path":103,"stem":104,"children":105},"Flow Builder","\u002Fen\u002Fflow-builder","en\u002F05.flow-builder\u002Findex",[106,107,111,115,119,123,127],{"title":102,"path":103,"stem":104},{"title":108,"path":109,"stem":110},"Builder interface","\u002Fen\u002Fflow-builder\u002Finterface","en\u002F05.flow-builder\u002F01.interface",{"title":112,"path":113,"stem":114},"Flow structure","\u002Fen\u002Fflow-builder\u002Fstructure","en\u002F05.flow-builder\u002F02.structure",{"title":116,"path":117,"stem":118},"Flow variables","\u002Fen\u002Fflow-builder\u002Fvariables","en\u002F05.flow-builder\u002F03.variables",{"title":120,"path":121,"stem":122},"Conditions and paths","\u002Fen\u002Fflow-builder\u002Fbranches","en\u002F05.flow-builder\u002F04.branches",{"title":124,"path":125,"stem":126},"Test a flow","\u002Fen\u002Fflow-builder\u002Ftesting","en\u002F05.flow-builder\u002F05.testing",{"title":128,"path":129,"stem":130},"Validation and publishing","\u002Fen\u002Fflow-builder\u002Fvalidation-publishing","en\u002F05.flow-builder\u002F06.validation-publishing",{"title":132,"path":133,"stem":134,"children":135},"Nodes","\u002Fen\u002Fnodes","en\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},"Conversation","\u002Fen\u002Fnodes\u002Fconversation","en\u002F06.nodes\u002F01.conversation",{"title":142,"path":143,"stem":144},"Message","\u002Fen\u002Fnodes\u002Fmessage","en\u002F06.nodes\u002F02.message",{"title":146,"path":147,"stem":148},"Split path","\u002Fen\u002Fnodes\u002Fsplit-path","en\u002F06.nodes\u002F03.split-path",{"title":150,"path":151,"stem":152},"Jump to","\u002Fen\u002Fnodes\u002Fjump-to","en\u002F06.nodes\u002F04.jump-to",{"title":154,"path":155,"stem":156},"Trigger subflow","\u002Fen\u002Fnodes\u002Ftrigger-subflow","en\u002F06.nodes\u002F05.trigger-subflow",{"title":158,"path":159,"stem":160},"Custom action","\u002Fen\u002Fnodes\u002Fcustom-action","en\u002F06.nodes\u002F06.custom-action",{"title":162,"path":163,"stem":164},"Send SMS during the call","\u002Fen\u002Fnodes\u002Fsend-sms-during-call","en\u002F06.nodes\u002F07.send-sms-during-call",{"title":166,"path":167,"stem":168},"Transfer","\u002Fen\u002Fnodes\u002Ftransfer","en\u002F06.nodes\u002F08.transfer",{"title":170,"path":171,"stem":172},"Booking","\u002Fen\u002Fnodes\u002Fbooking","en\u002F06.nodes\u002F09.booking",{"title":174,"path":175,"stem":176},"End call","\u002Fen\u002Fnodes\u002Fend-call","en\u002F06.nodes\u002F10.end-call",{"title":178,"path":179,"stem":180},"Nodes coming soon","\u002Fen\u002Fnodes\u002Fcoming-soon","en\u002F06.nodes\u002F11.coming-soon",{"title":182,"path":183,"stem":184,"children":185},"Actions","\u002Fen\u002Factions","en\u002F07.actions\u002Findex",[186,187,191,195,199,203,207,211,215],{"title":182,"path":183,"stem":184},{"title":188,"path":189,"stem":190},"Call transfers","\u002Fen\u002Factions\u002Fcall-transfers","en\u002F07.actions\u002F01.call-transfers",{"title":192,"path":193,"stem":194},"IVR","\u002Fen\u002Factions\u002Fivr","en\u002F07.actions\u002F02.ivr",{"title":196,"path":197,"stem":198},"SMS during the call","\u002Fen\u002Factions\u002Fduring-call-sms","en\u002F07.actions\u002F03.during-call-sms",{"title":200,"path":201,"stem":202},"Post-call SMS","\u002Fen\u002Factions\u002Fpost-call-sms","en\u002F07.actions\u002F04.post-call-sms",{"title":204,"path":205,"stem":206},"Custom actions","\u002Fen\u002Factions\u002Fcustom-actions","en\u002F07.actions\u002F05.custom-actions",{"title":208,"path":209,"stem":210},"Information extractors","\u002Fen\u002Factions\u002Finformation-extractors","en\u002F07.actions\u002F06.information-extractors",{"title":212,"path":213,"stem":214},"Custom evaluations","\u002Fen\u002Factions\u002Fcustom-evaluations","en\u002F07.actions\u002F07.custom-evaluations",{"title":216,"path":217,"stem":218},"Real-time booking","\u002Fen\u002Factions\u002Freal-time-booking","en\u002F07.actions\u002F08.real-time-booking",{"title":220,"path":221,"stem":222,"children":223},"Knowledge base","\u002Fen\u002Fknowledge-base","en\u002F08.knowledge-base\u002Findex",[224,225,229,233],{"title":220,"path":221,"stem":222},{"title":226,"path":227,"stem":228},"Sources","\u002Fen\u002Fknowledge-base\u002Fsources","en\u002F08.knowledge-base\u002F01.sources",{"title":230,"path":231,"stem":232},"Citations","\u002Fen\u002Fknowledge-base\u002Fcitations","en\u002F08.knowledge-base\u002F02.citations",{"title":234,"path":235,"stem":236},"Shared memory","\u002Fen\u002Fknowledge-base\u002Fshared-memory","en\u002F08.knowledge-base\u002F03.shared-memory",{"title":238,"path":239,"stem":240,"children":241},"Test Center","\u002Fen\u002Ftest-center","en\u002F09.test-center\u002Findex",[242,243],{"title":238,"path":239,"stem":240},{"title":244,"path":245,"stem":246},"Evaluations","\u002Fen\u002Ftest-center\u002Fevaluations","en\u002F09.test-center\u002F01.evaluations",{"title":248,"path":249,"stem":250,"children":251},"History and analytics","\u002Fen\u002Fhistory","en\u002F10.history\u002Findex",[252,253,257,261,265],{"title":248,"path":249,"stem":250},{"title":254,"path":255,"stem":256},"Overview","\u002Fen\u002Fhistory\u002Fdashboard","en\u002F10.history\u002F01.dashboard",{"title":258,"path":259,"stem":260},"Calls","\u002Fen\u002Fhistory\u002Fcalls","en\u002F10.history\u002F02.calls",{"title":262,"path":263,"stem":264},"Recordings","\u002Fen\u002Fhistory\u002Frecordings","en\u002F10.history\u002F03.recordings",{"title":266,"path":267,"stem":268},"Analytics","\u002Fen\u002Fhistory\u002Fanalytics","en\u002F10.history\u002F04.analytics",{"title":270,"path":271,"stem":272,"children":273},"WhatsApp","\u002Fen\u002Fwhatsapp","en\u002F11.whatsapp\u002Findex",[274,275,279,283,287],{"title":270,"path":271,"stem":272},{"title":276,"path":277,"stem":278},"Connect the number","\u002Fen\u002Fwhatsapp\u002Fconnect","en\u002F11.whatsapp\u002F01.connect",{"title":280,"path":281,"stem":282},"Templates","\u002Fen\u002Fwhatsapp\u002Ftemplates","en\u002F11.whatsapp\u002F02.templates",{"title":284,"path":285,"stem":286},"Conversations","\u002Fen\u002Fwhatsapp\u002Fconversations","en\u002F11.whatsapp\u002F03.conversations",{"title":288,"path":289,"stem":290},"Voice calls","\u002Fen\u002Fwhatsapp\u002Fcalls","en\u002F11.whatsapp\u002F04.calls",{"title":292,"path":293,"stem":294,"children":295},"API","\u002Fen\u002Fapi","en\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},"Getting started with the API","\u002Fen\u002Fapi\u002Fgetting-started","en\u002F12.api\u002F01.getting-started",{"title":302,"path":303,"stem":304},"DISKA API","\u002Fen\u002Fapi\u002Fapi-channel","en\u002F12.api\u002F02.api-channel",{"title":306,"path":307,"stem":308},"Authentication","\u002Fen\u002Fapi\u002Fauthentication","en\u002F12.api\u002F03.authentication",{"title":310,"path":311,"stem":312},"Webhooks","\u002Fen\u002Fapi\u002Fwebhooks","en\u002F12.api\u002F04.webhooks",{"title":314,"path":315,"stem":316},"Endpoints","\u002Fen\u002Fapi\u002Fendpoints","en\u002F12.api\u002F05.endpoints",{"title":318,"path":319,"stem":320},"Realtime","\u002Fen\u002Fapi\u002Frealtime","en\u002F12.api\u002F06.realtime",{"title":322,"path":323,"stem":324,"children":325},"API reference","\u002Fen\u002Fapi\u002Freference","en\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},"Identity","\u002Fen\u002Fapi\u002Freference\u002Fidentity","en\u002F12.api\u002F07.reference\u002F01.identity\u002Findex",[332,333],{"title":328,"path":329,"stem":330},{"title":334,"path":335,"stem":336},"Get the key and organization","\u002Fen\u002Fapi\u002Freference\u002Fidentity\u002Fget-identity","en\u002F12.api\u002F07.reference\u002F01.identity\u002F01.get-identity",{"title":338,"path":339,"stem":340,"children":341},"Agents","\u002Fen\u002Fapi\u002Freference\u002Fagents","en\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},"List agents","\u002Fen\u002Fapi\u002Freference\u002Fagents\u002Flist-agents","en\u002F12.api\u002F07.reference\u002F02.agents\u002F01.list-agents",{"title":348,"path":349,"stem":350},"Get an agent","\u002Fen\u002Fapi\u002Freference\u002Fagents\u002Fget-agent","en\u002F12.api\u002F07.reference\u002F02.agents\u002F02.get-agent",{"title":352,"path":353,"stem":354},"Update an agent","\u002Fen\u002Fapi\u002Freference\u002Fagents\u002Fupdate-agent","en\u002F12.api\u002F07.reference\u002F02.agents\u002F03.update-agent",{"title":356,"path":357,"stem":358},"Create an agent","\u002Fen\u002Fapi\u002Freference\u002Fagents\u002Fcreate-agent","en\u002F12.api\u002F07.reference\u002F02.agents\u002F04.create-agent",{"title":360,"path":361,"stem":362},"Publish an agent","\u002Fen\u002Fapi\u002Freference\u002Fagents\u002Fpublish-agent","en\u002F12.api\u002F07.reference\u002F02.agents\u002F05.publish-agent",{"title":258,"path":364,"stem":365,"children":366},"\u002Fen\u002Fapi\u002Freference\u002Fcalls","en\u002F12.api\u002F07.reference\u002F03.calls\u002Findex",[367,368,372,376],{"title":258,"path":364,"stem":365},{"title":369,"path":370,"stem":371},"List calls","\u002Fen\u002Fapi\u002Freference\u002Fcalls\u002Flist-calls","en\u002F12.api\u002F07.reference\u002F03.calls\u002F01.list-calls",{"title":373,"path":374,"stem":375},"Get a call","\u002Fen\u002Fapi\u002Freference\u002Fcalls\u002Fget-call","en\u002F12.api\u002F07.reference\u002F03.calls\u002F02.get-call",{"title":377,"path":378,"stem":379},"Download the recording","\u002Fen\u002Fapi\u002Freference\u002Fcalls\u002Fget-call-recording","en\u002F12.api\u002F07.reference\u002F03.calls\u002F03.get-call-recording",{"title":381,"path":382,"stem":383,"children":384},"Outbound calls","\u002Fen\u002Fapi\u002Freference\u002Foutbound-calls","en\u002F12.api\u002F07.reference\u002F04.outbound-calls\u002Findex",[385,386,390,394],{"title":381,"path":382,"stem":383},{"title":387,"path":388,"stem":389},"Make an outbound call","\u002Fen\u002Fapi\u002Freference\u002Foutbound-calls\u002Fcreate-outbound-call","en\u002F12.api\u002F07.reference\u002F04.outbound-calls\u002F01.create-outbound-call",{"title":391,"path":392,"stem":393},"Get an outbound call","\u002Fen\u002Fapi\u002Freference\u002Foutbound-calls\u002Fget-outbound-call","en\u002F12.api\u002F07.reference\u002F04.outbound-calls\u002F02.get-outbound-call",{"title":395,"path":396,"stem":397},"Hang up an outbound call","\u002Fen\u002Fapi\u002Freference\u002Foutbound-calls\u002Fhang-up-outbound-call","en\u002F12.api\u002F07.reference\u002F04.outbound-calls\u002F03.hang-up-outbound-call",{"title":399,"path":400,"stem":401,"children":402},"Campaigns","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns","en\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},"List campaigns","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Flist-campaigns","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F01.list-campaigns",{"title":409,"path":410,"stem":411},"Create a campaign","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Fcreate-campaign","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F02.create-campaign",{"title":413,"path":414,"stem":415},"Get a campaign","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Fget-campaign","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F03.get-campaign",{"title":417,"path":418,"stem":419},"Add recipients","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Fadd-campaign-recipients","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F04.add-campaign-recipients",{"title":421,"path":422,"stem":423},"List recipients","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Flist-campaign-recipients","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F05.list-campaign-recipients",{"title":425,"path":426,"stem":427},"Start a campaign","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Fstart-campaign","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F06.start-campaign",{"title":429,"path":430,"stem":431},"Pause a campaign","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Fpause-campaign","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F07.pause-campaign",{"title":433,"path":434,"stem":435},"Resume a campaign","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Fresume-campaign","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F08.resume-campaign",{"title":437,"path":438,"stem":439},"Cancel a campaign","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Fcancel-campaign","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F09.cancel-campaign",{"title":441,"path":442,"stem":443,"children":444},"Chat","\u002Fen\u002Fapi\u002Freference\u002Fchats","en\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},"Create a chat","\u002Fen\u002Fapi\u002Freference\u002Fchats\u002Fcreate-chat","en\u002F12.api\u002F07.reference\u002F06.chats\u002F01.create-chat",{"title":451,"path":452,"stem":453},"Send a message","\u002Fen\u002Fapi\u002Freference\u002Fchats\u002Fsend-chat-message","en\u002F12.api\u002F07.reference\u002F06.chats\u002F02.send-chat-message",{"title":455,"path":456,"stem":457},"Get a chat","\u002Fen\u002Fapi\u002Freference\u002Fchats\u002Fget-chat","en\u002F12.api\u002F07.reference\u002F06.chats\u002F03.get-chat",{"title":459,"path":460,"stem":461},"List chats","\u002Fen\u002Fapi\u002Freference\u002Fchats\u002Flist-chats","en\u002F12.api\u002F07.reference\u002F06.chats\u002F04.list-chats",{"title":463,"path":464,"stem":465},"End a chat","\u002Fen\u002Fapi\u002Freference\u002Fchats\u002Fend-chat","en\u002F12.api\u002F07.reference\u002F06.chats\u002F05.end-chat",{"title":266,"path":467,"stem":468,"children":469},"\u002Fen\u002Fapi\u002Freference\u002Fanalytics","en\u002F12.api\u002F07.reference\u002F07.analytics\u002Findex",[470,471],{"title":266,"path":467,"stem":468},{"title":472,"path":473,"stem":474},"Analytics overview","\u002Fen\u002Fapi\u002Freference\u002Fanalytics\u002Fget-overview","en\u002F12.api\u002F07.reference\u002F07.analytics\u002F01.get-overview",{"title":476,"path":477,"stem":478,"children":479},"Phone numbers","\u002Fen\u002Fapi\u002Freference\u002Fphone-numbers","en\u002F12.api\u002F07.reference\u002F08.phone-numbers\u002Findex",[480,481],{"title":476,"path":477,"stem":478},{"title":482,"path":483,"stem":484},"List phone numbers","\u002Fen\u002Fapi\u002Freference\u002Fphone-numbers\u002Flist-phone-numbers","en\u002F12.api\u002F07.reference\u002F08.phone-numbers\u002F01.list-phone-numbers",{"title":486,"path":487,"stem":488,"children":489},"Knowledge","\u002Fen\u002Fapi\u002Freference\u002Fknowledge","en\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},"List knowledge bases","\u002Fen\u002Fapi\u002Freference\u002Fknowledge\u002Flist-knowledge-bases","en\u002F12.api\u002F07.reference\u002F09.knowledge\u002F01.list-knowledge-bases",{"title":496,"path":497,"stem":498},"Create a knowledge base","\u002Fen\u002Fapi\u002Freference\u002Fknowledge\u002Fcreate-knowledge-base","en\u002F12.api\u002F07.reference\u002F09.knowledge\u002F02.create-knowledge-base",{"title":500,"path":501,"stem":502},"Add a text document","\u002Fen\u002Fapi\u002Freference\u002Fknowledge\u002Fadd-text-document","en\u002F12.api\u002F07.reference\u002F09.knowledge\u002F03.add-text-document",{"title":504,"path":505,"stem":506},"Import a web page","\u002Fen\u002Fapi\u002Freference\u002Fknowledge\u002Fimport-url","en\u002F12.api\u002F07.reference\u002F09.knowledge\u002F04.import-url",{"title":508,"path":509,"stem":510},"Upload a PDF","\u002Fen\u002Fapi\u002Freference\u002Fknowledge\u002Fupload-pdf","en\u002F12.api\u002F07.reference\u002F09.knowledge\u002F05.upload-pdf",{"title":310,"path":512,"stem":513,"children":514},"\u002Fen\u002Fapi\u002Freference\u002Fwebhooks","en\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},"List webhook endpoints","\u002Fen\u002Fapi\u002Freference\u002Fwebhooks\u002Flist-webhook-endpoints","en\u002F12.api\u002F07.reference\u002F10.webhooks\u002F01.list-webhook-endpoints",{"title":521,"path":522,"stem":523},"Create a webhook endpoint","\u002Fen\u002Fapi\u002Freference\u002Fwebhooks\u002Fcreate-webhook-endpoint","en\u002F12.api\u002F07.reference\u002F10.webhooks\u002F02.create-webhook-endpoint",{"title":525,"path":526,"stem":527},"Update a webhook endpoint","\u002Fen\u002Fapi\u002Freference\u002Fwebhooks\u002Fupdate-webhook-endpoint","en\u002F12.api\u002F07.reference\u002F10.webhooks\u002F03.update-webhook-endpoint",{"title":529,"path":530,"stem":531},"Delete a webhook endpoint","\u002Fen\u002Fapi\u002Freference\u002Fwebhooks\u002Fdelete-webhook-endpoint","en\u002F12.api\u002F07.reference\u002F10.webhooks\u002F04.delete-webhook-endpoint",{"title":533,"path":534,"stem":535},"Test a webhook endpoint","\u002Fen\u002Fapi\u002Freference\u002Fwebhooks\u002Ftest-webhook-endpoint","en\u002F12.api\u002F07.reference\u002F10.webhooks\u002F05.test-webhook-endpoint",{"title":537,"path":538,"stem":539,"children":540},"API guides","\u002Fen\u002Fapi\u002Fguides","en\u002F12.api\u002F08.guides\u002Findex",[541,542,546,550],{"title":537,"path":538,"stem":539},{"title":543,"path":544,"stem":545},"Sync calls with your CRM","\u002Fen\u002Fapi\u002Fguides\u002Fsync-calls-crm","en\u002F12.api\u002F08.guides\u002F01.sync-calls-crm",{"title":547,"path":548,"stem":549},"Export the call history","\u002Fen\u002Fapi\u002Fguides\u002Fexport-call-history","en\u002F12.api\u002F08.guides\u002F02.export-call-history",{"title":551,"path":552,"stem":553},"Feed knowledge from your website","\u002Fen\u002Fapi\u002Fguides\u002Fknowledge-from-website","en\u002F12.api\u002F08.guides\u002F03.knowledge-from-website",{"title":555,"path":556,"stem":557},"Versioning and changelog","\u002Fen\u002Fapi\u002Fchangelog","en\u002F12.api\u002F09.changelog",{"title":559,"path":560,"stem":561},"OAuth for partner platforms","\u002Fen\u002Fapi\u002Foauth","en\u002F12.api\u002F10.oauth",{"title":563,"path":564,"stem":565,"children":566},"Integrations","\u002Fen\u002Fintegrations","en\u002F13.integrations\u002Findex",[567,568],{"title":563,"path":564,"stem":565},{"title":569,"path":570,"stem":571},"Cal.com","\u002Fen\u002Fintegrations\u002Fcalcom","en\u002F13.integrations\u002F01.calcom",{"title":573,"path":574,"stem":575,"children":576},"Telephony","\u002Fen\u002Ftelephony","en\u002F14.telephony\u002Findex",[577,578,581,585,589,593,596,600,604,608],{"title":573,"path":574,"stem":575},{"title":476,"path":579,"stem":580},"\u002Fen\u002Ftelephony\u002Fnumbers","en\u002F14.telephony\u002F01.numbers",{"title":582,"path":583,"stem":584},"Connect over SIP","\u002Fen\u002Ftelephony\u002Fsip-trunk","en\u002F14.telephony\u002F02.sip-trunk",{"title":586,"path":587,"stem":588},"Phone calls","\u002Fen\u002Ftelephony\u002Fphone-calls","en\u002F14.telephony\u002F03.phone-calls",{"title":590,"path":591,"stem":592},"Call settings","\u002Fen\u002Ftelephony\u002Fcall-settings","en\u002F14.telephony\u002F04.call-settings",{"title":399,"path":594,"stem":595},"\u002Fen\u002Ftelephony\u002Fcampaigns","en\u002F14.telephony\u002F05.campaigns",{"title":597,"path":598,"stem":599},"Simultaneous calls","\u002Fen\u002Ftelephony\u002Fconcurrency","en\u002F14.telephony\u002F06.concurrency",{"title":601,"path":602,"stem":603},"Transfers","\u002Fen\u002Ftelephony\u002Ftransfers","en\u002F14.telephony\u002F07.transfers",{"title":605,"path":606,"stem":607},"Agent webhooks","\u002Fen\u002Ftelephony\u002Fwebhooks","en\u002F14.telephony\u002F08.webhooks",{"title":609,"path":610,"stem":611},"Errors and end reasons","\u002Fen\u002Ftelephony\u002Ferrors","en\u002F14.telephony\u002F09.errors",{"title":613,"path":614,"stem":615,"children":616},"Settings","\u002Fen\u002Fsettings","en\u002F15.settings\u002Findex",[617,618,622,626,630,634,638,642,646,650,653,657],{"title":613,"path":614,"stem":615},{"title":619,"path":620,"stem":621},"Profile","\u002Fen\u002Fsettings\u002Fpersonal-profile","en\u002F15.settings\u002F01.personal-profile",{"title":623,"path":624,"stem":625},"Credentials","\u002Fen\u002Fsettings\u002Fcredentials","en\u002F15.settings\u002F02.credentials",{"title":627,"path":628,"stem":629},"Password","\u002Fen\u002Fsettings\u002Fpassword","en\u002F15.settings\u002F03.password",{"title":631,"path":632,"stem":633},"Two-factor authentication","\u002Fen\u002Fsettings\u002Ftwo-factor","en\u002F15.settings\u002F04.two-factor",{"title":635,"path":636,"stem":637},"Active sessions","\u002Fen\u002Fsettings\u002Fsessions","en\u002F15.settings\u002F05.sessions",{"title":639,"path":640,"stem":641},"Company","\u002Fen\u002Fsettings\u002Fcompany","en\u002F15.settings\u002F06.company",{"title":643,"path":644,"stem":645},"Organization","\u002Fen\u002Fsettings\u002Forganization","en\u002F15.settings\u002F07.organization",{"title":647,"path":648,"stem":649},"Members","\u002Fen\u002Fsettings\u002Fmembers","en\u002F15.settings\u002F08.members",{"title":563,"path":651,"stem":652},"\u002Fen\u002Fsettings\u002Fintegrations","en\u002F15.settings\u002F09.integrations",{"title":654,"path":655,"stem":656},"API keys","\u002Fen\u002Fsettings\u002Fapi-keys","en\u002F15.settings\u002F10.api-keys",{"title":658,"path":659,"stem":660},"Connected apps and OAuth apps","\u002Fen\u002Fsettings\u002Fconnected-apps","en\u002F15.settings\u002F11.connected-apps",{"title":662,"path":663,"stem":664,"children":665},"Common problems","\u002Fen\u002Ftroubleshooting","en\u002F16.troubleshooting\u002Findex",[666,667,671,675,679,683,687],{"title":662,"path":663,"stem":664},{"title":668,"path":669,"stem":670},"Agent not answering","\u002Fen\u002Ftroubleshooting\u002Fagent-not-answering","en\u002F16.troubleshooting\u002F01.agent-not-answering",{"title":672,"path":673,"stem":674},"Calls drop","\u002Fen\u002Ftroubleshooting\u002Fcalls-drop","en\u002F16.troubleshooting\u002F02.calls-drop",{"title":676,"path":677,"stem":678},"Flow not publishing","\u002Fen\u002Ftroubleshooting\u002Fflow-not-publishing","en\u002F16.troubleshooting\u002F03.flow-not-publishing",{"title":680,"path":681,"stem":682},"Knowledge not answering","\u002Fen\u002Ftroubleshooting\u002Fkb-not-answering","en\u002F16.troubleshooting\u002F04.kb-not-answering",{"title":684,"path":685,"stem":686},"Integration not connecting","\u002Fen\u002Ftroubleshooting\u002Fintegration-not-connecting","en\u002F16.troubleshooting\u002F05.integration-not-connecting",{"title":688,"path":689,"stem":690},"Tests failing","\u002Fen\u002Ftroubleshooting\u002Ftests-failing","en\u002F16.troubleshooting\u002F06.tests-failing",{"title":692,"path":693,"stem":694,"children":695,"page":704},"Legal","\u002Fen\u002Flegal","en\u002F17.legal",[696,700],{"title":697,"path":698,"stem":699},"Privacy Policy","\u002Fen\u002Flegal\u002Fprivacy","en\u002F17.legal\u002F01.privacy",{"title":701,"path":702,"stem":703},"Terms and Conditions","\u002Fen\u002Flegal\u002Fterms","en\u002F17.legal\u002F02.terms",false,{"id":706,"title":547,"body":707,"description":2227,"extension":2228,"links":2229,"meta":2230,"navigation":801,"path":548,"seo":2231,"stem":549,"__hash__":2232},"docs_en\u002Fen\u002F12.api\u002F08.guides\u002F02.export-call-history.md",{"type":708,"value":709,"toc":2220},"minimark",[710,727,732,759,763,1964,2021,2025,2028,2171,2184,2188,2201,2205,2216],[711,712,713,714,721,722,726],"p",{},"This guide exports the organization's calls with ",[715,716,717],"a",{"href":370},[718,719,720],"code",{},"GET \u002Fv1\u002Fcalls",". It uses ",[715,723,725],{"href":724},"\u002Fen\u002Fapi\u002Fapi-channel#pagination","cursor pagination",", which costs the same on any page, even with hundreds of thousands of calls.",[728,729,731],"h2",{"id":730},"before-you-start","Before you start",[733,734,735,752],"ul",{},[736,737,738,739,742,743,747,748,751],"li",{},"An ",[715,740,741],{"href":307},"API key"," with the ",[744,745,746],"strong",{},"Chamadas e transcrições"," (",[718,749,750],{},"calls:read",") scope.",[736,753,754,755,758],{},"Python 3.11 or later with ",[718,756,757],{},"requests",", or Node.js 18 or later.",[728,760,762],{"id":761},"export-to-csv","Export to CSV",[764,765,766,1001],"code-group",{},[767,768,774],"pre",{"className":769,"code":770,"filename":771,"language":772,"meta":773,"style":773},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import csv\nimport os\nimport time\n\nimport requests\n\nAPI = \"https:\u002F\u002Fapi.diska.ai\u002Fv1\"\nFIELDS = [\n    \"id\", \"started_at\", \"ended_at\", \"duration_seconds\", \"channel\", \"direction\", \"status\",\n    \"agent_name\", \"caller_name\", \"caller_contact\", \"end_reason\", \"summary\",\n]\nsession = requests.Session()\nsession.headers[\"Authorization\"] = f\"Bearer {os.environ['DISKA_API_KEY']}\"\n\n\ndef get(path: str, params: dict | None = None) -> dict:\n    while True:\n        response = session.get(f\"{API}{path}\", params=params, timeout=60)\n        if response.status_code == 429:  # rate limit: wait as long as the API says\n            time.sleep(int(response.headers.get(\"Retry-After\", \"5\")))\n            continue\n        response.raise_for_status()\n        return response.json()\n\n\nparams = {\"cursor\": \"start\", \"limit\": 200}  # optional filters: agent_id, status, channel\ntotal = 0\nwith open(\"calls.csv\", \"w\", newline=\"\", encoding=\"utf-8\") as file:\n    writer = csv.DictWriter(file, fieldnames=FIELDS, extrasaction=\"ignore\")\n    writer.writeheader()\n    while True:\n        page = get(\"\u002Fcalls\", params)\n        writer.writerows(page[\"items\"])\n        total += len(page[\"items\"])\n        if not page[\"next_cursor\"]:\n            break\n        params[\"cursor\"] = page[\"next_cursor\"]\nprint(f\"{total} calls exported to calls.csv\")\n","Python","python","",[718,775,776,784,790,796,803,809,814,820,826,832,838,844,850,856,861,866,872,878,884,890,896,902,908,914,919,924,930,936,942,948,954,959,965,971,977,983,989,995],{"__ignoreMap":773},[777,778,781],"span",{"class":779,"line":780},"line",1,[777,782,783],{},"import csv\n",[777,785,787],{"class":779,"line":786},2,[777,788,789],{},"import os\n",[777,791,793],{"class":779,"line":792},3,[777,794,795],{},"import time\n",[777,797,799],{"class":779,"line":798},4,[777,800,802],{"emptyLinePlaceholder":801},true,"\n",[777,804,806],{"class":779,"line":805},5,[777,807,808],{},"import requests\n",[777,810,812],{"class":779,"line":811},6,[777,813,802],{"emptyLinePlaceholder":801},[777,815,817],{"class":779,"line":816},7,[777,818,819],{},"API = \"https:\u002F\u002Fapi.diska.ai\u002Fv1\"\n",[777,821,823],{"class":779,"line":822},8,[777,824,825],{},"FIELDS = [\n",[777,827,829],{"class":779,"line":828},9,[777,830,831],{},"    \"id\", \"started_at\", \"ended_at\", \"duration_seconds\", \"channel\", \"direction\", \"status\",\n",[777,833,835],{"class":779,"line":834},10,[777,836,837],{},"    \"agent_name\", \"caller_name\", \"caller_contact\", \"end_reason\", \"summary\",\n",[777,839,841],{"class":779,"line":840},11,[777,842,843],{},"]\n",[777,845,847],{"class":779,"line":846},12,[777,848,849],{},"session = requests.Session()\n",[777,851,853],{"class":779,"line":852},13,[777,854,855],{},"session.headers[\"Authorization\"] = f\"Bearer {os.environ['DISKA_API_KEY']}\"\n",[777,857,859],{"class":779,"line":858},14,[777,860,802],{"emptyLinePlaceholder":801},[777,862,864],{"class":779,"line":863},15,[777,865,802],{"emptyLinePlaceholder":801},[777,867,869],{"class":779,"line":868},16,[777,870,871],{},"def get(path: str, params: dict | None = None) -> dict:\n",[777,873,875],{"class":779,"line":874},17,[777,876,877],{},"    while True:\n",[777,879,881],{"class":779,"line":880},18,[777,882,883],{},"        response = session.get(f\"{API}{path}\", params=params, timeout=60)\n",[777,885,887],{"class":779,"line":886},19,[777,888,889],{},"        if response.status_code == 429:  # rate limit: wait as long as the API says\n",[777,891,893],{"class":779,"line":892},20,[777,894,895],{},"            time.sleep(int(response.headers.get(\"Retry-After\", \"5\")))\n",[777,897,899],{"class":779,"line":898},21,[777,900,901],{},"            continue\n",[777,903,905],{"class":779,"line":904},22,[777,906,907],{},"        response.raise_for_status()\n",[777,909,911],{"class":779,"line":910},23,[777,912,913],{},"        return response.json()\n",[777,915,917],{"class":779,"line":916},24,[777,918,802],{"emptyLinePlaceholder":801},[777,920,922],{"class":779,"line":921},25,[777,923,802],{"emptyLinePlaceholder":801},[777,925,927],{"class":779,"line":926},26,[777,928,929],{},"params = {\"cursor\": \"start\", \"limit\": 200}  # optional filters: agent_id, status, channel\n",[777,931,933],{"class":779,"line":932},27,[777,934,935],{},"total = 0\n",[777,937,939],{"class":779,"line":938},28,[777,940,941],{},"with open(\"calls.csv\", \"w\", newline=\"\", encoding=\"utf-8\") as file:\n",[777,943,945],{"class":779,"line":944},29,[777,946,947],{},"    writer = csv.DictWriter(file, fieldnames=FIELDS, extrasaction=\"ignore\")\n",[777,949,951],{"class":779,"line":950},30,[777,952,953],{},"    writer.writeheader()\n",[777,955,957],{"class":779,"line":956},31,[777,958,877],{},[777,960,962],{"class":779,"line":961},32,[777,963,964],{},"        page = get(\"\u002Fcalls\", params)\n",[777,966,968],{"class":779,"line":967},33,[777,969,970],{},"        writer.writerows(page[\"items\"])\n",[777,972,974],{"class":779,"line":973},34,[777,975,976],{},"        total += len(page[\"items\"])\n",[777,978,980],{"class":779,"line":979},35,[777,981,982],{},"        if not page[\"next_cursor\"]:\n",[777,984,986],{"class":779,"line":985},36,[777,987,988],{},"            break\n",[777,990,992],{"class":779,"line":991},37,[777,993,994],{},"        params[\"cursor\"] = page[\"next_cursor\"]\n",[777,996,998],{"class":779,"line":997},38,[777,999,1000],{},"print(f\"{total} calls exported to calls.csv\")\n",[767,1002,1007],{"className":1003,"code":1004,"filename":1005,"language":1006,"meta":773,"style":773},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Node.js 18 or later, in a .mjs file\nimport { createWriteStream } from 'node:fs'\nimport { setTimeout as sleep } from 'node:timers\u002Fpromises'\n\nconst API = 'https:\u002F\u002Fapi.diska.ai\u002Fv1'\nconst FIELDS = ['id', 'started_at', 'ended_at', 'duration_seconds', 'channel', 'direction', 'status',\n  'agent_name', 'caller_name', 'caller_contact', 'end_reason', 'summary']\n\nasync function get(path, params) {\n  for (;;) {\n    const response = await fetch(`${API}${path}?${new URLSearchParams(params)}`, {\n      headers: { Authorization: `Bearer ${process.env.DISKA_API_KEY}` }\n    })\n    if (response.status === 429) { \u002F\u002F rate limit: wait as long as the API says\n      await sleep(1000 * Number(response.headers.get('retry-after') || 5))\n      continue\n    }\n    if (!response.ok) throw new Error(`${response.status} ${await response.text()}`)\n    return response.json()\n  }\n}\n\nconst cell = value => `\"${String(value ?? '').replaceAll('\"', '\"\"')}\"`\nconst out = createWriteStream('calls.csv')\nout.write(FIELDS.join(',') + '\\n')\nconst params = { cursor: 'start', limit: 200 } \u002F\u002F optional filters: agent_id, status, channel\nlet total = 0\nfor (;;) {\n  const page = await get('\u002Fcalls', params)\n  for (const call of page.items) out.write(FIELDS.map(f => cell(call[f])).join(',') + '\\n')\n  total += page.items.length\n  if (!page.next_cursor) break\n  params.cursor = page.next_cursor\n}\nout.end()\nconsole.log(`${total} calls exported to calls.csv`)\n","Node.js","js",[718,1008,1009,1015,1045,1071,1075,1094,1172,1220,1224,1254,1271,1325,1367,1375,1404,1456,1461,1466,1525,1540,1545,1550,1554,1621,1643,1683,1721,1734,1747,1776,1862,1881,1903,1922,1926,1937],{"__ignoreMap":773},[777,1010,1011],{"class":779,"line":780},[777,1012,1014],{"class":1013},"sHwdD","\u002F\u002F Node.js 18 or later, in a .mjs file\n",[777,1016,1017,1021,1025,1029,1032,1035,1038,1042],{"class":779,"line":786},[777,1018,1020],{"class":1019},"s7zQu","import",[777,1022,1024],{"class":1023},"sMK4o"," {",[777,1026,1028],{"class":1027},"sTEyZ"," createWriteStream",[777,1030,1031],{"class":1023}," }",[777,1033,1034],{"class":1019}," from",[777,1036,1037],{"class":1023}," '",[777,1039,1041],{"class":1040},"sfazB","node:fs",[777,1043,1044],{"class":1023},"'\n",[777,1046,1047,1049,1051,1054,1057,1060,1062,1064,1066,1069],{"class":779,"line":792},[777,1048,1020],{"class":1019},[777,1050,1024],{"class":1023},[777,1052,1053],{"class":1027}," setTimeout",[777,1055,1056],{"class":1019}," as",[777,1058,1059],{"class":1027}," sleep",[777,1061,1031],{"class":1023},[777,1063,1034],{"class":1019},[777,1065,1037],{"class":1023},[777,1067,1068],{"class":1040},"node:timers\u002Fpromises",[777,1070,1044],{"class":1023},[777,1072,1073],{"class":779,"line":798},[777,1074,802],{"emptyLinePlaceholder":801},[777,1076,1077,1081,1084,1087,1089,1092],{"class":779,"line":805},[777,1078,1080],{"class":1079},"spNyl","const",[777,1082,1083],{"class":1027}," API ",[777,1085,1086],{"class":1023},"=",[777,1088,1037],{"class":1023},[777,1090,1091],{"class":1040},"https:\u002F\u002Fapi.diska.ai\u002Fv1",[777,1093,1044],{"class":1023},[777,1095,1096,1098,1101,1103,1106,1109,1112,1114,1117,1119,1122,1124,1126,1128,1131,1133,1135,1137,1140,1142,1144,1146,1149,1151,1153,1155,1158,1160,1162,1164,1167,1169],{"class":779,"line":811},[777,1097,1080],{"class":1079},[777,1099,1100],{"class":1027}," FIELDS ",[777,1102,1086],{"class":1023},[777,1104,1105],{"class":1027}," [",[777,1107,1108],{"class":1023},"'",[777,1110,1111],{"class":1040},"id",[777,1113,1108],{"class":1023},[777,1115,1116],{"class":1023},",",[777,1118,1037],{"class":1023},[777,1120,1121],{"class":1040},"started_at",[777,1123,1108],{"class":1023},[777,1125,1116],{"class":1023},[777,1127,1037],{"class":1023},[777,1129,1130],{"class":1040},"ended_at",[777,1132,1108],{"class":1023},[777,1134,1116],{"class":1023},[777,1136,1037],{"class":1023},[777,1138,1139],{"class":1040},"duration_seconds",[777,1141,1108],{"class":1023},[777,1143,1116],{"class":1023},[777,1145,1037],{"class":1023},[777,1147,1148],{"class":1040},"channel",[777,1150,1108],{"class":1023},[777,1152,1116],{"class":1023},[777,1154,1037],{"class":1023},[777,1156,1157],{"class":1040},"direction",[777,1159,1108],{"class":1023},[777,1161,1116],{"class":1023},[777,1163,1037],{"class":1023},[777,1165,1166],{"class":1040},"status",[777,1168,1108],{"class":1023},[777,1170,1171],{"class":1023},",\n",[777,1173,1174,1177,1180,1182,1184,1186,1189,1191,1193,1195,1198,1200,1202,1204,1207,1209,1211,1213,1216,1218],{"class":779,"line":816},[777,1175,1176],{"class":1023},"  '",[777,1178,1179],{"class":1040},"agent_name",[777,1181,1108],{"class":1023},[777,1183,1116],{"class":1023},[777,1185,1037],{"class":1023},[777,1187,1188],{"class":1040},"caller_name",[777,1190,1108],{"class":1023},[777,1192,1116],{"class":1023},[777,1194,1037],{"class":1023},[777,1196,1197],{"class":1040},"caller_contact",[777,1199,1108],{"class":1023},[777,1201,1116],{"class":1023},[777,1203,1037],{"class":1023},[777,1205,1206],{"class":1040},"end_reason",[777,1208,1108],{"class":1023},[777,1210,1116],{"class":1023},[777,1212,1037],{"class":1023},[777,1214,1215],{"class":1040},"summary",[777,1217,1108],{"class":1023},[777,1219,843],{"class":1027},[777,1221,1222],{"class":779,"line":822},[777,1223,802],{"emptyLinePlaceholder":801},[777,1225,1226,1229,1232,1236,1239,1243,1245,1248,1251],{"class":779,"line":828},[777,1227,1228],{"class":1079},"async",[777,1230,1231],{"class":1079}," function",[777,1233,1235],{"class":1234},"s2Zo4"," get",[777,1237,1238],{"class":1023},"(",[777,1240,1242],{"class":1241},"sHdIc","path",[777,1244,1116],{"class":1023},[777,1246,1247],{"class":1241}," params",[777,1249,1250],{"class":1023},")",[777,1252,1253],{"class":1023}," {\n",[777,1255,1256,1259,1262,1265,1268],{"class":779,"line":834},[777,1257,1258],{"class":1019},"  for",[777,1260,747],{"class":1261},"swJcz",[777,1263,1264],{"class":1023},";;",[777,1266,1267],{"class":1261},") ",[777,1269,1270],{"class":1023},"{\n",[777,1272,1273,1276,1279,1282,1285,1288,1290,1293,1295,1298,1300,1303,1306,1309,1312,1315,1318,1321,1323],{"class":779,"line":840},[777,1274,1275],{"class":1079},"    const",[777,1277,1278],{"class":1027}," response",[777,1280,1281],{"class":1023}," =",[777,1283,1284],{"class":1019}," await",[777,1286,1287],{"class":1234}," fetch",[777,1289,1238],{"class":1261},[777,1291,1292],{"class":1023},"`${",[777,1294,292],{"class":1027},[777,1296,1297],{"class":1023},"}${",[777,1299,1242],{"class":1027},[777,1301,1302],{"class":1023},"}",[777,1304,1305],{"class":1040},"?",[777,1307,1308],{"class":1023},"${",[777,1310,1311],{"class":1023},"new",[777,1313,1314],{"class":1234}," URLSearchParams",[777,1316,1317],{"class":1027},"(params)",[777,1319,1320],{"class":1023},"}`",[777,1322,1116],{"class":1023},[777,1324,1253],{"class":1023},[777,1326,1327,1330,1333,1335,1338,1340,1343,1346,1348,1351,1354,1357,1359,1362,1364],{"class":779,"line":846},[777,1328,1329],{"class":1261},"      headers",[777,1331,1332],{"class":1023},":",[777,1334,1024],{"class":1023},[777,1336,1337],{"class":1261}," Authorization",[777,1339,1332],{"class":1023},[777,1341,1342],{"class":1023}," `",[777,1344,1345],{"class":1040},"Bearer ",[777,1347,1308],{"class":1023},[777,1349,1350],{"class":1027},"process",[777,1352,1353],{"class":1023},".",[777,1355,1356],{"class":1027},"env",[777,1358,1353],{"class":1023},[777,1360,1361],{"class":1027},"DISKA_API_KEY",[777,1363,1320],{"class":1023},[777,1365,1366],{"class":1023}," }\n",[777,1368,1369,1372],{"class":779,"line":852},[777,1370,1371],{"class":1023},"    }",[777,1373,1374],{"class":1261},")\n",[777,1376,1377,1380,1382,1385,1387,1389,1392,1396,1398,1401],{"class":779,"line":858},[777,1378,1379],{"class":1019},"    if",[777,1381,747],{"class":1261},[777,1383,1384],{"class":1027},"response",[777,1386,1353],{"class":1023},[777,1388,1166],{"class":1027},[777,1390,1391],{"class":1023}," ===",[777,1393,1395],{"class":1394},"sbssI"," 429",[777,1397,1267],{"class":1261},[777,1399,1400],{"class":1023},"{",[777,1402,1403],{"class":1013}," \u002F\u002F rate limit: wait as long as the API says\n",[777,1405,1406,1409,1411,1413,1416,1419,1422,1424,1426,1428,1431,1433,1436,1438,1440,1443,1445,1447,1450,1453],{"class":779,"line":863},[777,1407,1408],{"class":1019},"      await",[777,1410,1059],{"class":1234},[777,1412,1238],{"class":1261},[777,1414,1415],{"class":1394},"1000",[777,1417,1418],{"class":1023}," *",[777,1420,1421],{"class":1234}," Number",[777,1423,1238],{"class":1261},[777,1425,1384],{"class":1027},[777,1427,1353],{"class":1023},[777,1429,1430],{"class":1027},"headers",[777,1432,1353],{"class":1023},[777,1434,1435],{"class":1234},"get",[777,1437,1238],{"class":1261},[777,1439,1108],{"class":1023},[777,1441,1442],{"class":1040},"retry-after",[777,1444,1108],{"class":1023},[777,1446,1267],{"class":1261},[777,1448,1449],{"class":1023},"||",[777,1451,1452],{"class":1394}," 5",[777,1454,1455],{"class":1261},"))\n",[777,1457,1458],{"class":779,"line":868},[777,1459,1460],{"class":1019},"      continue\n",[777,1462,1463],{"class":779,"line":874},[777,1464,1465],{"class":1023},"    }\n",[777,1467,1468,1470,1472,1475,1477,1479,1482,1484,1487,1490,1493,1495,1497,1499,1501,1503,1505,1508,1511,1513,1515,1518,1521,1523],{"class":779,"line":880},[777,1469,1379],{"class":1019},[777,1471,747],{"class":1261},[777,1473,1474],{"class":1023},"!",[777,1476,1384],{"class":1027},[777,1478,1353],{"class":1023},[777,1480,1481],{"class":1027},"ok",[777,1483,1267],{"class":1261},[777,1485,1486],{"class":1019},"throw",[777,1488,1489],{"class":1023}," new",[777,1491,1492],{"class":1234}," Error",[777,1494,1238],{"class":1261},[777,1496,1292],{"class":1023},[777,1498,1384],{"class":1027},[777,1500,1353],{"class":1023},[777,1502,1166],{"class":1027},[777,1504,1302],{"class":1023},[777,1506,1507],{"class":1023}," ${",[777,1509,1510],{"class":1019},"await",[777,1512,1278],{"class":1027},[777,1514,1353],{"class":1023},[777,1516,1517],{"class":1234},"text",[777,1519,1520],{"class":1027},"()",[777,1522,1320],{"class":1023},[777,1524,1374],{"class":1261},[777,1526,1527,1530,1532,1534,1537],{"class":779,"line":886},[777,1528,1529],{"class":1019},"    return",[777,1531,1278],{"class":1027},[777,1533,1353],{"class":1023},[777,1535,1536],{"class":1234},"json",[777,1538,1539],{"class":1261},"()\n",[777,1541,1542],{"class":779,"line":892},[777,1543,1544],{"class":1023},"  }\n",[777,1546,1547],{"class":779,"line":898},[777,1548,1549],{"class":1023},"}\n",[777,1551,1552],{"class":779,"line":904},[777,1553,802],{"emptyLinePlaceholder":801},[777,1555,1556,1558,1561,1563,1566,1569,1571,1574,1576,1579,1582,1585,1588,1590,1592,1595,1597,1599,1601,1603,1605,1607,1610,1612,1614,1616,1618],{"class":779,"line":910},[777,1557,1080],{"class":1079},[777,1559,1560],{"class":1027}," cell ",[777,1562,1086],{"class":1023},[777,1564,1565],{"class":1241}," value",[777,1567,1568],{"class":1079}," =>",[777,1570,1342],{"class":1023},[777,1572,1573],{"class":1040},"\"",[777,1575,1308],{"class":1023},[777,1577,1578],{"class":1234},"String",[777,1580,1581],{"class":1027},"(value ",[777,1583,1584],{"class":1023},"??",[777,1586,1587],{"class":1023}," ''",[777,1589,1250],{"class":1027},[777,1591,1353],{"class":1023},[777,1593,1594],{"class":1234},"replaceAll",[777,1596,1238],{"class":1027},[777,1598,1108],{"class":1023},[777,1600,1573],{"class":1040},[777,1602,1108],{"class":1023},[777,1604,1116],{"class":1023},[777,1606,1037],{"class":1023},[777,1608,1609],{"class":1040},"\"\"",[777,1611,1108],{"class":1023},[777,1613,1250],{"class":1027},[777,1615,1302],{"class":1023},[777,1617,1573],{"class":1040},[777,1619,1620],{"class":1023},"`\n",[777,1622,1623,1625,1628,1630,1632,1634,1636,1639,1641],{"class":779,"line":916},[777,1624,1080],{"class":1079},[777,1626,1627],{"class":1027}," out ",[777,1629,1086],{"class":1023},[777,1631,1028],{"class":1234},[777,1633,1238],{"class":1027},[777,1635,1108],{"class":1023},[777,1637,1638],{"class":1040},"calls.csv",[777,1640,1108],{"class":1023},[777,1642,1374],{"class":1027},[777,1644,1645,1648,1650,1653,1656,1658,1661,1663,1665,1667,1669,1671,1674,1676,1679,1681],{"class":779,"line":921},[777,1646,1647],{"class":1027},"out",[777,1649,1353],{"class":1023},[777,1651,1652],{"class":1234},"write",[777,1654,1655],{"class":1027},"(FIELDS",[777,1657,1353],{"class":1023},[777,1659,1660],{"class":1234},"join",[777,1662,1238],{"class":1027},[777,1664,1108],{"class":1023},[777,1666,1116],{"class":1040},[777,1668,1108],{"class":1023},[777,1670,1267],{"class":1027},[777,1672,1673],{"class":1023},"+",[777,1675,1037],{"class":1023},[777,1677,1678],{"class":1027},"\\n",[777,1680,1108],{"class":1023},[777,1682,1374],{"class":1027},[777,1684,1685,1687,1690,1692,1694,1697,1699,1701,1704,1706,1708,1711,1713,1716,1718],{"class":779,"line":926},[777,1686,1080],{"class":1079},[777,1688,1689],{"class":1027}," params ",[777,1691,1086],{"class":1023},[777,1693,1024],{"class":1023},[777,1695,1696],{"class":1261}," cursor",[777,1698,1332],{"class":1023},[777,1700,1037],{"class":1023},[777,1702,1703],{"class":1040},"start",[777,1705,1108],{"class":1023},[777,1707,1116],{"class":1023},[777,1709,1710],{"class":1261}," limit",[777,1712,1332],{"class":1023},[777,1714,1715],{"class":1394}," 200",[777,1717,1031],{"class":1023},[777,1719,1720],{"class":1013}," \u002F\u002F optional filters: agent_id, status, channel\n",[777,1722,1723,1726,1729,1731],{"class":779,"line":932},[777,1724,1725],{"class":1079},"let",[777,1727,1728],{"class":1027}," total ",[777,1730,1086],{"class":1023},[777,1732,1733],{"class":1394}," 0\n",[777,1735,1736,1739,1741,1743,1745],{"class":779,"line":938},[777,1737,1738],{"class":1019},"for",[777,1740,747],{"class":1027},[777,1742,1264],{"class":1023},[777,1744,1267],{"class":1027},[777,1746,1270],{"class":1023},[777,1748,1749,1752,1755,1757,1759,1761,1763,1765,1768,1770,1772,1774],{"class":779,"line":944},[777,1750,1751],{"class":1079},"  const",[777,1753,1754],{"class":1027}," page",[777,1756,1281],{"class":1023},[777,1758,1284],{"class":1019},[777,1760,1235],{"class":1234},[777,1762,1238],{"class":1261},[777,1764,1108],{"class":1023},[777,1766,1767],{"class":1040},"\u002Fcalls",[777,1769,1108],{"class":1023},[777,1771,1116],{"class":1023},[777,1773,1247],{"class":1027},[777,1775,1374],{"class":1261},[777,1777,1778,1780,1782,1784,1787,1790,1792,1794,1797,1799,1801,1803,1805,1807,1810,1812,1815,1817,1820,1822,1825,1827,1830,1833,1835,1838,1840,1842,1844,1846,1848,1850,1852,1854,1856,1858,1860],{"class":779,"line":950},[777,1779,1258],{"class":1019},[777,1781,747],{"class":1261},[777,1783,1080],{"class":1079},[777,1785,1786],{"class":1027}," call",[777,1788,1789],{"class":1023}," of",[777,1791,1754],{"class":1027},[777,1793,1353],{"class":1023},[777,1795,1796],{"class":1027},"items",[777,1798,1267],{"class":1261},[777,1800,1647],{"class":1027},[777,1802,1353],{"class":1023},[777,1804,1652],{"class":1234},[777,1806,1238],{"class":1261},[777,1808,1809],{"class":1027},"FIELDS",[777,1811,1353],{"class":1023},[777,1813,1814],{"class":1234},"map",[777,1816,1238],{"class":1261},[777,1818,1819],{"class":1241},"f",[777,1821,1568],{"class":1079},[777,1823,1824],{"class":1234}," cell",[777,1826,1238],{"class":1261},[777,1828,1829],{"class":1027},"call",[777,1831,1832],{"class":1261},"[",[777,1834,1819],{"class":1027},[777,1836,1837],{"class":1261},"]))",[777,1839,1353],{"class":1023},[777,1841,1660],{"class":1234},[777,1843,1238],{"class":1261},[777,1845,1108],{"class":1023},[777,1847,1116],{"class":1040},[777,1849,1108],{"class":1023},[777,1851,1267],{"class":1261},[777,1853,1673],{"class":1023},[777,1855,1037],{"class":1023},[777,1857,1678],{"class":1027},[777,1859,1108],{"class":1023},[777,1861,1374],{"class":1261},[777,1863,1864,1867,1870,1872,1874,1876,1878],{"class":779,"line":956},[777,1865,1866],{"class":1027},"  total",[777,1868,1869],{"class":1023}," +=",[777,1871,1754],{"class":1027},[777,1873,1353],{"class":1023},[777,1875,1796],{"class":1027},[777,1877,1353],{"class":1023},[777,1879,1880],{"class":1027},"length\n",[777,1882,1883,1886,1888,1890,1893,1895,1898,1900],{"class":779,"line":961},[777,1884,1885],{"class":1019},"  if",[777,1887,747],{"class":1261},[777,1889,1474],{"class":1023},[777,1891,1892],{"class":1027},"page",[777,1894,1353],{"class":1023},[777,1896,1897],{"class":1027},"next_cursor",[777,1899,1267],{"class":1261},[777,1901,1902],{"class":1019},"break\n",[777,1904,1905,1908,1910,1913,1915,1917,1919],{"class":779,"line":967},[777,1906,1907],{"class":1027},"  params",[777,1909,1353],{"class":1023},[777,1911,1912],{"class":1027},"cursor",[777,1914,1281],{"class":1023},[777,1916,1754],{"class":1027},[777,1918,1353],{"class":1023},[777,1920,1921],{"class":1027},"next_cursor\n",[777,1923,1924],{"class":779,"line":973},[777,1925,1549],{"class":1023},[777,1927,1928,1930,1932,1935],{"class":779,"line":979},[777,1929,1647],{"class":1027},[777,1931,1353],{"class":1023},[777,1933,1934],{"class":1234},"end",[777,1936,1539],{"class":1027},[777,1938,1939,1942,1944,1947,1949,1951,1954,1956,1959,1962],{"class":779,"line":985},[777,1940,1941],{"class":1027},"console",[777,1943,1353],{"class":1023},[777,1945,1946],{"class":1234},"log",[777,1948,1238],{"class":1027},[777,1950,1292],{"class":1023},[777,1952,1953],{"class":1027},"total",[777,1955,1302],{"class":1023},[777,1957,1958],{"class":1040}," calls exported to calls.csv",[777,1960,1961],{"class":1023},"`",[777,1963,1374],{"class":1027},[733,1965,1966,1983,1989,2000],{},[736,1967,1968,1969,1972,1973,1975,1976,1978,1979,1982],{},"The first page asks for ",[718,1970,1971],{},"cursor=start","; the next ones use the ",[718,1974,1897],{}," received. When ",[718,1977,1897],{}," is ",[718,1980,1981],{},"null",", you are done.",[736,1984,1985,1988],{},[718,1986,1987],{},"limit=200"," is the maximum per page.",[736,1990,1991,1992,1995,1996,1999],{},"If the API answers ",[718,1993,1994],{},"429",", the script waits as long as the ",[718,1997,1998],{},"Retry-After"," header says and repeats the request.",[736,2001,2002,2003,2006,2007,2010,2011,2013,2014,2016,2017,1353],{},"To export only part of it, add filters to ",[718,2004,2005],{},"params",": ",[718,2008,2009],{},"agent_id",", ",[718,2012,1166],{}," or ",[718,2015,1148],{},". See the ",[715,2018,2020],{"href":2019},"\u002Fen\u002Fapi\u002Freference\u002Fcalls\u002Flist-calls#parameters","parameters",[728,2022,2024],{"id":2023},"include-transcripts","Include transcripts",[711,2026,2027],{},"The list does not carry the transcript. To get it, ask for each call's detail and save one JSON line per call:",[764,2029,2030],{},[767,2031,2033],{"className":769,"code":2032,"filename":771,"language":772,"meta":773,"style":773},"import json\nimport os\nimport time\n\nimport requests\n\nAPI = \"https:\u002F\u002Fapi.diska.ai\u002Fv1\"\nsession = requests.Session()\nsession.headers[\"Authorization\"] = f\"Bearer {os.environ['DISKA_API_KEY']}\"\n\n\ndef get(path: str, params: dict | None = None) -> dict:\n    while True:\n        response = session.get(f\"{API}{path}\", params=params, timeout=60)\n        if response.status_code == 429:\n            time.sleep(int(response.headers.get(\"Retry-After\", \"5\")))\n            continue\n        response.raise_for_status()\n        return response.json()\n\n\nparams = {\"cursor\": \"start\", \"limit\": 200, \"status\": \"completed\"}\nwith open(\"calls.jsonl\", \"w\", encoding=\"utf-8\") as file:\n    while True:\n        page = get(\"\u002Fcalls\", params)\n        for call in page[\"items\"]:\n            detail = get(f\"\u002Fcalls\u002F{call['id']}\")  # transcript, actions and post-call result\n            file.write(json.dumps(detail, ensure_ascii=False) + \"\\n\")\n            time.sleep(0.5)  # at most 120 requests per minute per key\n        if not page[\"next_cursor\"]:\n            break\n        params[\"cursor\"] = page[\"next_cursor\"]\n",[718,2034,2035,2040,2044,2048,2052,2056,2060,2064,2068,2072,2076,2080,2084,2088,2092,2097,2101,2105,2109,2113,2117,2121,2126,2131,2135,2139,2144,2149,2154,2159,2163,2167],{"__ignoreMap":773},[777,2036,2037],{"class":779,"line":780},[777,2038,2039],{},"import json\n",[777,2041,2042],{"class":779,"line":786},[777,2043,789],{},[777,2045,2046],{"class":779,"line":792},[777,2047,795],{},[777,2049,2050],{"class":779,"line":798},[777,2051,802],{"emptyLinePlaceholder":801},[777,2053,2054],{"class":779,"line":805},[777,2055,808],{},[777,2057,2058],{"class":779,"line":811},[777,2059,802],{"emptyLinePlaceholder":801},[777,2061,2062],{"class":779,"line":816},[777,2063,819],{},[777,2065,2066],{"class":779,"line":822},[777,2067,849],{},[777,2069,2070],{"class":779,"line":828},[777,2071,855],{},[777,2073,2074],{"class":779,"line":834},[777,2075,802],{"emptyLinePlaceholder":801},[777,2077,2078],{"class":779,"line":840},[777,2079,802],{"emptyLinePlaceholder":801},[777,2081,2082],{"class":779,"line":846},[777,2083,871],{},[777,2085,2086],{"class":779,"line":852},[777,2087,877],{},[777,2089,2090],{"class":779,"line":858},[777,2091,883],{},[777,2093,2094],{"class":779,"line":863},[777,2095,2096],{},"        if response.status_code == 429:\n",[777,2098,2099],{"class":779,"line":868},[777,2100,895],{},[777,2102,2103],{"class":779,"line":874},[777,2104,901],{},[777,2106,2107],{"class":779,"line":880},[777,2108,907],{},[777,2110,2111],{"class":779,"line":886},[777,2112,913],{},[777,2114,2115],{"class":779,"line":892},[777,2116,802],{"emptyLinePlaceholder":801},[777,2118,2119],{"class":779,"line":898},[777,2120,802],{"emptyLinePlaceholder":801},[777,2122,2123],{"class":779,"line":904},[777,2124,2125],{},"params = {\"cursor\": \"start\", \"limit\": 200, \"status\": \"completed\"}\n",[777,2127,2128],{"class":779,"line":910},[777,2129,2130],{},"with open(\"calls.jsonl\", \"w\", encoding=\"utf-8\") as file:\n",[777,2132,2133],{"class":779,"line":916},[777,2134,877],{},[777,2136,2137],{"class":779,"line":921},[777,2138,964],{},[777,2140,2141],{"class":779,"line":926},[777,2142,2143],{},"        for call in page[\"items\"]:\n",[777,2145,2146],{"class":779,"line":932},[777,2147,2148],{},"            detail = get(f\"\u002Fcalls\u002F{call['id']}\")  # transcript, actions and post-call result\n",[777,2150,2151],{"class":779,"line":938},[777,2152,2153],{},"            file.write(json.dumps(detail, ensure_ascii=False) + \"\\n\")\n",[777,2155,2156],{"class":779,"line":944},[777,2157,2158],{},"            time.sleep(0.5)  # at most 120 requests per minute per key\n",[777,2160,2161],{"class":779,"line":950},[777,2162,982],{},[777,2164,2165],{"class":779,"line":956},[777,2166,988],{},[777,2168,2169],{"class":779,"line":961},[777,2170,994],{},[711,2172,2173,2174,2179,2180,2183],{},"Each line has the same content as ",[715,2175,2176],{"href":374},[718,2177,2178],{},"GET \u002Fv1\u002Fcalls\u002F{call_id}",": transcript (",[718,2181,2182],{},"messages","), executed actions and post-call result. The script makes one request per call and waits half a second between them to stay under 120 requests per minute: 10,000 calls take about an hour and a half.",[728,2185,2187],{"id":2186},"export-only-what-is-new","Export only what is new",[711,2189,2190,2191,2193,2194,2197,2198,1353],{},"The API does not filter by date, but the list is newest first. To export only since the last run, stop when ",[718,2192,1121],{}," is older than that date, like the ",[718,2195,2196],{},"calls_since"," function in ",[715,2199,543],{"href":2200},"\u002Fen\u002Fapi\u002Fguides\u002Fsync-calls-crm#4-reconcile-once-a-day",[728,2202,2204],{"id":2203},"take-care","Take care",[733,2206,2207,2210],{},[736,2208,2209],{},"Exports contain personal data: contacts, names and what was said. Store them with the same care as the rest of your customers' data.",[736,2211,2212,2213,1353],{},"Recording audio is not exported by the API. Listen to recordings in ",[715,2214,2215],{"href":263},"History",[2217,2218,2219],"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 .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 .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}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":773,"searchDepth":786,"depth":786,"links":2221},[2222,2223,2224,2225,2226],{"id":730,"depth":786,"text":731},{"id":761,"depth":786,"text":762},{"id":2023,"depth":786,"text":2024},{"id":2186,"depth":786,"text":2187},{"id":2203,"depth":786,"text":2204},"The whole history to CSV, or with transcripts to JSONL, using cursor pagination.","md",null,{},{"title":547,"description":2227},"11y7dybErk5zjfXEWJfH4B8Z1JnM3zHyf7q2pznyayk",[2234,2236],{"title":543,"path":544,"stem":545,"description":2235,"children":-1},"Each completed call reaches your server by webhook and creates or updates the contact and the activity in your CRM.",{"title":551,"path":552,"stem":553,"description":2237,"children":-1},"Reads your website's sitemap and imports every page and every PDF into a knowledge base.",1795253317287]