The secret is only returned in full in this response. Store it securely — you need it to verify webhook signatures. Subsequent requests show only a masked version.
Errors
Status
Description
422
Validation failed — invalid URL, unknown resource, or unsupported events
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Exo Docs","colors":{"primary":"#FF4A00","light":"#FF8F5C","dark":"#C73700"},"logo":{"light":"https://mintcdn.com/codingollc/TPK4oR6RX749-hGL/logo/light.svg?fit=max\u0026auto=format\u0026n=TPK4oR6RX749-hGL\u0026q=85\u0026s=90ee78ab2bf4a2b07fc668cce236ae8f","dark":"https://mintcdn.com/codingollc/TPK4oR6RX749-hGL/logo/dark.svg?fit=max\u0026auto=format\u0026n=TPK4oR6RX749-hGL\u0026q=85\u0026s=3910ed5c7064a6f457304f1124f6d76a","href":"https://exowizz.com"},"favicon":"https://mintcdn.com/codingollc/TPK4oR6RX749-hGL/favicon.svg?fit=max\u0026auto=format\u0026n=TPK4oR6RX749-hGL\u0026q=85\u0026s=ce816ea64eefddaaf00582a541f1f960","navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://cloud.exowizz.com/dashboard"}},"footer":{"socials":{"x":"https://x.com/exowizz","github":"https://github.com/exowizz","youtube":"https://youtube.com/exowizz"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Home Page","icon":"house","href":"https://exowizz.com"},{"anchor":"Blog","icon":"newspaper","href":"https://exowizz.com/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"codingollc","hasAudioNarration":false,"actualSubdomain":"codingollc","customDomains":["docs.exowizz.com"],"gitSource":{"type":"github","owner":"exowizz","repo":"allspark","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae94a87f74cc9f20f4b078e:success","clientVersion":"0.0.4416","searchFilterCounts":[{"language":"default","tag":"API reference","count":15},{"language":"default","tag":"Guides","count":15},{"language":"default","tag":"Resources","count":10},{"language":"default","tag":"Webhooks","count":9},{"language":"default","tag":"Getting started","count":3},{"language":"default","tag":"Advanced","count":3},{"language":"default","tag":"Exo Cloud","count":2},{"language":"default","tag":"Reference","count":2},{"language":"default","tag":"Overview","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--exo-light: #ff8f5c;--exo-dark: #c73700;--exo-accent: #ff7029}#navbar a:focus-visible,#sidebar-content a:focus-visible,#topbar-cta-button:focus-visible,.search-bar-entry:focus-visible,.search-bar-entry-mobile:focus-visible{outline:2px solid var(--exo-light);outline-offset:2px}[data-badge][data-color=\"orange\"],[data-badge][data-color=\"amber\"]{background-color:color-mix(in srgb, var(--exo-dark) 18%, transparent);color:var(--exo-dark);border-color:color-mix(in srgb, var(--exo-dark) 28%, transparent)}[data-badge][data-color=\"mint\"]{background-color:color-mix(in srgb, var(--exo-accent) 22%, transparent);color:var(--exo-dark);border-color:color-mix(in srgb, var(--exo-accent) 35%, transparent)}"}]}
{"page":{"pagePath":"api-reference/webhooks/create","slug":"/api-reference/webhooks/create","pageMetadata":{"title":"Create a subscription","api":"POST /exo-api/webhooks","description":"Creates a new webhook subscription.","href":"/api-reference/webhooks/create"},"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: \"Creates a new webhook subscription.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,ParamField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Creates a webhook subscription that delivers events to the specified URL. The full secret is only returned in this response.`}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsx(ParamField,{body:`url`,type:`string`,required:true,id:`param-url`,children:_jsx(_components.p,{children:`The URL to receive webhook POST requests. Must be a valid URL (max 2048 characters).`})}),`\n`,_jsx(ParamField,{body:`resource`,type:`string`,required:true,id:`param-resource`,children:_jsx(_components.p,{children:`The resource name to subscribe to. Must match a registered resource.`})}),`\n`,_jsx(ParamField,{body:`events`,type:`array`,required:true,id:`param-events`,children:_jsxs(_components.p,{children:[`Array of trigger events to listen for. Must be a subset of the resource’s supported triggers: `,_jsx(_components.code,{children:`on_create`}),`, `,_jsx(_components.code,{children:`on_update`}),`, `,_jsx(_components.code,{children:`on_delete`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,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:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_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: Bearer YOUR_TOKEN\"`}),_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:` -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/webhook-receiver\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resource\": \"order\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"events\": [\"on_create\", \"on_update\"]`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://your-app.com/exo-api/webhooks`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns the created subscription with a `,_jsx(_components.code,{children:`201 Created`}),` status. The `,_jsx(_components.code,{children:`secret`}),` field contains the full webhook secret.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example response:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"user_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/webhook-receiver\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resource\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"events\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"on_create\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"on_update\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"secret\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a7b8c9d0e1f2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03-28T14:30:00.000000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03-28T14:30:00.000000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`secret`}),` is only returned in full in this response. Store it securely — you need it to `,_jsx(_components.a,{href:`/webhooks/security`,children:`verify webhook signatures`}),`. Subsequent requests show only a masked version.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`Validation failed — invalid URL, unknown resource, or unsupported events`})]})})]})]})}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":"Create a subscription","api":"POST /exo-api/webhooks","description":"Creates a new webhook subscription.","href":"/api-reference/webhooks/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request body","slug":"request-body","depth":2,"children":[]},{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Create a subscription","path":"/exo-api/webhooks","method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"url":[{"type":"string","description":"The URL to receive webhook POST requests. Must be a valid URL (max 2048 characters).","required":true}],"resource":[{"type":"string","description":"The resource name to subscribe to. Must match a registered resource.","required":true}],"events":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of trigger events to listen for. Must be a subset of the resource’s supported triggers: `on_create` , `on_update` , `on_delete` .","required":true}]}}],"examples":{"example":{"value":{"url":"\u003cstring>","resource":"\u003cstring>","events":[{}]}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"codingollc","siteName":"Exo Docs","title":"Create a subscription - Exo Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-28T14:29:04.368Z","originalFileLocation":"api-reference/webhooks/create.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=\"Creates a new webhook subscription.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Exo Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/codingollc/Al9l2EXXi0BmYGTX/_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=\"/mintlify-assets/_mintlify/favicons/codingollc/Al9l2EXXi0BmYGTX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/codingollc/Al9l2EXXi0BmYGTX/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/codingollc/Al9l2EXXi0BmYGTX/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/codingollc/Al9l2EXXi0BmYGTX/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/codingollc/Al9l2EXXi0BmYGTX/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/codingollc/Al9l2EXXi0BmYGTX/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/codingollc/Al9l2EXXi0BmYGTX/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/codingollc/Al9l2EXXi0BmYGTX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a subscription - Exo Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new webhook subscription.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Exo Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.exowizz.com/api-reference/webhooks/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://codingollc.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Create+a+subscription\u0026amp;description=Creates+a+new+webhook+subscription.\u0026amp;theme=6b5a84476cfe06aab0d5ddcc\u0026amp;signature=3b15f5e8ad205fa5ffde5b9ee3cff090a5772ff9677a1220626f9e60a3c9201c\">\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=\"Create a subscription - Exo Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new webhook subscription.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://codingollc.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Create+a+subscription\u0026amp;description=Creates+a+new+webhook+subscription.\u0026amp;theme=6b5a84476cfe06aab0d5ddcc\u0026amp;signature=3b15f5e8ad205fa5ffde5b9ee3cff090a5772ff9677a1220626f9e60a3c9201c\">\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=\"/mintlify-assets/_mintlify/favicons/codingollc/Al9l2EXXi0BmYGTX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Exo Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF4A00\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.exowizz.com/api-reference/webhooks/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/webhooks/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.exowizz.com/#organization\",\"name\":\"Exo Docs\",\"url\":\"https://docs.exowizz.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/codingollc/TPK4oR6RX749-hGL/logo/light.svg?fit=max\u0026auto=format\u0026n=TPK4oR6RX749-hGL\u0026q=85\u0026s=90ee78ab2bf4a2b07fc668cce236ae8f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.exowizz.com#website\",\"name\":\"Exo Docs\",\"url\":\"https://docs.exowizz.com\",\"publisher\":{\"@id\":\"https://docs.exowizz.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.exowizz.com/api-reference/webhooks/create#webpage\",\"url\":\"https://docs.exowizz.com/api-reference/webhooks/create\",\"name\":\"Create a subscription\",\"description\":\"Creates a new webhook subscription.\",\"dateModified\":\"2026-03-28T14:29:04.368Z\",\"isPartOf\":{\"@id\":\"https://docs.exowizz.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.exowizz.com/api-reference/webhooks/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.exowizz.com/api-reference/webhooks/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhooks\",\"item\":\"https://docs.exowizz.com/api-reference/webhooks/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a subscription\",\"item\":\"https://docs.exowizz.com/api-reference/webhooks/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.exowizz.com/api-reference/webhooks/create#apireference\",\"headline\":\"Create a subscription\",\"name\":\"Create a subscription\",\"description\":\"Creates a new webhook subscription.\",\"url\":\"https://docs.exowizz.com/api-reference/webhooks/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.exowizz.com/api-reference/webhooks/create#webpage\"},\"dateModified\":\"2026-03-28T14:29:04.368Z\",\"publisher\":{\"@id\":\"https://docs.exowizz.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.exowizz.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Exo Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Exo Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/webhooks/create.md","siteName":"Exo Docs","nav":{"global":{"anchors":[{"anchor":"Home Page","icon":"house","href":"https://exowizz.com"},{"anchor":"Blog","icon":"newspaper","href":"https://exowizz.com/blog"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Resources","pages":[{"title":"Get current user","api":"GET /exo-api/whoami","href":"/api-reference/resources/whoami"},{"title":"List resources","api":"GET /exo-api/resources","href":"/api-reference/resources/list"},{"title":"List records","api":"GET /exo-api/resources/{name}","href":"/api-reference/resources/show"},{"title":"Get a record","api":"GET /exo-api/resources/{name}/{id}","href":"/api-reference/resources/show-instance"},{"title":"Create a record","api":"POST /exo-api/resources/{name}","href":"/api-reference/resources/create"},{"title":"Update a record","api":"PUT /exo-api/resources/{name}/{id}","href":"/api-reference/resources/update"},{"title":"Delete a record","api":"DELETE /exo-api/resources/{name}/{id}","href":"/api-reference/resources/delete"}]},{"group":"Webhooks","pages":[{"title":"List subscriptions","api":"GET /exo-api/webhooks","description":"Returns all webhook subscriptions for the authenticated user.","href":"/api-reference/webhooks/list"},{"title":"Create a subscription","api":"POST /exo-api/webhooks","href":"/api-reference/webhooks/create"},{"title":"Get a subscription","api":"GET /exo-api/webhooks/{id}","description":"Returns a single webhook subscription.","href":"/api-reference/webhooks/show"},{"title":"Update a subscription","api":"PUT /exo-api/webhooks/{id}","href":"/api-reference/webhooks/update"},{"title":"Delete a subscription","api":"DELETE /exo-api/webhooks/{id}","href":"/api-reference/webhooks/delete"},{"title":"Retry a failed delivery","api":"POST /exo-api/webhook-deliveries/{delivery}/retry","href":"/api-reference/webhooks/retry"},{"title":"Webhook payload","href":"/api-reference/webhooks/payload"}]}]}]},"basePath":"","title":"Create a subscription - Exo Docs","deploymentId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","buildId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BjA2hsCJ.js","snippetPresets-C-jpv5v8.js","utils--9e24gKv.js","style-to-object-BY3JEAdk.js","utils-CL8e03UA.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-O60MhfkU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C2_HxuTC.js","_Uint8Array-CSzKbEgF.js","isObject-FP1Yky1u.js","ApiExamples-DrqwMm0N.js","usePlaygroundInputsStore-HwhVROcI.js","shallow-CE0cbB33.js","isEqual-XgMGHHxA.js","CodeSnippets-DeoWIzOC.js","CodeSnippet-nteBoAUV.js","use-playground-group-access-YOcO7c2y.js","Page-B_BHXdim.js","api-description-markdown-CQA9NkQd.js","DynamicMarkdown-DpB7I7uN.js","SectionHeading-CW6J1gzG.js","MethodPill-CaKMlCid.js","getPastedJson-Dkd8F-mU.js","Check2Icon-DLlJR2en.js","axios-CsQoIw0U.js"]}