[{"data":1,"prerenderedAt":4041},["ShallowReactive",2],{"navigation_docs_en":3,"-en-api-reference-campaigns-create-campaign":705,"-en-api-reference-campaigns-create-campaign-surround":4036},[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":409,"body":707,"description":4030,"extension":4031,"links":4032,"meta":4033,"navigation":1554,"path":410,"seo":4034,"stem":411,"__hash__":4035},"docs_en\u002Fen\u002F12.api\u002F07.reference\u002F05.campaigns\u002F02.create-campaign.md",{"type":708,"value":709,"toc":4022},"minimark",[710,727,738,761,766,771,1097,1456,1460,2463,2467,2474,2480,2487,3150,3940,3944,3998,4018],[711,712,717],"pre",{"className":713,"code":714,"language":715,"meta":716,"style":716},"language-http shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","POST https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fcampaigns\n","http","",[718,719,720],"code",{"__ignoreMap":716},[721,722,725],"span",{"class":723,"line":724},"line",1,[721,726,714],{},[728,729,730,734,735],"p",{},[731,732,733],"strong",{},"Scope:"," ",[718,736,737],{},"campaigns:write",[728,739,740,741,744,745,748,749,752,753,756,757,760],{},"The agent must be outbound and published, and ",[718,742,743],{},"phone_number_id"," an active DISKA line of the organization (see ",[746,747,482],"a",{"href":483},"). Windows must sit within contact hours (08:00–20:00). Then ",[746,750,751],{"href":418},"add recipients"," and ",[746,754,755],{"href":426},"start it",". Send ",[718,758,759],{},"Idempotency-Key"," to retry the request without creating two.",[762,763,765],"h2",{"id":764},"request-body","Request body",[728,767,768],{},[718,769,770],{},"application\u002Fjson",[772,773,774,793],"table",{},[775,776,777],"thead",{},[778,779,780,784,787,790],"tr",{},[781,782,783],"th",{},"Field",[781,785,786],{},"Type",[781,788,789],{},"Required",[781,791,792],{},"Description",[794,795,796,813,827,844,860,879,897,914,950,967,983,1001,1015,1032,1049,1065,1082],"tbody",{},[778,797,798,804,807,810],{},[799,800,801],"td",{},[718,802,803],{},"name",[799,805,806],{},"string",[799,808,809],{},"Yes",[799,811,812],{},"Campaign name. Up to 120 characters.",[778,814,815,820,822,824],{},[799,816,817],{},[718,818,819],{},"agent_id",[799,821,806],{},[799,823,809],{},[799,825,826],{},"Published outbound agent that places the calls.",[778,828,829,833,835,837],{},[799,830,831],{},[718,832,743],{},[799,834,806],{},[799,836,809],{},[799,838,839,840,843],{},"DISKA line to call from (from ",[718,841,842],{},"GET \u002Fv1\u002Fphone-numbers",").",[778,845,846,851,854,857],{},[799,847,848],{},[718,849,850],{},"schedule",[799,852,853],{},"object",[799,855,856],{},"No",[799,858,859],{},"When the campaign may dial.",[778,861,862,867,870,872],{},[799,863,864],{},[718,865,866],{},"schedule.start_at",[799,868,869],{},"string | null",[799,871,856],{},[799,873,874,875,878],{},"Start (ISO 8601 with time zone), or ",[718,876,877],{},"null"," to begin when started.",[778,880,881,886,888,890],{},[799,882,883],{},[718,884,885],{},"schedule.timezone",[799,887,806],{},[799,889,856],{},[799,891,892,893,896],{},"Time zone of the windows. Default: ",[718,894,895],{},"Africa\u002FLuanda",".",[778,898,899,904,909,911],{},[799,900,901],{},[718,902,903],{},"schedule.windows",[799,905,906,907],{},"array",[853,908],{},[799,910,856],{},[799,912,913],{},"Windows per weekday. With no windows, it dials within contact hours.",[778,915,916,921,923,925],{},[799,917,918],{},[718,919,920],{},"schedule.windows[].day",[799,922,806],{},[799,924,809],{},[799,926,927,928,931,932,931,935,931,938,931,941,931,944,931,947,896],{},"Weekday, in English. One of: ",[718,929,930],{},"monday",", ",[718,933,934],{},"tuesday",[718,936,937],{},"wednesday",[718,939,940],{},"thursday",[718,942,943],{},"friday",[718,945,946],{},"saturday",[718,948,949],{},"sunday",[778,951,952,957,959,961],{},[799,953,954],{},[718,955,956],{},"schedule.windows[].start",[799,958,806],{},[799,960,809],{},[799,962,963,964,896],{},"Start, ",[718,965,966],{},"HH:MM",[778,968,969,974,976,978],{},[799,970,971],{},[718,972,973],{},"schedule.windows[].end",[799,975,806],{},[799,977,809],{},[799,979,980,981,896],{},"End, ",[718,982,966],{},[778,984,985,990,993,995],{},[799,986,987],{},[718,988,989],{},"schedule.max_duration_days",[799,991,992],{},"integer",[799,994,856],{},[799,996,997,998,896],{},"Days the campaign may last; at the end, what is left is cancelled. Between 1 and 90. Default: ",[718,999,1000],{},"7",[778,1002,1003,1008,1010,1012],{},[799,1004,1005],{},[718,1006,1007],{},"limits",[799,1009,853],{},[799,1011,856],{},[799,1013,1014],{},"Concurrency, attempts and budget.",[778,1016,1017,1022,1024,1026],{},[799,1018,1019],{},[718,1020,1021],{},"limits.max_concurrency",[799,1023,992],{},[799,1025,856],{},[799,1027,1028,1029,896],{},"Simultaneous calls of the campaign. Between 1 and 50. Default: ",[718,1030,1031],{},"2",[778,1033,1034,1039,1041,1043],{},[799,1035,1036],{},[718,1037,1038],{},"limits.reserved_capacity",[799,1040,992],{},[799,1042,856],{},[799,1044,1045,1046,896],{},"Organization concurrent calls kept free for other calls. Between 0 and 50. Default: ",[718,1047,1048],{},"1",[778,1050,1051,1056,1058,1060],{},[799,1052,1053],{},[718,1054,1055],{},"limits.max_attempts",[799,1057,992],{},[799,1059,856],{},[799,1061,1062,1063,896],{},"Attempts per recipient; only unanswered or busy calls are retried. Between 1 and 3. Default: ",[718,1064,1048],{},[778,1066,1067,1072,1074,1076],{},[799,1068,1069],{},[718,1070,1071],{},"limits.retry_delay_minutes",[799,1073,992],{},[799,1075,856],{},[799,1077,1078,1079,896],{},"Minutes between attempts. Between 15 and 1440. Default: ",[718,1080,1081],{},"60",[778,1083,1084,1089,1092,1094],{},[799,1085,1086],{},[718,1087,1088],{},"limits.budget_minutes",[799,1090,1091],{},"integer | null",[799,1093,856],{},[799,1095,1096],{},"Maximum minutes; the campaign pauses before exceeding them. Between 1 and 100000.",[711,1098,1102],{"className":1099,"code":1100,"language":1101,"meta":716,"style":716},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"name\": \"Lembretes de Novembro\",\n  \"agent_id\": \"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\n  \"phone_number_id\": \"5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93\",\n  \"schedule\": {\n    \"timezone\": \"Africa\u002FLuanda\",\n    \"windows\": [\n      {\n        \"day\": \"monday\",\n        \"start\": \"09:00\",\n        \"end\": \"12:00\"\n      },\n      {\n        \"day\": \"monday\",\n        \"start\": \"14:00\",\n        \"end\": \"18:00\"\n      }\n    ]\n  },\n  \"limits\": {\n    \"max_concurrency\": 2,\n    \"max_attempts\": 2,\n    \"retry_delay_minutes\": 60\n  }\n}\n","json",[718,1103,1104,1110,1137,1157,1177,1191,1213,1228,1234,1256,1277,1297,1303,1308,1327,1347,1365,1371,1377,1383,1396,1413,1429,1444,1450],{"__ignoreMap":716},[721,1105,1106],{"class":723,"line":724},[721,1107,1109],{"class":1108},"sMK4o","{\n",[721,1111,1113,1116,1119,1122,1125,1128,1132,1134],{"class":723,"line":1112},2,[721,1114,1115],{"class":1108},"  \"",[721,1117,803],{"class":1118},"spNyl",[721,1120,1121],{"class":1108},"\"",[721,1123,1124],{"class":1108},":",[721,1126,1127],{"class":1108}," \"",[721,1129,1131],{"class":1130},"sfazB","Lembretes de Novembro",[721,1133,1121],{"class":1108},[721,1135,1136],{"class":1108},",\n",[721,1138,1140,1142,1144,1146,1148,1150,1153,1155],{"class":723,"line":1139},3,[721,1141,1115],{"class":1108},[721,1143,819],{"class":1118},[721,1145,1121],{"class":1108},[721,1147,1124],{"class":1108},[721,1149,1127],{"class":1108},[721,1151,1152],{"class":1130},"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40",[721,1154,1121],{"class":1108},[721,1156,1136],{"class":1108},[721,1158,1160,1162,1164,1166,1168,1170,1173,1175],{"class":723,"line":1159},4,[721,1161,1115],{"class":1108},[721,1163,743],{"class":1118},[721,1165,1121],{"class":1108},[721,1167,1124],{"class":1108},[721,1169,1127],{"class":1108},[721,1171,1172],{"class":1130},"5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93",[721,1174,1121],{"class":1108},[721,1176,1136],{"class":1108},[721,1178,1180,1182,1184,1186,1188],{"class":723,"line":1179},5,[721,1181,1115],{"class":1108},[721,1183,850],{"class":1118},[721,1185,1121],{"class":1108},[721,1187,1124],{"class":1108},[721,1189,1190],{"class":1108}," {\n",[721,1192,1194,1197,1201,1203,1205,1207,1209,1211],{"class":723,"line":1193},6,[721,1195,1196],{"class":1108},"    \"",[721,1198,1200],{"class":1199},"sBMFI","timezone",[721,1202,1121],{"class":1108},[721,1204,1124],{"class":1108},[721,1206,1127],{"class":1108},[721,1208,895],{"class":1130},[721,1210,1121],{"class":1108},[721,1212,1136],{"class":1108},[721,1214,1216,1218,1221,1223,1225],{"class":723,"line":1215},7,[721,1217,1196],{"class":1108},[721,1219,1220],{"class":1199},"windows",[721,1222,1121],{"class":1108},[721,1224,1124],{"class":1108},[721,1226,1227],{"class":1108}," [\n",[721,1229,1231],{"class":723,"line":1230},8,[721,1232,1233],{"class":1108},"      {\n",[721,1235,1237,1240,1244,1246,1248,1250,1252,1254],{"class":723,"line":1236},9,[721,1238,1239],{"class":1108},"        \"",[721,1241,1243],{"class":1242},"sbssI","day",[721,1245,1121],{"class":1108},[721,1247,1124],{"class":1108},[721,1249,1127],{"class":1108},[721,1251,930],{"class":1130},[721,1253,1121],{"class":1108},[721,1255,1136],{"class":1108},[721,1257,1259,1261,1264,1266,1268,1270,1273,1275],{"class":723,"line":1258},10,[721,1260,1239],{"class":1108},[721,1262,1263],{"class":1242},"start",[721,1265,1121],{"class":1108},[721,1267,1124],{"class":1108},[721,1269,1127],{"class":1108},[721,1271,1272],{"class":1130},"09:00",[721,1274,1121],{"class":1108},[721,1276,1136],{"class":1108},[721,1278,1280,1282,1285,1287,1289,1291,1294],{"class":723,"line":1279},11,[721,1281,1239],{"class":1108},[721,1283,1284],{"class":1242},"end",[721,1286,1121],{"class":1108},[721,1288,1124],{"class":1108},[721,1290,1127],{"class":1108},[721,1292,1293],{"class":1130},"12:00",[721,1295,1296],{"class":1108},"\"\n",[721,1298,1300],{"class":723,"line":1299},12,[721,1301,1302],{"class":1108},"      },\n",[721,1304,1306],{"class":723,"line":1305},13,[721,1307,1233],{"class":1108},[721,1309,1311,1313,1315,1317,1319,1321,1323,1325],{"class":723,"line":1310},14,[721,1312,1239],{"class":1108},[721,1314,1243],{"class":1242},[721,1316,1121],{"class":1108},[721,1318,1124],{"class":1108},[721,1320,1127],{"class":1108},[721,1322,930],{"class":1130},[721,1324,1121],{"class":1108},[721,1326,1136],{"class":1108},[721,1328,1330,1332,1334,1336,1338,1340,1343,1345],{"class":723,"line":1329},15,[721,1331,1239],{"class":1108},[721,1333,1263],{"class":1242},[721,1335,1121],{"class":1108},[721,1337,1124],{"class":1108},[721,1339,1127],{"class":1108},[721,1341,1342],{"class":1130},"14:00",[721,1344,1121],{"class":1108},[721,1346,1136],{"class":1108},[721,1348,1350,1352,1354,1356,1358,1360,1363],{"class":723,"line":1349},16,[721,1351,1239],{"class":1108},[721,1353,1284],{"class":1242},[721,1355,1121],{"class":1108},[721,1357,1124],{"class":1108},[721,1359,1127],{"class":1108},[721,1361,1362],{"class":1130},"18:00",[721,1364,1296],{"class":1108},[721,1366,1368],{"class":723,"line":1367},17,[721,1369,1370],{"class":1108},"      }\n",[721,1372,1374],{"class":723,"line":1373},18,[721,1375,1376],{"class":1108},"    ]\n",[721,1378,1380],{"class":723,"line":1379},19,[721,1381,1382],{"class":1108},"  },\n",[721,1384,1386,1388,1390,1392,1394],{"class":723,"line":1385},20,[721,1387,1115],{"class":1108},[721,1389,1007],{"class":1118},[721,1391,1121],{"class":1108},[721,1393,1124],{"class":1108},[721,1395,1190],{"class":1108},[721,1397,1399,1401,1404,1406,1408,1411],{"class":723,"line":1398},21,[721,1400,1196],{"class":1108},[721,1402,1403],{"class":1199},"max_concurrency",[721,1405,1121],{"class":1108},[721,1407,1124],{"class":1108},[721,1409,1410],{"class":1242}," 2",[721,1412,1136],{"class":1108},[721,1414,1416,1418,1421,1423,1425,1427],{"class":723,"line":1415},22,[721,1417,1196],{"class":1108},[721,1419,1420],{"class":1199},"max_attempts",[721,1422,1121],{"class":1108},[721,1424,1124],{"class":1108},[721,1426,1410],{"class":1242},[721,1428,1136],{"class":1108},[721,1430,1432,1434,1437,1439,1441],{"class":723,"line":1431},23,[721,1433,1196],{"class":1108},[721,1435,1436],{"class":1199},"retry_delay_minutes",[721,1438,1121],{"class":1108},[721,1440,1124],{"class":1108},[721,1442,1443],{"class":1242}," 60\n",[721,1445,1447],{"class":723,"line":1446},24,[721,1448,1449],{"class":1108},"  }\n",[721,1451,1453],{"class":723,"line":1452},25,[721,1454,1455],{"class":1108},"}\n",[762,1457,1459],{"id":1458},"examples","Examples",[1461,1462,1463,1537,1716,2253],"code-group",{},[711,1464,1469],{"className":1465,"code":1466,"filename":1467,"language":1468,"meta":716,"style":716},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -X POST \"https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fcampaigns\" \\\n  -H \"Authorization: Bearer $DISKA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"name\":\"Lembretes de Novembro\",\"agent_id\":\"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\"phone_number_id\":\"5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93\",\"schedule\":{\"timezone\":\"Africa\u002FLuanda\",\"windows\":[{\"day\":\"monday\",\"start\":\"09:00\",\"end\":\"12:00\"},{\"day\":\"monday\",\"start\":\"14:00\",\"end\":\"18:00\"}]},\"limits\":{\"max_concurrency\":2,\"max_attempts\":2,\"retry_delay_minutes\":60}}'\n","cURL","bash",[718,1470,1471,1493,1510,1523],{"__ignoreMap":716},[721,1472,1473,1476,1479,1482,1484,1487,1489],{"class":723,"line":724},[721,1474,1475],{"class":1199},"curl",[721,1477,1478],{"class":1130}," -X",[721,1480,1481],{"class":1130}," POST",[721,1483,1127],{"class":1108},[721,1485,1486],{"class":1130},"https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fcampaigns",[721,1488,1121],{"class":1108},[721,1490,1492],{"class":1491},"sTEyZ"," \\\n",[721,1494,1495,1498,1500,1503,1506,1508],{"class":723,"line":1112},[721,1496,1497],{"class":1130},"  -H",[721,1499,1127],{"class":1108},[721,1501,1502],{"class":1130},"Authorization: Bearer ",[721,1504,1505],{"class":1491},"$DISKA_API_KEY",[721,1507,1121],{"class":1108},[721,1509,1492],{"class":1491},[721,1511,1512,1514,1516,1519,1521],{"class":723,"line":1139},[721,1513,1497],{"class":1130},[721,1515,1127],{"class":1108},[721,1517,1518],{"class":1130},"Content-Type: application\u002Fjson",[721,1520,1121],{"class":1108},[721,1522,1492],{"class":1491},[721,1524,1525,1528,1531,1534],{"class":723,"line":1159},[721,1526,1527],{"class":1130},"  -d",[721,1529,1530],{"class":1108}," '",[721,1532,1533],{"class":1130},"{\"name\":\"Lembretes de Novembro\",\"agent_id\":\"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\"phone_number_id\":\"5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93\",\"schedule\":{\"timezone\":\"Africa\u002FLuanda\",\"windows\":[{\"day\":\"monday\",\"start\":\"09:00\",\"end\":\"12:00\"},{\"day\":\"monday\",\"start\":\"14:00\",\"end\":\"18:00\"}]},\"limits\":{\"max_concurrency\":2,\"max_attempts\":2,\"retry_delay_minutes\":60}}",[721,1535,1536],{"class":1108},"'\n",[711,1538,1543],{"className":1539,"code":1540,"filename":1541,"language":1542,"meta":716,"style":716},"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\u002Fcampaigns\",\n    headers={\"Authorization\": f\"Bearer {os.environ['DISKA_API_KEY']}\"},\n    json={\n        \"name\": \"Lembretes de Novembro\",\n        \"agent_id\": \"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\n        \"phone_number_id\": \"5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93\",\n        \"schedule\": {\n            \"timezone\": \"Africa\u002FLuanda\",\n            \"windows\": [{\n                \"day\": \"monday\",\n                \"start\": \"09:00\",\n                \"end\": \"12:00\",\n            }, {\n                \"day\": \"monday\",\n                \"start\": \"14:00\",\n                \"end\": \"18:00\",\n            }],\n        },\n        \"limits\": {\n            \"max_concurrency\": 2,\n            \"max_attempts\": 2,\n            \"retry_delay_minutes\": 60,\n        },\n    },\n    timeout=30,\n)\nresponse.raise_for_status()\nprint(response.json())\n","Python","python",[718,1544,1545,1550,1556,1561,1565,1570,1575,1580,1585,1590,1595,1600,1605,1610,1615,1620,1625,1630,1635,1639,1644,1649,1654,1659,1664,1669,1675,1681,1686,1692,1698,1704,1710],{"__ignoreMap":716},[721,1546,1547],{"class":723,"line":724},[721,1548,1549],{},"import os\n",[721,1551,1552],{"class":723,"line":1112},[721,1553,1555],{"emptyLinePlaceholder":1554},true,"\n",[721,1557,1558],{"class":723,"line":1139},[721,1559,1560],{},"import requests\n",[721,1562,1563],{"class":723,"line":1159},[721,1564,1555],{"emptyLinePlaceholder":1554},[721,1566,1567],{"class":723,"line":1179},[721,1568,1569],{},"response = requests.post(\n",[721,1571,1572],{"class":723,"line":1193},[721,1573,1574],{},"    \"https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fcampaigns\",\n",[721,1576,1577],{"class":723,"line":1215},[721,1578,1579],{},"    headers={\"Authorization\": f\"Bearer {os.environ['DISKA_API_KEY']}\"},\n",[721,1581,1582],{"class":723,"line":1230},[721,1583,1584],{},"    json={\n",[721,1586,1587],{"class":723,"line":1236},[721,1588,1589],{},"        \"name\": \"Lembretes de Novembro\",\n",[721,1591,1592],{"class":723,"line":1258},[721,1593,1594],{},"        \"agent_id\": \"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\n",[721,1596,1597],{"class":723,"line":1279},[721,1598,1599],{},"        \"phone_number_id\": \"5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93\",\n",[721,1601,1602],{"class":723,"line":1299},[721,1603,1604],{},"        \"schedule\": {\n",[721,1606,1607],{"class":723,"line":1305},[721,1608,1609],{},"            \"timezone\": \"Africa\u002FLuanda\",\n",[721,1611,1612],{"class":723,"line":1310},[721,1613,1614],{},"            \"windows\": [{\n",[721,1616,1617],{"class":723,"line":1329},[721,1618,1619],{},"                \"day\": \"monday\",\n",[721,1621,1622],{"class":723,"line":1349},[721,1623,1624],{},"                \"start\": \"09:00\",\n",[721,1626,1627],{"class":723,"line":1367},[721,1628,1629],{},"                \"end\": \"12:00\",\n",[721,1631,1632],{"class":723,"line":1373},[721,1633,1634],{},"            }, {\n",[721,1636,1637],{"class":723,"line":1379},[721,1638,1619],{},[721,1640,1641],{"class":723,"line":1385},[721,1642,1643],{},"                \"start\": \"14:00\",\n",[721,1645,1646],{"class":723,"line":1398},[721,1647,1648],{},"                \"end\": \"18:00\",\n",[721,1650,1651],{"class":723,"line":1415},[721,1652,1653],{},"            }],\n",[721,1655,1656],{"class":723,"line":1431},[721,1657,1658],{},"        },\n",[721,1660,1661],{"class":723,"line":1446},[721,1662,1663],{},"        \"limits\": {\n",[721,1665,1666],{"class":723,"line":1452},[721,1667,1668],{},"            \"max_concurrency\": 2,\n",[721,1670,1672],{"class":723,"line":1671},26,[721,1673,1674],{},"            \"max_attempts\": 2,\n",[721,1676,1678],{"class":723,"line":1677},27,[721,1679,1680],{},"            \"retry_delay_minutes\": 60,\n",[721,1682,1684],{"class":723,"line":1683},28,[721,1685,1658],{},[721,1687,1689],{"class":723,"line":1688},29,[721,1690,1691],{},"    },\n",[721,1693,1695],{"class":723,"line":1694},30,[721,1696,1697],{},"    timeout=30,\n",[721,1699,1701],{"class":723,"line":1700},31,[721,1702,1703],{},")\n",[721,1705,1707],{"class":723,"line":1706},32,[721,1708,1709],{},"response.raise_for_status()\n",[721,1711,1713],{"class":723,"line":1712},33,[721,1714,1715],{},"print(response.json())\n",[711,1717,1722],{"className":1718,"code":1719,"filename":1720,"language":1721,"meta":716,"style":716},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Node.js 18 or later, in a .mjs file\nconst response = await fetch('https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fcampaigns', {\n  method: 'POST',\n  headers: {\n    Authorization: `Bearer ${process.env.DISKA_API_KEY}`,\n    'Content-Type': 'application\u002Fjson'\n  },\n  body: JSON.stringify({\n    \"name\": \"Lembretes de Novembro\",\n    \"agent_id\": \"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\n    \"phone_number_id\": \"5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93\",\n    \"schedule\": {\n      \"timezone\": \"Africa\u002FLuanda\",\n      \"windows\": [\n        {\n          \"day\": \"monday\",\n          \"start\": \"09:00\",\n          \"end\": \"12:00\"\n        },\n        {\n          \"day\": \"monday\",\n          \"start\": \"14:00\",\n          \"end\": \"18:00\"\n        }\n      ]\n    },\n    \"limits\": {\n      \"max_concurrency\": 2,\n      \"max_attempts\": 2,\n      \"retry_delay_minutes\": 60\n    }\n  })\n})\nif (!response.ok) throw new Error(`${response.status} ${await response.text()}`)\nconsole.log(await response.json())\n","JavaScript","js",[718,1723,1724,1730,1764,1781,1790,1824,1842,1846,1865,1883,1901,1919,1931,1950,1962,1967,1986,2004,2020,2024,2028,2046,2064,2080,2085,2090,2094,2106,2120,2134,2146,2151,2158,2165,2229],{"__ignoreMap":716},[721,1725,1726],{"class":723,"line":724},[721,1727,1729],{"class":1728},"sHwdD","\u002F\u002F Node.js 18 or later, in a .mjs file\n",[721,1731,1732,1735,1738,1741,1745,1749,1752,1755,1757,1759,1762],{"class":723,"line":1112},[721,1733,1734],{"class":1118},"const",[721,1736,1737],{"class":1491}," response ",[721,1739,1740],{"class":1108},"=",[721,1742,1744],{"class":1743},"s7zQu"," await",[721,1746,1748],{"class":1747},"s2Zo4"," fetch",[721,1750,1751],{"class":1491},"(",[721,1753,1754],{"class":1108},"'",[721,1756,1486],{"class":1130},[721,1758,1754],{"class":1108},[721,1760,1761],{"class":1108},",",[721,1763,1190],{"class":1108},[721,1765,1766,1770,1772,1774,1777,1779],{"class":723,"line":1139},[721,1767,1769],{"class":1768},"swJcz","  method",[721,1771,1124],{"class":1108},[721,1773,1530],{"class":1108},[721,1775,1776],{"class":1130},"POST",[721,1778,1754],{"class":1108},[721,1780,1136],{"class":1108},[721,1782,1783,1786,1788],{"class":723,"line":1159},[721,1784,1785],{"class":1768},"  headers",[721,1787,1124],{"class":1108},[721,1789,1190],{"class":1108},[721,1791,1792,1795,1797,1800,1803,1806,1809,1811,1814,1816,1819,1822],{"class":723,"line":1179},[721,1793,1794],{"class":1768},"    Authorization",[721,1796,1124],{"class":1108},[721,1798,1799],{"class":1108}," `",[721,1801,1802],{"class":1130},"Bearer ",[721,1804,1805],{"class":1108},"${",[721,1807,1808],{"class":1491},"process",[721,1810,896],{"class":1108},[721,1812,1813],{"class":1491},"env",[721,1815,896],{"class":1108},[721,1817,1818],{"class":1491},"DISKA_API_KEY",[721,1820,1821],{"class":1108},"}`",[721,1823,1136],{"class":1108},[721,1825,1826,1829,1832,1834,1836,1838,1840],{"class":723,"line":1193},[721,1827,1828],{"class":1108},"    '",[721,1830,1831],{"class":1768},"Content-Type",[721,1833,1754],{"class":1108},[721,1835,1124],{"class":1108},[721,1837,1530],{"class":1108},[721,1839,770],{"class":1130},[721,1841,1536],{"class":1108},[721,1843,1844],{"class":723,"line":1215},[721,1845,1382],{"class":1108},[721,1847,1848,1851,1853,1856,1858,1861,1863],{"class":723,"line":1230},[721,1849,1850],{"class":1768},"  body",[721,1852,1124],{"class":1108},[721,1854,1855],{"class":1491}," JSON",[721,1857,896],{"class":1108},[721,1859,1860],{"class":1747},"stringify",[721,1862,1751],{"class":1491},[721,1864,1109],{"class":1108},[721,1866,1867,1869,1871,1873,1875,1877,1879,1881],{"class":723,"line":1236},[721,1868,1196],{"class":1108},[721,1870,803],{"class":1768},[721,1872,1121],{"class":1108},[721,1874,1124],{"class":1108},[721,1876,1127],{"class":1108},[721,1878,1131],{"class":1130},[721,1880,1121],{"class":1108},[721,1882,1136],{"class":1108},[721,1884,1885,1887,1889,1891,1893,1895,1897,1899],{"class":723,"line":1258},[721,1886,1196],{"class":1108},[721,1888,819],{"class":1768},[721,1890,1121],{"class":1108},[721,1892,1124],{"class":1108},[721,1894,1127],{"class":1108},[721,1896,1152],{"class":1130},[721,1898,1121],{"class":1108},[721,1900,1136],{"class":1108},[721,1902,1903,1905,1907,1909,1911,1913,1915,1917],{"class":723,"line":1279},[721,1904,1196],{"class":1108},[721,1906,743],{"class":1768},[721,1908,1121],{"class":1108},[721,1910,1124],{"class":1108},[721,1912,1127],{"class":1108},[721,1914,1172],{"class":1130},[721,1916,1121],{"class":1108},[721,1918,1136],{"class":1108},[721,1920,1921,1923,1925,1927,1929],{"class":723,"line":1299},[721,1922,1196],{"class":1108},[721,1924,850],{"class":1768},[721,1926,1121],{"class":1108},[721,1928,1124],{"class":1108},[721,1930,1190],{"class":1108},[721,1932,1933,1936,1938,1940,1942,1944,1946,1948],{"class":723,"line":1305},[721,1934,1935],{"class":1108},"      \"",[721,1937,1200],{"class":1768},[721,1939,1121],{"class":1108},[721,1941,1124],{"class":1108},[721,1943,1127],{"class":1108},[721,1945,895],{"class":1130},[721,1947,1121],{"class":1108},[721,1949,1136],{"class":1108},[721,1951,1952,1954,1956,1958,1960],{"class":723,"line":1310},[721,1953,1935],{"class":1108},[721,1955,1220],{"class":1768},[721,1957,1121],{"class":1108},[721,1959,1124],{"class":1108},[721,1961,1227],{"class":1491},[721,1963,1964],{"class":723,"line":1329},[721,1965,1966],{"class":1108},"        {\n",[721,1968,1969,1972,1974,1976,1978,1980,1982,1984],{"class":723,"line":1349},[721,1970,1971],{"class":1108},"          \"",[721,1973,1243],{"class":1768},[721,1975,1121],{"class":1108},[721,1977,1124],{"class":1108},[721,1979,1127],{"class":1108},[721,1981,930],{"class":1130},[721,1983,1121],{"class":1108},[721,1985,1136],{"class":1108},[721,1987,1988,1990,1992,1994,1996,1998,2000,2002],{"class":723,"line":1367},[721,1989,1971],{"class":1108},[721,1991,1263],{"class":1768},[721,1993,1121],{"class":1108},[721,1995,1124],{"class":1108},[721,1997,1127],{"class":1108},[721,1999,1272],{"class":1130},[721,2001,1121],{"class":1108},[721,2003,1136],{"class":1108},[721,2005,2006,2008,2010,2012,2014,2016,2018],{"class":723,"line":1373},[721,2007,1971],{"class":1108},[721,2009,1284],{"class":1768},[721,2011,1121],{"class":1108},[721,2013,1124],{"class":1108},[721,2015,1127],{"class":1108},[721,2017,1293],{"class":1130},[721,2019,1296],{"class":1108},[721,2021,2022],{"class":723,"line":1379},[721,2023,1658],{"class":1108},[721,2025,2026],{"class":723,"line":1385},[721,2027,1966],{"class":1108},[721,2029,2030,2032,2034,2036,2038,2040,2042,2044],{"class":723,"line":1398},[721,2031,1971],{"class":1108},[721,2033,1243],{"class":1768},[721,2035,1121],{"class":1108},[721,2037,1124],{"class":1108},[721,2039,1127],{"class":1108},[721,2041,930],{"class":1130},[721,2043,1121],{"class":1108},[721,2045,1136],{"class":1108},[721,2047,2048,2050,2052,2054,2056,2058,2060,2062],{"class":723,"line":1415},[721,2049,1971],{"class":1108},[721,2051,1263],{"class":1768},[721,2053,1121],{"class":1108},[721,2055,1124],{"class":1108},[721,2057,1127],{"class":1108},[721,2059,1342],{"class":1130},[721,2061,1121],{"class":1108},[721,2063,1136],{"class":1108},[721,2065,2066,2068,2070,2072,2074,2076,2078],{"class":723,"line":1431},[721,2067,1971],{"class":1108},[721,2069,1284],{"class":1768},[721,2071,1121],{"class":1108},[721,2073,1124],{"class":1108},[721,2075,1127],{"class":1108},[721,2077,1362],{"class":1130},[721,2079,1296],{"class":1108},[721,2081,2082],{"class":723,"line":1446},[721,2083,2084],{"class":1108},"        }\n",[721,2086,2087],{"class":723,"line":1452},[721,2088,2089],{"class":1491},"      ]\n",[721,2091,2092],{"class":723,"line":1671},[721,2093,1691],{"class":1108},[721,2095,2096,2098,2100,2102,2104],{"class":723,"line":1677},[721,2097,1196],{"class":1108},[721,2099,1007],{"class":1768},[721,2101,1121],{"class":1108},[721,2103,1124],{"class":1108},[721,2105,1190],{"class":1108},[721,2107,2108,2110,2112,2114,2116,2118],{"class":723,"line":1683},[721,2109,1935],{"class":1108},[721,2111,1403],{"class":1768},[721,2113,1121],{"class":1108},[721,2115,1124],{"class":1108},[721,2117,1410],{"class":1242},[721,2119,1136],{"class":1108},[721,2121,2122,2124,2126,2128,2130,2132],{"class":723,"line":1688},[721,2123,1935],{"class":1108},[721,2125,1420],{"class":1768},[721,2127,1121],{"class":1108},[721,2129,1124],{"class":1108},[721,2131,1410],{"class":1242},[721,2133,1136],{"class":1108},[721,2135,2136,2138,2140,2142,2144],{"class":723,"line":1694},[721,2137,1935],{"class":1108},[721,2139,1436],{"class":1768},[721,2141,1121],{"class":1108},[721,2143,1124],{"class":1108},[721,2145,1443],{"class":1242},[721,2147,2148],{"class":723,"line":1700},[721,2149,2150],{"class":1108},"    }\n",[721,2152,2153,2156],{"class":723,"line":1706},[721,2154,2155],{"class":1108},"  }",[721,2157,1703],{"class":1491},[721,2159,2160,2163],{"class":723,"line":1712},[721,2161,2162],{"class":1108},"}",[721,2164,1703],{"class":1491},[721,2166,2168,2171,2174,2177,2180,2182,2185,2188,2191,2194,2196,2199,2201,2203,2206,2208,2211,2214,2217,2219,2222,2225,2227],{"class":723,"line":2167},34,[721,2169,2170],{"class":1743},"if",[721,2172,2173],{"class":1491}," (",[721,2175,2176],{"class":1108},"!",[721,2178,2179],{"class":1491},"response",[721,2181,896],{"class":1108},[721,2183,2184],{"class":1491},"ok) ",[721,2186,2187],{"class":1743},"throw",[721,2189,2190],{"class":1108}," new",[721,2192,2193],{"class":1747}," Error",[721,2195,1751],{"class":1491},[721,2197,2198],{"class":1108},"`${",[721,2200,2179],{"class":1491},[721,2202,896],{"class":1108},[721,2204,2205],{"class":1491},"status",[721,2207,2162],{"class":1108},[721,2209,2210],{"class":1108}," ${",[721,2212,2213],{"class":1743},"await",[721,2215,2216],{"class":1491}," response",[721,2218,896],{"class":1108},[721,2220,2221],{"class":1747},"text",[721,2223,2224],{"class":1491},"()",[721,2226,1821],{"class":1108},[721,2228,1703],{"class":1491},[721,2230,2232,2235,2237,2240,2242,2244,2246,2248,2250],{"class":723,"line":2231},35,[721,2233,2234],{"class":1491},"console",[721,2236,896],{"class":1108},[721,2238,2239],{"class":1747},"log",[721,2241,1751],{"class":1491},[721,2243,2213],{"class":1743},[721,2245,2216],{"class":1491},[721,2247,896],{"class":1108},[721,2249,1101],{"class":1747},[721,2251,2252],{"class":1491},"())\n",[711,2254,2259],{"className":2255,"code":2256,"filename":2257,"language":2258,"meta":716,"style":716},"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\u002Fcampaigns');\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        'name' => 'Lembretes de Novembro',\n        'agent_id' => '3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40',\n        'phone_number_id' => '5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93',\n        'schedule' => [\n            'timezone' => 'Africa\u002FLuanda',\n            'windows' => [[\n                'day' => 'monday',\n                'start' => '09:00',\n                'end' => '12:00',\n            ], [\n                'day' => 'monday',\n                'start' => '14:00',\n                'end' => '18:00',\n            ]],\n        ],\n        'limits' => [\n            'max_concurrency' => 2,\n            'max_attempts' => 2,\n            'retry_delay_minutes' => 60,\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",[718,2260,2261,2266,2271,2276,2281,2286,2291,2296,2301,2306,2311,2316,2321,2326,2331,2336,2341,2346,2351,2356,2360,2365,2370,2375,2380,2385,2390,2395,2400,2404,2409,2414,2419,2424,2429,2434,2440,2446,2452,2457],{"__ignoreMap":716},[721,2262,2263],{"class":723,"line":724},[721,2264,2265],{},"\u003C?php\n",[721,2267,2268],{"class":723,"line":1112},[721,2269,2270],{},"$ch = curl_init('https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fcampaigns');\n",[721,2272,2273],{"class":723,"line":1139},[721,2274,2275],{},"curl_setopt_array($ch, [\n",[721,2277,2278],{"class":723,"line":1159},[721,2279,2280],{},"    CURLOPT_CUSTOMREQUEST => 'POST',\n",[721,2282,2283],{"class":723,"line":1179},[721,2284,2285],{},"    CURLOPT_HTTPHEADER => [\n",[721,2287,2288],{"class":723,"line":1193},[721,2289,2290],{},"        'Authorization: Bearer ' . getenv('DISKA_API_KEY'),\n",[721,2292,2293],{"class":723,"line":1215},[721,2294,2295],{},"        'Content-Type: application\u002Fjson',\n",[721,2297,2298],{"class":723,"line":1230},[721,2299,2300],{},"    ],\n",[721,2302,2303],{"class":723,"line":1236},[721,2304,2305],{},"    CURLOPT_POSTFIELDS => json_encode([\n",[721,2307,2308],{"class":723,"line":1258},[721,2309,2310],{},"        'name' => 'Lembretes de Novembro',\n",[721,2312,2313],{"class":723,"line":1279},[721,2314,2315],{},"        'agent_id' => '3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40',\n",[721,2317,2318],{"class":723,"line":1299},[721,2319,2320],{},"        'phone_number_id' => '5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93',\n",[721,2322,2323],{"class":723,"line":1305},[721,2324,2325],{},"        'schedule' => [\n",[721,2327,2328],{"class":723,"line":1310},[721,2329,2330],{},"            'timezone' => 'Africa\u002FLuanda',\n",[721,2332,2333],{"class":723,"line":1329},[721,2334,2335],{},"            'windows' => [[\n",[721,2337,2338],{"class":723,"line":1349},[721,2339,2340],{},"                'day' => 'monday',\n",[721,2342,2343],{"class":723,"line":1367},[721,2344,2345],{},"                'start' => '09:00',\n",[721,2347,2348],{"class":723,"line":1373},[721,2349,2350],{},"                'end' => '12:00',\n",[721,2352,2353],{"class":723,"line":1379},[721,2354,2355],{},"            ], [\n",[721,2357,2358],{"class":723,"line":1385},[721,2359,2340],{},[721,2361,2362],{"class":723,"line":1398},[721,2363,2364],{},"                'start' => '14:00',\n",[721,2366,2367],{"class":723,"line":1415},[721,2368,2369],{},"                'end' => '18:00',\n",[721,2371,2372],{"class":723,"line":1431},[721,2373,2374],{},"            ]],\n",[721,2376,2377],{"class":723,"line":1446},[721,2378,2379],{},"        ],\n",[721,2381,2382],{"class":723,"line":1452},[721,2383,2384],{},"        'limits' => [\n",[721,2386,2387],{"class":723,"line":1671},[721,2388,2389],{},"            'max_concurrency' => 2,\n",[721,2391,2392],{"class":723,"line":1677},[721,2393,2394],{},"            'max_attempts' => 2,\n",[721,2396,2397],{"class":723,"line":1683},[721,2398,2399],{},"            'retry_delay_minutes' => 60,\n",[721,2401,2402],{"class":723,"line":1688},[721,2403,2379],{},[721,2405,2406],{"class":723,"line":1694},[721,2407,2408],{},"    ]),\n",[721,2410,2411],{"class":723,"line":1700},[721,2412,2413],{},"    CURLOPT_RETURNTRANSFER => true,\n",[721,2415,2416],{"class":723,"line":1706},[721,2417,2418],{},"    CURLOPT_TIMEOUT => 30,\n",[721,2420,2421],{"class":723,"line":1712},[721,2422,2423],{},"]);\n",[721,2425,2426],{"class":723,"line":2167},[721,2427,2428],{},"$body = curl_exec($ch);\n",[721,2430,2431],{"class":723,"line":2231},[721,2432,2433],{},"$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);\n",[721,2435,2437],{"class":723,"line":2436},36,[721,2438,2439],{},"curl_close($ch);\n",[721,2441,2443],{"class":723,"line":2442},37,[721,2444,2445],{},"if ($status >= 400) {\n",[721,2447,2449],{"class":723,"line":2448},38,[721,2450,2451],{},"    throw new RuntimeException(\"HTTP $status: $body\");\n",[721,2453,2455],{"class":723,"line":2454},39,[721,2456,1455],{},[721,2458,2460],{"class":723,"line":2459},40,[721,2461,2462],{},"print_r(json_decode($body, true));\n",[762,2464,2466],{"id":2465},"try-it","Try it",[728,2468,2469,2470,2473],{},"Send the request from this page, with your key. The key stays on this page: it is not stored and is only sent to ",[718,2471,2472],{},"api.diska.ai",". Use a test key with the fewest scopes you need.",[2475,2476],"api-playground",{":params":2477,"body":1100,"body-type":1101,"locale":2478,"method":1776,"path":2479},"[]","en","\u002Fv1\u002Fcampaigns",[762,2481,2483,2484],{"id":2482},"response-201","Response ",[718,2485,2486],{},"201",[772,2488,2489,2499],{},[775,2490,2491],{},[778,2492,2493,2495,2497],{},[781,2494,783],{},[781,2496,786],{},[781,2498,792],{},[794,2500,2501,2513,2524,2553,2564,2576,2587,2599,2610,2622,2634,2646,2670,2682,2694,2706,2717,2729,2741,2753,2765,2775,2799,2843,2855,2867,2879,2891,2903,2915,2927,2942,2956,2970,2984,2998,3012,3026,3040,3054,3068,3082,3095,3109,3124,3136],{},[778,2502,2503,2508,2510],{},[799,2504,2505],{},[718,2506,2507],{},"id",[799,2509,806],{},[799,2511,2512],{},"Campaign ID.",[778,2514,2515,2519,2521],{},[799,2516,2517],{},[718,2518,803],{},[799,2520,806],{},[799,2522,2523],{},"Name.",[778,2525,2526,2530,2532],{},[799,2527,2528],{},[718,2529,2205],{},[799,2531,806],{},[799,2533,2534,931,2537,931,2540,931,2543,931,2546,2549,2550,896],{},[718,2535,2536],{},"draft",[718,2538,2539],{},"scheduled",[718,2541,2542],{},"running",[718,2544,2545],{},"paused",[718,2547,2548],{},"completed"," or ",[718,2551,2552],{},"cancelled",[778,2554,2555,2559,2561],{},[799,2556,2557],{},[718,2558,819],{},[799,2560,869],{},[799,2562,2563],{},"Agent.",[778,2565,2566,2571,2573],{},[799,2567,2568],{},[718,2569,2570],{},"agent_name",[799,2572,869],{},[799,2574,2575],{},"Agent name.",[778,2577,2578,2582,2584],{},[799,2579,2580],{},[718,2581,743],{},[799,2583,869],{},[799,2585,2586],{},"Line used.",[778,2588,2589,2594,2596],{},[799,2590,2591],{},[718,2592,2593],{},"phone_number",[799,2595,869],{},[799,2597,2598],{},"Line number.",[778,2600,2601,2605,2607],{},[799,2602,2603],{},[718,2604,850],{},[799,2606,853],{},[799,2608,2609],{},"Schedule.",[778,2611,2612,2616,2618],{},[799,2613,2614],{},[718,2615,866],{},[799,2617,869],{},[799,2619,874,2620,878],{},[718,2621,877],{},[778,2623,2624,2628,2630],{},[799,2625,2626],{},[718,2627,885],{},[799,2629,806],{},[799,2631,892,2632,896],{},[718,2633,895],{},[778,2635,2636,2640,2644],{},[799,2637,2638],{},[718,2639,903],{},[799,2641,906,2642],{},[853,2643],{},[799,2645,913],{},[778,2647,2648,2652,2654],{},[799,2649,2650],{},[718,2651,920],{},[799,2653,806],{},[799,2655,927,2656,931,2658,931,2660,931,2662,931,2664,931,2666,931,2668,896],{},[718,2657,930],{},[718,2659,934],{},[718,2661,937],{},[718,2663,940],{},[718,2665,943],{},[718,2667,946],{},[718,2669,949],{},[778,2671,2672,2676,2678],{},[799,2673,2674],{},[718,2675,956],{},[799,2677,806],{},[799,2679,963,2680,896],{},[718,2681,966],{},[778,2683,2684,2688,2690],{},[799,2685,2686],{},[718,2687,973],{},[799,2689,806],{},[799,2691,980,2692,896],{},[718,2693,966],{},[778,2695,2696,2700,2702],{},[799,2697,2698],{},[718,2699,989],{},[799,2701,992],{},[799,2703,997,2704,896],{},[718,2705,1000],{},[778,2707,2708,2712,2714],{},[799,2709,2710],{},[718,2711,1007],{},[799,2713,853],{},[799,2715,2716],{},"Limits.",[778,2718,2719,2723,2725],{},[799,2720,2721],{},[718,2722,1021],{},[799,2724,992],{},[799,2726,1028,2727,896],{},[718,2728,1031],{},[778,2730,2731,2735,2737],{},[799,2732,2733],{},[718,2734,1038],{},[799,2736,992],{},[799,2738,1045,2739,896],{},[718,2740,1048],{},[778,2742,2743,2747,2749],{},[799,2744,2745],{},[718,2746,1055],{},[799,2748,992],{},[799,2750,1062,2751,896],{},[718,2752,1048],{},[778,2754,2755,2759,2761],{},[799,2756,2757],{},[718,2758,1071],{},[799,2760,992],{},[799,2762,1078,2763,896],{},[718,2764,1081],{},[778,2766,2767,2771,2773],{},[799,2768,2769],{},[718,2770,1088],{},[799,2772,1091],{},[799,2774,1096],{},[778,2776,2777,2782,2784],{},[799,2778,2779],{},[718,2780,2781],{},"pause_reason",[799,2783,869],{},[799,2785,2786,2787,931,2790,931,2793,2549,2796,896],{},"Why it is paused: ",[718,2788,2789],{},"manual",[718,2791,2792],{},"budget_exhausted",[718,2794,2795],{},"quota_exhausted",[718,2797,2798],{},"emergency_stop",[778,2800,2801,2806,2808],{},[799,2802,2803],{},[718,2804,2805],{},"waiting_reason",[799,2807,869],{},[799,2809,2810,2811,2549,2814,2817,2818,931,2820,931,2823,931,2825,931,2828,931,2831,931,2834,931,2837,931,2840,896],{},"Why it is not dialling right now, for example ",[718,2812,2813],{},"outside_window",[718,2815,2816],{},"no_capacity",". One of: ",[718,2819,2813],{},[718,2821,2822],{},"not_started",[718,2824,2816],{},[718,2826,2827],{},"capacity_not_configured",[718,2829,2830],{},"line_unavailable",[718,2832,2833],{},"outbound_disabled",[718,2835,2836],{},"agent_unavailable",[718,2838,2839],{},"number_unavailable",[718,2841,2842],{},"halted",[778,2844,2845,2850,2852],{},[799,2846,2847],{},[718,2848,2849],{},"next_window_at",[799,2851,869],{},[799,2853,2854],{},"When the next window opens.",[778,2856,2857,2862,2864],{},[799,2858,2859],{},[718,2860,2861],{},"deadline_at",[799,2863,869],{},[799,2865,2866],{},"End of the maximum duration.",[778,2868,2869,2874,2876],{},[799,2870,2871],{},[718,2872,2873],{},"created_at",[799,2875,869],{},[799,2877,2878],{},"Creation date (ISO 8601).",[778,2880,2881,2886,2888],{},[799,2882,2883],{},[718,2884,2885],{},"started_at",[799,2887,869],{},[799,2889,2890],{},"When it was started.",[778,2892,2893,2898,2900],{},[799,2894,2895],{},[718,2896,2897],{},"completed_at",[799,2899,869],{},[799,2901,2902],{},"When it finished.",[778,2904,2905,2910,2912],{},[799,2906,2907],{},[718,2908,2909],{},"cancelled_at",[799,2911,869],{},[799,2913,2914],{},"When it was cancelled.",[778,2916,2917,2922,2924],{},[799,2918,2919],{},[718,2920,2921],{},"stats",[799,2923,853],{},[799,2925,2926],{},"Indicators.",[778,2928,2929,2934,2936],{},[799,2930,2931],{},[718,2932,2933],{},"stats.total",[799,2935,992],{},[799,2937,2938,2939,896],{},"Recipients. Default: ",[718,2940,2941],{},"0",[778,2943,2944,2949,2951],{},[799,2945,2946],{},[718,2947,2948],{},"stats.pending",[799,2950,992],{},[799,2952,2953,2954,896],{},"Left to call. Default: ",[718,2955,2941],{},[778,2957,2958,2963,2965],{},[799,2959,2960],{},[718,2961,2962],{},"stats.in_flight",[799,2964,992],{},[799,2966,2967,2968,896],{},"Dialling or in a call. Default: ",[718,2969,2941],{},[778,2971,2972,2977,2979],{},[799,2973,2974],{},[718,2975,2976],{},"stats.completed",[799,2978,992],{},[799,2980,2981,2982,896],{},"Call placed (answered, not answered or busy). Default: ",[718,2983,2941],{},[778,2985,2986,2991,2993],{},[799,2987,2988],{},[718,2989,2990],{},"stats.failed",[799,2992,992],{},[799,2994,2995,2996,896],{},"Could not be called. Default: ",[718,2997,2941],{},[778,2999,3000,3005,3007],{},[799,3001,3002],{},[718,3003,3004],{},"stats.cancelled",[799,3006,992],{},[799,3008,3009,3010,896],{},"Cancelled. Default: ",[718,3011,2941],{},[778,3013,3014,3019,3021],{},[799,3015,3016],{},[718,3017,3018],{},"stats.excluded",[799,3020,992],{},[799,3022,3023,3024,896],{},"On the do-not-call list. Default: ",[718,3025,2941],{},[778,3027,3028,3033,3035],{},[799,3029,3030],{},[718,3031,3032],{},"stats.calls_started",[799,3034,992],{},[799,3036,3037,3038,896],{},"Attempts sent (each retry counts). Default: ",[718,3039,2941],{},[778,3041,3042,3047,3049],{},[799,3043,3044],{},[718,3045,3046],{},"stats.answered",[799,3048,992],{},[799,3050,3051,3052,896],{},"Answered. Default: ",[718,3053,2941],{},[778,3055,3056,3061,3063],{},[799,3057,3058],{},[718,3059,3060],{},"stats.no_answer",[799,3062,992],{},[799,3064,3065,3066,896],{},"Not answered. Default: ",[718,3067,2941],{},[778,3069,3070,3075,3077],{},[799,3071,3072],{},[718,3073,3074],{},"stats.unavailable",[799,3076,992],{},[799,3078,3079,3080,896],{},"Busy or unavailable. Default: ",[718,3081,2941],{},[778,3083,3084,3089,3092],{},[799,3085,3086],{},[718,3087,3088],{},"stats.answer_rate",[799,3090,3091],{},"number | null",[799,3093,3094],{},"Answered ÷ (answered + not answered + unavailable).",[778,3096,3097,3102,3104],{},[799,3098,3099],{},[718,3100,3101],{},"stats.total_duration_seconds",[799,3103,992],{},[799,3105,3106,3107,896],{},"Total duration of answered calls. Default: ",[718,3108,2941],{},[778,3110,3111,3116,3119],{},[799,3112,3113],{},[718,3114,3115],{},"stats.progress",[799,3117,3118],{},"number",[799,3120,3121,3122,896],{},"Recipients in a final state ÷ total. Default: ",[718,3123,2941],{},[778,3125,3126,3131,3133],{},[799,3127,3128],{},[718,3129,3130],{},"stats.cost_kz",[799,3132,3091],{},[799,3134,3135],{},"Cost in kwanzas, only when a rate is configured.",[778,3137,3138,3143,3145],{},[799,3139,3140],{},[718,3141,3142],{},"stats.with_post_call",[799,3144,992],{},[799,3146,3147,3148,896],{},"Calls with a post-call result. Default: ",[718,3149,2941],{},[711,3151,3153],{"className":1099,"code":3152,"language":1101,"meta":716,"style":716},"{\n  \"id\": \"5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93\",\n  \"name\": \"Exemplo\",\n  \"status\": \"draft\",\n  \"agent_id\": \"3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40\",\n  \"agent_name\": \"Recepção\",\n  \"phone_number_id\": \"5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93\",\n  \"phone_number\": \"+244900000000\",\n  \"schedule\": {\n    \"start_at\": \"2026-10-25T18:40:00Z\",\n    \"timezone\": \"Africa\u002FLuanda\",\n    \"windows\": [\n      {\n        \"day\": \"monday\",\n        \"start\": \"2026-10-25T18:40:00Z\",\n        \"end\": \"2026-11-01T18:40:00Z\"\n      }\n    ],\n    \"max_duration_days\": 7\n  },\n  \"limits\": {\n    \"max_concurrency\": 2,\n    \"reserved_capacity\": 1,\n    \"max_attempts\": 1,\n    \"retry_delay_minutes\": 60,\n    \"budget_minutes\": 0\n  },\n  \"pause_reason\": \"manual\",\n  \"waiting_reason\": \"outside_window\",\n  \"next_window_at\": \"2026-10-25T18:40:00Z\",\n  \"deadline_at\": \"2026-10-25T18:40:00Z\",\n  \"created_at\": \"2026-10-25T18:40:00Z\",\n  \"started_at\": \"2026-10-25T18:40:00Z\",\n  \"completed_at\": \"2026-10-25T18:40:01Z\",\n  \"cancelled_at\": \"2026-10-25T18:40:00Z\",\n  \"stats\": {\n    \"total\": 1,\n    \"pending\": 0,\n    \"in_flight\": 0,\n    \"completed\": 38,\n    \"failed\": 3,\n    \"cancelled\": 1,\n    \"excluded\": 0,\n    \"calls_started\": 0,\n    \"answered\": 0,\n    \"no_answer\": 0,\n    \"unavailable\": 0,\n    \"answer_rate\": 0,\n    \"total_duration_seconds\": 0,\n    \"progress\": 0,\n    \"cost_kz\": 0,\n    \"with_post_call\": 0\n  }\n}\n",[718,3154,3155,3159,3177,3196,3214,3232,3251,3269,3288,3300,3320,3338,3350,3354,3372,3390,3407,3411,3415,3429,3433,3445,3459,3475,3489,3504,3518,3522,3540,3558,3576,3594,3612,3630,3649,3667,3679,3694,3710,3725,3740,3757,3772,3788,3804,3820,3836,3852,3868,3884,3900,3916,3930,3935],{"__ignoreMap":716},[721,3156,3157],{"class":723,"line":724},[721,3158,1109],{"class":1108},[721,3160,3161,3163,3165,3167,3169,3171,3173,3175],{"class":723,"line":1112},[721,3162,1115],{"class":1108},[721,3164,2507],{"class":1118},[721,3166,1121],{"class":1108},[721,3168,1124],{"class":1108},[721,3170,1127],{"class":1108},[721,3172,1172],{"class":1130},[721,3174,1121],{"class":1108},[721,3176,1136],{"class":1108},[721,3178,3179,3181,3183,3185,3187,3189,3192,3194],{"class":723,"line":1139},[721,3180,1115],{"class":1108},[721,3182,803],{"class":1118},[721,3184,1121],{"class":1108},[721,3186,1124],{"class":1108},[721,3188,1127],{"class":1108},[721,3190,3191],{"class":1130},"Exemplo",[721,3193,1121],{"class":1108},[721,3195,1136],{"class":1108},[721,3197,3198,3200,3202,3204,3206,3208,3210,3212],{"class":723,"line":1159},[721,3199,1115],{"class":1108},[721,3201,2205],{"class":1118},[721,3203,1121],{"class":1108},[721,3205,1124],{"class":1108},[721,3207,1127],{"class":1108},[721,3209,2536],{"class":1130},[721,3211,1121],{"class":1108},[721,3213,1136],{"class":1108},[721,3215,3216,3218,3220,3222,3224,3226,3228,3230],{"class":723,"line":1179},[721,3217,1115],{"class":1108},[721,3219,819],{"class":1118},[721,3221,1121],{"class":1108},[721,3223,1124],{"class":1108},[721,3225,1127],{"class":1108},[721,3227,1152],{"class":1130},[721,3229,1121],{"class":1108},[721,3231,1136],{"class":1108},[721,3233,3234,3236,3238,3240,3242,3244,3247,3249],{"class":723,"line":1193},[721,3235,1115],{"class":1108},[721,3237,2570],{"class":1118},[721,3239,1121],{"class":1108},[721,3241,1124],{"class":1108},[721,3243,1127],{"class":1108},[721,3245,3246],{"class":1130},"Recepção",[721,3248,1121],{"class":1108},[721,3250,1136],{"class":1108},[721,3252,3253,3255,3257,3259,3261,3263,3265,3267],{"class":723,"line":1215},[721,3254,1115],{"class":1108},[721,3256,743],{"class":1118},[721,3258,1121],{"class":1108},[721,3260,1124],{"class":1108},[721,3262,1127],{"class":1108},[721,3264,1172],{"class":1130},[721,3266,1121],{"class":1108},[721,3268,1136],{"class":1108},[721,3270,3271,3273,3275,3277,3279,3281,3284,3286],{"class":723,"line":1230},[721,3272,1115],{"class":1108},[721,3274,2593],{"class":1118},[721,3276,1121],{"class":1108},[721,3278,1124],{"class":1108},[721,3280,1127],{"class":1108},[721,3282,3283],{"class":1130},"+244900000000",[721,3285,1121],{"class":1108},[721,3287,1136],{"class":1108},[721,3289,3290,3292,3294,3296,3298],{"class":723,"line":1236},[721,3291,1115],{"class":1108},[721,3293,850],{"class":1118},[721,3295,1121],{"class":1108},[721,3297,1124],{"class":1108},[721,3299,1190],{"class":1108},[721,3301,3302,3304,3307,3309,3311,3313,3316,3318],{"class":723,"line":1258},[721,3303,1196],{"class":1108},[721,3305,3306],{"class":1199},"start_at",[721,3308,1121],{"class":1108},[721,3310,1124],{"class":1108},[721,3312,1127],{"class":1108},[721,3314,3315],{"class":1130},"2026-10-25T18:40:00Z",[721,3317,1121],{"class":1108},[721,3319,1136],{"class":1108},[721,3321,3322,3324,3326,3328,3330,3332,3334,3336],{"class":723,"line":1279},[721,3323,1196],{"class":1108},[721,3325,1200],{"class":1199},[721,3327,1121],{"class":1108},[721,3329,1124],{"class":1108},[721,3331,1127],{"class":1108},[721,3333,895],{"class":1130},[721,3335,1121],{"class":1108},[721,3337,1136],{"class":1108},[721,3339,3340,3342,3344,3346,3348],{"class":723,"line":1299},[721,3341,1196],{"class":1108},[721,3343,1220],{"class":1199},[721,3345,1121],{"class":1108},[721,3347,1124],{"class":1108},[721,3349,1227],{"class":1108},[721,3351,3352],{"class":723,"line":1305},[721,3353,1233],{"class":1108},[721,3355,3356,3358,3360,3362,3364,3366,3368,3370],{"class":723,"line":1310},[721,3357,1239],{"class":1108},[721,3359,1243],{"class":1242},[721,3361,1121],{"class":1108},[721,3363,1124],{"class":1108},[721,3365,1127],{"class":1108},[721,3367,930],{"class":1130},[721,3369,1121],{"class":1108},[721,3371,1136],{"class":1108},[721,3373,3374,3376,3378,3380,3382,3384,3386,3388],{"class":723,"line":1329},[721,3375,1239],{"class":1108},[721,3377,1263],{"class":1242},[721,3379,1121],{"class":1108},[721,3381,1124],{"class":1108},[721,3383,1127],{"class":1108},[721,3385,3315],{"class":1130},[721,3387,1121],{"class":1108},[721,3389,1136],{"class":1108},[721,3391,3392,3394,3396,3398,3400,3402,3405],{"class":723,"line":1349},[721,3393,1239],{"class":1108},[721,3395,1284],{"class":1242},[721,3397,1121],{"class":1108},[721,3399,1124],{"class":1108},[721,3401,1127],{"class":1108},[721,3403,3404],{"class":1130},"2026-11-01T18:40:00Z",[721,3406,1296],{"class":1108},[721,3408,3409],{"class":723,"line":1367},[721,3410,1370],{"class":1108},[721,3412,3413],{"class":723,"line":1373},[721,3414,2300],{"class":1108},[721,3416,3417,3419,3422,3424,3426],{"class":723,"line":1379},[721,3418,1196],{"class":1108},[721,3420,3421],{"class":1199},"max_duration_days",[721,3423,1121],{"class":1108},[721,3425,1124],{"class":1108},[721,3427,3428],{"class":1242}," 7\n",[721,3430,3431],{"class":723,"line":1385},[721,3432,1382],{"class":1108},[721,3434,3435,3437,3439,3441,3443],{"class":723,"line":1398},[721,3436,1115],{"class":1108},[721,3438,1007],{"class":1118},[721,3440,1121],{"class":1108},[721,3442,1124],{"class":1108},[721,3444,1190],{"class":1108},[721,3446,3447,3449,3451,3453,3455,3457],{"class":723,"line":1415},[721,3448,1196],{"class":1108},[721,3450,1403],{"class":1199},[721,3452,1121],{"class":1108},[721,3454,1124],{"class":1108},[721,3456,1410],{"class":1242},[721,3458,1136],{"class":1108},[721,3460,3461,3463,3466,3468,3470,3473],{"class":723,"line":1431},[721,3462,1196],{"class":1108},[721,3464,3465],{"class":1199},"reserved_capacity",[721,3467,1121],{"class":1108},[721,3469,1124],{"class":1108},[721,3471,3472],{"class":1242}," 1",[721,3474,1136],{"class":1108},[721,3476,3477,3479,3481,3483,3485,3487],{"class":723,"line":1446},[721,3478,1196],{"class":1108},[721,3480,1420],{"class":1199},[721,3482,1121],{"class":1108},[721,3484,1124],{"class":1108},[721,3486,3472],{"class":1242},[721,3488,1136],{"class":1108},[721,3490,3491,3493,3495,3497,3499,3502],{"class":723,"line":1452},[721,3492,1196],{"class":1108},[721,3494,1436],{"class":1199},[721,3496,1121],{"class":1108},[721,3498,1124],{"class":1108},[721,3500,3501],{"class":1242}," 60",[721,3503,1136],{"class":1108},[721,3505,3506,3508,3511,3513,3515],{"class":723,"line":1671},[721,3507,1196],{"class":1108},[721,3509,3510],{"class":1199},"budget_minutes",[721,3512,1121],{"class":1108},[721,3514,1124],{"class":1108},[721,3516,3517],{"class":1242}," 0\n",[721,3519,3520],{"class":723,"line":1677},[721,3521,1382],{"class":1108},[721,3523,3524,3526,3528,3530,3532,3534,3536,3538],{"class":723,"line":1683},[721,3525,1115],{"class":1108},[721,3527,2781],{"class":1118},[721,3529,1121],{"class":1108},[721,3531,1124],{"class":1108},[721,3533,1127],{"class":1108},[721,3535,2789],{"class":1130},[721,3537,1121],{"class":1108},[721,3539,1136],{"class":1108},[721,3541,3542,3544,3546,3548,3550,3552,3554,3556],{"class":723,"line":1688},[721,3543,1115],{"class":1108},[721,3545,2805],{"class":1118},[721,3547,1121],{"class":1108},[721,3549,1124],{"class":1108},[721,3551,1127],{"class":1108},[721,3553,2813],{"class":1130},[721,3555,1121],{"class":1108},[721,3557,1136],{"class":1108},[721,3559,3560,3562,3564,3566,3568,3570,3572,3574],{"class":723,"line":1694},[721,3561,1115],{"class":1108},[721,3563,2849],{"class":1118},[721,3565,1121],{"class":1108},[721,3567,1124],{"class":1108},[721,3569,1127],{"class":1108},[721,3571,3315],{"class":1130},[721,3573,1121],{"class":1108},[721,3575,1136],{"class":1108},[721,3577,3578,3580,3582,3584,3586,3588,3590,3592],{"class":723,"line":1700},[721,3579,1115],{"class":1108},[721,3581,2861],{"class":1118},[721,3583,1121],{"class":1108},[721,3585,1124],{"class":1108},[721,3587,1127],{"class":1108},[721,3589,3315],{"class":1130},[721,3591,1121],{"class":1108},[721,3593,1136],{"class":1108},[721,3595,3596,3598,3600,3602,3604,3606,3608,3610],{"class":723,"line":1706},[721,3597,1115],{"class":1108},[721,3599,2873],{"class":1118},[721,3601,1121],{"class":1108},[721,3603,1124],{"class":1108},[721,3605,1127],{"class":1108},[721,3607,3315],{"class":1130},[721,3609,1121],{"class":1108},[721,3611,1136],{"class":1108},[721,3613,3614,3616,3618,3620,3622,3624,3626,3628],{"class":723,"line":1712},[721,3615,1115],{"class":1108},[721,3617,2885],{"class":1118},[721,3619,1121],{"class":1108},[721,3621,1124],{"class":1108},[721,3623,1127],{"class":1108},[721,3625,3315],{"class":1130},[721,3627,1121],{"class":1108},[721,3629,1136],{"class":1108},[721,3631,3632,3634,3636,3638,3640,3642,3645,3647],{"class":723,"line":2167},[721,3633,1115],{"class":1108},[721,3635,2897],{"class":1118},[721,3637,1121],{"class":1108},[721,3639,1124],{"class":1108},[721,3641,1127],{"class":1108},[721,3643,3644],{"class":1130},"2026-10-25T18:40:01Z",[721,3646,1121],{"class":1108},[721,3648,1136],{"class":1108},[721,3650,3651,3653,3655,3657,3659,3661,3663,3665],{"class":723,"line":2231},[721,3652,1115],{"class":1108},[721,3654,2909],{"class":1118},[721,3656,1121],{"class":1108},[721,3658,1124],{"class":1108},[721,3660,1127],{"class":1108},[721,3662,3315],{"class":1130},[721,3664,1121],{"class":1108},[721,3666,1136],{"class":1108},[721,3668,3669,3671,3673,3675,3677],{"class":723,"line":2436},[721,3670,1115],{"class":1108},[721,3672,2921],{"class":1118},[721,3674,1121],{"class":1108},[721,3676,1124],{"class":1108},[721,3678,1190],{"class":1108},[721,3680,3681,3683,3686,3688,3690,3692],{"class":723,"line":2442},[721,3682,1196],{"class":1108},[721,3684,3685],{"class":1199},"total",[721,3687,1121],{"class":1108},[721,3689,1124],{"class":1108},[721,3691,3472],{"class":1242},[721,3693,1136],{"class":1108},[721,3695,3696,3698,3701,3703,3705,3708],{"class":723,"line":2448},[721,3697,1196],{"class":1108},[721,3699,3700],{"class":1199},"pending",[721,3702,1121],{"class":1108},[721,3704,1124],{"class":1108},[721,3706,3707],{"class":1242}," 0",[721,3709,1136],{"class":1108},[721,3711,3712,3714,3717,3719,3721,3723],{"class":723,"line":2454},[721,3713,1196],{"class":1108},[721,3715,3716],{"class":1199},"in_flight",[721,3718,1121],{"class":1108},[721,3720,1124],{"class":1108},[721,3722,3707],{"class":1242},[721,3724,1136],{"class":1108},[721,3726,3727,3729,3731,3733,3735,3738],{"class":723,"line":2459},[721,3728,1196],{"class":1108},[721,3730,2548],{"class":1199},[721,3732,1121],{"class":1108},[721,3734,1124],{"class":1108},[721,3736,3737],{"class":1242}," 38",[721,3739,1136],{"class":1108},[721,3741,3743,3745,3748,3750,3752,3755],{"class":723,"line":3742},41,[721,3744,1196],{"class":1108},[721,3746,3747],{"class":1199},"failed",[721,3749,1121],{"class":1108},[721,3751,1124],{"class":1108},[721,3753,3754],{"class":1242}," 3",[721,3756,1136],{"class":1108},[721,3758,3760,3762,3764,3766,3768,3770],{"class":723,"line":3759},42,[721,3761,1196],{"class":1108},[721,3763,2552],{"class":1199},[721,3765,1121],{"class":1108},[721,3767,1124],{"class":1108},[721,3769,3472],{"class":1242},[721,3771,1136],{"class":1108},[721,3773,3775,3777,3780,3782,3784,3786],{"class":723,"line":3774},43,[721,3776,1196],{"class":1108},[721,3778,3779],{"class":1199},"excluded",[721,3781,1121],{"class":1108},[721,3783,1124],{"class":1108},[721,3785,3707],{"class":1242},[721,3787,1136],{"class":1108},[721,3789,3791,3793,3796,3798,3800,3802],{"class":723,"line":3790},44,[721,3792,1196],{"class":1108},[721,3794,3795],{"class":1199},"calls_started",[721,3797,1121],{"class":1108},[721,3799,1124],{"class":1108},[721,3801,3707],{"class":1242},[721,3803,1136],{"class":1108},[721,3805,3807,3809,3812,3814,3816,3818],{"class":723,"line":3806},45,[721,3808,1196],{"class":1108},[721,3810,3811],{"class":1199},"answered",[721,3813,1121],{"class":1108},[721,3815,1124],{"class":1108},[721,3817,3707],{"class":1242},[721,3819,1136],{"class":1108},[721,3821,3823,3825,3828,3830,3832,3834],{"class":723,"line":3822},46,[721,3824,1196],{"class":1108},[721,3826,3827],{"class":1199},"no_answer",[721,3829,1121],{"class":1108},[721,3831,1124],{"class":1108},[721,3833,3707],{"class":1242},[721,3835,1136],{"class":1108},[721,3837,3839,3841,3844,3846,3848,3850],{"class":723,"line":3838},47,[721,3840,1196],{"class":1108},[721,3842,3843],{"class":1199},"unavailable",[721,3845,1121],{"class":1108},[721,3847,1124],{"class":1108},[721,3849,3707],{"class":1242},[721,3851,1136],{"class":1108},[721,3853,3855,3857,3860,3862,3864,3866],{"class":723,"line":3854},48,[721,3856,1196],{"class":1108},[721,3858,3859],{"class":1199},"answer_rate",[721,3861,1121],{"class":1108},[721,3863,1124],{"class":1108},[721,3865,3707],{"class":1242},[721,3867,1136],{"class":1108},[721,3869,3871,3873,3876,3878,3880,3882],{"class":723,"line":3870},49,[721,3872,1196],{"class":1108},[721,3874,3875],{"class":1199},"total_duration_seconds",[721,3877,1121],{"class":1108},[721,3879,1124],{"class":1108},[721,3881,3707],{"class":1242},[721,3883,1136],{"class":1108},[721,3885,3887,3889,3892,3894,3896,3898],{"class":723,"line":3886},50,[721,3888,1196],{"class":1108},[721,3890,3891],{"class":1199},"progress",[721,3893,1121],{"class":1108},[721,3895,1124],{"class":1108},[721,3897,3707],{"class":1242},[721,3899,1136],{"class":1108},[721,3901,3903,3905,3908,3910,3912,3914],{"class":723,"line":3902},51,[721,3904,1196],{"class":1108},[721,3906,3907],{"class":1199},"cost_kz",[721,3909,1121],{"class":1108},[721,3911,1124],{"class":1108},[721,3913,3707],{"class":1242},[721,3915,1136],{"class":1108},[721,3917,3919,3921,3924,3926,3928],{"class":723,"line":3918},52,[721,3920,1196],{"class":1108},[721,3922,3923],{"class":1199},"with_post_call",[721,3925,1121],{"class":1108},[721,3927,1124],{"class":1108},[721,3929,3517],{"class":1242},[721,3931,3933],{"class":723,"line":3932},53,[721,3934,1449],{"class":1108},[721,3936,3938],{"class":723,"line":3937},54,[721,3939,1455],{"class":1108},[762,3941,3943],{"id":3942},"errors","Errors",[772,3945,3946,3956],{},[775,3947,3948],{},[778,3949,3950,3953],{},[781,3951,3952],{},"Code",[781,3954,3955],{},"When",[794,3957,3958,3968,3978,3988],{},[778,3959,3960,3965],{},[799,3961,3962],{},[718,3963,3964],{},"403",[799,3966,3967],{},"Campaigns or API calls are not switched on for the organization.",[778,3969,3970,3975],{},[799,3971,3972],{},[718,3973,3974],{},"404",[799,3976,3977],{},"The agent or the number does not exist in the organization.",[778,3979,3980,3985],{},[799,3981,3982],{},[718,3983,3984],{},"409",[799,3986,3987],{},"The agent is not outbound or not published, or the number is not an active DISKA line.",[778,3989,3990,3995],{},[799,3991,3992],{},[718,3993,3994],{},"422",[799,3996,3997],{},"Windows outside contact hours, an unknown time zone or limits out of range.",[728,3999,4000,4001,931,4004,931,4006,931,4008,752,4011,4014,4015,896],{},"Errors common to every endpoint (",[718,4002,4003],{},"401",[718,4005,3964],{},[718,4007,3994],{},[718,4009,4010],{},"429",[718,4012,4013],{},"5xx",") are in ",[746,4016,3943],{"href":4017},"\u002Fen\u002Fapi\u002Fapi-channel#errors",[4019,4020,4021],"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 .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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":716,"searchDepth":1112,"depth":1112,"links":4023},[4024,4025,4026,4027,4029],{"id":764,"depth":1112,"text":765},{"id":1458,"depth":1112,"text":1459},{"id":2465,"depth":1112,"text":2466},{"id":2482,"depth":1112,"text":4028},"Response 201",{"id":3942,"depth":1112,"text":3943},"Creates the campaign as a draft (draft).","md",null,{},{"title":409,"description":4030},"GfoSZtfjOSaP8HYfU2BrIs8dPi0yEfScqA-yfu-gxV0",[4037,4039],{"title":405,"path":406,"stem":407,"description":4038,"children":-1},"Lists the organization's campaigns, newest first, with each one's indicators.",{"title":413,"path":414,"stem":415,"description":4040,"children":-1},"The campaign with its indicators (stats) and, when it is waiting, the reason (waiting_reason) and the next window (next_window_at).",1795253359203]