Subscribes an HTTPS URL to one event type. From then on, every matching event is POSTed to that URL as a signed JSON envelope (see Webhooks). This is the endpoint Zapier, Make, n8n and similar tools call when a user turns on an automation; remove the subscription with Delete Webhook Subscription when it is turned off.The key needs the read scope of the data the event carries: attendees:read for attendee.registered, applications:read for form_response.created and form_response.updated. A subscription stops delivering if its key is revoked.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Gomry API","colors":{"primary":"#000000","light":"#FFFFFF","dark":"#FFFFFF"},"logo":{"light":"https://mintcdn.com/gomry/jDJp3Wqzn5wDGgQC/images/logo-light.png?fit=max\u0026auto=format\u0026n=jDJp3Wqzn5wDGgQC\u0026q=85\u0026s=f219d76acf24de2d111ed934cfcb6606","dark":"https://mintcdn.com/gomry/jDJp3Wqzn5wDGgQC/images/logo-dark.png?fit=max\u0026auto=format\u0026n=jDJp3Wqzn5wDGgQC\u0026q=85\u0026s=72b9aee24c65cf76a8c0f17f88337855"},"favicon":"https://mintcdn.com/gomry/jDJp3Wqzn5wDGgQC/favicon.ico?fit=max\u0026auto=format\u0026n=jDJp3Wqzn5wDGgQC\u0026q=85\u0026s=a81575b3950229a1b14b4260130ce0bf","api":{"mdx":{"auth":{"method":"key","name":"X-API-KEY"},"server":"https://www.gomry.com/api/v1"}},"navbar":{"links":[{"href":"https://www.gomry.com","label":"Dashboard"}]},"footer":{"socials":{"website":"https://gomry.com","linkedin":"https://www.linkedin.com/company/gomry"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gomry","hasAudioNarration":false,"actualSubdomain":"gomry","customDomains":["docs.gomry.com"],"gitSource":{"type":"github","owner":"gomryhq","repo":"gomry","deployBranch":"master","contentDirectory":"docs/api-reference","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af244c4aca47732df184a7c","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Documentation","count":93},{"language":"default","tag":"Platform API","count":65},{"language":"default","tag":"Commerce API","count":16},{"language":"default","tag":"Retail Vendor API","count":12},{"language":"default","tag":"Getting Started","count":8},{"language":"default","tag":"Checkout Sessions","count":7},{"language":"default","tag":"Contacts","count":6},{"language":"default","tag":"Webhooks","count":6},{"language":"default","tag":"Attendees","count":5},{"language":"default","tag":"Events","count":5}]},"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":"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":"llms-txt-v2","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/webhooks/create-webhook","slug":"/api-reference/webhooks/create-webhook","pageMetadata":{"title":"Create Webhook Subscription","api":"POST /webhooks","description":"Subscribe a URL to one event type (REST hook)","href":"/api-reference/webhooks/create-webhook"},"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: \"Subscribe a URL to one event type (REST hook)\"\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`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField,Table}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`create-webhook-subscription`,children:`Create Webhook Subscription`}),`\n`,_jsxs(_components.p,{children:[`Subscribes an HTTPS URL to one event type. From then on, every matching event is POSTed to that URL as a signed JSON envelope (see `,_jsx(_components.a,{href:`/webhooks#webhook-subscriptions`,children:`Webhooks`}),`). This is the endpoint Zapier, Make, n8n and similar tools call when a user turns on an automation; remove the subscription with `,_jsx(_components.a,{href:`/api-reference/webhooks/delete-webhook`,children:`Delete Webhook Subscription`}),` when it is turned off.`]}),`\n`,_jsxs(_components.p,{children:[`The key needs the `,_jsx(_components.strong,{children:`read`}),` scope of the data the event carries: `,_jsx(_components.code,{children:`attendees:read`}),` for `,_jsx(_components.code,{children:`attendee.registered`}),`, `,_jsx(_components.code,{children:`applications:read`}),` for `,_jsx(_components.code,{children:`form_response.created`}),` and `,_jsx(_components.code,{children:`form_response.updated`}),`. A subscription stops delivering if its key is revoked.`]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`url`,type:`string`,required:true,id:`param-url`,children:_jsxs(_components.p,{children:[`Where to deliver events. Must be a publicly reachable `,_jsx(_components.code,{children:`https://`}),` URL. Private and internal addresses are refused.`]})}),`\n`,_jsx(ParamField,{body:`event`,type:`string`,required:true,id:`param-event`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`attendee.registered`}),`, `,_jsx(_components.code,{children:`form_response.created`}),`, `,_jsx(_components.code,{children:`form_response.updated`}),`.`]})}),`\n`,_jsx(ParamField,{body:`event_id`,type:`string`,id:`param-event-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`attendee.registered`}),` only. Deliver registrations for this event alone. Omit for every event in the organization.`]})}),`\n`,_jsx(ParamField,{body:`form_id`,type:`string`,id:`param-form-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`form_response.created`}),` and `,_jsx(_components.code,{children:`form_response.updated`}),` only. Deliver responses to this form alone. Omit for every form.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns `,_jsx(_components.code,{children:`201 Created`}),`.`]}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`Subscription object`,children:[_jsxs(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:[`Subscription identifier (`,_jsx(_components.code,{children:`whk_...`}),`). Use it to unsubscribe.`]}),_jsx(ResponseField,{name:`url`,type:`string`,id:`param-url-1`,children:`The delivery URL`}),_jsx(ResponseField,{name:`event`,type:`string`,id:`param-event-1`,children:`The event type`}),_jsx(ResponseField,{name:`event_id`,type:`string | null`,id:`param-event-id-1`,children:`Event filter`}),_jsx(ResponseField,{name:`form_id`,type:`string | null`,id:`param-form-id-1`,children:`Form filter`}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsx(_components.code,{children:`active`})}),_jsxs(ResponseField,{name:`source`,type:`string`,id:`param-source`,children:[_jsx(_components.code,{children:`zapier`}),` or `,_jsx(_components.code,{children:`api`})]}),_jsx(ResponseField,{name:`last_delivered_at`,type:`string | null`,id:`param-last-delivered-at`,children:`Last successful delivery`}),_jsx(ResponseField,{name:`last_failed_at`,type:`string | null`,id:`param-last-failed-at`,children:`Last failed delivery`}),_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:`ISO 8601 creation timestamp`}),_jsx(ResponseField,{name:`secret`,type:`string`,id:`param-secret`,children:_jsxs(_components.p,{children:[`Signing secret (`,_jsx(_components.code,{children:`whsec_...`}),`) for verifying the `,_jsx(_components.code,{children:`Gomry-Signature`}),` header. Returned only in this response: store it now.`]})})]})}),`\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:_jsx(_components.code,{children:`error`})}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`validation_error`})}),_jsx(_components.td,{children:`Missing or invalid field, a URL that is not public HTTPS, or a filter the event type does not support`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_scope`})}),_jsxs(_components.td,{children:[`The key lacks the read scope the event needs (`,_jsx(_components.code,{children:`required_scope`}),` names it)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`not_found`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`event_id`}),` or `,_jsx(_components.code,{children:`form_id`}),` is not in your organization`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`subscription_limit_reached`})}),_jsx(_components.td,{children:`The organization already has 100 active subscriptions`})]})]})]})]})}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 Webhook Subscription","api":"POST /webhooks","description":"Subscribe a URL to one event type (REST hook)","href":"/api-reference/webhooks/create-webhook"}}},"mdxSourceWithNoJs":{"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,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`create-webhook-subscription`,children:`Create Webhook Subscription`}),`\n`,_jsxs(_components.p,{children:[`Subscribes an HTTPS URL to one event type. From then on, every matching event is POSTed to that URL as a signed JSON envelope (see `,_jsx(_components.a,{href:`/webhooks#webhook-subscriptions`,children:`Webhooks`}),`). This is the endpoint Zapier, Make, n8n and similar tools call when a user turns on an automation; remove the subscription with `,_jsx(_components.a,{href:`/api-reference/webhooks/delete-webhook`,children:`Delete Webhook Subscription`}),` when it is turned off.`]}),`\n`,_jsxs(_components.p,{children:[`The key needs the `,_jsx(_components.strong,{children:`read`}),` scope of the data the event carries: `,_jsx(_components.code,{children:`attendees:read`}),` for `,_jsx(_components.code,{children:`attendee.registered`}),`, `,_jsx(_components.code,{children:`applications:read`}),` for `,_jsx(_components.code,{children:`form_response.created`}),` and `,_jsx(_components.code,{children:`form_response.updated`}),`. A subscription stops delivering if its key is revoked.`]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`url`,type:`string`,required:true,id:`param-url`,children:_jsxs(_components.p,{children:[`Where to deliver events. Must be a publicly reachable `,_jsx(_components.code,{children:`https://`}),` URL. Private and internal addresses are refused.`]})}),`\n`,_jsx(ParamField,{body:`event`,type:`string`,required:true,id:`param-event`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`attendee.registered`}),`, `,_jsx(_components.code,{children:`form_response.created`}),`, `,_jsx(_components.code,{children:`form_response.updated`}),`.`]})}),`\n`,_jsx(ParamField,{body:`event_id`,type:`string`,id:`param-event-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`attendee.registered`}),` only. Deliver registrations for this event alone. Omit for every event in the organization.`]})}),`\n`,_jsx(ParamField,{body:`form_id`,type:`string`,id:`param-form-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`form_response.created`}),` and `,_jsx(_components.code,{children:`form_response.updated`}),` only. Deliver responses to this form alone. Omit for every form.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns `,_jsx(_components.code,{children:`201 Created`}),`.`]}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`Subscription object`,children:[_jsxs(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:[`Subscription identifier (`,_jsx(_components.code,{children:`whk_...`}),`). Use it to unsubscribe.`]}),_jsx(ResponseField,{name:`url`,type:`string`,id:`param-url-1`,children:`The delivery URL`}),_jsx(ResponseField,{name:`event`,type:`string`,id:`param-event-1`,children:`The event type`}),_jsx(ResponseField,{name:`event_id`,type:`string | null`,id:`param-event-id-1`,children:`Event filter`}),_jsx(ResponseField,{name:`form_id`,type:`string | null`,id:`param-form-id-1`,children:`Form filter`}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsx(_components.code,{children:`active`})}),_jsxs(ResponseField,{name:`source`,type:`string`,id:`param-source`,children:[_jsx(_components.code,{children:`zapier`}),` or `,_jsx(_components.code,{children:`api`})]}),_jsx(ResponseField,{name:`last_delivered_at`,type:`string | null`,id:`param-last-delivered-at`,children:`Last successful delivery`}),_jsx(ResponseField,{name:`last_failed_at`,type:`string | null`,id:`param-last-failed-at`,children:`Last failed delivery`}),_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:`ISO 8601 creation timestamp`}),_jsx(ResponseField,{name:`secret`,type:`string`,id:`param-secret`,children:_jsxs(_components.p,{children:[`Signing secret (`,_jsx(_components.code,{children:`whsec_...`}),`) for verifying the `,_jsx(_components.code,{children:`Gomry-Signature`}),` header. Returned only in this response: store it now.`]})})]})}),`\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:_jsx(_components.code,{children:`error`})}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`validation_error`})}),_jsx(_components.td,{children:`Missing or invalid field, a URL that is not public HTTPS, or a filter the event type does not support`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_scope`})}),_jsxs(_components.td,{children:[`The key lacks the read scope the event needs (`,_jsx(_components.code,{children:`required_scope`}),` names it)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`not_found`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`event_id`}),` or `,_jsx(_components.code,{children:`form_id`}),` is not in your organization`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`subscription_limit_reached`})}),_jsx(_components.td,{children:`The organization already has 100 active subscriptions`})]})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`7`,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:`7`,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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://www.gomry.com/api/v1/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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-KEY: 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:` -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/gomry\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"event\": \"attendee.registered\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`201`,numberOfLines:`15`,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:`15`,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:` \"data\"`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"whk_3f9a1c2b4d5e6f708192a3b4\"`}),_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/webhooks/gomry\"`}),_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:` \"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"attendee.registered\"`}),_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:` \"event_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"form_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_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:` \"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"api\"`}),_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:` \"last_delivered_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"last_failed_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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-10-15T10:00:00.000Z\"`}),_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:`\"whsec_Q2hhbmdlTWVJbkRvY3NFeGFtcGxlT25seUFiY2RlZg\"`})]}),`\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`]})})})})]})}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 Webhook Subscription","api":"POST /webhooks","description":"Subscribe a URL to one event type (REST hook)","href":"/api-reference/webhooks/create-webhook"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Create Webhook Subscription","slug":"create-webhook-subscription","depth":1,"children":[]},{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://www.gomry.com/api/v1/webhooks\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"X-API-KEY: your_api_key\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"url\": \"https://example.com/webhooks/gomry\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"event\": \"attendee.registered\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"201","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"15\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"whk_3f9a1c2b4d5e6f708192a3b4\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://example.com/webhooks/gomry\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"event\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"attendee.registered\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"event_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"form_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"active\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"api\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"last_delivered_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"last_failed_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-10-15T10:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"secret\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"whsec_Q2hhbmdlTWVJbkRvY3NFeGFtcGxlT25seUFiY2RlZg\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Create Webhook Subscription","path":"/webhooks","servers":[{"url":"https://www.gomry.com/api/v1"}],"method":"post","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"X-API-KEY":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"url":[{"type":"string","description":"Where to deliver events. Must be a publicly reachable `https://` URL. Private and internal addresses are refused.","required":true}],"event":[{"type":"string","description":"One of `attendee.registered` , `form_response.created` , `form_response.updated` .","required":true}],"event_id":[{"type":"string","description":"`attendee.registered` only. Deliver registrations for this event alone. Omit for every event in the organization."}],"form_id":[{"type":"string","description":"`form_response.created` and `form_response.updated` only. Deliver responses to this form alone. Omit for every form."}]}}],"examples":{"example":{"value":{"url":"\u003cstring>","event":"\u003cstring>","event_id":"\u003cstring>","form_id":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"data":[{"type":"object","properties":{"id":[{"type":"string","description":"Subscription identifier ( `whk_...` ). Use it to unsubscribe."}],"url":[{"type":"string","description":"The delivery URL"}],"event":[{"type":"string","description":"The event type"}],"event_id":[{"type":"object","properties":{},"description":"Event filter"}],"form_id":[{"type":"object","properties":{},"description":"Form filter"}],"status":[{"type":"string","description":"`active`"}],"source":[{"type":"string","description":"`zapier` or `api`"}],"last_delivered_at":[{"type":"object","properties":{},"description":"Last successful delivery"}],"last_failed_at":[{"type":"object","properties":{},"description":"Last failed delivery"}],"created_at":[{"type":"string","description":"ISO 8601 creation timestamp"}],"secret":[{"type":"string","description":"Signing secret ( `whsec_...` ) for verifying the `Gomry-Signature` header. Returned only in this response: store it now."}]}}]}}],"examples":{"example":{"value":{"data":{"id":"\u003cstring>","url":"\u003cstring>","event":"\u003cstring>","event_id":{},"form_id":{},"status":"\u003cstring>","source":"\u003cstring>","last_delivered_at":{},"last_failed_at":{},"created_at":"\u003cstring>","secret":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"gomry","siteName":"Gomry API","title":"Create Webhook Subscription - Gomry API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T15:51:11.304Z","originalFileLocation":"api-reference/webhooks/create-webhook.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=\"Subscribe a URL to one event type (REST hook)\">\u003cmeta data-mint-head name=\"application-name\" content=\"Gomry API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gomry/bqp84X4_mSd9jp4X/_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/gomry/bqp84X4_mSd9jp4X/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gomry/bqp84X4_mSd9jp4X/_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/gomry/bqp84X4_mSd9jp4X/_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/gomry/bqp84X4_mSd9jp4X/_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/gomry/bqp84X4_mSd9jp4X/_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/gomry/bqp84X4_mSd9jp4X/_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/gomry/bqp84X4_mSd9jp4X/_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/gomry/bqp84X4_mSd9jp4X/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Webhook Subscription - Gomry API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Subscribe a URL to one event type (REST hook)\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Gomry API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gomry.com/api-reference/webhooks/create-webhook\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gomry.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Create+Webhook+Subscription\u0026amp;description=Subscribe+a+URL+to+one+event+type+%28REST+hook%29\u0026amp;theme=ca1b6992667328742845d162\u0026amp;signature=4ca788b8be82c3cbc56f2b281f9cbdd2e7cc719c4168a8f849d8a675ad8d30e6\">\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 Webhook Subscription - Gomry API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Subscribe a URL to one event type (REST hook)\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gomry.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Create+Webhook+Subscription\u0026amp;description=Subscribe+a+URL+to+one+event+type+%28REST+hook%29\u0026amp;theme=ca1b6992667328742845d162\u0026amp;signature=4ca788b8be82c3cbc56f2b281f9cbdd2e7cc719c4168a8f849d8a675ad8d30e6\">\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/gomry/bqp84X4_mSd9jp4X/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Gomry API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gomry.com/api-reference/webhooks/create-webhook\">\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-webhook.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gomry.com/#organization\",\"name\":\"Gomry API\",\"url\":\"https://docs.gomry.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gomry/jDJp3Wqzn5wDGgQC/images/logo-light.png?fit=max\u0026auto=format\u0026n=jDJp3Wqzn5wDGgQC\u0026q=85\u0026s=f219d76acf24de2d111ed934cfcb6606\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gomry.com#website\",\"name\":\"Gomry API\",\"url\":\"https://docs.gomry.com\",\"publisher\":{\"@id\":\"https://docs.gomry.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gomry.com/api-reference/webhooks/create-webhook#webpage\",\"url\":\"https://docs.gomry.com/api-reference/webhooks/create-webhook\",\"name\":\"Create Webhook Subscription\",\"description\":\"Subscribe a URL to one event type (REST hook)\",\"dateModified\":\"2026-10-15T15:51:11.304Z\",\"isPartOf\":{\"@id\":\"https://docs.gomry.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gomry.com/api-reference/webhooks/create-webhook#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gomry.com/api-reference/webhooks/create-webhook#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhooks\",\"item\":\"https://docs.gomry.com/webhooks\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Webhook Subscription\",\"item\":\"https://docs.gomry.com/api-reference/webhooks/create-webhook\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gomry.com/api-reference/webhooks/create-webhook#apireference\",\"headline\":\"Create Webhook Subscription\",\"name\":\"Create Webhook Subscription\",\"description\":\"Subscribe a URL to one event type (REST hook)\",\"url\":\"https://docs.gomry.com/api-reference/webhooks/create-webhook\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gomry.com/api-reference/webhooks/create-webhook#webpage\"},\"dateModified\":\"2026-10-15T15:51:11.304Z\",\"publisher\":{\"@id\":\"https://docs.gomry.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gomry.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Gomry API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Gomry API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/webhooks/create-webhook.md","siteName":"Gomry API","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Platform API","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Authentication","href":"/authentication"},{"title":"Scopes","href":"/scopes"},{"title":"Errors","href":"/errors"},{"title":"Rate Limits","href":"/rate-limits"},{"title":"Pagination","href":"/pagination"}]},{"group":"MCP Server","pages":[{"title":"MCP Server","href":"/mcp/introduction"},{"title":"Setup","href":"/mcp/setup"},{"title":"Available Tools","href":"/mcp/tools"}]},{"group":"Organization","pages":[{"title":"Get Organization","api":"GET /organization","href":"/api-reference/organization/get-organization"}]},{"group":"Spaces","pages":[{"title":"List Spaces","api":"GET /spaces","href":"/api-reference/spaces/list-spaces"},{"title":"Get Space","api":"GET /spaces/{spaceIdentifier}","href":"/api-reference/spaces/get-space"},{"title":"Create Space","api":"POST /spaces","href":"/api-reference/spaces/create-space"},{"title":"Update Space","api":"PATCH /spaces/{spaceIdentifier}","href":"/api-reference/spaces/update-space"},{"title":"Set Tax Details","api":"PUT /spaces/{spaceIdentifier}/tax-details","href":"/api-reference/spaces/set-tax-details"}]},{"group":"Events","pages":[{"title":"List Events","api":"GET /events","href":"/api-reference/events/list-events"},{"title":"Get Event","api":"GET /events/{eventId}","href":"/api-reference/events/get-event"},{"title":"Create Event","api":"POST /events","href":"/api-reference/events/create-event"},{"title":"Update Event","api":"PATCH /events/{event_id}","href":"/api-reference/events/update-event"},{"title":"Delete Event","api":"DELETE /events/{eventId}","href":"/api-reference/events/delete-event"}]},{"group":"Experiences","pages":[{"title":"List Experiences","api":"GET /experiences","href":"/api-reference/experiences/list-experiences"},{"title":"Get Experience","api":"GET /experiences/{experienceId}","href":"/api-reference/experiences/get-experience"},{"title":"Create Experience","api":"POST /experiences","href":"/api-reference/experiences/create-experience"},{"title":"Update Experience","api":"PATCH /experiences/{experience_id}","href":"/api-reference/experiences/update-experience"},{"title":"Delete Experience","api":"DELETE /experiences/{experienceId}","href":"/api-reference/experiences/delete-experience"}]},{"group":"Recurrences","pages":[{"title":"List Recurrences","api":"GET /experiences/{experience_id}/recurrences","href":"/api-reference/recurrences/list-recurrences"},{"title":"Get Recurrence","api":"GET /experiences/{experience_id}/recurrences/{recurrence_id}","href":"/api-reference/recurrences/get-recurrence"},{"title":"Create Recurrence","api":"POST /experiences/{experience_id}/recurrences","href":"/api-reference/recurrences/create-recurrence"},{"title":"Update Recurrence","api":"PATCH /experiences/{experience_id}/recurrences/{recurrence_id}","href":"/api-reference/recurrences/update-recurrence"},{"title":"Delete Recurrence","api":"DELETE /experiences/{experience_id}/recurrences/{recurrence_id}","href":"/api-reference/recurrences/delete-recurrence"}]},{"group":"Attendees","pages":[{"title":"List Attendees","api":"GET /events/{eventId}/attendees","href":"/api-reference/attendees/list-attendees"},{"title":"Get Attendee","api":"GET /events/{eventId}/attendees/{attendeeId}","href":"/api-reference/attendees/get-attendee"},{"title":"Create Attendee","api":"POST /events/{eventId}/attendees","href":"/api-reference/attendees/create-attendee"},{"title":"Update Attendee","api":"PATCH /events/{eventId}/attendees/{attendeeId}","href":"/api-reference/attendees/update-attendee"},{"title":"Delete Attendee","api":"DELETE /events/{eventId}/attendees/{attendeeId}","href":"/api-reference/attendees/delete-attendee"}]},{"group":"Contacts","pages":[{"title":"List Contacts","api":"GET /contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Get Contact","api":"GET /contacts/{contactId}","href":"/api-reference/contacts/get-contact"},{"title":"Create Contact","api":"POST /contacts","href":"/api-reference/contacts/create-contact"},{"title":"Update Contact","api":"PATCH /contacts/{contactId}","href":"/api-reference/contacts/update-contact"},{"title":"Delete Contact","api":"DELETE /contacts/{contactId}","href":"/api-reference/contacts/delete-contact"},{"title":"List Contact Applications","api":"GET /contacts/{contactId}/applications","href":"/api-reference/contacts/list-contact-applications"}]},{"group":"Ticket Classes","pages":[{"title":"List Ticket Classes","api":"GET /events/{eventId}/ticket-classes","href":"/api-reference/ticket-classes/list-ticket-classes"},{"title":"Get Ticket Class","api":"GET /events/{eventId}/ticket-classes/{ticketClassId}","href":"/api-reference/ticket-classes/get-ticket-class"},{"title":"Create Ticket Class","api":"POST /events/{eventId}/ticket-classes","href":"/api-reference/ticket-classes/create-ticket-class"},{"title":"Update Ticket Class","api":"PATCH /events/{eventId}/ticket-classes/{ticketClassId}","href":"/api-reference/ticket-classes/update-ticket-class"},{"title":"Delete Ticket Class","api":"DELETE /events/{eventId}/ticket-classes/{ticketClassId}","href":"/api-reference/ticket-classes/delete-ticket-class"}]},{"group":"Forms","pages":[{"title":"List Forms","api":"GET /forms","href":"/api-reference/forms/list-forms"},{"title":"Get Form","api":"GET /forms/{formId}","href":"/api-reference/forms/get-form"}]},{"group":"Applications","pages":[{"title":"List Applications","api":"GET /applications","href":"/api-reference/applications/list-applications"},{"title":"Get Application","api":"GET /applications/{applicationId}","href":"/api-reference/applications/get-application"},{"title":"Update Application","api":"PATCH /applications/{applicationId}","href":"/api-reference/applications/update-application"}]},{"group":"Custom Fields","pages":[{"title":"List Custom Fields","api":"GET /custom-fields","href":"/api-reference/custom-fields/list-custom-fields"},{"title":"Get Custom Field","api":"GET /custom-fields/{fieldId}","href":"/api-reference/custom-fields/get-custom-field"}]},{"group":"Lists","pages":[{"title":"List Lists","api":"GET /lists","href":"/api-reference/lists/list-lists"},{"title":"Get List","api":"GET /lists/{listId}","href":"/api-reference/lists/get-list"},{"title":"List Contacts in a List","api":"GET /lists/{listId}/contacts","href":"/api-reference/lists/list-list-contacts"}]},{"group":"Payments","pages":[{"title":"List Payments","api":"GET /payments","href":"/api-reference/payments/list-payments"},{"title":"Get Payment","api":"GET /payments/{paymentId}","href":"/api-reference/payments/get-payment"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","description":"Receive real-time POST notifications when people register and forms are submitted","href":"/webhooks"},{"title":"Create Webhook Subscription","api":"POST /webhooks","href":"/api-reference/webhooks/create-webhook"},{"title":"List Webhook Subscriptions","api":"GET /webhooks","description":"List your organization's active webhook subscriptions","href":"/api-reference/webhooks/list-webhooks"},{"title":"Get Webhook Subscription","api":"GET /webhooks/{webhookId}","href":"/api-reference/webhooks/get-webhook"},{"title":"Delete Webhook Subscription","api":"DELETE /webhooks/{webhookId}","href":"/api-reference/webhooks/delete-webhook"},{"title":"List Webhook Samples","api":"GET /webhooks/samples","href":"/api-reference/webhooks/list-webhook-samples"}]},{"group":"Uploads","pages":[{"title":"Upload Image","api":"POST /uploads/images","href":"/api-reference/uploads/upload-image"}]}]},{"tab":"Commerce API","pages":[{"title":"Commerce API","href":"/commerce/introduction"}]},{"tab":"Retail Vendor API","pages":[{"title":"Retail Vendor API","href":"/vendor-api/introduction"}]}]},{"anchor":"Support","icon":"envelope","href":"mailto:support@gomry.com"}]},"basePath":"","title":"Create Webhook Subscription - Gomry API","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js"]}