[{"data":1,"prerenderedAt":912},["ShallowReactive",2],{"navigation_docs":3,"docs-site-config":269,"-docs-integrations-getting-started-event-lifecycle":397,"-docs-integrations-getting-started-event-lifecycle-surround":907},[4,74,78,100,134,214],{"title":5,"path":6,"stem":7,"children":8},"Assets API","\u002Fdocs\u002Fassets","docs\u002Fassets\u002Findex",[9,10,32,57],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13,"children":14,"page":31},"Getting Started","\u002Fdocs\u002Fassets\u002Fgetting-started","docs\u002Fassets\u002F1.getting-started",[15,19,23,27],{"title":16,"path":17,"stem":18},"Base URL","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fbase-url","docs\u002Fassets\u002F1.getting-started\u002F1.base-url",{"title":20,"path":21,"stem":22},"Important Notes","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fimportant-notes","docs\u002Fassets\u002F1.getting-started\u002F2.important-notes",{"title":24,"path":25,"stem":26},"URL Format","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Furl-format","docs\u002Fassets\u002F1.getting-started\u002F3.url-format",{"title":28,"path":29,"stem":30},"Custom Domains","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fcustom-domains","docs\u002Fassets\u002F1.getting-started\u002F4.custom-domains",false,{"title":33,"path":34,"stem":35,"children":36,"page":31},"Usage","\u002Fdocs\u002Fassets\u002Fusage","docs\u002Fassets\u002F2.usage",[37,41,45,49,53],{"title":38,"path":39,"stem":40},"Transforms","\u002Fdocs\u002Fassets\u002Fusage\u002Ftransforms","docs\u002Fassets\u002F2.usage\u002F1.transforms",{"title":42,"path":43,"stem":44},"Caching","\u002Fdocs\u002Fassets\u002Fusage\u002Fcaching","docs\u002Fassets\u002F2.usage\u002F2.caching",{"title":46,"path":47,"stem":48},"Recipes","\u002Fdocs\u002Fassets\u002Fusage\u002Frecipes","docs\u002Fassets\u002F2.usage\u002F3.recipes",{"title":50,"path":51,"stem":52},"Best Practices","\u002Fdocs\u002Fassets\u002Fusage\u002Fbest-practices","docs\u002Fassets\u002F2.usage\u002F4.best-practices",{"title":54,"path":55,"stem":56},"Reference","\u002Fdocs\u002Fassets\u002Fusage\u002Freference","docs\u002Fassets\u002F2.usage\u002F5.reference",{"title":58,"path":59,"stem":60,"children":61,"page":31},"Integration","\u002Fdocs\u002Fassets\u002Fintegration","docs\u002Fassets\u002F3.integration",[62,66,70],{"title":63,"path":64,"stem":65},"Nuxt","\u002Fdocs\u002Fassets\u002Fintegration\u002Fnuxt","docs\u002Fassets\u002F3.integration\u002F1.nuxt",{"title":67,"path":68,"stem":69},"Next.js","\u002Fdocs\u002Fassets\u002Fintegration\u002Fnextjs","docs\u002Fassets\u002F3.integration\u002F2.nextjs",{"title":71,"path":72,"stem":73},"Plain HTML","\u002Fdocs\u002Fassets\u002Fintegration\u002Fhtml","docs\u002Fassets\u002F3.integration\u002F3.html",{"title":75,"path":76,"stem":77},"Early Access","\u002Fdocs\u002Fearly-access","docs\u002Fearly-access",{"title":79,"path":80,"stem":81,"children":82},"Events API","\u002Fdocs\u002Fevents","docs\u002Fevents\u002Findex",[83,84],{"title":79,"path":80,"stem":81},{"title":11,"path":85,"stem":86,"children":87,"page":31},"\u002Fdocs\u002Fevents\u002Fgetting-started","docs\u002Fevents\u002F1.getting-started",[88,92,96],{"title":89,"path":90,"stem":91},"Subscribing","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fsubscribing","docs\u002Fevents\u002F1.getting-started\u002F1.subscribing",{"title":93,"path":94,"stem":95},"Event Delivery","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fevent-delivery","docs\u002Fevents\u002F1.getting-started\u002F2.event-delivery",{"title":97,"path":98,"stem":99},"Event Reference","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fevent-reference","docs\u002Fevents\u002F1.getting-started\u002F3.event-reference",{"title":101,"path":102,"stem":103,"children":104},"Integrations API","\u002Fdocs\u002Fintegrations","docs\u002Fintegrations\u002Findex",[105,106],{"title":101,"path":102,"stem":103},{"title":11,"path":107,"stem":108,"children":109,"page":31},"\u002Fdocs\u002Fintegrations\u002Fgetting-started","docs\u002Fintegrations\u002F1.getting-started",[110,114,118,122,126,130],{"title":111,"path":112,"stem":113},"Why Use It?","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fwhy-integrations-api","docs\u002Fintegrations\u002F1.getting-started\u002F1.why-integrations-api",{"title":115,"path":116,"stem":117},"Use Cases","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fwho-is-it-for","docs\u002Fintegrations\u002F1.getting-started\u002F2.who-is-it-for",{"title":119,"path":120,"stem":121},"Pre-built Connectors","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fpre-built-integrations","docs\u002Fintegrations\u002F1.getting-started\u002F3.pre-built-integrations",{"title":123,"path":124,"stem":125},"Custom Inbound","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fcustom-inbound-api","docs\u002Fintegrations\u002F1.getting-started\u002F4.custom-inbound-api",{"title":127,"path":128,"stem":129},"Event Lifecycle","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fevent-lifecycle","docs\u002Fintegrations\u002F1.getting-started\u002F5.event-lifecycle",{"title":131,"path":132,"stem":133},"API Endpoints","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fmanagement-api-endpoints","docs\u002Fintegrations\u002F1.getting-started\u002F6.management-api-endpoints",{"title":135,"path":136,"stem":137,"children":138,"redirect":140},"MCP Server","\u002Fdocs\u002Fmcp","docs\u002Fmcp\u002Findex",[139,141,160,173,183],{"title":135,"path":136,"stem":137,"redirect":140},"\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fvscode",{"title":11,"path":142,"stem":143,"children":144,"page":31},"\u002Fdocs\u002Fmcp\u002Fgetting-started","docs\u002Fmcp\u002F1.getting-started",[145,148,152,156],{"title":146,"path":140,"stem":147},"VS Code","docs\u002Fmcp\u002F1.getting-started\u002F1.vscode",{"title":149,"path":150,"stem":151},"Claude Desktop","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fclaude-desktop","docs\u002Fmcp\u002F1.getting-started\u002F2.claude-desktop",{"title":153,"path":154,"stem":155},"Cursor","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fcursor","docs\u002Fmcp\u002F1.getting-started\u002F3.cursor",{"title":157,"path":158,"stem":159},"Verify Connection","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fverify","docs\u002Fmcp\u002F1.getting-started\u002F4.verify",{"title":161,"path":162,"stem":163,"children":164,"page":31},"Tools","\u002Fdocs\u002Fmcp\u002Ftools","docs\u002Fmcp\u002F2.tools",[165,169],{"title":166,"path":167,"stem":168},"search","\u002Fdocs\u002Fmcp\u002Ftools\u002Fsearch-docs","docs\u002Fmcp\u002F2.tools\u002F5.search-docs",{"title":170,"path":171,"stem":172},"list_articles","\u002Fdocs\u002Fmcp\u002Ftools\u002Fget-description","docs\u002Fmcp\u002F2.tools\u002F7.get-description",{"title":174,"path":175,"stem":176,"children":177},"API Server","\u002Fdocs\u002Fmcp\u002Fapi-server","docs\u002Fmcp\u002F3.api-server\u002Findex",[178,179],{"title":174,"path":175,"stem":176},{"title":180,"path":181,"stem":182},"Available Tools","\u002Fdocs\u002Fmcp\u002Fapi-server\u002Ftools","docs\u002Fmcp\u002F3.api-server\u002F1.tools",{"title":184,"path":185,"stem":186,"children":187,"page":31},"Examples","\u002Fdocs\u002Fmcp\u002Fexamples","docs\u002Fmcp\u002F4.examples",[188,192,196,200,204,208,212],{"title":189,"path":190,"stem":191},"Exploring an API","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fexploring-an-api","docs\u002Fmcp\u002F4.examples\u002F1.exploring-an-api",{"title":193,"path":194,"stem":195},"Building a Feature","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fbuilding-a-feature","docs\u002Fmcp\u002F4.examples\u002F2.building-a-feature",{"title":197,"path":198,"stem":199},"Understanding Models","\u002Fdocs\u002Fmcp\u002Fexamples\u002Funderstanding-models","docs\u002Fmcp\u002F4.examples\u002F3.understanding-models",{"title":201,"path":202,"stem":203},"Code Review","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fcode-review","docs\u002Fmcp\u002F4.examples\u002F4.code-review",{"title":205,"path":206,"stem":207},"Combining MCP Servers","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fmulti-mcp","docs\u002Fmcp\u002F4.examples\u002F5.multi-mcp",{"title":209,"path":210,"stem":211},"Tips","\u002Fdocs\u002Fmcp\u002Fexamples\u002Ftips","docs\u002Fmcp\u002F4.examples\u002F5.tips",{"title":209,"path":210,"stem":213},"docs\u002Fmcp\u002F4.examples\u002F6.tips",{"title":215,"path":216,"stem":217,"children":218,"page":31},"Storefront Sdk","\u002Fdocs\u002Fstorefront-sdk","docs\u002Fstorefront-sdk",[219,231,256],{"title":11,"path":220,"stem":221,"children":222,"page":31},"\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started","docs\u002Fstorefront-sdk\u002F1.getting-started",[223,227],{"title":224,"path":225,"stem":226},"Installation","\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started\u002Finstallation","docs\u002Fstorefront-sdk\u002F1.getting-started\u002F1.installation",{"title":228,"path":229,"stem":230},"Configuration","\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started\u002Fconfiguration","docs\u002Fstorefront-sdk\u002F1.getting-started\u002F2.configuration",{"title":232,"path":233,"stem":234,"children":235,"page":31},"Resources","\u002Fdocs\u002Fstorefront-sdk\u002Fresources","docs\u002Fstorefront-sdk\u002F2.resources",[236,240,244,248,252],{"title":237,"path":238,"stem":239},"Products","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fproducts","docs\u002Fstorefront-sdk\u002F2.resources\u002F1.products",{"title":241,"path":242,"stem":243},"Cart","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fcart","docs\u002Fstorefront-sdk\u002F2.resources\u002F2.cart",{"title":245,"path":246,"stem":247},"Auth","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fauth","docs\u002Fstorefront-sdk\u002F2.resources\u002F3.auth",{"title":249,"path":250,"stem":251},"Checkout & Shipping","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fcheckout-shipping","docs\u002Fstorefront-sdk\u002F2.resources\u002F4.checkout-shipping",{"title":253,"path":254,"stem":255},"Orders, Returns & Reviews","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Forders-returns-reviews","docs\u002Fstorefront-sdk\u002F2.resources\u002F5.orders-returns-reviews",{"title":257,"path":258,"stem":259,"children":260,"page":31},"Nuxt Layer","\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer","docs\u002Fstorefront-sdk\u002F3.nuxt-layer",[261,265],{"title":262,"path":263,"stem":264},"Overview","\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Foverview","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F1.overview",{"title":266,"path":267,"stem":268},"Composables","\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Fcomposables","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F2.composables",{"_uid":270,"component":271,"mega_menu":272},"ba7c13ba-e184-4f43-b10c-3ec3364eedb7","docsite_config",[273,332,377],{"_uid":274,"items":275,"label":329,"component":330,"panel_layout":331},"dfbeb399-33e6-48a4-995c-03754a63ea51",[276,288,294,301,308,314,319,324],{"to":277,"_uid":281,"icon":282,"label":283,"figure":284,"header":285,"component":286,"description":287},{"url":278,"linktype":279,"fieldtype":280,"cached_url":278},"\u002Fstorefront\u002Freference","url","multilink","7b65f0d2-45ed-4fd9-97cb-36e2adeb6ccb","i-lucide-shopping-cart","Storefront API","","Commerce","mega_item","Headless storefronts: catalog, cart, checkout",{"to":289,"_uid":290,"icon":291,"label":292,"figure":284,"header":285,"component":286,"description":293},{"url":216,"linktype":279,"fieldtype":280,"cached_url":216},"52070748-f27f-4067-a6a6-2456c34c8725","i-lucide-package","Storefront SDK","Typed client and Nuxt layer",{"to":295,"_uid":297,"icon":298,"label":299,"figure":284,"header":285,"component":286,"description":300},{"url":296,"linktype":279,"fieldtype":280,"cached_url":296},"\u002Fmanagement\u002Freference","228d563d-22c9-4f1b-8a5f-ac7b7d985b83","i-lucide-settings","Management API","Back-office integrations",{"to":302,"_uid":304,"icon":305,"label":306,"figure":284,"header":285,"component":286,"description":307},{"url":303,"linktype":279,"fieldtype":280,"cached_url":303},"\u002Fcatalog-sync\u002Freference","d7c58029-f0fd-4460-ab8f-ccb9d6fe6837","i-lucide-refresh-cw","Catalog Sync API","Bulk product and stock sync",{"to":309,"_uid":310,"icon":311,"label":5,"figure":284,"header":312,"component":286,"description":313},{"url":6,"linktype":279,"fieldtype":280,"cached_url":6},"1df97900-c66c-4afa-8e46-233625a74d25","i-lucide-image","Platform","Image CDN and transforms",{"to":315,"_uid":316,"icon":317,"label":79,"figure":284,"header":312,"component":286,"description":318},{"url":80,"linktype":279,"fieldtype":280,"cached_url":80},"d49f1c7d-4d48-4dc0-aa66-e2389d34d9e7","i-lucide-radio","Webhooks and event delivery",{"to":320,"_uid":321,"icon":322,"label":101,"figure":284,"header":312,"component":286,"description":323},{"url":102,"linktype":279,"fieldtype":280,"cached_url":102},"ebd16965-32df-44ed-8a1a-7f86d38652be","i-lucide-plug","Connect ERPs, carriers and PSPs",{"to":325,"_uid":326,"icon":327,"label":135,"figure":284,"header":312,"component":286,"description":328},{"url":136,"linktype":279,"fieldtype":280,"cached_url":136},"b0364d6f-c703-47a5-9c85-4a95790c8daa","i-lucide-bot","Avvyr in Claude, Cursor and VS Code","APIs","mega_group","ProductFeatures",{"_uid":333,"items":334,"label":376,"component":330,"panel_layout":331},"b10ed186-1293-4c37-9c84-d7dc33ea5348",[335,341,346,351,356,361,366,371],{"to":336,"_uid":337,"icon":338,"label":339,"figure":284,"header":340,"component":286},{"url":225,"linktype":279,"fieldtype":280,"cached_url":225},"5897c0b1-4b02-4dda-83a2-e2f1bc10de0e","i-lucide-download","SDK installation","Get started",{"to":342,"_uid":343,"icon":344,"label":345,"figure":284,"header":340,"component":286},{"url":258,"linktype":279,"fieldtype":280,"cached_url":258},"97b502e6-6329-43f1-a7f0-20a87d8ddb61","i-lucide-layers","Nuxt layer",{"to":347,"_uid":348,"icon":349,"label":350,"figure":284,"header":340,"component":286},{"url":90,"linktype":279,"fieldtype":280,"cached_url":90},"cfd226ed-05c2-4d54-83be-84e2ef4f53c0","i-lucide-bell","Subscribing to events",{"to":352,"_uid":353,"icon":354,"label":355,"figure":284,"header":340,"component":286},{"url":140,"linktype":279,"fieldtype":280,"cached_url":140},"a615a2dd-e0a8-47a8-8449-2ef6c21d7dcc","i-lucide-terminal","Connect the MCP server",{"to":357,"_uid":358,"icon":359,"label":360,"figure":284,"header":46,"component":286},{"url":39,"linktype":279,"fieldtype":280,"cached_url":39},"7dd7e47a-0657-43f6-9d5d-5cb25815bec5","i-lucide-crop","Image transforms",{"to":362,"_uid":363,"icon":364,"label":365,"figure":284,"header":46,"component":286},{"url":64,"linktype":279,"fieldtype":280,"cached_url":64},"7c4dd27d-7700-4893-8d76-6f2876b7cbac","i-lucide-code","Assets in Nuxt",{"to":367,"_uid":368,"icon":369,"label":370,"figure":284,"header":46,"component":286},{"url":194,"linktype":279,"fieldtype":280,"cached_url":194},"7834ff9b-a62d-4795-a5a3-265bccaeb697","i-lucide-wand-sparkles","Building a feature with MCP",{"to":372,"_uid":373,"icon":374,"label":375,"figure":284,"header":46,"component":286},{"url":76,"linktype":279,"fieldtype":280,"cached_url":76},"b967bbe2-23ff-4e64-836c-8b6054c27f9f","i-lucide-flask-conical","Early access","Guides",{"_uid":378,"items":379,"label":395,"component":330,"panel_layout":396},"79bc9cd1-4246-4178-a99d-3c0b333b295c",[380,388],{"to":381,"_uid":383,"icon":384,"label":385,"figure":284,"header":386,"component":286,"description":387},{"url":382,"linktype":279,"fieldtype":280,"cached_url":382},"https:\u002F\u002Fhelp.avvyr.com","e429b5df-877d-4eef-9e96-61c4aca3454a","i-lucide-life-buoy","Help Center","Using Avvyr","Guides for merchants and staff",{"to":389,"_uid":391,"icon":392,"label":393,"figure":284,"header":386,"component":286,"description":394},{"url":390,"linktype":279,"fieldtype":280,"cached_url":390},"https:\u002F\u002Favvyr.com\u002Fen","2685f915-3472-4ee5-828c-d1375dbe79ca","i-lucide-globe","avvyr.com","Product, pricing and partners","Help","Links",{"id":398,"title":127,"body":399,"description":901,"extension":902,"links":903,"meta":904,"navigation":712,"path":128,"seo":905,"stem":129,"__hash__":906},"docs\u002Fdocs\u002Fintegrations\u002F1.getting-started\u002F5.event-lifecycle.md",{"type":400,"value":401,"toc":891},"minimark",[402,406,415,420,430,434,494,498,501,546,561,564,580,584,587,630,636,640,647,651,658,662,665,797,829,860,864,867,884,887],[403,404,127],"h1",{"id":405},"event-lifecycle",[407,408,409,410,414],"p",{},"Every integration transaction in Avvyr is tracked as an ",[411,412,413],"strong",{},"IntegrationEvent"," — a database document that records the full lifecycle of an event from creation to delivery (or failure).",[416,417,419],"h2",{"id":418},"event-flow","Event flow",[421,422,427],"pre",{"className":423,"code":425,"language":426},[424],"language-text","1. Domain Event published (e.g. \"order.created\")\n       │\n2. Dispatcher receives the event\n       │  Queries enabled integrations matching the event type\n       │\n3. Per matching integration:\n       │  Creates IntegrationEvent (status: \"queued\")\n       │  Enqueues command to Service Bus\n       │\n4. Worker picks up the command\n       │  Updates status → \"processing\"\n       │  Fetches fresh entity data\n       │  Maps to external format\n       │  Calls external API\n       │\n5a. Success → status: \"success\"\n5b. Failure → status: \"failed\" → automatic retry or dead-letter\n","text",[428,429,425],"code",{"__ignoreMap":284},[416,431,433],{"id":432},"event-statuses","Event statuses",[435,436,437,450],"table",{},[438,439,440],"thead",{},[441,442,443,447],"tr",{},[444,445,446],"th",{},"Status",[444,448,449],{},"Description",[451,452,453,464,474,484],"tbody",{},[441,454,455,461],{},[456,457,458],"td",{},[428,459,460],{},"queued",[456,462,463],{},"Event has been created and enqueued to Service Bus. Waiting for a worker to pick it up.",[441,465,466,471],{},[456,467,468],{},[428,469,470],{},"processing",[456,472,473],{},"A worker is actively processing the event — fetching data, transforming, and calling the external API.",[441,475,476,481],{},[456,477,478],{},[428,479,480],{},"success",[456,482,483],{},"The external API call succeeded. The event is complete.",[441,485,486,491],{},[456,487,488],{},[428,489,490],{},"failed",[456,492,493],{},"The event failed. Depending on retry configuration, it may be retried automatically or require manual intervention.",[416,495,497],{"id":496},"automatic-retries","Automatic retries",[407,499,500],{},"Failed events are automatically retried with exponential backoff. The retry count is configurable per event type (0–5 retries).",[435,502,503,513],{},[438,504,505],{},[441,506,507,510],{},[444,508,509],{},"Retry",[444,511,512],{},"Delay",[451,514,515,523,531,538],{},[441,516,517,520],{},[456,518,519],{},"1st",[456,521,522],{},"25 seconds",[441,524,525,528],{},[456,526,527],{},"2nd",[456,529,530],{},"60 minutes",[441,532,533,536],{},[456,534,535],{},"3rd",[456,537,530],{},[441,539,540,543],{},[456,541,542],{},"4th",[456,544,545],{},"24 hours",[407,547,548,549,552,553,556,557,560],{},"Each retry creates a ",[411,550,551],{},"new IntegrationEvent"," linked to the original via ",[428,554,555],{},"resubmittedFromEventId",". The original event is marked with ",[428,558,559],{},"isCurrentAttempt: false"," so the dashboard always shows the latest attempt.",[407,562,563],{},"Retries respect two control flags:",[565,566,567,574],"ul",{},[568,569,570,573],"li",{},[428,571,572],{},"resubmitEnabled"," — can be toggled per event to disable automatic retries",[568,575,576,579],{},[428,577,578],{},"forceStop"," — immediately halts all retry attempts for an event chain",[416,581,583],{"id":582},"manual-resubmission","Manual resubmission",[407,585,586],{},"Any failed event can be manually resubmitted from the integration dashboard or via the Management API:",[421,588,592],{"className":589,"code":590,"language":591,"meta":284,"style":284},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","POST \u002Fv1\u002Fintegrations\u002Fevents\u002F{eventId}\u002Fretry\nAuthorization: Bearer \u003Ctoken>\n","bash",[428,593,594,607],{"__ignoreMap":284},[595,596,599,603],"span",{"class":597,"line":598},"line",1,[595,600,602],{"class":601},"sBMFI","POST",[595,604,606],{"class":605},"sfazB"," \u002Fv1\u002Fintegrations\u002Fevents\u002F{eventId}\u002Fretry\n",[595,608,610,613,616,620,623,627],{"class":597,"line":609},2,[595,611,612],{"class":601},"Authorization:",[595,614,615],{"class":605}," Bearer",[595,617,619],{"class":618},"sMK4o"," \u003C",[595,621,622],{"class":605},"toke",[595,624,626],{"class":625},"sTEyZ","n",[595,628,629],{"class":618},">\n",[407,631,632,633,635],{},"This creates a new event, resets the status to ",[428,634,460],{},", and re-enqueues it immediately (no delay).",[416,637,639],{"id":638},"dead-letter-handling","Dead-letter handling",[407,641,642,643,646],{},"Events that exhaust all retries or encounter a fatal error are moved to a ",[411,644,645],{},"dead-letter queue",". The platform monitors dead-letter queues and updates the corresponding IntegrationEvent with the dead-letter reason. These events are surfaced in the dashboard for manual investigation.",[416,648,650],{"id":649},"event-ordering","Event ordering",[407,652,653,654,657],{},"Events for the same integration are processed in order using ",[411,655,656],{},"Service Bus sessions",". Each integration gets its own session ID, ensuring FIFO ordering per integration without blocking other integrations for the same tenant.",[416,659,661],{"id":660},"monitoring-via-api","Monitoring via API",[407,663,664],{},"Use the Management API to query and monitor integration events:",[421,666,668],{"className":589,"code":667,"language":591,"meta":284,"style":284},"# Get all events for an integration\nPOST \u002Fv1\u002Fintegrations\u002Fevents\u002Ffilter\nAuthorization: Bearer \u003Ctoken>\nContent-Type: application\u002Fjson\n\n{\n  \"integrationId\": \"integration-id\",\n  \"status\": \"failed\",\n  \"from\": \"2025-01-01T00:00:00Z\",\n  \"to\": \"2025-01-31T23:59:59Z\"\n}\n",[428,669,670,676,683,698,707,714,720,742,758,775,791],{"__ignoreMap":284},[595,671,672],{"class":597,"line":598},[595,673,675],{"class":674},"sHwdD","# Get all events for an integration\n",[595,677,678,680],{"class":597,"line":609},[595,679,602],{"class":601},[595,681,682],{"class":605}," \u002Fv1\u002Fintegrations\u002Fevents\u002Ffilter\n",[595,684,686,688,690,692,694,696],{"class":597,"line":685},3,[595,687,612],{"class":601},[595,689,615],{"class":605},[595,691,619],{"class":618},[595,693,622],{"class":605},[595,695,626],{"class":625},[595,697,629],{"class":618},[595,699,701,704],{"class":597,"line":700},4,[595,702,703],{"class":601},"Content-Type:",[595,705,706],{"class":605}," application\u002Fjson\n",[595,708,710],{"class":597,"line":709},5,[595,711,713],{"emptyLinePlaceholder":712},true,"\n",[595,715,717],{"class":597,"line":716},6,[595,718,719],{"class":618},"{\n",[595,721,723,726,730,733,736,739],{"class":597,"line":722},7,[595,724,725],{"class":601},"  \"integrationId\"",[595,727,729],{"class":728},"s2Zo4",":",[595,731,732],{"class":618}," \"",[595,734,735],{"class":605},"integration-id",[595,737,738],{"class":618},"\"",[595,740,741],{"class":605},",\n",[595,743,745,748,750,752,754,756],{"class":597,"line":744},8,[595,746,747],{"class":601},"  \"status\"",[595,749,729],{"class":728},[595,751,732],{"class":618},[595,753,490],{"class":605},[595,755,738],{"class":618},[595,757,741],{"class":605},[595,759,761,764,766,768,771,773],{"class":597,"line":760},9,[595,762,763],{"class":601},"  \"from\"",[595,765,729],{"class":728},[595,767,732],{"class":618},[595,769,770],{"class":605},"2025-01-01T00:00:00Z",[595,772,738],{"class":618},[595,774,741],{"class":605},[595,776,778,781,783,785,788],{"class":597,"line":777},10,[595,779,780],{"class":601},"  \"to\"",[595,782,729],{"class":728},[595,784,732],{"class":618},[595,786,787],{"class":605},"2025-01-31T23:59:59Z",[595,789,790],{"class":618},"\"\n",[595,792,794],{"class":597,"line":793},11,[595,795,796],{"class":618},"}\n",[421,798,800],{"className":589,"code":799,"language":591,"meta":284,"style":284},"# Get a specific event with full details\nGET \u002Fv1\u002Fintegrations\u002Fevents\u002F{eventId}\nAuthorization: Bearer \u003Ctoken>\n",[428,801,802,807,815],{"__ignoreMap":284},[595,803,804],{"class":597,"line":598},[595,805,806],{"class":674},"# Get a specific event with full details\n",[595,808,809,812],{"class":597,"line":609},[595,810,811],{"class":601},"GET",[595,813,814],{"class":605}," \u002Fv1\u002Fintegrations\u002Fevents\u002F{eventId}\n",[595,816,817,819,821,823,825,827],{"class":597,"line":685},[595,818,612],{"class":601},[595,820,615],{"class":605},[595,822,619],{"class":618},[595,824,622],{"class":605},[595,826,626],{"class":625},[595,828,629],{"class":618},[421,830,832],{"className":589,"code":831,"language":591,"meta":284,"style":284},"# Cancel a stuck or unwanted event\nPOST \u002Fv1\u002Fintegrations\u002Fevents\u002F{eventId}\u002Fcancel\nAuthorization: Bearer \u003Ctoken>\n",[428,833,834,839,846],{"__ignoreMap":284},[595,835,836],{"class":597,"line":598},[595,837,838],{"class":674},"# Cancel a stuck or unwanted event\n",[595,840,841,843],{"class":597,"line":609},[595,842,602],{"class":601},[595,844,845],{"class":605}," \u002Fv1\u002Fintegrations\u002Fevents\u002F{eventId}\u002Fcancel\n",[595,847,848,850,852,854,856,858],{"class":597,"line":685},[595,849,612],{"class":601},[595,851,615],{"class":605},[595,853,619],{"class":618},[595,855,622],{"class":605},[595,857,626],{"class":625},[595,859,629],{"class":618},[416,861,863],{"id":862},"communication-logs","Communication logs",[407,865,866],{},"Every external API call made during event processing is logged. Logs include:",[565,868,869,872,875,878,881],{},[568,870,871],{},"HTTP method, URL, and status code",[568,873,874],{},"Request and response headers",[568,876,877],{},"Request and response bodies (large payloads offloaded to blob storage)",[568,879,880],{},"Timing information",[568,882,883],{},"Sensitive data is automatically masked (tokens, API keys, passwords)",[407,885,886],{},"These logs are visible in the integration dashboard and can be accessed via the event detail endpoint.",[888,889,890],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":284,"searchDepth":609,"depth":609,"links":892},[893,894,895,896,897,898,899,900],{"id":418,"depth":609,"text":419},{"id":432,"depth":609,"text":433},{"id":496,"depth":609,"text":497},{"id":582,"depth":609,"text":583},{"id":638,"depth":609,"text":639},{"id":649,"depth":609,"text":650},{"id":660,"depth":609,"text":661},{"id":862,"depth":609,"text":863},"How integration events flow through the platform — from domain event to delivery","md",null,{},{"title":127,"description":901},"_VSAXoTDpOT3GrbbwB366-URuOGwmNP-VsVNzKsPVys",[908,910],{"title":123,"path":124,"stem":125,"description":909,"children":-1},"Push data into Avvyr from any external system using a generic REST endpoint",{"title":131,"path":132,"stem":133,"description":911,"children":-1},"Configure and monitor integrations programmatically",1790695905450]