This guide takes you from zero to a verified, production-shaped webhook delivery in five minutes. Read Overview for the underlying delivery semantics, payload anatomy, and versioning policy.
Before you start
You’ll need:
A Quo API key with permission to manage webhooks.
An HTTPS endpoint you control. For local development, use a tunnel such as ngrok or cloudflared.
A runtime that gives you the raw, unparsed request body. This is required for signature verification — see Validate webhook signatures for framework-specific notes.
You can send a real, signed test event before any code is written using POST /webhooks/:id/events/test. See step 4 below.
1. Create the webhook
Pin the subscription to the current API version with Quo-Api-Version. The version is recorded once when the webhook is created and used for every subsequent delivery.
Save the key field from the response — that’s your whsec_… signing secret. Treat it like a credential: store it as an environment variable, never in source.
2. Receive the delivery
Each delivery sets three headers and a JSON body. Verify the signature against the raw bytes of the body, then parse.
Header
Purpose
webhook-id
Stable delivery identifier. Use as your idempotency key.
webhook-timestamp
Unix seconds when Quo signed the request.
webhook-signature
Space-separated v1,<base64-signature> entries.
3. Verify and handle the event
The Svix SDK accepts Quo’s headers and whsec_… key format unchanged. Reject any delivery whose timestamp is more than five minutes off from your server clock to defeat replay.
Return 200 to acknowledge. Any non-2xx response triggers a retry.
4. Send a test event
Trigger a real, signed delivery to your endpoint without waiting for a real call or message. The response also includes the sample payload inline so you can confirm what your endpoint received.
If verification fails, the most common cause is a framework that parsed the JSON before your handler saw the bytes. See Validate webhook signatures.
5. Inspect deliveries
Every delivery is recorded. Use these endpoints to debug a missing or failing event:
GET /webhooks/:id/events?resourceId=... — deliveries for one business resource.
GET /webhooks/:id/events/:deliveryId — request body, all attempts, and response codes.
POST /webhooks/:id/events/:deliveryId/retry — manually retry a failed delivery.
Each list item returns its delivery id, the payload id as eventId, and the primary resource ID as resourceId. Deliveries created before September 2, 2026 and test deliveries return null for the correlation fields. Use the delivery id from the list response for detail and retry requests. If you received the webhook, the same delivery ID is in the webhook-id header.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Quo Docs","colors":{"primary":"#1A6EFF","light":"#1A6EFF","dark":"#1F75FF"},"logo":{"light":"https://mintcdn.com/openphone/J5h7IWaRdhdZDPnt/logo/QuoMediaKit_Logo_Charcoal.svg?fit=max\u0026auto=format\u0026n=J5h7IWaRdhdZDPnt\u0026q=85\u0026s=abc86cec4827546e4471dbbce4cad3d1","dark":"https://mintcdn.com/openphone/J5h7IWaRdhdZDPnt/logo/QuoMediaKit_Logo_White.svg?fit=max\u0026auto=format\u0026n=J5h7IWaRdhdZDPnt\u0026q=85\u0026s=408dd478eb6c53578fcecfb2835989b6"},"favicon":"https://mintcdn.com/openphone/J5h7IWaRdhdZDPnt/favicon.svg?fit=max\u0026auto=format\u0026n=J5h7IWaRdhdZDPnt\u0026q=85\u0026s=9df7a9c76451b287554712312d106336","api":{"examples":{"languages":["curl"]}},"background":{"color":{"light":"#FFFFFF","dark":"#1A1926"}},"navbar":{"links":[{"href":"https://survey.survicate.com/377741a204bdef33/?p=anonymous","label":"Feedback"},{"href":"https://my.quo.com/login","label":"Log in"}],"primary":{"type":"button","label":"Try for free","href":"https://my.quo.com/signup"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/gowithquo","reddit":"https://www.reddit.com/r/quo","instagram":"https://www.instagram.com/gowithquo","x":"https://x.com/gowithquo","youtube":"https://www.youtube.com/@gowithquo"}},"seo":{"metatags":{"canonical":"https://www.quo.com/docs"}},"integrations":{"gtm":{"tagId":"GTM-TXWR783H"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"openphone","hasAudioNarration":false,"actualSubdomain":"openphone","customDomains":["www.quo.com"],"gitSource":{"type":"github","owner":"openphone","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af60a6c3ff3f2c2209672bf","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"Guides","count":140},{"language":"default","tag":"Tasks","count":25},{"language":"default","tag":"Webhooks","count":19},{"language":"default","tag":"Contacts","count":12},{"language":"default","tag":"Calls","count":10},{"language":"default","tag":"Getting started","count":9},{"language":"default","tag":"Phone Numbers","count":9},{"language":"default","tag":"Essentials","count":8},{"language":"default","tag":"Conversations","count":8},{"language":"default","tag":"Messages","count":7}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--primary: 26 110 255;--primary-light: 26 110 255;--primary-dark: 31 117 255;--brand: 236 247 72;--tooltip-foreground: 255 255 255;--background-light: 255 255 255;--background-dark: 22 22 26;--gray-50: 246 246 247;--gray-100: 243 243 244;--gray-200: 231 231 232;--gray-300: 208 208 209;--gray-400: 170 170 171;--gray-500: 129 129 130;--gray-600: 83 83 84;--gray-700: 63 63 64;--gray-800: 40 40 44;--gray-900: 29 29 33;--gray-950: 22 22 26}@font-face{font-family:\"Roobert\";src:url(\"https://uploads-ssl.webflow.com/6384fdd9fd42380b529fc942/646dce023a43d52740e2f3c8_Roobert-SemiBold.ttf\");font-weight:600;font-style:normal}@font-face{font-family:\"Roobert\";src:url(\"https://uploads-ssl.webflow.com/6384fdd9fd42380b529fc942/646dce02a844c04f2faca171_Roobert-Medium.ttf\");font-weight:500;font-style:normal}h1,h2,h3{font-family:\"Roobert\", sans-serif}strong{color:inherit!important}#topbar-cta-button{height:36px}#topbar-cta-button>a>span{background-color:rgb(var(--brand));border-radius:10px}#topbar-cta-button>a>div span,#topbar-cta-button>a>div svg{color:rgb(var(--gray-950))}#ketch-privacy-settings-link{display:inline-flex;align-items:center;align-self:center;margin-left:auto;font-size:0.75rem;line-height:1;color:rgb(var(--gray-500));text-decoration:none;cursor:pointer}#ketch-privacy-settings-link:hover{color:rgb(var(--gray-700));text-decoration:underline}.dark #ketch-privacy-settings-link{color:rgb(var(--gray-400))}.dark #ketch-privacy-settings-link:hover{color:rgb(var(--gray-200))}#unified-changelog-layout{display:none}body:has(#unified-changelog-layout) #sidebar{display:none!important}body:has(#unified-changelog-layout) #content-area{flex:1;min-width:0;width:auto!important;max-width:none;margin-left:0!important;padding-left:0!important}"},{"filePath":"content/banner.css","content":"#banner{background-color:#6439F5;color:#FFFFFF}#banner a{color:#FFFFFF;text-decoration:underline}#banner a:hover{color:#E0E0E0}"}],"page":{"pagePath":"2026-03-30/webhooks-quickstart","slug":"/2026-03-30/webhooks-quickstart","pageMetadata":{"title":"Quickstart","icon":"rocket","description":"Set up a Quo webhook in five minutes.","href":"/2026-03-30/webhooks-quickstart"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Set up a Quo webhook in five minutes.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This guide takes you from zero to a verified, production-shaped webhook delivery in five minutes. Read `,_jsx(_components.a,{href:`/2026-03-30/webhooks-overview`,children:`Overview`}),` for the underlying delivery semantics, payload anatomy, and versioning policy.`]}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsx(_components.p,{children:`You’ll need:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A Quo API key with permission to manage webhooks.`}),`\n`,_jsxs(_components.li,{children:[`An HTTPS endpoint you control. For local development, use a tunnel such as `,_jsx(_components.code,{children:`ngrok`}),` or `,_jsx(_components.code,{children:`cloudflared`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`A runtime that gives you the `,_jsx(_components.strong,{children:`raw, unparsed request body`}),`. This is required for signature verification — see `,_jsx(_components.a,{href:`/2026-03-30/webhooks-signature-validation`,children:`Validate webhook signatures`}),` for framework-specific notes.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`You can send a real, signed test event before any code is written using `,_jsx(_components.code,{children:`POST /webhooks/:id/events/test`}),`. See step 4 below.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`1-create-the-webhook`,children:`1. Create the webhook`}),`\n`,_jsxs(_components.p,{children:[`Pin the subscription to the current API version with `,_jsx(_components.code,{children:`Quo-Api-Version`}),`. The version is recorded once when the webhook is created and used for every subsequent delivery.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.quo.com/webhooks`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Quo-Api-Version: 2026-03-30\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"https://example.com/webhooks/quo\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"events\": [\"message.received\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"label\": \"Quickstart webhook\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Save the `,_jsx(_components.code,{children:`key`}),` field from the response — that’s your `,_jsx(_components.code,{children:`whsec_…`}),` signing secret. Treat it like a credential: store it as an environment variable, never in source.`]}),`\n`,_jsx(Heading,{level:`2`,id:`2-receive-the-delivery`,children:`2. Receive the delivery`}),`\n`,_jsxs(_components.p,{children:[`Each delivery sets three headers and a JSON body. Verify the signature against the `,_jsx(_components.strong,{children:`raw bytes`}),` of the body, then parse.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`Purpose`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`webhook-id`})}),_jsx(_components.td,{children:`Stable delivery identifier. Use as your idempotency key.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`webhook-timestamp`})}),_jsx(_components.td,{children:`Unix seconds when Quo signed the request.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`webhook-signature`})}),_jsxs(_components.td,{children:[`Space-separated `,_jsx(_components.code,{children:`v1,\u003cbase64-signature>`}),` entries.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`3-verify-and-handle-the-event`,children:`3. Verify and handle the event`}),`\n`,_jsxs(_components.p,{children:[`The Svix SDK accepts Quo’s headers and `,_jsx(_components.code,{children:`whsec_…`}),` key format unchanged. Reject any delivery whose timestamp is more than five minutes off from your server clock to defeat replay.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Node`,numberOfLines:`27`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`27`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Webhook`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"svix\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` express`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"express\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` app`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` express`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`QUO_WEBHOOK_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ??`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`app`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`post`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"/webhooks/quo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` express`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`raw`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`req`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` deliveryId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` req`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`header`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"webhook-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"webhook-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` deliveryId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"webhook-timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` req`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`header`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"webhook-timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"webhook-signature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` req`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`header`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"webhook-signature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` wh`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Webhook`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`secret`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` event`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` wh`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`verify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`req`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`body`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`alreadyProcessed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`deliveryId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`status`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` markProcessed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`deliveryId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` handle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`event`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`status`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`24`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`24`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` svix.webhooks `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Webhook`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` flask `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Flask, request`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`app `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Flask(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`__name__`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`secret `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"QUO_WEBHOOK_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`@app.post`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/webhooks/quo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` handle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`():`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` payload `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` request.get_data() `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# raw bytes — do not call request.get_json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` delivery_id `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` request.headers[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"webhook-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"webhook-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: delivery_id,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"webhook-timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: request.headers[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"webhook-timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"webhook-signature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: request.headers[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"webhook-signature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` event `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Webhook(secret).verify(payload, headers)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` already_processed(delivery_id):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` mark_processed(delivery_id)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` process(event)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`Return `,_jsx(_components.code,{children:`200`}),` to acknowledge. Any non-`,_jsx(_components.code,{children:`2xx`}),` response triggers a retry.`]}),`\n`,_jsx(Heading,{level:`2`,id:`4-send-a-test-event`,children:`4. Send a test event`}),`\n`,_jsx(_components.p,{children:`Trigger a real, signed delivery to your endpoint without waiting for a real call or message. The response also includes the sample payload inline so you can confirm what your endpoint received.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.quo.com/webhooks/{id}/events/test`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Quo-Api-Version: 2026-03-30\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"eventType\": \"message.received\" }'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`If verification fails, the most common cause is a framework that parsed the JSON before your handler saw the bytes. See `,_jsx(_components.a,{href:`/2026-03-30/webhooks-signature-validation`,children:`Validate webhook signatures`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`5-inspect-deliveries`,children:`5. Inspect deliveries`}),`\n`,_jsx(_components.p,{children:`Every delivery is recorded. Use these endpoints to debug a missing or failing event:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`GET /webhooks/:id/events?resourceId=...`}),` — deliveries for one business resource.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`GET /webhooks/:id/events/:deliveryId`}),` — request body, all attempts, and response codes.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`POST /webhooks/:id/events/:deliveryId/retry`}),` — manually retry a failed delivery.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Each list item returns its delivery `,_jsx(_components.code,{children:`id`}),`, the payload `,_jsx(_components.code,{children:`id`}),` as `,_jsx(_components.code,{children:`eventId`}),`, and the primary resource ID as `,_jsx(_components.code,{children:`resourceId`}),`. Deliveries created before September 2, 2026 and test deliveries return `,_jsx(_components.code,{children:`null`}),` for the correlation fields. Use the delivery `,_jsx(_components.code,{children:`id`}),` from the list response for detail and retry requests. If you received the webhook, the same delivery ID is in the `,_jsx(_components.code,{children:`webhook-id`}),` header.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/2026-03-30/webhooks-overview`,children:`Overview`}),` — delivery semantics, idempotency, retries, ordering.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/2026-03-30/webhooks-event-payloads`,children:`Webhook event payloads`}),` — schemas and examples for every event type.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/2026-03-30/webhooks-signature-validation`,children:`Validate webhook signatures`}),` — manual HMAC, framework gotchas, test vector.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Quickstart","icon":"rocket","description":"Set up a Quo webhook in five minutes.","href":"/2026-03-30/webhooks-quickstart"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"1. Create the webhook","slug":"1-create-the-webhook","depth":2,"children":[]},{"title":"2. Receive the delivery","slug":"2-receive-the-delivery","depth":2,"children":[]},{"title":"3. Verify and handle the event","slug":"3-verify-and-handle-the-event","depth":2,"children":[]},{"title":"4. Send a test event","slug":"4-send-a-test-event","depth":2,"children":[]},{"title":"5. Inspect deliveries","slug":"5-inspect-deliveries","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/openphone/bfef5336a793a8fb/dreamdata-init.js","/docs/_mintlify/custom/openphone/985f183e60b2ee23/ketch-init.js","/docs/_mintlify/custom/openphone/c4f755c32fa06db1/changelog-layout.js"],"subdomain":"openphone","siteName":"Quo Docs","title":"Quickstart - Quo Docs","navMaps":{"firstHrefInVersion":{"v1":{"href":"/webhooks/legacy-signature-validation","matchLevel":2},"2026-03-30":{"href":"/2026-03-30/webhooks-quickstart","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-09-08T17:03:19.201Z","originalFileLocation":"2026-03-30/webhooks-quickstart.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Set up a Quo webhook in five minutes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Quo Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/openphone/mVlzOyowZeTm852U/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/openphone/mVlzOyowZeTm852U/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/openphone/mVlzOyowZeTm852U/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/openphone/mVlzOyowZeTm852U/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/openphone/mVlzOyowZeTm852U/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/openphone/mVlzOyowZeTm852U/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/openphone/mVlzOyowZeTm852U/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/openphone/mVlzOyowZeTm852U/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/openphone/mVlzOyowZeTm852U/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Quickstart - Quo Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Set up a Quo webhook in five minutes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Quo Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.quo.com/docs/2026-03-30/webhooks-quickstart\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://openphone.mintlify.site/docs/_mintlify/api/og/v2?division=Implementation\u0026amp;title=Quickstart\u0026amp;description=Set+up+a+Quo+webhook+in+five+minutes.\u0026amp;theme=d369e2e4d7fc21b961d940cc\u0026amp;signature=55815a79ef5fa7e6c4df891971c5da731817a2edf177044e6f55eb073a475d37\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Quickstart - Quo Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Set up a Quo webhook in five minutes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openphone.mintlify.site/docs/_mintlify/api/og/v2?division=Implementation\u0026amp;title=Quickstart\u0026amp;description=Set+up+a+Quo+webhook+in+five+minutes.\u0026amp;theme=d369e2e4d7fc21b961d940cc\u0026amp;signature=55815a79ef5fa7e6c4df891971c5da731817a2edf177044e6f55eb073a475d37\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/openphone/mVlzOyowZeTm852U/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Quo Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1A6EFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.quo.com/docs/2026-03-30/webhooks-quickstart\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/2026-03-30/webhooks-quickstart.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.quo.com/#organization\",\"name\":\"Quo Docs\",\"url\":\"https://www.quo.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/openphone/J5h7IWaRdhdZDPnt/logo/QuoMediaKit_Logo_Charcoal.svg?fit=max\u0026auto=format\u0026n=J5h7IWaRdhdZDPnt\u0026q=85\u0026s=abc86cec4827546e4471dbbce4cad3d1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.quo.com/docs#website\",\"name\":\"Quo Docs\",\"url\":\"https://www.quo.com/docs\",\"publisher\":{\"@id\":\"https://www.quo.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.quo.com/docs/2026-03-30/webhooks-quickstart#webpage\",\"url\":\"https://www.quo.com/docs/2026-03-30/webhooks-quickstart\",\"name\":\"Quickstart\",\"description\":\"Set up a Quo webhook in five minutes.\",\"dateModified\":\"2026-09-08T17:03:19.201Z\",\"isPartOf\":{\"@id\":\"https://www.quo.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.quo.com/docs/2026-03-30/webhooks-quickstart#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.quo.com/docs/2026-03-30/webhooks-quickstart#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhooks\",\"item\":\"https://www.quo.com/docs/2026-03-30/webhooks-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Implementation\",\"item\":\"https://www.quo.com/docs/2026-03-30/webhooks-overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Quickstart\",\"item\":\"https://www.quo.com/docs/2026-03-30/webhooks-quickstart\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.quo.com/docs/2026-03-30/webhooks-quickstart#article\",\"headline\":\"Quickstart\",\"name\":\"Quickstart\",\"description\":\"Set up a Quo webhook in five minutes.\",\"url\":\"https://www.quo.com/docs/2026-03-30/webhooks-quickstart\",\"mainEntityOfPage\":{\"@id\":\"https://www.quo.com/docs/2026-03-30/webhooks-quickstart#webpage\"},\"dateModified\":\"2026-09-08T17:03:19.201Z\",\"publisher\":{\"@id\":\"https://www.quo.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.quo.com/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/2026-03-30/webhooks-quickstart.md","siteName":"Quo Docs","nav":{"global":null,"tabs":[{"tab":"Guides","versions":[{"version":"v1","pages":[{"title":"v1","href":"/webhooks/legacy-signature-validation"}]},{"version":"2026-03-30","default":true,"tag":"Latest","groups":[{"group":"Getting started","pages":[{"title":"Introduction","icon":"hand-wave","href":"/2026-03-30/introduction"},{"title":"Make your first request","icon":"rocket","href":"/2026-03-30/quickstart"},{"title":"Authentication","icon":"key","href":"/2026-03-30/authentication"},{"title":"OpenAPI specification","icon":"file-code","url":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json","href":"/2026-03-30/openapi"},{"title":"Quo Experts","url":"https://www.quo.com/experts","icon":"compass","href":"/mdx/quo-experts"}]},{"group":"Essentials","pages":[{"title":"Versioning","icon":"calendar-check","href":"/2026-03-30/versioning"},{"title":"Making requests","icon":"arrow-right-arrow-left","href":"/2026-03-30/requests"},{"title":"Sorting and filtering","icon":"filter","href":"/2026-03-30/sorting-and-filtering"},{"title":"Errors","icon":"triangle-exclamation","href":"/2026-03-30/errors"},{"title":"Rate limits","icon":"bars-filter","href":"/2026-03-30/rate-limits"},{"title":"API pricing","icon":"circle-info","href":"/mdx/pricing-support/pricing-overview"}]},{"group":"Agents","pages":[{"group":"Quo MCP","expanded":false,"pages":[{"title":"Quo MCP","icon":"plug","href":"/mcp/overview"},{"title":"Connect to Quo MCP","icon":"link","href":"/mcp/connect"},{"title":"Supported tools","icon":"screwdriver-wrench","href":"/mcp/tools"},{"title":"Security best practices","icon":"shield-check","href":"/mcp/security"}]},{"group":"Best practices","expanded":false,"pages":[{"title":"Build with AI \u0026 agents","icon":"wand-magic-sparkles","href":"/2026-03-30/ai-agents"}]}]},{"group":"Webhooks","pages":[{"group":"Implementation","expanded":false,"pages":[{"title":"Overview","icon":"webhook","description":"Concepts, delivery semantics, and versioning for the Quo webhook API.","href":"/2026-03-30/webhooks-overview"},{"title":"Quickstart","icon":"rocket","href":"/2026-03-30/webhooks-quickstart"},{"title":"Webhook event payloads","icon":"list-tree","description":"Schemas, examples, and field semantics for every supported event type.","href":"/2026-03-30/webhooks-event-payloads"},{"title":"Validate webhook signatures","icon":"shield-check","href":"/2026-03-30/webhooks-signature-validation"},{"title":"Migrate from legacy webhooks","icon":"code-branch","href":"/2026-03-30/webhooks-migration-guide"}]},{"group":"Legacy webhooks","expanded":false,"pages":[{"title":"Validate legacy webhook signatures","sidebarTitle":"Legacy signatures","icon":"shield-check","href":"/webhooks/legacy-signature-validation"}]}]},{"group":"A2P Registration","pages":[{"title":"Get the A2P registration","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /a2p-registration","href":"/2026-03-30/a2p-registration/get-the-a2p-registration"},{"title":"Create the A2P registration","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /a2p-registration","href":"/2026-03-30/a2p-registration/create-the-a2p-registration"},{"title":"Update the A2P registration","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json patch /a2p-registration","href":"/2026-03-30/a2p-registration/update-the-a2p-registration"},{"title":"Submit the A2P registration","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /a2p-registration/submit","href":"/2026-03-30/a2p-registration/submit-the-a2p-registration"}]},{"group":"Calls","pages":[{"title":"List calls","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /calls","href":"/2026-03-30/calls/list-calls"},{"title":"Get a call by ID","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /calls/{callId}","href":"/2026-03-30/calls/get-a-call-by-id"},{"title":"List recordings for a call","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /calls/{callId}/recordings","href":"/2026-03-30/calls/list-recordings-for-a-call"},{"title":"List transcripts for a call","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /calls/{callId}/transcripts","href":"/2026-03-30/calls/list-transcripts-for-a-call"}]},{"group":"Contacts","pages":[{"title":"List contacts","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /contacts","href":"/2026-03-30/contacts/list-contacts"},{"title":"Create a contact","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /contacts","href":"/2026-03-30/contacts/create-a-contact"},{"title":"Get a contact by ID","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /contacts/{contactId}","href":"/2026-03-30/contacts/get-a-contact-by-id"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json delete /contacts/{contactId}","href":"/2026-03-30/contacts/delete-a-contact"},{"title":"Update a contact by ID","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json patch /contacts/{contactId}","href":"/2026-03-30/contacts/update-a-contact-by-id"}]},{"group":"Contact Notes","pages":[{"title":"List notes for a contact","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /contacts/{contactId}/notes","href":"/2026-03-30/contact-notes/list-notes-for-a-contact"},{"title":"Create a contact note","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /contacts/{contactId}/notes","href":"/2026-03-30/contact-notes/create-a-contact-note"},{"title":"Get a contact note by ID","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /contacts/{contactId}/notes/{noteId}","href":"/2026-03-30/contact-notes/get-a-contact-note-by-id"},{"title":"Delete a contact note","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json delete /contacts/{contactId}/notes/{noteId}","href":"/2026-03-30/contact-notes/delete-a-contact-note"},{"title":"Update a contact note","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json patch /contacts/{contactId}/notes/{noteId}","href":"/2026-03-30/contact-notes/update-a-contact-note"}]},{"group":"Contact Properties","pages":[{"title":"List contact properties","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /contacts/{contactId}/properties","href":"/2026-03-30/contact-properties/list-contact-properties"},{"title":"Create a contact property","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /contacts/{contactId}/properties","href":"/2026-03-30/contact-properties/create-a-contact-property"},{"title":"Get a contact property by ID","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /contacts/{contactId}/properties/{propertyId}","href":"/2026-03-30/contact-properties/get-a-contact-property-by-id"},{"title":"Delete a contact property","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json delete /contacts/{contactId}/properties/{propertyId}","href":"/2026-03-30/contact-properties/delete-a-contact-property"},{"title":"Update a contact property","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json patch /contacts/{contactId}/properties/{propertyId}","href":"/2026-03-30/contact-properties/update-a-contact-property"}]},{"group":"Contact Shares","pages":[{"title":"List contact shares","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /contacts/{contactId}/shares","href":"/2026-03-30/contact-shares/list-contact-shares"},{"title":"Update contact shares","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json patch /contacts/{contactId}/shares","href":"/2026-03-30/contact-shares/update-contact-shares"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /conversations","href":"/2026-03-30/conversations/list-conversations"},{"title":"Mark conversation as read","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /conversations/{conversationId}/mark-as-read","href":"/2026-03-30/conversations/mark-conversation-as-read"},{"title":"Mark conversation as done","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /conversations/{conversationId}/mark-as-done","href":"/2026-03-30/conversations/mark-conversation-as-done"},{"title":"Mark conversation as open","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /conversations/{conversationId}/mark-as-open","href":"/2026-03-30/conversations/mark-conversation-as-open"}]},{"group":"Messages","pages":[{"title":"List messages","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /messages","href":"/2026-03-30/messages/list-messages"},{"title":"Send a message","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /messages","href":"/2026-03-30/messages/send-a-message"},{"title":"Get a message by ID","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /messages/{messageId}","href":"/2026-03-30/messages/get-a-message-by-id"},{"title":"Retry a failed message","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /messages/{messageId}/retry","href":"/2026-03-30/messages/retry-a-failed-message"}]},{"group":"Organization","pages":[{"title":"Get the organization","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /organization","href":"/2026-03-30/organization/get-the-organization"}]},{"group":"Phone Numbers","pages":[{"title":"List phone numbers","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /phone-numbers","href":"/2026-03-30/phone-numbers/list-phone-numbers"},{"title":"Get a phone number by ID","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /phone-numbers/{phoneNumberId}","href":"/2026-03-30/phone-numbers/get-a-phone-number-by-id"},{"title":"Update a phone number","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json patch /phone-numbers/{phoneNumberId}","href":"/2026-03-30/phone-numbers/update-a-phone-number"},{"title":"Get available phone numbers","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /phone-numbers/available","href":"/2026-03-30/phone-numbers/get-available-phone-numbers"},{"title":"Get settings for phone number","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /phone-numbers/{phoneNumberId}/settings","href":"/2026-03-30/phone-numbers/get-settings-for-phone-number"},{"title":"Update phone number settings","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json patch /phone-numbers/{phoneNumberId}/settings","href":"/2026-03-30/phone-numbers/update-phone-number-settings"},{"title":"List the members assigned to a phone number","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /phone-numbers/{phoneNumberId}/users","href":"/2026-03-30/phone-numbers/list-the-members-assigned-to-a-phone-number"}]},{"group":"Tasks","pages":[{"title":"List tasks","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /tasks","href":"/2026-03-30/tasks/list-tasks"},{"title":"Create task","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /tasks","href":"/2026-03-30/tasks/create-task"},{"title":"Get a task by task ID","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /tasks/{taskId}","href":"/2026-03-30/tasks/get-a-task-by-task-id"},{"title":"Delete task","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json delete /tasks/{taskId}","href":"/2026-03-30/tasks/delete-task"},{"title":"Update task","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json patch /tasks/{taskId}","href":"/2026-03-30/tasks/update-task"},{"title":"Update the status for a task","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json patch /tasks/{taskId}/status","href":"/2026-03-30/tasks/update-the-status-for-a-task"},{"title":"Link a task to a conversation","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /tasks/{taskId}/conversations","href":"/2026-03-30/tasks/link-a-task-to-a-conversation"},{"title":"Unlink a task from a conversation","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json delete /tasks/{taskId}/conversations","href":"/2026-03-30/tasks/unlink-a-task-from-a-conversation"},{"title":"Assign a task to a user","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /tasks/{taskId}/users","href":"/2026-03-30/tasks/assign-a-task-to-a-user"},{"title":"Unassign a task to a user","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json delete /tasks/{taskId}/users","href":"/2026-03-30/tasks/unassign-a-task-to-a-user"},{"title":"Delete the due date of a task","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json delete /tasks/{taskId}/due-date","href":"/2026-03-30/tasks/delete-the-due-date-of-a-task"},{"title":"Update the due date of a task","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json patch /tasks/{taskId}/due-date","href":"/2026-03-30/tasks/update-the-due-date-of-a-task"}]},{"group":"Users","pages":[{"title":"List users","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /users","href":"/2026-03-30/users/list-users"},{"title":"Get a user by ID","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /users/{userId}","href":"/2026-03-30/users/get-a-user-by-id"}]},{"group":"User Phone Numbers","pages":[{"title":"List a user's phone numbers","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /users/{userId}/phone-numbers","href":"/2026-03-30/user-phone-numbers/list-a-users-phone-numbers"}]},{"group":"Webhooks","pages":[{"title":"Lists all webhooks","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /webhooks","href":"/2026-03-30/webhooks/lists-all-webhooks"},{"title":"Create a new webhook","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /webhooks","href":"/2026-03-30/webhooks/create-a-new-webhook"},{"title":"Get a webhook by ID","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /webhooks/{webhookId}","href":"/2026-03-30/webhooks/get-a-webhook-by-id"},{"title":"Delete a webhook by ID","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json delete /webhooks/{webhookId}","href":"/2026-03-30/webhooks/delete-a-webhook-by-id"},{"title":"Update a webhook by ID","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json patch /webhooks/{webhookId}","href":"/2026-03-30/webhooks/update-a-webhook-by-id"},{"title":"Rotate webhook signing secret","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /webhooks/{webhookId}/rotate","href":"/2026-03-30/webhooks/rotate-webhook-signing-secret"}]},{"group":"Webhook Events","pages":[{"title":"List deliveries for a webhook","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /webhooks/{webhookId}/events","href":"/2026-03-30/webhook-events/list-deliveries-for-a-webhook"},{"title":"Get webhook delivery details","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json get /webhooks/{webhookId}/events/{deliveryId}","href":"/2026-03-30/webhook-events/get-webhook-delivery-details"},{"title":"Retry a webhook delivery","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /webhooks/{webhookId}/events/{deliveryId}/retry","href":"/2026-03-30/webhook-events/retry-a-webhook-delivery"},{"title":"Send a test event to a webhook","deprecated":null,"version":null,"openapi":"https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /webhooks/{webhookId}/events/test","href":"/2026-03-30/webhook-events/send-a-test-event-to-a-webhook"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Quickstart - Quo Docs","deploymentId":"dpl_J2QdBVuN65x4CCtpqPb371YPt4xi","buildId":"dpl_J2QdBVuN65x4CCtpqPb371YPt4xi","dynamics":[],"chunks":[]}