Registers a new webhook subscription. With PUSH delivery (the default) Verbex sends selected event notifications to your url as HTTP POST requests; with PULL delivery events are stored for you to fetch. Optionally scope it to specific agents or workspaces, filter the events it receives, tune the timeout and retry policy, and enable HMAC-signed delivery. Returns the created subscription - including a one-time signing secret when enable_signed_webhooks is true. The secret (prefixed whsec_) is returned only once at creation, so store it securely; if it’s lost or leaked, rotate it via the rotate-secret endpoint.
How events are delivered. PUSH (default) sends HTTP POSTs to url. PULL stores events for you to fetch with the pull API: url must be omitted and signing is not supported. Omitting it on update sets the subscription to PUSH.
HMAC signing toggle for PUSH subscriptions. Optional: omitted means false (unsigned). On create, true generates a whsec_ signing secret returned once in the response. On update, true enables signing on an unsigned subscription (new secret returned once) and is a no-op when already signed; false disables signing and permanently clears the secret. Not supported for PULL (true returns 400).
Event types to subscribe to, each in the case-sensitive Service.Event pattern (e.g. CallHandler.CallStarted). Every event must exist in the event-type catalog, otherwise 400. An empty array or ["*"] subscribes to all events.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Verbex Docs","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/hishabsingaporepteltd/hKDJJlbuwj-_7GRI/light.png?fit=max\u0026auto=format\u0026n=hKDJJlbuwj-_7GRI\u0026q=85\u0026s=8e51283f8c4e5daa2b06e4c7b010036a","dark":"https://mintcdn.com/hishabsingaporepteltd/Bd-nkhA8cT0nKgAS/dark.png?fit=max\u0026auto=format\u0026n=Bd-nkhA8cT0nKgAS\u0026q=85\u0026s=c7eab5a32b4f7a91d7d0a702fa7aa1d1"},"favicon":"https://mintcdn.com/hishabsingaporepteltd/Bd-nkhA8cT0nKgAS/favicon.png?fit=max\u0026auto=format\u0026n=Bd-nkhA8cT0nKgAS\u0026q=85\u0026s=b848ae01a88c70cb541c5bf4ba708435","navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://console.verbex.ai/dashboard"}},"footer":{"socials":{"discord":"https://discord.gg/9c6b2GAq5t","youtube":"https://www.youtube.com/@verbexadmin","facebook":"https://web.facebook.com/hishabltd","linkedin":"https://www.linkedin.com/company/hishab"}},"fonts":{"heading":{"family":"Poppins-Thin 100"},"body":{"family":"Poppins-Thin 100"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hishabsingaporepteltd","hasAudioNarration":false,"actualSubdomain":"hishabsingaporepteltd","customDomains":["docs.verbex.ai"],"gitSource":{"type":"github","owner":"verbex-ai","repo":"verbex-platform-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeb190369a4caf965b0c001","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":73},{"language":"default","tag":"Documentation","count":45},{"language":"default","tag":"Build Your AI Agent - Step by Step","count":23},{"language":"default","tag":"Knowledge Bases","count":13},{"language":"default","tag":" Connect Tools","count":11},{"language":"default","tag":"Resources","count":6},{"language":"default","tag":"Webhook Subscriptions","count":6},{"language":"default","tag":"Navigating within Verbex","count":5},{"language":"default","tag":" Configure Your AI Agent","count":5},{"language":"default","tag":"AI Agents v2","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/webhook-subscriptions/create-a-subscription","slug":"/api-reference/webhook-subscriptions/create-a-subscription","pageMetadata":{"title":"Create a subscription","description":"Registers a new webhook subscription. With `PUSH` delivery (the default) Verbex sends selected event notifications to your `url` as HTTP POST requests; with `PULL` delivery events are stored for you to fetch. Optionally scope it to specific agents or workspaces, filter the `events` it receives, tune the timeout and retry policy, and enable HMAC-signed delivery. Returns the created subscription - including a one-time signing `secret` when `enable_signed_webhooks` is `true`. The `secret` (prefixed `whsec_`) is returned only once at creation, so store it securely; if it's lost or leaked, rotate it via the rotate-secret endpoint.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/public/webhook/subscription","href":"/api-reference/webhook-subscriptions/create-a-subscription","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Registers a new webhook subscription. With \", _jsx(_components.code, {\n children: \"PUSH\"\n }), \" delivery (the default) Verbex sends selected event notifications to your \", _jsx(_components.code, {\n children: \"url\"\n }), \" as HTTP POST requests; with \", _jsx(_components.code, {\n children: \"PULL\"\n }), \" delivery events are stored for you to fetch. Optionally scope it to specific agents or workspaces, filter the \", _jsx(_components.code, {\n children: \"events\"\n }), \" it receives, tune the timeout and retry policy, and enable HMAC-signed delivery. Returns the created subscription - including a one-time signing \", _jsx(_components.code, {\n children: \"secret\"\n }), \" when \", _jsx(_components.code, {\n children: \"enable_signed_webhooks\"\n }), \" is \", _jsx(_components.code, {\n children: \"true\"\n }), \". The \", _jsx(_components.code, {\n children: \"secret\"\n }), \" (prefixed \", _jsx(_components.code, {\n children: \"whsec_\"\n }), \") is returned only once at creation, so store it securely; if it’s lost or leaked, rotate it via the rotate-secret endpoint.\"]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a subscription","description":"Registers a new webhook subscription. With `PUSH` delivery (the default) Verbex sends selected event notifications to your `url` as HTTP POST requests; with `PULL` delivery events are stored for you to fetch. Optionally scope it to specific agents or workspaces, filter the `events` it receives, tune the timeout and retry policy, and enable HMAC-signed delivery. Returns the created subscription - including a one-time signing `secret` when `enable_signed_webhooks` is `true`. The `secret` (prefixed `whsec_`) is returned only once at creation, so store it securely; if it's lost or leaked, rotate it via the rotate-secret endpoint.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/public/webhook/subscription","href":"/api-reference/webhook-subscriptions/create-a-subscription","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Webhook Subscriptions"],"summary":"Create a subscription","description":"Registers a new webhook subscription. With `PUSH` delivery (the default) Verbex sends selected event notifications to your `url` as HTTP POST requests; with `PULL` delivery events are stored for you to fetch. Optionally scope it to specific agents or workspaces, filter the `events` it receives, tune the timeout and retry policy, and enable HMAC-signed delivery. Returns the created subscription - including a one-time signing `secret` when `enable_signed_webhooks` is `true`. The `secret` (prefixed `whsec_`) is returned only once at creation, so store it securely; if it's lost or leaked, rotate it via the rotate-secret endpoint.","operationId":"create_webhook_subscription","security":["f40dcc63-462b-4092-991d-ad19e08e29c2"],"requestBody":"94e79872-e731-46da-81cd-a250a571c8b4","responses":{"201":"a9a99d22-a0c9-4465-84bd-078dbfab43ec","400":"d0e0157f-15bc-407d-b15e-da52d04b7422","401":"c1615728-46c5-4fbb-8af4-bc07c37b4197","409":"3a0f9a0b-5ae2-4e19-92f1-200c05509a08","500":"65e06de4-ba00-4c95-924f-b47cfb47a68e"},"method":"post","type":"path","servers":[],"path":"/v1/public/webhook/subscription","baseUrlOptions":[],"title":"Create a subscription","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"WebhookSubscriptionRequest","required":["name","active"],"properties":{"name":{"type":"string","title":"Name","description":"Display name for the subscription (non-blank; unique per organization).","example":"Payment Events Webhook","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"active":{"type":"boolean","title":"Active","description":"Whether deliveries are attempted (`true`) or paused (`false`).","example":true,"isRequired":true,"uniqueKey":"active","typeLabel":"boolean"},"url":{"type":"string","pattern":"^https?://.*","title":"Url","description":"Destination endpoint that receives event POSTs. Must match `^https?://.*`. Required for `PUSH`; must be omitted for `PULL`.","example":"https://api.example.com/webhooks/payments","uniqueKey":"url","typeLabel":"string"},"delivery_mode":{"type":"string","enum":["PUSH","PULL"],"default":"PUSH","title":"Delivery Mode","description":"How events are delivered. `PUSH` (default) sends HTTP POSTs to `url`. `PULL` stores events for you to fetch with the pull API: `url` must be omitted and signing is not supported. Omitting it on update sets the subscription to `PUSH`.","uniqueKey":"delivery_mode","typeLabel":"enum\u003cstring>"},"enable_signed_webhooks":{"type":"boolean","title":"Enable Signed Webhooks","description":"HMAC signing toggle for `PUSH` subscriptions. Optional: omitted means `false` (unsigned). On create, `true` generates a `whsec_` signing secret returned once in the response. On update, `true` enables signing on an unsigned subscription (new secret returned once) and is a no-op when already signed; `false` disables signing and permanently clears the secret. Not supported for `PULL` (`true` returns `400`).","example":true,"uniqueKey":"enable_signed_webhooks","typeLabel":"boolean"},"events":{"type":"array","items":{"type":"string","uniqueKey":"events.items.[INDEX]","typeLabel":"string"},"title":"Events","description":"Event types to subscribe to, each in the case-sensitive `Service.Event` pattern (e.g. `CallHandler.CallStarted`). Every event must exist in the event-type catalog, otherwise `400`. An empty array or `[\"*\"]` subscribes to all events.","example":[],"uniqueKey":"events","typeLabel":"string[]"},"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"headers.additionalProperties","typeLabel":"string"},"title":"Headers","description":"Custom HTTP headers sent with each delivery (string->string map; e.g. auth tokens for your receiving endpoint).","example":{"X-Custom-Header":"custom-value","Authorization":"Bearer your-api-token-here"},"uniqueKey":"headers","typeLabel":"Headers · object"},"description":{"type":"string","maxLength":1500,"title":"Description","description":"Free-text description (max 1500 chars).","example":"Receives payment events with custom authentication","uniqueKey":"description","typeLabel":"string"},"agent_ids":{"type":"array","items":{"type":"string","uniqueKey":"agent_ids.items.[INDEX]","typeLabel":"string"},"title":"Agent Ids","description":"Scope the subscription to specific agents (`scope = AGENT`).","x-unpublished-description":"Scope the subscription to specific agents (`scope = AGENT`). Cannot be combined with `campaign_id`.","uniqueKey":"agent_ids","typeLabel":"string[]"},"workspace_ids":{"type":"array","items":{"type":"string","uniqueKey":"workspace_ids.items.[INDEX]","typeLabel":"string"},"title":"Workspace Ids","description":"Scope the subscription to specific workspaces (`scope = WORKSPACE`).","uniqueKey":"workspace_ids","typeLabel":"string[]"},"request_timeout_ms":{"type":"integer","minimum":1000,"maximum":3000,"default":1000,"title":"Request Timeout Ms","description":"Per-attempt delivery timeout in milliseconds (1000-3000).","uniqueKey":"request_timeout_ms","typeLabel":"integer"},"retry_policy":{"type":"object","title":"WebhookRetryPolicy","description":"Delivery retry policy. Defaults to `FIXED_DELAY` with 3 attempts.","required":["retryStrategy"],"properties":{"retryStrategy":{"type":"string","enum":["FIXED_DELAY","LINEAR","EXPONENTIAL_BACKOFF"],"title":"Retry Strategy","description":"`FIXED_DELAY` (constant delay), `LINEAR` (increasing delay) or `EXPONENTIAL_BACKOFF`","isRequired":true,"uniqueKey":"retry_policy.retryStrategy","typeLabel":"enum\u003cstring>"},"maxRetryAttempts":{"type":"integer","minimum":0,"maximum":3,"default":3,"title":"Max Retry Attempts","description":"Maximum number of retries (0-3)","uniqueKey":"retry_policy.maxRetryAttempts","typeLabel":"integer"},"maxRetryDelayMs":{"type":"integer","minimum":1000,"maximum":30000,"title":"Max Retry Delay Ms","description":"Maximum delay between retries, in milliseconds (1000-30000)","uniqueKey":"retry_policy.maxRetryDelayMs","typeLabel":"integer"},"initialRetryDelayMs":{"type":"integer","minimum":1000,"maximum":3000,"title":"Initial Retry Delay Ms","description":"`LINEAR` and `EXPONENTIAL_BACKOFF` only. First retry delay in milliseconds (1000-3000).","uniqueKey":"retry_policy.initialRetryDelayMs","typeLabel":"integer"},"backoffMultiplier":{"type":"number","minimum":1,"maximum":3,"default":2,"title":"Backoff Multiplier","description":"`EXPONENTIAL_BACKOFF` only. Multiplier applied to each successive delay (1.0-3.0).","uniqueKey":"retry_policy.backoffMultiplier","typeLabel":"number"}},"example":{"retryStrategy":"FIXED_DELAY","maxRetryAttempts":3,"maxRetryDelayMs":10000},"uniqueKey":"retry_policy","typeLabel":"WebhookRetryPolicy · object"}},"x-unpublished-properties":{"_note":"Hidden until published. To publish, move these back into `properties`.","campaign_id":{"type":"string","title":"Campaign Id","description":"Scope the subscription to a campaign (`scope = CAMPAIGN`). Cannot be combined with `agent_ids`."}},"uniqueKey":"","typeLabel":"WebhookSubscriptionRequest · object"},"example":{"name":"Payment Events Webhook","description":"Receives payment events with custom authentication","url":"https://api.example.com/webhooks/payments","active":true,"enable_signed_webhooks":true,"events":[],"headers":{"X-Custom-Header":"custom-value","Authorization":"Bearer your-api-token-here"}},"examples":{"Example":{"title":"Example","value":{"name":"Payment Events Webhook","description":"Receives payment events with custom authentication","url":"https://api.example.com/webhooks/payments","active":true,"enable_signed_webhooks":true,"events":[],"headers":{"X-Custom-Header":"custom-value","Authorization":"Bearer your-api-token-here"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"a9a99d22-a0c9-4465-84bd-078dbfab43ec":{"description":"Created. Includes the one-time `secret` when signing is enabled.","content":{"application/json":{"schema":{"type":"object","title":"WebhookSubscriptionResponse","properties":{"id":{"type":"string","title":"Id","description":"Subscription ID. Required for GET / PUT / DELETE.","example":"6a27a76692d9e3a8ffd7e62d","uniqueKey":"id","typeLabel":"string"},"organization_id":{"type":"string","title":"Organization Id","description":"Owning organization (resolved from your API key).","example":"ddd6f1d8-b232-497e-bf1e-ea7317622d17","uniqueKey":"organization_id","typeLabel":"string"},"scope":{"type":"string","enum":["ORGANIZATION","WORKSPACE","AGENT"],"title":"Scope","description":"Resolved delivery scope.","example":"ORGANIZATION","x-unpublished-enum":["CAMPAIGN"],"uniqueKey":"scope","typeLabel":"enum\u003cstring>"},"created_user_id":{"type":"string","title":"Created User Id","description":"User that created the subscription.","example":"google-oauth2|101090478854418701727","uniqueKey":"created_user_id","typeLabel":"string"},"name":{"type":"string","title":"Name","example":"Payment Events Webhook","uniqueKey":"name","typeLabel":"string"},"url":{"type":"string","title":"Url","example":"https://api.example.com/webhooks/payments","uniqueKey":"url","typeLabel":"string"},"events":{"type":"array","items":{"type":"string","uniqueKey":"events.items.[INDEX]","typeLabel":"string"},"title":"Events","example":[],"uniqueKey":"events","typeLabel":"string[]"},"active":{"type":"boolean","title":"Active","example":true,"uniqueKey":"active","typeLabel":"boolean"},"delivery_mode":{"type":"string","enum":["PUSH","PULL"],"title":"Delivery Mode","description":"How the subscription receives events: `PUSH` (HTTP delivery) or `PULL` (fetched via the pull API).","example":"PUSH","uniqueKey":"delivery_mode","typeLabel":"enum\u003cstring>"},"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"headers.additionalProperties","typeLabel":"string"},"title":"Headers","description":"Custom HTTP headers forwarded with each delivery; omitted when unset.","example":{"X-Custom-Header":"custom-value","Authorization":"Bearer your-api-token-here"},"uniqueKey":"headers","typeLabel":"Headers · object"},"description":{"type":"string","title":"Description","description":"Free-text description; omitted when unset.","example":"Receives payment events with custom authentication","uniqueKey":"description","typeLabel":"string"},"agent_ids":{"type":"array","items":{"type":"string","uniqueKey":"agent_ids.items.[INDEX]","typeLabel":"string"},"title":"Agent Ids","description":"Agent scope; omitted when unset.","uniqueKey":"agent_ids","typeLabel":"string[]"},"workspace_ids":{"type":"array","items":{"type":"string","uniqueKey":"workspace_ids.items.[INDEX]","typeLabel":"string"},"title":"Workspace Ids","description":"Workspace scope; omitted when unset.","uniqueKey":"workspace_ids","typeLabel":"string[]"},"request_timeout_ms":{"type":"integer","title":"Request Timeout Ms","description":"Per-attempt delivery timeout in ms (default `1000`).","example":1000,"uniqueKey":"request_timeout_ms","typeLabel":"integer"},"retry_policy":{"type":"object","title":"WebhookRetryPolicy","description":"Delivery retry configuration. `retryStrategy` selects the strategy. When omitted, a `FIXED_DELAY` policy with 3 attempts is used.","required":["retryStrategy"],"properties":{"retryStrategy":{"type":"string","enum":["FIXED_DELAY","LINEAR","EXPONENTIAL_BACKOFF"],"title":"Retry Strategy","description":"`FIXED_DELAY` (constant delay), `LINEAR` (increasing delay) or `EXPONENTIAL_BACKOFF`","isRequired":true,"uniqueKey":"retry_policy.retryStrategy","typeLabel":"enum\u003cstring>"},"maxRetryAttempts":{"type":"integer","minimum":0,"maximum":3,"default":3,"title":"Max Retry Attempts","description":"Maximum number of retries (0-3)","uniqueKey":"retry_policy.maxRetryAttempts","typeLabel":"integer"},"maxRetryDelayMs":{"type":"integer","minimum":1000,"maximum":30000,"title":"Max Retry Delay Ms","description":"Maximum delay between retries, in milliseconds (1000-30000)","uniqueKey":"retry_policy.maxRetryDelayMs","typeLabel":"integer"},"initialRetryDelayMs":{"type":"integer","minimum":1000,"maximum":3000,"title":"Initial Retry Delay Ms","description":"`LINEAR` and `EXPONENTIAL_BACKOFF` only. First retry delay in milliseconds (1000-3000).","uniqueKey":"retry_policy.initialRetryDelayMs","typeLabel":"integer"},"backoffMultiplier":{"type":"number","minimum":1,"maximum":3,"default":2,"title":"Backoff Multiplier","description":"`EXPONENTIAL_BACKOFF` only. Multiplier applied to each successive delay (1.0-3.0).","uniqueKey":"retry_policy.backoffMultiplier","typeLabel":"number"}},"example":{"retryStrategy":"FIXED_DELAY","maxRetryAttempts":3,"maxRetryDelayMs":10000},"uniqueKey":"retry_policy","typeLabel":"WebhookRetryPolicy · object"},"signing_enabled":{"type":"boolean","title":"Signing Enabled","description":"Whether the subscription has a signing secret. Always present.","example":true,"uniqueKey":"signing_enabled","typeLabel":"boolean"},"secret":{"type":"string","title":"Secret","description":"HMAC signing secret, prefixed `whsec_`. Present only at issuance when signing is enabled. Never returned by read endpoints.","example":"whsec_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","uniqueKey":"secret","typeLabel":"string"},"previous_secret":{"type":"string","title":"Previous Secret","description":"Previous signing secret, kept for up to 72 hours after a rotation so deliveries are dual-signed. Omitted otherwise.","uniqueKey":"previous_secret","typeLabel":"string"},"previous_secret_expires_at":{"type":"string","format":"date-time","title":"Previous Secret Expires At","description":"When the previous secret stops being used. Omitted outside a rotation grace window.","uniqueKey":"previous_secret_expires_at","typeLabel":"string\u003cdate-time>"},"created_at":{"type":"string","format":"date-time","title":"Created At","example":"2026-06-09T10:15:00.000Z","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","example":"2026-06-09T10:15:00.000Z","uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"}},"x-unpublished-properties":{"_note":"Hidden until published. To publish, move these back into `properties`.","campaign_id":{"type":"string","title":"Campaign Id","description":"Campaign scope; omitted when unset."}},"uniqueKey":"","typeLabel":"WebhookSubscriptionResponse · object"},"example":{"id":"6a27a76692d9e3a8ffd7e62d","organization_id":"ddd6f1d8-b232-497e-bf1e-ea7317622d17","scope":"ORGANIZATION","created_user_id":"google-oauth2|101090478854418701727","name":"Payment Events Webhook","url":"https://api.example.com/webhooks/payments","events":[],"active":true,"delivery_mode":"PUSH","headers":{"X-Custom-Header":"custom-value","Authorization":"Bearer your-api-token-here"},"description":"Receives payment events with custom authentication","request_timeout_ms":1000,"retry_policy":{"retryStrategy":"FIXED_DELAY","maxRetryAttempts":3,"maxRetryDelayMs":10000},"signing_enabled":true,"secret":"whsec_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","created_at":"2026-06-09T10:15:00.000Z","updated_at":"2026-06-09T10:15:00.000Z"},"examples":{"Example":{"title":"Example","value":{"id":"6a27a76692d9e3a8ffd7e62d","organization_id":"ddd6f1d8-b232-497e-bf1e-ea7317622d17","scope":"ORGANIZATION","created_user_id":"google-oauth2|101090478854418701727","name":"Payment Events Webhook","url":"https://api.example.com/webhooks/payments","events":[],"active":true,"delivery_mode":"PUSH","headers":{"X-Custom-Header":"custom-value","Authorization":"Bearer your-api-token-here"},"description":"Receives payment events with custom authentication","request_timeout_ms":1000,"retry_policy":{"retryStrategy":"FIXED_DELAY","maxRetryAttempts":3,"maxRetryDelayMs":10000},"signing_enabled":true,"secret":"whsec_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","created_at":"2026-06-09T10:15:00.000Z","updated_at":"2026-06-09T10:15:00.000Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"d0e0157f-15bc-407d-b15e-da52d04b7422":{"content":{"application/json":{"schema":{"type":"object","title":"WebhookErrorResponse","description":"Service-level error body (400, 404, 409, 500).","properties":{"status":{"type":"integer","title":"Status","example":400,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","example":"VALIDATION_ERROR","uniqueKey":"type","typeLabel":"string"},"message":{"type":"string","title":"Message","example":"Validation failed","uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","title":"Details","description":"Optional structured detail (e.g. `fields` -> per-field validation messages).","uniqueKey":"details","typeLabel":"Details · object"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"path":{"type":"string","title":"Path","example":"/v1/public/webhook/subscription","uniqueKey":"path","typeLabel":"string"},"trace_id":{"type":"string","title":"Trace Id","example":"341b5325-a0be-4533-85dd-6f697476dfc3","uniqueKey":"trace_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"WebhookErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"status":400,"type":"VALIDATION_ERROR","message":"Validation failed","details":{},"timestamp":"2023-11-07T05:31:56Z","path":"/v1/public/webhook/subscription","trace_id":"341b5325-a0be-4533-85dd-6f697476dfc3"}}},"exampleType":"generated"}},"description":"Bad Request - malformed JSON or invalid fields: missing `name`/`active`, `url` missing for PUSH or sent for PULL, signing requested for PULL, unknown event type, or `request_timeout_ms`/`retry_policy` out of range.","exampleType":"generated"},"c1615728-46c5-4fbb-8af4-bc07c37b4197":{"content":{"application/json":{"schema":{"type":"object","title":"WebhookAuthErrorResponse","description":"Authentication failures rejected at the API gateway (401) return this leaner body (note camelCase `traceId`).","properties":{"error":{"type":"string","title":"Error","example":"Authentication","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","title":"Message","example":"Authentication failed","uniqueKey":"message","typeLabel":"string"},"traceId":{"type":"string","title":"Trace Id","example":"e679120f-1d1c-41d2-947c-34e194d5a4a1","uniqueKey":"traceId","typeLabel":"string"}},"uniqueKey":"","typeLabel":"WebhookAuthErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":"Authentication","message":"Authentication failed","traceId":"e679120f-1d1c-41d2-947c-34e194d5a4a1"}}},"exampleType":"generated"}},"description":"Unauthorized - missing or invalid Bearer token.","exampleType":"generated"},"3a0f9a0b-5ae2-4e19-92f1-200c05509a08":{"content":{"application/json":{"schema":{"type":"object","title":"WebhookErrorResponse","description":"Service-level error body (400, 404, 409, 500).","properties":{"status":{"type":"integer","title":"Status","example":400,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","example":"VALIDATION_ERROR","uniqueKey":"type","typeLabel":"string"},"message":{"type":"string","title":"Message","example":"Validation failed","uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","title":"Details","description":"Optional structured detail (e.g. `fields` -> per-field validation messages).","uniqueKey":"details","typeLabel":"Details · object"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"path":{"type":"string","title":"Path","example":"/v1/public/webhook/subscription","uniqueKey":"path","typeLabel":"string"},"trace_id":{"type":"string","title":"Trace Id","example":"341b5325-a0be-4533-85dd-6f697476dfc3","uniqueKey":"trace_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"WebhookErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"status":400,"type":"VALIDATION_ERROR","message":"Validation failed","details":{},"timestamp":"2023-11-07T05:31:56Z","path":"/v1/public/webhook/subscription","trace_id":"341b5325-a0be-4533-85dd-6f697476dfc3"}}},"exampleType":"generated"}},"description":"Conflict - duplicate name, or rotate-secret on an unsigned subscription.","exampleType":"generated"},"65e06de4-ba00-4c95-924f-b47cfb47a68e":{"content":{"application/json":{"schema":{"type":"object","title":"WebhookErrorResponse","description":"Service-level error body (400, 404, 409, 500).","properties":{"status":{"type":"integer","title":"Status","example":400,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","example":"VALIDATION_ERROR","uniqueKey":"type","typeLabel":"string"},"message":{"type":"string","title":"Message","example":"Validation failed","uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","title":"Details","description":"Optional structured detail (e.g. `fields` -> per-field validation messages).","uniqueKey":"details","typeLabel":"Details · object"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"path":{"type":"string","title":"Path","example":"/v1/public/webhook/subscription","uniqueKey":"path","typeLabel":"string"},"trace_id":{"type":"string","title":"Trace Id","example":"341b5325-a0be-4533-85dd-6f697476dfc3","uniqueKey":"trace_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"WebhookErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"status":400,"type":"VALIDATION_ERROR","message":"Validation failed","details":{},"timestamp":"2023-11-07T05:31:56Z","path":"/v1/public/webhook/subscription","trace_id":"341b5325-a0be-4533-85dd-6f697476dfc3"}}},"exampleType":"generated"}},"description":"Internal Server Error.","exampleType":"generated"}},"security":{"f40dcc63-462b-4092-991d-ad19e08e29c2":{"BearerAuth":{"type":"http","scheme":"bearer","description":"API key passed as a Bearer token in the `Authorization` header: `Authorization: Bearer \u003cYOUR_API_KEY>`.","scopes":[],"schemeName":"BearerAuth"}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"API key passed as a Bearer token in the `Authorization` header: `Authorization: Bearer \u003cYOUR_API_KEY>`.","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key passed as a Bearer token in the `Authorization` header: `Authorization: Bearer \u003cYOUR_API_KEY>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"hishabsingaporepteltd","siteName":"Verbex Docs","title":"Create a subscription - Verbex Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T11:37:46.227Z","originalFileLocation":"api-reference/webhook-subscriptions/create-a-subscription.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=\"Registers a new webhook subscription. With PUSH delivery (the default) Verbex sends selected event notifications to your url as HTTP POST requests; with PULL delivery events are stored for you to fetch. Optionally scope it to specific agents or workspaces, filter the events it receives, tune the timeout and retry policy, and enable HMAC-signed delivery. Returns the created subscription - including a one-time signing secret when enable_signed_webhooks is true. The secret (prefixed whsec_) is returned only once at creation, so store it securely; if it\u0026#x27;s lost or leaked, rotate it via the rotate-secret endpoint.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Verbex 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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hishabsingaporepteltd/72gxkt7gRN01IC5L/_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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a subscription - Verbex Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Registers a new webhook subscription. With PUSH delivery (the default) Verbex sends selected event notifications to your url as HTTP POST requests; with PULL delivery events are stored for you to fetch. Optionally scope it to specific agents or workspaces, filter the events it receives, tune the timeout and retry policy, and enable HMAC-signed delivery. Returns the created subscription - including a one-time signing secret when enable_signed_webhooks is true. The secret (prefixed whsec_) is returned only once at creation, so store it securely; if it\u0026#x27;s lost or leaked, rotate it via the rotate-secret endpoint.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Verbex Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.verbex.ai/api-reference/webhook-subscriptions/create-a-subscription\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hishabsingaporepteltd.mintlify.site/_mintlify/api/og/v2?division=Webhook+Subscriptions\u0026amp;title=Create+a+subscription\u0026amp;description=Registers+a+new+webhook+subscription.+With+%60PUSH%60+delivery+%28the+default%29+Verbex+sends+selected+event+notifications+to+your+%60url%60+as+HTTP+POST+requests%3B+with+%60PU\u0026amp;theme=70c8dcbcb80920d3074a2878\u0026amp;signature=5c5942b99bc1aa383882b7d0dd4c2adda0f32fc10b2eb24bd987f7461ecf1ed4\">\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 - Verbex Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Registers a new webhook subscription. With PUSH delivery (the default) Verbex sends selected event notifications to your url as HTTP POST requests; with PULL delivery events are stored for you to fetch. Optionally scope it to specific agents or workspaces, filter the events it receives, tune the timeout and retry policy, and enable HMAC-signed delivery. Returns the created subscription - including a one-time signing secret when enable_signed_webhooks is true. The secret (prefixed whsec_) is returned only once at creation, so store it securely; if it\u0026#x27;s lost or leaked, rotate it via the rotate-secret endpoint.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hishabsingaporepteltd.mintlify.site/_mintlify/api/og/v2?division=Webhook+Subscriptions\u0026amp;title=Create+a+subscription\u0026amp;description=Registers+a+new+webhook+subscription.+With+%60PUSH%60+delivery+%28the+default%29+Verbex+sends+selected+event+notifications+to+your+%60url%60+as+HTTP+POST+requests%3B+with+%60PU\u0026amp;theme=70c8dcbcb80920d3074a2878\u0026amp;signature=5c5942b99bc1aa383882b7d0dd4c2adda0f32fc10b2eb24bd987f7461ecf1ed4\">\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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Verbex Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.verbex.ai/api-reference/webhook-subscriptions/create-a-subscription\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/webhook-subscriptions/create-a-subscription.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.verbex.ai/#organization\",\"name\":\"Verbex Docs\",\"url\":\"https://docs.verbex.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hishabsingaporepteltd/hKDJJlbuwj-_7GRI/light.png?fit=max\u0026auto=format\u0026n=hKDJJlbuwj-_7GRI\u0026q=85\u0026s=8e51283f8c4e5daa2b06e4c7b010036a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.verbex.ai#website\",\"name\":\"Verbex Docs\",\"url\":\"https://docs.verbex.ai\",\"publisher\":{\"@id\":\"https://docs.verbex.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.verbex.ai/api-reference/webhook-subscriptions/create-a-subscription#webpage\",\"url\":\"https://docs.verbex.ai/api-reference/webhook-subscriptions/create-a-subscription\",\"name\":\"Create a subscription\",\"description\":\"Registers a new webhook subscription. With PUSH delivery (the default) Verbex sends selected event notifications to your url as HTTP POST requests; with PULL delivery events are stored for you to fetch. Optionally scope it to specific agents or workspaces, filter the events it receives, tune the timeout and retry policy, and enable HMAC-signed delivery. Returns the created subscription - including a one-time signing secret when enable_signed_webhooks is true. The secret (prefixed whsec_) is returned only once at creation, so store it securely; if it's lost or leaked, rotate it via the rotate-secret endpoint.\",\"dateModified\":\"2026-11-04T11:37:46.227Z\",\"isPartOf\":{\"@id\":\"https://docs.verbex.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.verbex.ai/api-reference/webhook-subscriptions/create-a-subscription#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.verbex.ai/api-reference/webhook-subscriptions/create-a-subscription#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Verbex Docs\",\"item\":\"https://docs.verbex.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a subscription\",\"item\":\"https://docs.verbex.ai/api-reference/webhook-subscriptions/create-a-subscription\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.verbex.ai/api-reference/webhook-subscriptions/create-a-subscription#apireference\",\"headline\":\"Create a subscription\",\"name\":\"Create a subscription\",\"description\":\"Registers a new webhook subscription. With PUSH delivery (the default) Verbex sends selected event notifications to your url as HTTP POST requests; with PULL delivery events are stored for you to fetch. Optionally scope it to specific agents or workspaces, filter the events it receives, tune the timeout and retry policy, and enable HMAC-signed delivery. Returns the created subscription - including a one-time signing secret when enable_signed_webhooks is true. The secret (prefixed whsec_) is returned only once at creation, so store it securely; if it's lost or leaked, rotate it via the rotate-secret endpoint.\",\"url\":\"https://docs.verbex.ai/api-reference/webhook-subscriptions/create-a-subscription\",\"mainEntityOfPage\":{\"@id\":\"https://docs.verbex.ai/api-reference/webhook-subscriptions/create-a-subscription#webpage\"},\"dateModified\":\"2026-11-04T11:37:46.227Z\",\"publisher\":{\"@id\":\"https://docs.verbex.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.verbex.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Verbex Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Verbex Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Getting an API Key","href":"/api-reference/introduction"},{"title":"Migrate from v2 to v3","href":"/api-reference/ai-agents-v3/migrate-from-v2"}]},{"group":"AI Agents v3","pages":[{"title":"List AI Agents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v3/ai-agents","href":"/api-reference/ai-agents-v3/list-ai-agents"},{"title":"Create AI Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v3/ai-agents","href":"/api-reference/ai-agents-v3/create-ai-agent"},{"title":"Get AI Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v3/ai-agents/{agent_id}","href":"/api-reference/ai-agents-v3/get-ai-agent"},{"title":"Update AI Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v3/ai-agents/{agent_id}","href":"/api-reference/ai-agents-v3/update-ai-agent"},{"title":"Delete AI Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v3/ai-agents/{agent_id}","href":"/api-reference/ai-agents-v3/delete-ai-agent"}]},{"group":"AI Agents v2","pages":[{"title":"List AI Agents","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/","href":"/api-reference/ai-agents-v2/list-ai-agents"},{"title":"Create AI Agent","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json post /v2/ai-agents/","href":"/api-reference/ai-agents-v2/create-ai-agent"},{"title":"Get AI Agent","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/{agent_id}","href":"/api-reference/ai-agents-v2/get-ai-agent"},{"title":"Update AI Agent","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json put /v2/ai-agents/{agent_id}","href":"/api-reference/ai-agents-v2/update-ai-agent"},{"title":"Delete AI Agent","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json delete /v2/ai-agents/{agent_id}","href":"/api-reference/ai-agents-v2/delete-ai-agent"}]},{"group":"LLM Models","pages":[{"title":"List LLM models","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/llm-models","href":"/api-reference/llm-models/list-llm-models"},{"title":"Get LLM model","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/llm-models/{llm_model_id}","href":"/api-reference/llm-models/get-llm-model"}]},{"group":"Speech Providers","pages":[{"title":"List STT providers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v3/stt/providers","href":"/api-reference/speech-providers/list-stt-providers"},{"title":"Get STT provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v3/stt/providers/{provider_name}","href":"/api-reference/speech-providers/get-stt-provider"},{"title":"List TTS providers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v3/tts/providers","href":"/api-reference/speech-providers/list-tts-providers"},{"title":"Get TTS provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v3/tts/providers/{provider_name}","href":"/api-reference/speech-providers/get-tts-provider"}]},{"group":"Built-in Tools","pages":[{"title":"List built-in tools","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/{ai_agent_id}/builtin-tools/","href":"/api-reference/built-in-tools/list-built-in-tools"},{"title":"Create built-in tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/ai-agents/{ai_agent_id}/builtin-tools/","href":"/api-reference/built-in-tools/create-built-in-tool"},{"title":"Get built-in tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/{ai_agent_id}/builtin-tools/{tool_id}","href":"/api-reference/built-in-tools/get-built-in-tool"},{"title":"Update built-in tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v2/ai-agents/{ai_agent_id}/builtin-tools/{tool_id}","href":"/api-reference/built-in-tools/update-built-in-tool"},{"title":"Delete built-in tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v2/ai-agents/{ai_agent_id}/builtin-tools/{tool_id}","href":"/api-reference/built-in-tools/delete-built-in-tool"}]},{"group":"Custom Tools","pages":[{"title":"List custom tools","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/{ai_agent_id}/custom-tools/","href":"/api-reference/custom-tools/list-custom-tools"},{"title":"Create custom tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/ai-agents/{ai_agent_id}/custom-tools/","href":"/api-reference/custom-tools/create-custom-tool"},{"title":"Get custom tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/{ai_agent_id}/custom-tools/{tool_id}","href":"/api-reference/custom-tools/get-custom-tool"},{"title":"Update custom tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v2/ai-agents/{ai_agent_id}/custom-tools/{tool_id}","href":"/api-reference/custom-tools/update-custom-tool"},{"title":"Delete custom tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v2/ai-agents/{ai_agent_id}/custom-tools/{tool_id}","href":"/api-reference/custom-tools/delete-custom-tool"}]},{"group":"Calls","pages":[{"title":"Create Web Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/calls/create-web-call","href":"/api-reference/calls/create-web-call"},{"title":"Create Web Call (Public Shared)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/calls/public/create-web-call","href":"/api-reference/calls/create-web-call-public-shared"},{"title":"Dial Outbound Phone Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/calls/dial-outbound-phone-call","href":"/api-reference/calls/dial-outbound-phone-call"},{"title":"Get Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/calls/{call_id}","href":"/api-reference/calls/get-call"},{"title":"List Calls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/calls/","href":"/api-reference/calls/list-calls"}]},{"group":"Call Recording","pages":[{"title":"Get Signed URL for Call Recording","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/call-recording/signed-url","href":"/api-reference/call-recording/get-signed-url-for-call-recording"}]},{"group":"Post-call Analysis","pages":[{"title":"Get post-call analysis configuration for an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/{ai_agent_id}/postcall-analysis","href":"/api-reference/post-call-analysis/get-post-call-analysis-configuration-for-an-agent"},{"title":"Update an existing post-call analysis configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v2/ai-agents/{ai_agent_id}/postcall-analysis","href":"/api-reference/post-call-analysis/update-an-existing-post-call-analysis-configuration"},{"title":"Create a new post-call analysis configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/ai-agents/{ai_agent_id}/postcall-analysis","href":"/api-reference/post-call-analysis/create-a-new-post-call-analysis-configuration"},{"title":"Delete an existing post-call analysis configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v2/ai-agents/{ai_agent_id}/postcall-analysis","href":"/api-reference/post-call-analysis/delete-an-existing-post-call-analysis-configuration"},{"title":"Get Post Call Analysis Results","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/{ai_agent_id}/postcall-analysis/results/{call_id}","href":"/api-reference/post-call-analysis/get-post-call-analysis-results"}]},{"group":"Phone Numbers","pages":[{"title":"List phone numbers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/phone-numbers/","href":"/api-reference/phone-numbers/list-phone-numbers"},{"title":"Create a new phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/phone-numbers/","href":"/api-reference/phone-numbers/create-a-new-phone-number"},{"title":"Get a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/phone-numbers/{phone_number_id}","href":"/api-reference/phone-numbers/get-a-phone-number"},{"title":"Delete a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/phone-numbers/{phone_number_id}","href":"/api-reference/phone-numbers/delete-a-phone-number"},{"title":"Update a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/phone-numbers/{phone_number_id}","href":"/api-reference/phone-numbers/update-a-phone-number"}]},{"group":"Knowledge Bases","pages":[{"title":"List Knowledge Bases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/knowledge-bases","href":"/api-reference/knowledge-bases/list-knowledge-bases"},{"title":"Create Knowledge Base","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/knowledge-bases","href":"/api-reference/knowledge-bases/create-knowledge-base"},{"title":"Get Knowledge Base","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/knowledge-bases/{kb_id}","href":"/api-reference/knowledge-bases/get-knowledge-base"},{"title":"Delete Knowledge Base","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/knowledge-bases/{kb_id}","href":"/api-reference/knowledge-bases/delete-knowledge-base"},{"title":"Update Knowledge Base","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/knowledge-bases/{kb_id}","href":"/api-reference/knowledge-bases/update-knowledge-base"},{"title":"Upload a File","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/knowledge-bases/{kb_id}/documents/file","href":"/api-reference/knowledge-bases/upload-a-file"},{"title":"Discover a Website's URLs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/knowledge-bases/documents/website/sitemaps","href":"/api-reference/knowledge-bases/discover-a-websites-urls"},{"title":"Crawl Web Pages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/knowledge-bases/{kb_id}/documents/website","href":"/api-reference/knowledge-bases/crawl-web-pages"},{"title":"List Documents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/knowledge-bases/{kb_id}/documents","href":"/api-reference/knowledge-bases/list-documents"},{"title":"Get Document Status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/knowledge-bases/{kb_id}/documents/{document_id}/status","href":"/api-reference/knowledge-bases/get-document-status"},{"title":"Inspect Indexed Chunks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/knowledge-bases/{kb_id}/documents/{document_id}/chunks","href":"/api-reference/knowledge-bases/inspect-indexed-chunks"},{"title":"Delete a Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/knowledge-bases/{kb_id}/documents/{document_id}","href":"/api-reference/knowledge-bases/delete-a-document"},{"title":"Semantic Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/vector/search","href":"/api-reference/knowledge-bases/semantic-search"}]},{"group":"Prompt Generation","pages":[{"title":"Generate Prompt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/prompt-generation/prompt/generate","href":"/api-reference/prompt-generation/generate-prompt"}]},{"group":"Public Sharing","pages":[{"title":"Create Share","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/public-sharing/","href":"/api-reference/public-sharing/create-share"},{"title":"Get Share","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/public-sharing/{ai_agent_id}","href":"/api-reference/public-sharing/get-share"},{"title":"Delete Share","description":"Removes the shared key and configuration that enables an AI agent to be available to users. The AI agent will no longer be accessible using the shared key.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/public-sharing/{share_id}","href":"/api-reference/public-sharing/delete-share"}]},{"group":"Webhook Subscriptions","pages":[{"title":"Create a subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/public/webhook/subscription","href":"/api-reference/webhook-subscriptions/create-a-subscription"},{"title":"Get a subscription","description":"Retrieves a single subscription by its ID. Read endpoints never return the signing `secret` - use `signing_enabled` to tell whether signing is on.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/public/webhook/subscription/{id}","href":"/api-reference/webhook-subscriptions/get-a-subscription"},{"title":"Update a subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/public/webhook/subscription/{id}","href":"/api-reference/webhook-subscriptions/update-a-subscription"},{"title":"Delete a subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/public/webhook/subscription/{id}","href":"/api-reference/webhook-subscriptions/delete-a-subscription"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/public/webhook/subscription/{id}/rotate/secret","href":"/api-reference/webhook-subscriptions/rotate-the-signing-secret"},{"title":"List subscriptions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/public/webhook/subscriptions","href":"/api-reference/webhook-subscriptions/list-subscriptions"}]},{"group":"API Keys","pages":[{"title":"List API Keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/api-keys/","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create API Key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/api-keys/","href":"/api-reference/api-keys/create-api-key"},{"title":"Get API Key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/api-keys/{key_id}","href":"/api-reference/api-keys/get-api-key"},{"title":"Revoke API Key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/api-keys/{key_id}/revoke","href":"/api-reference/api-keys/revoke-api-key"}]}]},{"tab":"Video Tutorials","pages":[{"title":"Video Tutorials","href":"/video-tutorials/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/changelog"}]}]},"basePath":"","title":"Create a subscription - Verbex Docs","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}