[{"data":1,"prerenderedAt":631},["ShallowReactive",2],{"navigation":3,"/en/integrations/webhook":351,"/en/integrations/webhook-surround":626},[4,191],{"title":5,"path":6,"stem":7,"children":8,"page":56},"EN","/en","en",[9,16,57,65,103,156,181],{"title":10,"path":11,"stem":12,"children":13,"icon":15},"API","/en/api","en/api/index",[14],{"title":10,"path":11,"stem":12,"icon":15},"i-lucide-code",{"title":17,"path":18,"stem":19,"children":20,"page":56},"Capabilities","/en/capabilities","en/capabilities",[21,26,31,36,41,46,51],{"title":22,"path":23,"stem":24,"icon":25},"Agents","/en/capabilities/agents","en/capabilities/agents","i-lucide-bot",{"title":27,"path":28,"stem":29,"icon":30},"Call History","/en/capabilities/call-history","en/capabilities/call-history","i-lucide-history",{"title":32,"path":33,"stem":34,"icon":35},"Channels","/en/capabilities/channels","en/capabilities/channels","i-lucide-network",{"title":37,"path":38,"stem":39,"icon":40},"Inbound Calls","/en/capabilities/inbound-calls","en/capabilities/inbound-calls","i-lucide-phone-incoming",{"title":42,"path":43,"stem":44,"icon":45},"Integrations","/en/capabilities/integrations","en/capabilities/integrations","i-lucide-plug-zap",{"title":47,"path":48,"stem":49,"icon":50},"Outbound Calls","/en/capabilities/outbound-calls","en/capabilities/outbound-calls","i-lucide-phone-outgoing",{"title":52,"path":53,"stem":54,"icon":55},"Teams","/en/capabilities/teams","en/capabilities/teams","i-lucide-users",false,{"title":58,"path":59,"stem":60,"children":61,"icon":64},"Getting Started","/en/getting-started","en/getting-started/index",[62],{"title":63,"path":59,"stem":60,"icon":64},"Getting started","i-lucide-rocket",{"title":66,"path":67,"stem":68,"children":69,"page":56},"Guides","/en/guides","en/guides",[70,75,80,84,88,93,98],{"title":71,"path":72,"stem":73,"icon":74},"Create and Configure an Agent","/en/guides/first-agent","en/guides/first-agent","i-lucide-settings-2",{"title":76,"path":77,"stem":78,"icon":79},"Connect an Inbound Number via SIP Registration","/en/guides/inbound-sip-registration","en/guides/inbound-sip-registration","i-lucide-phone-call",{"title":81,"path":82,"stem":83,"icon":40},"Connect an Inbound Number via SIP URI","/en/guides/inbound-sip-uri","en/guides/inbound-sip-uri",{"title":85,"path":86,"stem":87,"icon":50},"Launch an Outbound Campaign","/en/guides/outbound-campaign","en/guides/outbound-campaign",{"title":89,"path":90,"stem":91,"icon":92},"Set Up a Telegram Channel","/en/guides/telegram-channel","en/guides/telegram-channel","i-simple-icons-telegram",{"title":94,"path":95,"stem":96,"icon":97},"Set Up Transfer to Operator","/en/guides/transfer-to-operator","en/guides/transfer-to-operator","i-lucide-headset",{"title":99,"path":100,"stem":101,"icon":102},"Add the Website Widget","/en/guides/website-widget","en/guides/website-widget","i-lucide-layout-template",{"title":42,"path":104,"stem":105,"children":106,"icon":45},"/en/integrations","en/integrations/index",[107,108,112,116,120,124,128,132,136,140,144,148,152],{"title":42,"path":104,"stem":105,"icon":45},{"title":109,"path":110,"stem":111},"1C:CRM","/en/integrations/1c-crm","en/integrations/1c-crm",{"title":113,"path":114,"stem":115},"amoCRM","/en/integrations/amocrm","en/integrations/amocrm",{"title":117,"path":118,"stem":119},"Bitrix24","/en/integrations/bitrix","en/integrations/bitrix",{"title":121,"path":122,"stem":123},"Google Sheets","/en/integrations/google-sheets","en/integrations/google-sheets",{"title":125,"path":126,"stem":127},"Megaplan","/en/integrations/megaplan","en/integrations/megaplan",{"title":129,"path":130,"stem":131},"Moysklad","/en/integrations/moysklad","en/integrations/moysklad",{"title":133,"path":134,"stem":135},"Transfer to Operator","/en/integrations/outbound-trunk","en/integrations/outbound-trunk",{"title":137,"path":138,"stem":139},"retailCRM","/en/integrations/retailcrm","en/integrations/retailcrm",{"title":141,"path":142,"stem":143},"Telegram","/en/integrations/telegram","en/integrations/telegram",{"title":145,"path":146,"stem":147},"TwentyCRM","/en/integrations/twenty","en/integrations/twenty",{"title":149,"path":150,"stem":151},"Webhook","/en/integrations/webhook","en/integrations/webhook",{"title":153,"path":154,"stem":155},"YClients","/en/integrations/yclients","en/integrations/yclients",{"title":157,"path":158,"stem":159,"children":160,"page":56},"Legal","/en/legal","en/legal",[161,166,171,176],{"title":162,"path":163,"stem":164,"icon":165},"Personal data consent","/en/legal/consent","en/legal/consent","i-lucide-shield-check",{"title":167,"path":168,"stem":169,"icon":170},"Contacts and company details","/en/legal/contacts","en/legal/contacts","i-lucide-mail",{"title":172,"path":173,"stem":174,"icon":175},"Offer and documents","/en/legal/offer","en/legal/offer","i-lucide-file-text",{"title":177,"path":178,"stem":179,"icon":180},"Privacy policy","/en/legal/privacy","en/legal/privacy","i-lucide-lock",{"title":182,"path":183,"stem":184,"children":185,"page":56},"Pricing","/en/pricing","en/pricing",[186],{"title":187,"path":188,"stem":189,"icon":190},"Plans","/en/pricing/plans","en/pricing/plans","i-lucide-badge-dollar-sign",{"title":192,"path":193,"stem":194,"children":195,"page":56},"RU","/ru","ru",[196,201,234,240,278,321,342],{"title":10,"path":197,"stem":198,"children":199,"icon":15},"/ru/api","ru/api/index",[200],{"title":10,"path":197,"stem":198,"icon":15},{"title":202,"path":203,"stem":204,"children":205,"page":56},"Возможности","/ru/capabilities","ru/capabilities",[206,210,214,218,222,226,230],{"title":207,"path":208,"stem":209,"icon":25},"Агенты","/ru/capabilities/agents","ru/capabilities/agents",{"title":211,"path":212,"stem":213,"icon":30},"История звонков","/ru/capabilities/call-history","ru/capabilities/call-history",{"title":215,"path":216,"stem":217,"icon":35},"Каналы","/ru/capabilities/channels","ru/capabilities/channels",{"title":219,"path":220,"stem":221,"icon":40},"Входящие звонки","/ru/capabilities/inbound-calls","ru/capabilities/inbound-calls",{"title":223,"path":224,"stem":225,"icon":45},"Интеграции","/ru/capabilities/integrations","ru/capabilities/integrations",{"title":227,"path":228,"stem":229,"icon":50},"Исходящие звонки","/ru/capabilities/outbound-calls","ru/capabilities/outbound-calls",{"title":231,"path":232,"stem":233,"icon":55},"Команды","/ru/capabilities/teams","ru/capabilities/teams",{"title":235,"path":236,"stem":237,"children":238,"icon":64},"Начало работы","/ru/getting-started","ru/getting-started/index",[239],{"title":235,"path":236,"stem":237,"icon":64},{"title":241,"path":242,"stem":243,"children":244,"page":56},"Руководства","/ru/guides","ru/guides",[245,250,254,258,262,266,270,274],{"title":246,"path":247,"stem":248,"icon":249},"Добавить billing account и купить пакет","/ru/guides/billing-setup","ru/guides/billing-setup","i-lucide-credit-card",{"title":251,"path":252,"stem":253,"icon":74},"Создать и настроить агента","/ru/guides/first-agent","ru/guides/first-agent",{"title":255,"path":256,"stem":257,"icon":79},"Подключить входящий номер через SIP-регистрацию","/ru/guides/inbound-sip-registration","ru/guides/inbound-sip-registration",{"title":259,"path":260,"stem":261,"icon":40},"Подключить входящий номер через SIP URI","/ru/guides/inbound-sip-uri","ru/guides/inbound-sip-uri",{"title":263,"path":264,"stem":265,"icon":50},"Запустить исходящую кампанию","/ru/guides/outbound-campaign","ru/guides/outbound-campaign",{"title":267,"path":268,"stem":269,"icon":92},"Настроить Telegram-канал","/ru/guides/telegram-channel","ru/guides/telegram-channel",{"title":271,"path":272,"stem":273,"icon":97},"Настроить перевод на оператора","/ru/guides/transfer-to-operator","ru/guides/transfer-to-operator",{"title":275,"path":276,"stem":277,"icon":102},"Подключить виджет на сайт","/ru/guides/website-widget","ru/guides/website-widget",{"title":223,"path":279,"stem":280,"children":281,"icon":45},"/ru/integrations","ru/integrations/index",[282,283,286,289,292,295,298,301,305,308,311,314,318],{"title":223,"path":279,"stem":280,"icon":45},{"title":109,"path":284,"stem":285},"/ru/integrations/1c-crm","ru/integrations/1c-crm",{"title":113,"path":287,"stem":288},"/ru/integrations/amocrm","ru/integrations/amocrm",{"title":117,"path":290,"stem":291},"/ru/integrations/bitrix","ru/integrations/bitrix",{"title":121,"path":293,"stem":294},"/ru/integrations/google-sheets","ru/integrations/google-sheets",{"title":125,"path":296,"stem":297},"/ru/integrations/megaplan","ru/integrations/megaplan",{"title":129,"path":299,"stem":300},"/ru/integrations/moysklad","ru/integrations/moysklad",{"title":302,"path":303,"stem":304},"Перевод на оператора","/ru/integrations/outbound-trunk","ru/integrations/outbound-trunk",{"title":137,"path":306,"stem":307},"/ru/integrations/retailcrm","ru/integrations/retailcrm",{"title":141,"path":309,"stem":310},"/ru/integrations/telegram","ru/integrations/telegram",{"title":145,"path":312,"stem":313},"/ru/integrations/twenty","ru/integrations/twenty",{"title":315,"path":316,"stem":317},"Вебхук","/ru/integrations/webhook","ru/integrations/webhook",{"title":153,"path":319,"stem":320},"/ru/integrations/yclients","ru/integrations/yclients",{"title":322,"path":323,"stem":324,"children":325,"page":56},"Юридические документы","/ru/legal","ru/legal",[326,330,334,338],{"title":327,"path":328,"stem":329,"icon":165},"Согласие на обработку персональных данных","/ru/legal/consent","ru/legal/consent",{"title":331,"path":332,"stem":333,"icon":170},"Контакты и реквизиты","/ru/legal/contacts","ru/legal/contacts",{"title":335,"path":336,"stem":337,"icon":175},"Оферта и документы","/ru/legal/offer","ru/legal/offer",{"title":339,"path":340,"stem":341,"icon":180},"Политика конфиденциальности","/ru/legal/privacy","ru/legal/privacy",{"title":343,"path":344,"stem":345,"children":346,"page":56},"Цены","/ru/pricing","ru/pricing",[347],{"title":348,"path":349,"stem":350,"icon":190},"Тарифные планы","/ru/pricing/plans","ru/pricing/plans",{"id":352,"title":149,"body":353,"description":619,"extension":620,"links":621,"meta":622,"navigation":623,"path":150,"seo":624,"stem":151,"__hash__":625},"docs/en/integrations/webhook.md",{"type":354,"value":355,"toc":608},"minimark",[356,368,371,376,403,407,432,436,465,469,472,520,523,553,557,568,571,575,585,589],[357,358,359],"blockquote",{},[360,361,362,363,367],"p",{},"Status: ",[364,365,366],"code",{},"Available"," in the Integrations catalog.",[360,369,370],{},"The webhook integration creates a shared HTTPS destination that can be assigned to multiple agents. AIVA delivers events at-least-once, so the receiver must be able to handle duplicates safely.",[372,373,375],"h2",{"id":374},"what-you-need","What you need",[377,378,379,386,396],"ul",{},[380,381,382,383],"li",{},"an HTTPS endpoint that accepts ",[364,384,385],{},"POST",[380,387,388,389,392,393],{},"deduplication logic keyed by ",[364,390,391],{},"call_event_id"," or ",[364,394,395],{},"Idempotency-Key",[380,397,398,399,402],{},"HMAC validation for the ",[364,400,401],{},"X-Aiva-Signature-256"," header",[372,404,406],{"id":405},"add-the-webhook","Add the webhook",[408,409,410,417,423,429],"ol",{},[380,411,412,413,416],{},"Open ",[364,414,415],{},"Integrations -> Webhooks -> Add webhook",".",[380,418,419,420,416],{},"Fill in ",[364,421,422],{},"Title",[380,424,425,426,416],{},"Set the ",[364,427,428],{},"Webhook URL",[380,430,431],{},"Save the record.",[372,433,435],{"id":434},"after-saving","After saving",[377,437,438,445,451,458],{},[380,439,440,441,444],{},"Copy the ",[364,442,443],{},"Signing secret"," on the detail page and store it in your receiver.",[380,446,447,448,416],{},"Rotate the secret whenever needed with ",[364,449,450],{},"Rotate secret",[380,452,453,454,457],{},"Use ",[364,455,456],{},"Test integration"," to trigger a test delivery.",[380,459,460,461,464],{},"Return any ",[364,462,463],{},"2xx"," status to acknowledge delivery.",[372,466,468],{"id":467},"what-aiva-sends","What AIVA sends",[360,470,471],{},"The payload includes transport metadata and call business data, including:",[377,473,474,483,494,505,510,515],{},[380,475,476,479,480],{},[364,477,478],{},"event"," and ",[364,481,482],{},"version",[380,484,485,487,488,487,491],{},[364,486,391],{},", ",[364,489,490],{},"delivery_id",[364,492,493],{},"call_history_id",[380,495,496,487,499,487,502],{},[364,497,498],{},"occurred_at",[364,500,501],{},"sent_at",[364,503,504],{},"attempt",[380,506,507],{},[364,508,509],{},"summary",[380,511,512],{},[364,513,514],{},"customer_snapshot",[380,516,517],{},[364,518,519],{},"business_payload",[360,521,522],{},"Important headers include:",[377,524,525,529,534,539,544,549],{},[380,526,527],{},[364,528,395],{},[380,530,531],{},[364,532,533],{},"X-Aiva-Event",[380,535,536],{},[364,537,538],{},"X-Aiva-Event-Id",[380,540,541],{},[364,542,543],{},"X-Aiva-Delivery-Id",[380,545,546],{},[364,547,548],{},"X-Aiva-Timestamp",[380,550,551],{},[364,552,401],{},[372,554,556],{"id":555},"assign-it-to-an-agent","Assign it to an agent",[408,558,559,562,565],{},[380,560,561],{},"Open the agent.",[380,563,564],{},"In its integrations section, choose the shared webhook from the team catalog.",[380,566,567],{},"Save the agent.",[360,569,570],{},"Each agent uses one shared webhook from the team catalog.",[372,572,574],{"id":573},"safe-example","Safe example",[576,577,583],"pre",{"className":578,"code":580,"language":581,"meta":582},[579],"language-text","Title: CRM intake webhook\nWebhook URL: https://hooks.example.com/aiva/call-completed\n","text","",[364,584,580],{"__ignoreMap":582},[372,586,588],{"id":587},"if-your-receiver-gets-duplicates","If your receiver gets duplicates",[377,590,591,594,601],{},[380,592,593],{},"this is expected with at-least-once delivery",[380,595,596,597,392,599],{},"deduplicate with ",[364,598,391],{},[364,600,395],{},[380,602,603,604,607],{},"verify the signature against the string ",[364,605,606],{},"\u003Ctimestamp>.\u003Craw_body>"," using the shared secret",{"title":582,"searchDepth":609,"depth":610,"links":611},1,2,[612,613,614,615,616,617,618],{"id":374,"depth":610,"text":375},{"id":405,"depth":610,"text":406},{"id":434,"depth":610,"text":435},{"id":467,"depth":610,"text":468},{"id":555,"depth":610,"text":556},{"id":573,"depth":610,"text":574},{"id":587,"depth":610,"text":588},"Deliver AIVA call events to external systems","md",null,{},true,{"title":149,"description":619},"cBpkylHScpHc8dL2a-iSm3KGD4FvWQ9j8u0ocMSDU9U",[627,629],{"title":145,"path":146,"stem":147,"description":628,"children":-1},"Configure a TwentyCRM workspace and field mapping for agent leads",{"title":153,"path":154,"stem":155,"description":630,"children":-1},"YClients support status in the AIVA integrations catalog",1787258443124]