[{"data":1,"prerenderedAt":1743},["ShallowReactive",2],{"navigation_docs":3,"-developers-modules-incoming-webhooks":613,"-developers-modules-incoming-webhooks-surround":1740},[4,39,101,378,540,562,584,606],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Start","i-lucide-rocket","\u002Fstart","1.start",[10,14,18,22,26,30,34],{"title":11,"path":12,"stem":13},"Our approach","\u002Fstart\u002Four-approach","1.start\u002F0.our-approach",{"title":15,"path":16,"stem":17},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fstart\u002Fconcepts","1.start\u002F2.concepts",{"title":23,"path":24,"stem":25},"Glossary","\u002Fstart\u002Fglossary","1.start\u002F3.glossary",{"title":27,"path":28,"stem":29},"Try it locally","\u002Fstart\u002Ftry-it-locally","1.start\u002F4.try-it-locally",{"title":31,"path":32,"stem":33},"Features","\u002Fstart\u002Ffeatures","1.start\u002F5.features",{"title":35,"path":36,"stem":37},"Questions","\u002Fstart\u002Ffaq","1.start\u002F6.faq",false,{"title":40,"icon":41,"path":42,"stem":43,"children":44,"page":38},"Run SHADE","i-lucide-server","\u002Frun","2.run",[45,49,53,57,61,65,69,73,77,81,85,89,93,97],{"title":46,"path":47,"stem":48},"Setting up an instance (Coolify)","\u002Frun\u002Fcoolify","2.run\u002F1.coolify",{"title":50,"path":51,"stem":52},"Console commands","\u002Frun\u002Fconsole","2.run\u002F10.console",{"title":54,"path":55,"stem":56},"Rotating APP_SECRET","\u002Frun\u002Frotating-app-secret","2.run\u002F11.rotating-app-secret",{"title":58,"path":59,"stem":60},"Checking an instance","\u002Frun\u002Fdoctor","2.run\u002F12.doctor",{"title":62,"path":63,"stem":64},"Self-hosting by hand","\u002Frun\u002Fown-server-by-hand","2.run\u002F13.own-server-by-hand",{"title":66,"path":67,"stem":68},"NixOS (experimental)","\u002Frun\u002Fnixos","2.run\u002F14.nixos",{"title":70,"path":71,"stem":72},"Self-hosting without Coolify","\u002Frun\u002Fown-server","2.run\u002F2.own-server",{"title":74,"path":75,"stem":76},"Hosting the site on a static host","\u002Frun\u002Fstatic-hosts","2.run\u002F3.static-hosts",{"title":78,"path":79,"stem":80},"Licence","\u002Frun\u002Flicence","2.run\u002F4.licence",{"title":82,"path":83,"stem":84},"Updating and backups","\u002Frun\u002Fupdating-and-backups","2.run\u002F5.updating-and-backups",{"title":86,"path":87,"stem":88},"Troubleshooting","\u002Frun\u002Ftroubleshooting","2.run\u002F6.troubleshooting",{"title":90,"path":91,"stem":92},"Logs, request ids, traces and metrics","\u002Frun\u002Flogs","2.run\u002F7.logs",{"title":94,"path":95,"stem":96},"Maintenance mode","\u002Frun\u002Fmaintenance-mode","2.run\u002F8.maintenance-mode",{"title":98,"path":99,"stem":100},"Usage limits","\u002Frun\u002Fusage-limits","2.run\u002F9.usage-limits",{"title":102,"icon":103,"path":104,"stem":105,"children":106},"Guide","i-lucide-book-open","\u002Fguide","3.guide",[107,109,147,192,210,280,310,364],{"title":102,"path":104,"stem":108},"3.guide\u002Findex",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":38},"Content","i-lucide-file-text","\u002Fguide\u002Fcontent","3.guide\u002F1.content",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Collections and entries","\u002Fguide\u002Fcontent\u002Fcollections","3.guide\u002F1.content\u002F1.collections",{"title":120,"path":121,"stem":122},"Field types","\u002Fguide\u002Fcontent\u002Ffields","3.guide\u002F1.content\u002F2.fields",{"title":124,"path":125,"stem":126},"Drafts, publishing and version history","\u002Fguide\u002Fcontent\u002Fversions","3.guide\u002F1.content\u002F3.versions",{"title":128,"path":129,"stem":130},"Languages","\u002Fguide\u002Fcontent\u002Flanguages","3.guide\u002F1.content\u002F4.languages",{"title":132,"path":133,"stem":134},"Data sources","\u002Fguide\u002Fcontent\u002Fdata-sources","3.guide\u002F1.content\u002F5.data-sources",{"title":136,"path":137,"stem":138},"Media","\u002Fguide\u002Fcontent\u002Fmedia","3.guide\u002F1.content\u002F6.media",{"title":140,"path":141,"stem":142},"Search","\u002Fguide\u002Fcontent\u002Fsearch","3.guide\u002F1.content\u002F7.search",{"title":144,"path":145,"stem":146},"Trash","\u002Fguide\u002Fcontent\u002Ftrash","3.guide\u002F1.content\u002F8.trash",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":38},"Website","i-lucide-globe","\u002Fguide\u002Fwebsite","3.guide\u002F2.website",[153,156,160,164,168,172,176,180,184,188],{"title":148,"path":154,"stem":155},"\u002Fguide\u002Fwebsite\u002Fwebsite","3.guide\u002F2.website\u002F1.website",{"title":157,"path":158,"stem":159},"Scroll scenes","\u002Fguide\u002Fwebsite\u002Fscroll-scenes","3.guide\u002F2.website\u002F10.scroll-scenes",{"title":161,"path":162,"stem":163},"Pages and posts","\u002Fguide\u002Fwebsite\u002Fpages","3.guide\u002F2.website\u002F2.pages",{"title":165,"path":166,"stem":167},"The visual editor","\u002Fguide\u002Fwebsite\u002Fvisual-editor","3.guide\u002F2.website\u002F3.visual-editor",{"title":169,"path":170,"stem":171},"Roles and locks","\u002Fguide\u002Fwebsite\u002Froles-and-locks","3.guide\u002F2.website\u002F4.roles-and-locks",{"title":173,"path":174,"stem":175},"Header and footer","\u002Fguide\u002Fwebsite\u002Fheader-and-footer","3.guide\u002F2.website\u002F5.header-and-footer",{"title":177,"path":178,"stem":179},"Theme","\u002Fguide\u002Fwebsite\u002Ftheme","3.guide\u002F2.website\u002F6.theme",{"title":181,"path":182,"stem":183},"Redirects","\u002Fguide\u002Fwebsite\u002Fredirects","3.guide\u002F2.website\u002F7.redirects",{"title":185,"path":186,"stem":187},"Site settings","\u002Fguide\u002Fwebsite\u002Fsite-settings","3.guide\u002F2.website\u002F8.site-settings",{"title":189,"path":190,"stem":191},"The site","\u002Fguide\u002Fwebsite\u002Fthe-site","3.guide\u002F2.website\u002F9.the-site",{"title":193,"icon":194,"path":195,"stem":196,"children":197,"page":38},"Publishing","i-lucide-send","\u002Fguide\u002Fpublishing","3.guide\u002F3.publishing",[198,202,206],{"title":199,"path":200,"stem":201},"Publishing and preview","\u002Fguide\u002Fpublishing\u002Fpublishing","3.guide\u002F3.publishing\u002F1.publishing",{"title":203,"path":204,"stem":205},"Builds","\u002Fguide\u002Fpublishing\u002Fbuilds","3.guide\u002F3.publishing\u002F2.builds",{"title":207,"path":208,"stem":209},"CDN caches","\u002Fguide\u002Fpublishing\u002Fcaches","3.guide\u002F3.publishing\u002F3.caches",{"title":211,"icon":212,"path":213,"stem":214,"children":215,"page":38},"People, security and privacy","i-lucide-shield","\u002Fguide\u002Fpeople-and-security","3.guide\u002F4.people-and-security",[216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":217,"path":218,"stem":219},"People in SHADE","\u002Fguide\u002Fpeople-and-security\u002Fpeople-in-shade","3.guide\u002F4.people-and-security\u002F0.people-in-shade",{"title":221,"path":222,"stem":223},"Team and roles","\u002Fguide\u002Fpeople-and-security\u002Fteam","3.guide\u002F4.people-and-security\u002F1.team",{"title":225,"path":226,"stem":227},"Errors and security alerts","\u002Fguide\u002Fpeople-and-security\u002Ferrors","3.guide\u002F4.people-and-security\u002F10.errors",{"title":229,"path":230,"stem":231},"Exporting an instance","\u002Fguide\u002Fpeople-and-security\u002Fexporting","3.guide\u002F4.people-and-security\u002F11.exporting",{"title":233,"path":234,"stem":235},"Organisations","\u002Fguide\u002Fpeople-and-security\u002Forganisations","3.guide\u002F4.people-and-security\u002F12.organisations",{"title":237,"path":238,"stem":239},"Signing in through an identity provider (team)","\u002Fguide\u002Fpeople-and-security\u002Fidentity-providers","3.guide\u002F4.people-and-security\u002F13.identity-providers",{"title":241,"path":242,"stem":243},"System status","\u002Fguide\u002Fpeople-and-security\u002Fsystem-status","3.guide\u002F4.people-and-security\u002F14.system-status",{"title":245,"path":246,"stem":247},"Appearance","\u002Fguide\u002Fpeople-and-security\u002Fappearance","3.guide\u002F4.people-and-security\u002F15.appearance",{"title":249,"path":250,"stem":251},"Accounts and personal pages","\u002Fguide\u002Fpeople-and-security\u002Faccounts","3.guide\u002F4.people-and-security\u002F2.accounts",{"title":253,"path":254,"stem":255},"Signing in (team)","\u002Fguide\u002Fpeople-and-security\u002Fsign-in","3.guide\u002F4.people-and-security\u002F3.sign-in",{"title":257,"path":258,"stem":259},"API tokens","\u002Fguide\u002Fpeople-and-security\u002Fapi-tokens","3.guide\u002F4.people-and-security\u002F4.api-tokens",{"title":261,"path":262,"stem":263},"Audit log","\u002Fguide\u002Fpeople-and-security\u002Faudit","3.guide\u002F4.people-and-security\u002F5.audit",{"title":265,"path":266,"stem":267},"Request protection","\u002Fguide\u002Fpeople-and-security\u002Fprotection","3.guide\u002F4.people-and-security\u002F6.protection",{"title":269,"path":270,"stem":271},"Personal data per person","\u002Fguide\u002Fpeople-and-security\u002Fprivacy","3.guide\u002F4.people-and-security\u002F7.privacy",{"title":273,"path":274,"stem":275},"Data retention","\u002Fguide\u002Fpeople-and-security\u002Fretention","3.guide\u002F4.people-and-security\u002F8.retention",{"title":277,"path":278,"stem":279},"Consent banner","\u002Fguide\u002Fpeople-and-security\u002Fconsent","3.guide\u002F4.people-and-security\u002F9.consent",{"title":281,"icon":282,"path":283,"stem":284,"children":285,"page":38},"Services","i-lucide-plug","\u002Fguide\u002Fservices","3.guide\u002F5.services",[286,290,294,298,302,306],{"title":287,"path":288,"stem":289},"Email","\u002Fguide\u002Fservices\u002Femail","3.guide\u002F5.services\u002F1.email",{"title":291,"path":292,"stem":293},"Opening hours","\u002Fguide\u002Fservices\u002Fopening-hours","3.guide\u002F5.services\u002F4.opening-hours",{"title":295,"path":296,"stem":297},"Webhooks","\u002Fguide\u002Fservices\u002Fwebhooks","3.guide\u002F5.services\u002F5.webhooks",{"title":299,"path":300,"stem":301},"Locations","\u002Fguide\u002Fservices\u002Flocations","3.guide\u002F5.services\u002F6.locations",{"title":303,"path":304,"stem":305},"VAT rates","\u002Fguide\u002Fservices\u002Fvat-rates","3.guide\u002F5.services\u002F7.vat-rates",{"title":307,"path":308,"stem":309},"Channels","\u002Fguide\u002Fservices\u002Fchannels","3.guide\u002F5.services\u002F8.channels",{"title":311,"icon":312,"path":313,"stem":314,"children":315,"page":38},"InstalledModules","i-lucide-puzzle","\u002Fguide\u002Fmodules","3.guide\u002F6.modules",[316,320,324,328,332,336,340,344,348,352,356,360],{"title":317,"path":318,"stem":319},"Modules","\u002Fguide\u002Fmodules\u002Fmanaging","3.guide\u002F6.modules\u002F1.managing",{"title":321,"path":322,"stem":323},"Dutch services (module)","\u002Fguide\u002Fmodules\u002Fnl","3.guide\u002F6.modules\u002F10.nl",{"title":325,"path":326,"stem":327},"Editorial (module)","\u002Fguide\u002Fmodules\u002Feditorial","3.guide\u002F6.modules\u002F11.editorial",{"title":329,"path":330,"stem":331},"Appointments (module)","\u002Fguide\u002Fmodules\u002Fappointments","3.guide\u002F6.modules\u002F2.appointments",{"title":333,"path":334,"stem":335},"Shop (the commerce module)","\u002Fguide\u002Fmodules\u002Fshop","3.guide\u002F6.modules\u002F3.shop",{"title":337,"path":338,"stem":339},"Untrusted modules","\u002Fguide\u002Fmodules\u002Funtrusted","3.guide\u002F6.modules\u002F4.untrusted",{"title":341,"path":342,"stem":343},"Analytics (module)","\u002Fguide\u002Fmodules\u002Fanalytics","3.guide\u002F6.modules\u002F5.analytics",{"title":345,"path":346,"stem":347},"Error forwarding (module)","\u002Fguide\u002Fmodules\u002Ferror-forwarding","3.guide\u002F6.modules\u002F6.error-forwarding",{"title":349,"path":350,"stem":351},"Client programs","\u002Fguide\u002Fmodules\u002Fprograms","3.guide\u002F6.modules\u002F7.programs",{"title":353,"path":354,"stem":355},"Import and export (module)","\u002Fguide\u002Fmodules\u002Fimport","3.guide\u002F6.modules\u002F8.import",{"title":357,"path":358,"stem":359},"Payments (module)","\u002Fguide\u002Fmodules\u002Fpayments","3.guide\u002F6.modules\u002F8.payments",{"title":361,"path":362,"stem":363},"Forms (module)","\u002Fguide\u002Fmodules\u002Fforms","3.guide\u002F6.modules\u002F9.forms",{"title":365,"icon":366,"path":367,"stem":368,"children":369,"page":38},"AI assistants","i-lucide-bot","\u002Fguide\u002Fai","3.guide\u002F7.ai",[370,374],{"title":371,"path":372,"stem":373},"AI assistants (MCP)","\u002Fguide\u002Fai\u002Fassistants","3.guide\u002F7.ai\u002F1.assistants",{"title":375,"path":376,"stem":377},"Connecting an AI assistant","\u002Fguide\u002Fai\u002Fconnecting","3.guide\u002F7.ai\u002F2.connecting",{"title":379,"icon":380,"path":381,"stem":382,"children":383,"page":38},"Developers","i-lucide-code","\u002Fdevelopers","4.developers",[384,388,392,396,400,404,408,412,416,420,424,428,432,435,489,493,497,501,536],{"title":385,"path":386,"stem":387},"Architecture","\u002Fdevelopers\u002Farchitecture","4.developers\u002F1.architecture",{"title":389,"path":390,"stem":391},"Capabilities","\u002Fdevelopers\u002Fcapabilities","4.developers\u002F10.capabilities",{"title":393,"path":394,"stem":395},"Trust","\u002Fdevelopers\u002Ftrust","4.developers\u002F11.trust",{"title":397,"path":398,"stem":399},"Redis and the ports","\u002Fdevelopers\u002Fredis","4.developers\u002F12.redis",{"title":401,"path":402,"stem":403},"The worker container role","\u002Fdevelopers\u002Fworker","4.developers\u002F13.worker",{"title":405,"path":406,"stem":407},"kv: a module's own key-value storage","\u002Fdevelopers\u002Fkv","4.developers\u002F14.kv",{"title":409,"path":410,"stem":411},"Processes: long-running work on the worker","\u002Fdevelopers\u002Fprocesses","4.developers\u002F15.processes",{"title":413,"path":414,"stem":415},"Network: a module's outgoing calls","\u002Fdevelopers\u002Fnetwork","4.developers\u002F16.network",{"title":417,"path":418,"stem":419},"Realtime","\u002Fdevelopers\u002Frealtime","4.developers\u002F17.realtime",{"title":421,"path":422,"stem":423},"Private files","\u002Fdevelopers\u002Ffiles","4.developers\u002F18.files",{"title":425,"path":426,"stem":427},"Notify","\u002Fdevelopers\u002Fnotify","4.developers\u002F19.notify",{"title":429,"path":430,"stem":431},"Collections","\u002Fdevelopers\u002Fcollections","4.developers\u002F2.collections",{"title":337,"path":433,"stem":434},"\u002Fdevelopers\u002Funtrusted","4.developers\u002F20.untrusted",{"title":436,"icon":312,"path":437,"stem":438,"children":439},"Writing a plugin","\u002Fdevelopers\u002Fmodules","4.developers\u002F3.modules\u002Findex",[440,442,446,450,454,458,462,466,470,473,477,481,485],{"title":441,"path":437,"stem":438},"Writing a module",{"title":443,"path":444,"stem":445},"Module SDK and tooling","\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling","4.developers\u002F3.modules\u002F1.sdk-and-tooling",{"title":447,"path":448,"stem":449},"Connecting accounts with OAuth2","\u002Fdevelopers\u002Fmodules\u002Foauth","4.developers\u002F3.modules\u002F10.oauth",{"title":451,"path":452,"stem":453},"Calls between modules","\u002Fdevelopers\u002Fmodules\u002Fcalls-between-modules","4.developers\u002F3.modules\u002F11.calls-between-modules",{"title":455,"path":456,"stem":457},"Experimental parts","\u002Fdevelopers\u002Fmodules\u002Fexperimental-parts","4.developers\u002F3.modules\u002F12.experimental-parts",{"title":459,"path":460,"stem":461},"The manifest","\u002Fdevelopers\u002Fmodules\u002Fmanifest","4.developers\u002F3.modules\u002F2.manifest",{"title":463,"path":464,"stem":465},"Routes","\u002Fdevelopers\u002Fmodules\u002Froutes","4.developers\u002F3.modules\u002F3.routes",{"title":467,"path":468,"stem":469},"Admin screens and the site part","\u002Fdevelopers\u002Fmodules\u002Fadmin-and-site","4.developers\u002F3.modules\u002F4.admin-and-site",{"title":110,"path":471,"stem":472},"\u002Fdevelopers\u002Fmodules\u002Fcontent","4.developers\u002F3.modules\u002F5.content",{"title":474,"path":475,"stem":476},"Background work and services","\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services","4.developers\u002F3.modules\u002F6.background-and-services",{"title":478,"path":479,"stem":480},"SDK reference","\u002Fdevelopers\u002Fmodules\u002Fsdk-reference","4.developers\u002F3.modules\u002F7.sdk-reference",{"title":482,"path":483,"stem":484},"The website module's SDK","\u002Fdevelopers\u002Fmodules\u002Fwebsite-sdk","4.developers\u002F3.modules\u002F8.website-sdk",{"title":486,"path":487,"stem":488},"Incoming webhooks","\u002Fdevelopers\u002Fmodules\u002Fincoming-webhooks","4.developers\u002F3.modules\u002F9.incoming-webhooks",{"title":490,"path":491,"stem":492},"Core and the website module","\u002Fdevelopers\u002Fcore-and-website-module","4.developers\u002F4.core-and-website-module",{"title":494,"path":495,"stem":496},"The API","\u002Fdevelopers\u002Fapi","4.developers\u002F6.api",{"title":498,"path":499,"stem":500},"API reference","\u002Fdevelopers\u002Fapi-reference","4.developers\u002F6.api-reference",{"title":502,"icon":503,"path":504,"stem":505,"children":506},"Sites in other frameworks","i-lucide-layout-template","\u002Fdevelopers\u002Fframeworks","4.developers\u002F7.frameworks\u002Findex",[507,508,512,516,520,524,528,532],{"title":502,"path":504,"stem":505},{"title":509,"path":510,"stem":511},"Accounts: sign-in and modules' routes","\u002Fdevelopers\u002Fframeworks\u002Faccounts","4.developers\u002F7.frameworks\u002F1.accounts",{"title":513,"path":514,"stem":515},"`@shadestack\u002Ftree`","\u002Fdevelopers\u002Fframeworks\u002Ftree","4.developers\u002F7.frameworks\u002F2.tree",{"title":517,"path":518,"stem":519},"Expressions and styles","\u002Fdevelopers\u002Fframeworks\u002Fexpressions-and-styles","4.developers\u002F7.frameworks\u002F3.expressions-and-styles",{"title":521,"path":522,"stem":523},"`@shadestack\u002Frender`","\u002Fdevelopers\u002Fframeworks\u002Frender","4.developers\u002F7.frameworks\u002F4.render",{"title":525,"path":526,"stem":527},"`@shadestack\u002Finteractions`","\u002Fdevelopers\u002Fframeworks\u002Finteractions","4.developers\u002F7.frameworks\u002F5.interactions",{"title":529,"path":530,"stem":531},"`@shadestack\u002Fa11y`","\u002Fdevelopers\u002Fframeworks\u002Fa11y","4.developers\u002F7.frameworks\u002F6.a11y",{"title":533,"path":534,"stem":535},"Your own page for SHADE's links","\u002Fdevelopers\u002Fframeworks\u002Flinks","4.developers\u002F7.frameworks\u002F7.links",{"title":537,"path":538,"stem":539},"Build a client module","\u002Fdevelopers\u002Fclient-module","4.developers\u002F9.client-module",{"title":541,"icon":542,"path":543,"stem":544,"children":545,"page":38},"Security","i-lucide-shield-check","\u002Fsecurity","5.security",[546,550,554,558],{"title":547,"path":548,"stem":549},"Reporting a vulnerability","\u002Fsecurity\u002Freporting","5.security\u002F0.reporting",{"title":551,"path":552,"stem":553},"Security testing","\u002Fsecurity\u002Ftesting","5.security\u002F1.testing",{"title":555,"path":556,"stem":557},"Hardening a production instance","\u002Fsecurity\u002Fhardening","5.security\u002F2.hardening",{"title":559,"path":560,"stem":561},"Manual testing with Kali Linux","\u002Fsecurity\u002Fmanual-testing","5.security\u002F3.manual-testing",{"title":563,"icon":564,"path":565,"stem":566,"children":567,"page":38},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","6.contributing",[568,572,576,580],{"title":569,"path":570,"stem":571},"Reading the code","\u002Fcontributing\u002Freading-the-code","6.contributing\u002F1.reading-the-code",{"title":573,"path":574,"stem":575},"Docs site","\u002Fcontributing\u002Fdocs-site","6.contributing\u002F2.docs-site",{"title":577,"path":578,"stem":579},"Releases","\u002Fcontributing\u002Freleases","6.contributing\u002F3.releases",{"title":581,"path":582,"stem":583},"Load tests","\u002Fcontributing\u002Fload-tests","6.contributing\u002F4.load-tests",{"title":585,"icon":586,"path":587,"stem":588,"children":589,"page":38},"Project","i-lucide-map","\u002Fproject","7.project",[590,594,598,602],{"title":591,"path":592,"stem":593},"Roadmap","\u002Fproject\u002Froadmap","7.project\u002F1.roadmap",{"title":595,"path":596,"stem":597},"Known issues","\u002Fproject\u002Fknown-issues","7.project\u002F2.known-issues",{"title":599,"path":600,"stem":601},"Changelog","\u002Fproject\u002Fchangelog","7.project\u002F3.changelog",{"title":603,"path":604,"stem":605},"Decisions","\u002Fproject\u002Fdecisions","7.project\u002F4.decisions",{"title":607,"path":608,"stem":609,"children":610,"icon":612},"Community","\u002Fcommunity","8.community\u002Findex",[611],{"title":607,"path":608,"stem":609},"i-lucide-users",{"id":614,"title":486,"body":615,"description":667,"extension":1735,"links":1736,"meta":1737,"navigation":708,"path":487,"seo":1738,"stem":488,"__hash__":1739},"docs\u002F4.developers\u002F3.modules\u002F9.incoming-webhooks.md",{"type":616,"value":617,"toc":1728},"minimark",[618,626,649,654,661,1166,1172,1285,1301,1305,1308,1339,1360,1366,1370,1381,1385,1392,1676,1706,1710,1724],[619,620,621,622,625],"p",{},"A payment provider, a calendar or a bookkeeping service tells your module that something changed by calling one of its\nroutes: a webhook. Anyone on the internet can call that route too, so SHADE checks every call before your handler\nruns. This page is about receiving webhooks; to send them to other systems, see\n",[623,624,474],"a",{"href":475},".",[619,627,628,629,633,634,633,637,640,641,644,645,648],{},"Incoming webhooks are no longer experimental: ",[630,631,632],"code",{},"ModuleRouteWebhook",", ",[630,635,636],{},"WebhookScheme",[630,638,639],{},"verifyByFetchingBack",",\n",[630,642,643],{},"FetchBackOptions"," and ",[630,646,647],{},"FetchBackVerdict"," are part of the stable SDK, since a second module, the payments module, uses\nthem.",[650,651,653],"h2",{"id":652},"signed-webhooks","Signed webhooks",[619,655,656,657,660],{},"Declare the route as public, with a rate limit, and say how the provider signs its calls in ",[630,658,659],{},"webhook",":",[662,663,668],"pre",{"className":664,"code":665,"language":666,"meta":667,"style":667},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { defineModule } from '@shadestack\u002Fmodule-sdk\u002Fserver'\n\nexport default defineModule({\n  name: 'payments-stripe',\n  \u002F\u002F …\n  settings: {\n    fields: [\n      { kind: 'text', name: 'signingSecret', label: 'Signing secret' },\n      { kind: 'text', name: 'previousSigningSecret', label: 'Previous signing secret' }\n    ],\n    secrets: ['signingSecret', 'previousSigningSecret']\n  },\n  server: {\n    routes: [{\n      method: 'POST',\n      path: '\u002Fstripe',\n      auth: 'public',\n      rateLimit: { limit: 120, windowMs: 60_000, key: 'ip' },\n      webhook: { scheme: 'stripe', secret: 'signingSecret', previousSecret: 'previousSigningSecret' },\n      handler: async (ctx, request) => {\n        \u002F\u002F Only reached by a call Stripe signed, once per event.\n        return { received: true }\n      }\n    }]\n  }\n})\n","ts","",[630,669,670,703,710,728,747,754,765,776,826,870,878,906,912,922,934,951,968,985,1030,1080,1112,1118,1137,1143,1151,1157],{"__ignoreMap":667},[671,672,675,679,683,687,690,693,696,700],"span",{"class":673,"line":674},"line",1,[671,676,678],{"class":677},"s7zQu","import",[671,680,682],{"class":681},"sMK4o"," {",[671,684,686],{"class":685},"sTEyZ"," defineModule",[671,688,689],{"class":681}," }",[671,691,692],{"class":677}," from",[671,694,695],{"class":681}," '",[671,697,699],{"class":698},"sfazB","@shadestack\u002Fmodule-sdk\u002Fserver",[671,701,702],{"class":681},"'\n",[671,704,706],{"class":673,"line":705},2,[671,707,709],{"emptyLinePlaceholder":708},true,"\n",[671,711,713,716,719,722,725],{"class":673,"line":712},3,[671,714,715],{"class":677},"export",[671,717,718],{"class":677}," default",[671,720,686],{"class":721},"s2Zo4",[671,723,724],{"class":685},"(",[671,726,727],{"class":681},"{\n",[671,729,731,735,737,739,742,745],{"class":673,"line":730},4,[671,732,734],{"class":733},"swJcz","  name",[671,736,660],{"class":681},[671,738,695],{"class":681},[671,740,741],{"class":698},"payments-stripe",[671,743,744],{"class":681},"'",[671,746,640],{"class":681},[671,748,750],{"class":673,"line":749},5,[671,751,753],{"class":752},"sHwdD","  \u002F\u002F …\n",[671,755,757,760,762],{"class":673,"line":756},6,[671,758,759],{"class":733},"  settings",[671,761,660],{"class":681},[671,763,764],{"class":681}," {\n",[671,766,768,771,773],{"class":673,"line":767},7,[671,769,770],{"class":733},"    fields",[671,772,660],{"class":681},[671,774,775],{"class":685}," [\n",[671,777,779,782,785,787,789,792,794,797,800,802,804,807,809,811,814,816,818,821,823],{"class":673,"line":778},8,[671,780,781],{"class":681},"      {",[671,783,784],{"class":733}," kind",[671,786,660],{"class":681},[671,788,695],{"class":681},[671,790,791],{"class":698},"text",[671,793,744],{"class":681},[671,795,796],{"class":681},",",[671,798,799],{"class":733}," name",[671,801,660],{"class":681},[671,803,695],{"class":681},[671,805,806],{"class":698},"signingSecret",[671,808,744],{"class":681},[671,810,796],{"class":681},[671,812,813],{"class":733}," label",[671,815,660],{"class":681},[671,817,695],{"class":681},[671,819,820],{"class":698},"Signing secret",[671,822,744],{"class":681},[671,824,825],{"class":681}," },\n",[671,827,829,831,833,835,837,839,841,843,845,847,849,852,854,856,858,860,862,865,867],{"class":673,"line":828},9,[671,830,781],{"class":681},[671,832,784],{"class":733},[671,834,660],{"class":681},[671,836,695],{"class":681},[671,838,791],{"class":698},[671,840,744],{"class":681},[671,842,796],{"class":681},[671,844,799],{"class":733},[671,846,660],{"class":681},[671,848,695],{"class":681},[671,850,851],{"class":698},"previousSigningSecret",[671,853,744],{"class":681},[671,855,796],{"class":681},[671,857,813],{"class":733},[671,859,660],{"class":681},[671,861,695],{"class":681},[671,863,864],{"class":698},"Previous signing secret",[671,866,744],{"class":681},[671,868,869],{"class":681}," }\n",[671,871,873,876],{"class":673,"line":872},10,[671,874,875],{"class":685},"    ]",[671,877,640],{"class":681},[671,879,881,884,886,889,891,893,895,897,899,901,903],{"class":673,"line":880},11,[671,882,883],{"class":733},"    secrets",[671,885,660],{"class":681},[671,887,888],{"class":685}," [",[671,890,744],{"class":681},[671,892,806],{"class":698},[671,894,744],{"class":681},[671,896,796],{"class":681},[671,898,695],{"class":681},[671,900,851],{"class":698},[671,902,744],{"class":681},[671,904,905],{"class":685},"]\n",[671,907,909],{"class":673,"line":908},12,[671,910,911],{"class":681},"  },\n",[671,913,915,918,920],{"class":673,"line":914},13,[671,916,917],{"class":733},"  server",[671,919,660],{"class":681},[671,921,764],{"class":681},[671,923,925,928,930,932],{"class":673,"line":924},14,[671,926,927],{"class":733},"    routes",[671,929,660],{"class":681},[671,931,888],{"class":685},[671,933,727],{"class":681},[671,935,937,940,942,944,947,949],{"class":673,"line":936},15,[671,938,939],{"class":733},"      method",[671,941,660],{"class":681},[671,943,695],{"class":681},[671,945,946],{"class":698},"POST",[671,948,744],{"class":681},[671,950,640],{"class":681},[671,952,954,957,959,961,964,966],{"class":673,"line":953},16,[671,955,956],{"class":733},"      path",[671,958,660],{"class":681},[671,960,695],{"class":681},[671,962,963],{"class":698},"\u002Fstripe",[671,965,744],{"class":681},[671,967,640],{"class":681},[671,969,971,974,976,978,981,983],{"class":673,"line":970},17,[671,972,973],{"class":733},"      auth",[671,975,660],{"class":681},[671,977,695],{"class":681},[671,979,980],{"class":698},"public",[671,982,744],{"class":681},[671,984,640],{"class":681},[671,986,988,991,993,995,998,1000,1004,1006,1009,1011,1014,1016,1019,1021,1023,1026,1028],{"class":673,"line":987},18,[671,989,990],{"class":733},"      rateLimit",[671,992,660],{"class":681},[671,994,682],{"class":681},[671,996,997],{"class":733}," limit",[671,999,660],{"class":681},[671,1001,1003],{"class":1002},"sbssI"," 120",[671,1005,796],{"class":681},[671,1007,1008],{"class":733}," windowMs",[671,1010,660],{"class":681},[671,1012,1013],{"class":1002}," 60_000",[671,1015,796],{"class":681},[671,1017,1018],{"class":733}," key",[671,1020,660],{"class":681},[671,1022,695],{"class":681},[671,1024,1025],{"class":698},"ip",[671,1027,744],{"class":681},[671,1029,825],{"class":681},[671,1031,1033,1036,1038,1040,1043,1045,1047,1050,1052,1054,1057,1059,1061,1063,1065,1067,1070,1072,1074,1076,1078],{"class":673,"line":1032},19,[671,1034,1035],{"class":733},"      webhook",[671,1037,660],{"class":681},[671,1039,682],{"class":681},[671,1041,1042],{"class":733}," scheme",[671,1044,660],{"class":681},[671,1046,695],{"class":681},[671,1048,1049],{"class":698},"stripe",[671,1051,744],{"class":681},[671,1053,796],{"class":681},[671,1055,1056],{"class":733}," secret",[671,1058,660],{"class":681},[671,1060,695],{"class":681},[671,1062,806],{"class":698},[671,1064,744],{"class":681},[671,1066,796],{"class":681},[671,1068,1069],{"class":733}," previousSecret",[671,1071,660],{"class":681},[671,1073,695],{"class":681},[671,1075,851],{"class":698},[671,1077,744],{"class":681},[671,1079,825],{"class":681},[671,1081,1083,1086,1088,1092,1095,1099,1101,1104,1107,1110],{"class":673,"line":1082},20,[671,1084,1085],{"class":721},"      handler",[671,1087,660],{"class":681},[671,1089,1091],{"class":1090},"spNyl"," async",[671,1093,1094],{"class":681}," (",[671,1096,1098],{"class":1097},"sHdIc","ctx",[671,1100,796],{"class":681},[671,1102,1103],{"class":1097}," request",[671,1105,1106],{"class":681},")",[671,1108,1109],{"class":1090}," =>",[671,1111,764],{"class":681},[671,1113,1115],{"class":673,"line":1114},21,[671,1116,1117],{"class":752},"        \u002F\u002F Only reached by a call Stripe signed, once per event.\n",[671,1119,1121,1124,1126,1129,1131,1135],{"class":673,"line":1120},22,[671,1122,1123],{"class":677},"        return",[671,1125,682],{"class":681},[671,1127,1128],{"class":733}," received",[671,1130,660],{"class":681},[671,1132,1134],{"class":1133},"sfNiH"," true",[671,1136,869],{"class":681},[671,1138,1140],{"class":673,"line":1139},23,[671,1141,1142],{"class":681},"      }\n",[671,1144,1146,1149],{"class":673,"line":1145},24,[671,1147,1148],{"class":681},"    }",[671,1150,905],{"class":685},[671,1152,1154],{"class":673,"line":1153},25,[671,1155,1156],{"class":681},"  }\n",[671,1158,1160,1163],{"class":673,"line":1159},26,[671,1161,1162],{"class":681},"}",[671,1164,1165],{"class":685},")\n",[619,1167,1168,1171],{},[630,1169,1170],{},"scheme"," is one of:",[1173,1174,1175,1191],"table",{},[1176,1177,1178],"thead",{},[1179,1180,1181,1185,1188],"tr",{},[1182,1183,1184],"th",{},"Scheme",[1182,1186,1187],{},"For",[1182,1189,1190],{},"What SHADE checks",[1192,1193,1194,1218,1260],"tbody",{},[1179,1195,1196,1201,1204],{},[1197,1198,1199],"td",{},[630,1200,1049],{},[1197,1202,1203],{},"Stripe",[1197,1205,1206,1209,1210,1213,1214,1217],{},[630,1207,1208],{},"Stripe-Signature: t=…,v1=…",": the HMAC-SHA256 of ",[630,1211,1212],{},"\u003Ct>.\u003Cbody>"," in hex, with the secret as text. The event's ",[630,1215,1216],{},"id"," is the delivery id.",[1179,1219,1220,1225,1235],{},[1197,1221,1222],{},[630,1223,1224],{},"standard",[1197,1226,1227,1228,1234],{},"Providers following ",[623,1229,1233],{"href":1230,"rel":1231},"https:\u002F\u002Fwww.standardwebhooks.com",[1232],"nofollow","Standard Webhooks",", and SHADE's own outgoing webhooks",[1197,1236,1237,633,1240,644,1243,1094,1246,1249,1250,1253,1254,1257,1258,1217],{},[630,1238,1239],{},"webhook-id",[630,1241,1242],{},"webhook-timestamp",[630,1244,1245],{},"webhook-signature",[630,1247,1248],{},"v1,\u003Cbase64>","): the HMAC-SHA256 of ",[630,1251,1252],{},"\u003Cid>.\u003Ctimestamp>.\u003Cbody>",", with the bytes of the ",[630,1255,1256],{},"whsec_…"," secret. ",[630,1259,1239],{},[1179,1261,1262,1267,1270],{},[1197,1263,1264],{},[630,1265,1266],{},"hmac",[1197,1268,1269],{},"Providers that sign only the body (GitHub and many others)",[1197,1271,1272,1273,1276,1277,1280,1281,1284],{},"The HMAC-SHA256 of the body in ",[630,1274,1275],{},"header"," (hex, ",[630,1278,1279],{},"sha256=…"," or base64). ",[630,1282,1283],{},"deliveryIdHeader",", if you name one, holds the delivery id.",[619,1286,1287,644,1290,1293,1294,1297,1298,625],{},[630,1288,1289],{},"secret",[630,1291,1292],{},"previousSecret"," name your module's secret settings (",[630,1295,1296],{},"settings.secrets","): an admin enters them on the\nmodule's settings page, SHADE keeps them sealed and never shows them again. The loader refuses a webhook route whose\nsecrets are not secret settings, an account route that is a webhook, and a webhook route that is also ",[630,1299,1300],{},"idempotent",[650,1302,1304],{"id":1303},"what-shade-does-with-each-call","What SHADE does with each call",[619,1306,1307],{},"Before your handler runs, on the body exactly as it arrived (never re-serialised JSON):",[1309,1310,1311,1323,1329],"ol",{},[1312,1313,1314,1094,1318,644,1320,1322],"li",{},[1315,1316,1317],"strong",{},"The timestamp",[630,1319,1049],{},[630,1321,1224],{},"): it must be within five minutes of now, either way. A request\ncaptured and sent again later is refused before any signature is worked out.",[1312,1324,1325,1328],{},[1315,1326,1327],{},"The signature",", with the current secret and, while you rotate, the previous one. Each is compared in constant\ntime.",[1312,1330,1331,1334,1335,1338],{},[1315,1332,1333],{},"The delivery id",": a delivery handled before gets the first answer again, with ",[630,1336,1337],{},"Idempotent-Replayed: true",",\nwithout running your handler. Providers retry until they get a 2xx, so this keeps a retried delivery from being\nhandled twice. If your handler throws or answers 5xx, the id is freed and the provider's retry runs it again.\nIds are kept a day.",[619,1340,1341,1342,1345,1346,1094,1349,1352,1353,1356,1357,625],{},"A call that fails any check gets ",[630,1343,1344],{},"401"," \"Invalid signature\" and never learns why. The reason is written to the audit\nlog as ",[1315,1347,1348],{},"Webhook refused",[630,1350,1351],{},"protection.webhook-refused","), once per route a minute, so a flood of forged calls is one\nentry. Your handler gets ",[630,1354,1355],{},"request.rawBody"," as well as the parsed ",[630,1358,1359],{},"request.body",[619,1361,1362,1363,1365],{},"The ",[630,1364,1266],{}," scheme signs no timestamp, so a captured call is only stopped by its delivery id, for a day. Where a\nprovider offers a timestamped scheme, use it.",[650,1367,1369],{"id":1368},"rotating-a-secret","Rotating a secret",[1309,1371,1372,1375,1378],{},[1312,1373,1374],{},"Copy the current secret into the previous secret's setting, and enter the new one as the secret.",[1312,1376,1377],{},"Roll the secret at the provider. Calls signed with either secret are taken meanwhile.",[1312,1379,1380],{},"When the provider signs only with the new secret, clear the previous one.",[650,1382,1384],{"id":1383},"providers-that-sign-nothing-fetch-back","Providers that sign nothing: fetch back",[619,1386,1387,1388,1391],{},"Some providers, such as Mollie, do not sign their webhooks: the call only names a resource (",[630,1389,1390],{},"id=tr_…","). Verify such a\ncall by fetching back. Trust the body for an id of the provider's own shape and nothing else, then ask the provider's\nAPI for the resource with your own credentials:",[662,1393,1395],{"className":664,"code":1394,"language":666,"meta":667,"style":667},"import { verifyByFetchingBack } from '@shadestack\u002Fmodule-sdk\u002Fserver'\n\n\u002F\u002F A route with `rawBody: true`, so the handler gets the body as it arrived.\nhandler: async (ctx, request) => {\n  const verdict = await verifyByFetchingBack(request.rawBody ?? '', {\n    field: 'id',\n    pattern: \u002Ftr_[A-Za-z0-9]{4,40}\u002F,\n    fetch: id => findAndFetchPayment(ctx, id) \u002F\u002F null when you don't know it\n  })\n  if (!verdict.ok && verdict.reason === 'no-id') throw new Error('Invalid webhook')\n  if (verdict.ok) await applyStatus(ctx, verdict.resource)\n  return { ok: true }\n}\n",[630,1396,1397,1416,1420,1425,1449,1485,1500,1524,1553,1560,1620,1655,1671],{"__ignoreMap":667},[671,1398,1399,1401,1403,1406,1408,1410,1412,1414],{"class":673,"line":674},[671,1400,678],{"class":677},[671,1402,682],{"class":681},[671,1404,1405],{"class":685}," verifyByFetchingBack",[671,1407,689],{"class":681},[671,1409,692],{"class":677},[671,1411,695],{"class":681},[671,1413,699],{"class":698},[671,1415,702],{"class":681},[671,1417,1418],{"class":673,"line":705},[671,1419,709],{"emptyLinePlaceholder":708},[671,1421,1422],{"class":673,"line":712},[671,1423,1424],{"class":752},"\u002F\u002F A route with `rawBody: true`, so the handler gets the body as it arrived.\n",[671,1426,1427,1431,1433,1435,1437,1439,1441,1443,1445,1447],{"class":673,"line":730},[671,1428,1430],{"class":1429},"sBMFI","handler",[671,1432,660],{"class":681},[671,1434,1091],{"class":1090},[671,1436,1094],{"class":681},[671,1438,1098],{"class":1097},[671,1440,796],{"class":681},[671,1442,1103],{"class":1097},[671,1444,1106],{"class":681},[671,1446,1109],{"class":1090},[671,1448,764],{"class":681},[671,1450,1451,1454,1457,1460,1463,1465,1467,1470,1472,1475,1478,1481,1483],{"class":673,"line":749},[671,1452,1453],{"class":1090},"  const",[671,1455,1456],{"class":685}," verdict",[671,1458,1459],{"class":681}," =",[671,1461,1462],{"class":677}," await",[671,1464,1405],{"class":721},[671,1466,724],{"class":733},[671,1468,1469],{"class":685},"request",[671,1471,625],{"class":681},[671,1473,1474],{"class":685},"rawBody",[671,1476,1477],{"class":681}," ??",[671,1479,1480],{"class":681}," ''",[671,1482,796],{"class":681},[671,1484,764],{"class":681},[671,1486,1487,1490,1492,1494,1496,1498],{"class":673,"line":756},[671,1488,1489],{"class":733},"    field",[671,1491,660],{"class":681},[671,1493,695],{"class":681},[671,1495,1216],{"class":698},[671,1497,744],{"class":681},[671,1499,640],{"class":681},[671,1501,1502,1505,1507,1510,1513,1516,1519,1522],{"class":673,"line":767},[671,1503,1504],{"class":733},"    pattern",[671,1506,660],{"class":681},[671,1508,1509],{"class":681}," \u002F",[671,1511,1512],{"class":698},"tr_",[671,1514,1515],{"class":681},"[",[671,1517,1518],{"class":698},"A-Za-z0-9",[671,1520,1521],{"class":681},"]{4,40}\u002F",[671,1523,640],{"class":681},[671,1525,1526,1529,1531,1534,1536,1539,1541,1543,1545,1547,1550],{"class":673,"line":778},[671,1527,1528],{"class":721},"    fetch",[671,1530,660],{"class":681},[671,1532,1533],{"class":1097}," id",[671,1535,1109],{"class":1090},[671,1537,1538],{"class":721}," findAndFetchPayment",[671,1540,724],{"class":733},[671,1542,1098],{"class":685},[671,1544,796],{"class":681},[671,1546,1533],{"class":685},[671,1548,1549],{"class":733},") ",[671,1551,1552],{"class":752},"\u002F\u002F null when you don't know it\n",[671,1554,1555,1558],{"class":673,"line":828},[671,1556,1557],{"class":681},"  }",[671,1559,1165],{"class":733},[671,1561,1562,1565,1567,1570,1573,1575,1578,1581,1583,1585,1588,1591,1593,1596,1598,1600,1603,1606,1609,1611,1613,1616,1618],{"class":673,"line":872},[671,1563,1564],{"class":677},"  if",[671,1566,1094],{"class":733},[671,1568,1569],{"class":681},"!",[671,1571,1572],{"class":685},"verdict",[671,1574,625],{"class":681},[671,1576,1577],{"class":685},"ok",[671,1579,1580],{"class":681}," &&",[671,1582,1456],{"class":685},[671,1584,625],{"class":681},[671,1586,1587],{"class":685},"reason",[671,1589,1590],{"class":681}," ===",[671,1592,695],{"class":681},[671,1594,1595],{"class":698},"no-id",[671,1597,744],{"class":681},[671,1599,1549],{"class":733},[671,1601,1602],{"class":677},"throw",[671,1604,1605],{"class":681}," new",[671,1607,1608],{"class":721}," Error",[671,1610,724],{"class":733},[671,1612,744],{"class":681},[671,1614,1615],{"class":698},"Invalid webhook",[671,1617,744],{"class":681},[671,1619,1165],{"class":733},[671,1621,1622,1624,1626,1628,1630,1632,1634,1637,1640,1642,1644,1646,1648,1650,1653],{"class":673,"line":880},[671,1623,1564],{"class":677},[671,1625,1094],{"class":733},[671,1627,1572],{"class":685},[671,1629,625],{"class":681},[671,1631,1577],{"class":685},[671,1633,1549],{"class":733},[671,1635,1636],{"class":677},"await",[671,1638,1639],{"class":721}," applyStatus",[671,1641,724],{"class":733},[671,1643,1098],{"class":685},[671,1645,796],{"class":681},[671,1647,1456],{"class":685},[671,1649,625],{"class":681},[671,1651,1652],{"class":685},"resource",[671,1654,1165],{"class":733},[671,1656,1657,1660,1662,1665,1667,1669],{"class":673,"line":908},[671,1658,1659],{"class":677},"  return",[671,1661,682],{"class":681},[671,1663,1664],{"class":733}," ok",[671,1666,660],{"class":681},[671,1668,1134],{"class":1133},[671,1670,869],{"class":681},[671,1672,1673],{"class":673,"line":914},[671,1674,1675],{"class":681},"}\n",[619,1677,1678,1681,1682,1685,1686,1688,1689,1692,1693,1696,1697,1700,1701,1705],{},[630,1679,1680],{},"field"," is a form field or a top-level JSON key. The id must match ",[630,1683,1684],{},"pattern"," as a whole, at most 128 characters,\nor the provider is never asked (",[630,1687,1595],{},"), so a forged body can't make your module request another path of the\nprovider's API. ",[630,1690,1691],{},"unknown"," means ",[630,1694,1695],{},"fetch"," found nothing. Give such a route a rate limit, so nobody can make your module\ncall the provider endlessly. The payments module's Mollie webhook works this way. It also records the calls it refuses with ",[630,1698,1699],{},"recordModuleRefusal",",\nso a burst of forged ones raises a security alert (",[623,1702,1704],{"href":1703},"\u002Fdevelopers\u002Fmodules\u002Fmanifest#alert-rules-alerts","Alert rules",").",[650,1707,1709],{"id":1708},"testing","Testing",[619,1711,1712,1713,1094,1716,1719,1720,1723],{},"Core's fixture module ",[630,1714,1715],{},"webhook-probe",[630,1717,1718],{},"shade\u002Ftest\u002Ftesting\u002Ffixtures\u002Fmodules\u002Fwebhook-probe",") receives Stripe and\nStandard Webhooks calls, and its tests show how to sign a request in a test: see\n",[630,1721,1722],{},"apps\u002Fapi\u002Ftest\u002Fhttp\u002Fcontrollers\u002Fmodules.webhooks.test.ts"," in SHADE.",[1725,1726,1727],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .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}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 .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}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 .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":667,"searchDepth":705,"depth":705,"links":1729},[1730,1731,1732,1733,1734],{"id":652,"depth":705,"text":653},{"id":1303,"depth":705,"text":1304},{"id":1368,"depth":705,"text":1369},{"id":1383,"depth":705,"text":1384},{"id":1708,"depth":705,"text":1709},"md",null,{},{"title":486,"description":667},"Ma5w8Ae-h9i8u5HAQ6QjZTyMbITJQBm9YAxo9hnmY5U",[1741,1742],{"title":482,"path":483,"stem":484,"description":667,"children":-1},{"title":490,"path":491,"stem":492,"description":667,"children":-1},1796500156124]