[{"data":1,"prerenderedAt":422},["ShallowReactive",2],{"navigation":3,"\u002Fguides\u002Fsuccessful-submissions":176,"\u002Fguides\u002Fsuccessful-submissions-surround":417},[4,40,100,152],{"title":5,"path":6,"stem":7,"children":8,"icon":39},"Getting started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,11,15,19,23,27,31,35],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"How Postvia works","\u002Fgetting-started\u002Fhow-it-works","1.getting-started\u002F2.how-it-works",{"title":16,"path":17,"stem":18},"First customer and website","\u002Fgetting-started\u002Ffirst-customer-and-website","1.getting-started\u002F3.first-customer-and-website",{"title":20,"path":21,"stem":22},"Create your first form","\u002Fgetting-started\u002Ffirst-form","1.getting-started\u002F4.first-form",{"title":24,"path":25,"stem":26},"Submit your first JSON request","\u002Fgetting-started\u002Ffirst-json-request","1.getting-started\u002F5.first-json-request",{"title":28,"path":29,"stem":30},"Email notifications","\u002Fgetting-started\u002Femail-notifications","1.getting-started\u002F6.email-notifications",{"title":32,"path":33,"stem":34},"Test integration","\u002Fgetting-started\u002Ftest-integration","1.getting-started\u002F7.test-integration",{"title":36,"path":37,"stem":38},"Deploy integration","\u002Fgetting-started\u002Fdeploy-integration","1.getting-started\u002F8.deploy-integration","i-lucide-rocket",{"title":41,"icon":42,"path":43,"stem":44,"children":45},"Guides","i-lucide-book-open","\u002Fguides","2.guides",[46,48,52,56,60,64,68,72,76,80,84,88,92,96],{"title":41,"path":43,"stem":47},"2.guides\u002Findex",{"title":49,"path":50,"stem":51},"JavaScript integration","\u002Fguides\u002Fjavascript","2.guides\u002F1.javascript",{"title":53,"path":54,"stem":55},"Rate limits and retries","\u002Fguides\u002Frate-limits-retries","2.guides\u002F10.rate-limits-retries",{"title":57,"path":58,"stem":59},"Multiple recipients","\u002Fguides\u002Fmultiple-recipients","2.guides\u002F11.multiple-recipients",{"title":61,"path":62,"stem":63},"Success redirects","\u002Fguides\u002Fsuccess-redirects","2.guides\u002F12.success-redirects",{"title":65,"path":66,"stem":67},"Troubleshooting delivery","\u002Fguides\u002Ftroubleshooting-delivery","2.guides\u002F13.troubleshooting-delivery",{"title":69,"path":70,"stem":71},"TypeScript integration","\u002Fguides\u002Ftypescript","2.guides\u002F2.typescript",{"title":73,"path":74,"stem":75},"Nuxt 4 integration","\u002Fguides\u002Fnuxt","2.guides\u002F3.nuxt",{"title":77,"path":78,"stem":79},"Vue integration","\u002Fguides\u002Fvue","2.guides\u002F4.vue",{"title":81,"path":82,"stem":83},"Standard HTML forms","\u002Fguides\u002Fhtml-forms","2.guides\u002F5.html-forms",{"title":85,"path":86,"stem":87},"Turnstile integration","\u002Fguides\u002Fcloudflare-turnstile","2.guides\u002F6.cloudflare-turnstile",{"title":89,"path":90,"stem":91},"Validation errors","\u002Fguides\u002Fvalidation-errors","2.guides\u002F7.validation-errors",{"title":93,"path":94,"stem":95},"Successful submissions","\u002Fguides\u002Fsuccessful-submissions","2.guides\u002F8.successful-submissions",{"title":97,"path":98,"stem":99},"Prevent duplicates","\u002Fguides\u002Fpreventing-duplicates","2.guides\u002F9.preventing-duplicates",{"title":101,"path":102,"stem":103,"children":104,"icon":151},"API reference","\u002Fapi","3.api\u002F1.index",[105,107,111,115,119,123,127,131,135,139,143,147],{"title":106,"path":102,"stem":103},"API overview",{"title":108,"path":109,"stem":110},"Idempotency","\u002Fapi\u002Fidempotency","3.api\u002F10.idempotency",{"title":112,"path":113,"stem":114},"Security and spam protection","\u002Fapi\u002Fsecurity","3.api\u002F11.security",{"title":116,"path":117,"stem":118},"API playground","\u002Fapi\u002Fplayground","3.api\u002F12.playground",{"title":120,"path":121,"stem":122},"Base URLs and versioning","\u002Fapi\u002Fbase-urls-versioning","3.api\u002F2.base-urls-versioning",{"title":124,"path":125,"stem":126},"Submit form","\u002Fapi\u002Fsubmit-form","3.api\u002F3.submit-form",{"title":128,"path":129,"stem":130},"Short alias","\u002Fapi\u002Falias-endpoint","3.api\u002F4.alias-endpoint",{"title":132,"path":133,"stem":134},"Request headers","\u002Fapi\u002Frequest-headers","3.api\u002F5.request-headers",{"title":136,"path":137,"stem":138},"Request body","\u002Fapi\u002Frequest-body","3.api\u002F6.request-body",{"title":140,"path":141,"stem":142},"Response format","\u002Fapi\u002Fresponse-format","3.api\u002F7.response-format",{"title":144,"path":145,"stem":146},"Error codes","\u002Fapi\u002Ferrors","3.api\u002F8.errors",{"title":148,"path":149,"stem":150},"Rate limits","\u002Fapi\u002Frate-limits","3.api\u002F9.rate-limits","i-lucide-code-xml",{"title":153,"icon":154,"path":155,"stem":156,"children":157},"Resources","i-lucide-life-buoy","\u002Fresources","4.resources",[158,160,164,168,172],{"title":153,"path":155,"stem":159},"4.resources\u002Findex",{"title":161,"path":162,"stem":163},"Frequently asked questions","\u002Fresources\u002Ffaq","4.resources\u002F1.faq",{"title":165,"path":166,"stem":167},"Troubleshooting","\u002Fresources\u002Ftroubleshooting","4.resources\u002F2.troubleshooting",{"title":169,"path":170,"stem":171},"API changelog","\u002Fresources\u002Fchangelog","4.resources\u002F3.changelog",{"title":173,"path":174,"stem":175},"Migration guides","\u002Fresources\u002Fmigrations","4.resources\u002F4.migrations",{"id":177,"title":93,"apiOperation":178,"body":179,"description":411,"extension":412,"links":178,"meta":413,"navigation":414,"path":94,"related":178,"seo":415,"stem":95,"__hash__":416},"docs\u002F2.guides\u002F8.successful-submissions.md",null,{"type":180,"value":181,"toc":406},"minimark",[182,186,274,285,290,309,384,388,391,395,402],[183,184,185],"p",{},"A JSON success response is:",[187,188,193],"pre",{"className":189,"code":190,"language":191,"meta":192,"style":192},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"success\": true,\n  \"submission_id\": \"8f2c1e7a4b6d8c0e5f3a2b1c9d8e7f60\",\n  \"message\": \"Your enquiry has been received.\"\n}\n","json","",[194,195,196,205,224,248,268],"code",{"__ignoreMap":192},[197,198,201],"span",{"class":199,"line":200},"line",1,[197,202,204],{"class":203},"sMK4o","{\n",[197,206,208,211,215,218,221],{"class":199,"line":207},2,[197,209,210],{"class":203},"  \"",[197,212,214],{"class":213},"spNyl","success",[197,216,217],{"class":203},"\"",[197,219,220],{"class":203},":",[197,222,223],{"class":203}," true,\n",[197,225,227,229,232,234,236,239,243,245],{"class":199,"line":226},3,[197,228,210],{"class":203},[197,230,231],{"class":213},"submission_id",[197,233,217],{"class":203},[197,235,220],{"class":203},[197,237,238],{"class":203}," \"",[197,240,242],{"class":241},"sfazB","8f2c1e7a4b6d8c0e5f3a2b1c9d8e7f60",[197,244,217],{"class":203},[197,246,247],{"class":203},",\n",[197,249,251,253,256,258,260,262,265],{"class":199,"line":250},4,[197,252,210],{"class":203},[197,254,255],{"class":213},"message",[197,257,217],{"class":203},[197,259,220],{"class":203},[197,261,238],{"class":203},[197,263,264],{"class":241},"Your enquiry has been received.",[197,266,267],{"class":203},"\"\n",[197,269,271],{"class":199,"line":270},5,[197,272,273],{"class":203},"}\n",[183,275,276,277,280,281,284],{},"HTTP ",[194,278,279],{},"201"," means the submission is stored and scheduled. HTTP ",[194,282,283],{},"200"," on a retry means the original submission was replayed.",[286,287,289],"h2",{"id":288},"client-behaviour","Client behaviour",[291,292,293,297,300,303,306],"ol",{},[294,295,296],"li",{},"Show an accessible success message.",[294,298,299],{},"Reset the form fields.",[294,301,302],{},"Reset the Turnstile widget and clear the token.",[294,304,305],{},"Rotate the idempotency key.",[294,307,308],{},"Optionally show the submission ID or request ID for support.",[187,310,314],{"className":311,"code":312,"language":313,"meta":192,"style":192},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","success.value = 'Your enquiry has been received.'\nform.reset()\nturnstile.reset()\nidempotencyKey.value = crypto.randomUUID()\n","ts",[194,315,316,338,352,363],{"__ignoreMap":192},[197,317,318,321,324,327,330,333,335],{"class":199,"line":200},[197,319,214],{"class":320},"sTEyZ",[197,322,323],{"class":203},".",[197,325,326],{"class":320},"value ",[197,328,329],{"class":203},"=",[197,331,332],{"class":203}," '",[197,334,264],{"class":241},[197,336,337],{"class":203},"'\n",[197,339,340,343,345,349],{"class":199,"line":207},[197,341,342],{"class":320},"form",[197,344,323],{"class":203},[197,346,348],{"class":347},"s2Zo4","reset",[197,350,351],{"class":320},"()\n",[197,353,354,357,359,361],{"class":199,"line":226},[197,355,356],{"class":320},"turnstile",[197,358,323],{"class":203},[197,360,348],{"class":347},[197,362,351],{"class":320},[197,364,365,368,370,372,374,377,379,382],{"class":199,"line":250},[197,366,367],{"class":320},"idempotencyKey",[197,369,323],{"class":203},[197,371,326],{"class":320},[197,373,329],{"class":203},[197,375,376],{"class":320}," crypto",[197,378,323],{"class":203},[197,380,381],{"class":347},"randomUUID",[197,383,351],{"class":320},[286,385,387],{"id":386},"what-not-to-say","What not to say",[183,389,390],{},"Do not say “email delivered” or “we have received your message in our inbox” based only on the API response. Say “Your enquiry has been received” or “We’ll be in touch”.",[286,392,394],{"id":393},"native-html-forms","Native HTML forms",[183,396,397,398,401],{},"The browser receives a ",[194,399,400],{},"303"," redirect to the configured success URL or the hosted thank-you page. Make that page accessible and confirm it does not depend on a session that the visitor does not have.",[403,404,405],"style",{},"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 .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 .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":192,"searchDepth":207,"depth":207,"links":407},[408,409,410],{"id":288,"depth":207,"text":289},{"id":386,"depth":207,"text":387},{"id":393,"depth":207,"text":394},"Distinguish durable acceptance from email delivery and reset the form safely.","md",{},true,{"title":93,"description":411},"HHxSSJh62nDDUYwBxSRFHqwq4zjdy76Goysek9BoXqI",[418,420],{"title":89,"path":90,"stem":91,"description":419,"children":-1},"Map 422 field errors to accessible form messages without losing the user’s input.",{"title":97,"path":98,"stem":99,"description":421,"children":-1},"Use idempotency keys for safe retries without duplicate notifications.",1795377933250]