Register or Update Your Tenant Webhook URL and Secret
PUT /api/v1/tenant/webhook — registers or updates the webhook URL. A new secret is issued and shown once. Requires WEBHOOK_MANAGE scope.
Use this endpoint to register a webhook URL for your tenant or to replace an existing one. Every time you call this endpoint, Idem generates a new signing secret and associates it with the URL you provide. The raw secret is included in the response exactly once — use it to verify the authenticity of incoming webhook payloads on your server. If you call this endpoint again to update the URL, a new secret is issued and the previous one is immediately invalidated.
Endpoint
PUT /api/v1/tenant/webhook
Authorization
Requires an API key with WEBHOOK_MANAGE scope.
The webhook signing secret is returned only once in the response to this request. Store it securely in your application’s secret management system immediately. If you lose the secret, you must call this endpoint again to rotate it — all existing payloads signed with the old secret will fail verification from that point forward.
Request Body
string
required
The HTTPS URL that Idem will POST event payloads to. Must be a non-empty, publicly reachable URL. URLs pointing to private IP ranges, localhost, or known disallowed domains will be rejected.
The webhook URL that was registered, as provided in the request.
string
required
The raw signing secret for this webhook configuration — a 64-character hex string with no prefix. Shown only once. Use this value to validate the X-Idem-Signature header on incoming webhook requests.
Validate every incoming webhook by computing an HMAC-SHA256 signature over the raw request body using your stored secret and comparing it to the X-Idem-Signature header. Reject any request where the signatures do not match.
Error Codes
Code
Meaning
400
The webhookUrl is missing, empty, or points to a blocked or invalid destination.
401
Missing or invalid API key.
403
The provided API key does not have WEBHOOK_MANAGE scope.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Idem","colors":{"primary":"#1FB8AC","light":"#2DD4C5","dark":"#0C6B64"},"logo":{"light":"https://mintcdn.com/idemfinance/CGXusX9PnQe9rEky/images/instagram-avatar-1080.png?fit=max\u0026auto=format\u0026n=CGXusX9PnQe9rEky\u0026q=85\u0026s=62f3c072ca9b2e2c9ad7960fa7f48b23","dark":"https://mintcdn.com/idemfinance/CGXusX9PnQe9rEky/images/instagram-avatar-1080.png?fit=max\u0026auto=format\u0026n=CGXusX9PnQe9rEky\u0026q=85\u0026s=62f3c072ca9b2e2c9ad7960fa7f48b23"},"favicon":"https://mintcdn.com/idemfinance/8VAGSG3_nfgJcko5/favicon.svg?fit=max\u0026auto=format\u0026n=8VAGSG3_nfgJcko5\u0026q=85\u0026s=ea7524b17a3559d6521a1e37a7f281c9","appearance":{"default":"system","strict":false},"navbar":{"primary":{"type":"button","label":"Get API Access","href":"mailto:hello@idemfinance.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"idemfinance","hasAudioNarration":false,"actualSubdomain":"idemfinance","customDomains":["docs.idem.finance"],"gitSource":{"type":"github","owner":"idem-finance","repo":"idem-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a982cc0a137d085e57be940","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"API Reference","count":20},{"language":"default","tag":"Documentation","count":15},{"language":"default","tag":"Administration","count":8},{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"Accounts","count":5},{"language":"default","tag":"Settlements","count":4},{"language":"default","tag":"Core Concepts","count":4},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"Compliance","count":1},{"language":"default","tag":"Reconciliation","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/admin/update-webhook","slug":"/api-reference/admin/update-webhook","pageMetadata":{"title":"Register or Update Your Tenant Webhook URL and Secret","sidebarTitle":"Update Webhook","description":"PUT /api/v1/tenant/webhook — registers or updates the webhook URL. A new secret is issued and shown once. Requires WEBHOOK_MANAGE scope.","href":"/api-reference/admin/update-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: \"PUT /api/v1/tenant/webhook — registers or updates the webhook URL. A new secret is issued and shown once. Requires WEBHOOK_MANAGE scope.\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,ParamField,ResponseField,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use this endpoint to register a webhook URL for your tenant or to replace an existing one. Every time you call this endpoint, Idem generates a new signing secret and associates it with the URL you provide. The raw secret is included in the response exactly once — use it to verify the authenticity of incoming webhook payloads on your server. If you call this endpoint again to update the URL, a new secret is issued and the previous one is immediately invalidated.`}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`PUT /api/v1/tenant/webhook`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`authorization`,children:`Authorization`}),`\n`,_jsxs(_components.p,{children:[`Requires an API key with `,_jsx(_components.code,{children:`WEBHOOK_MANAGE`}),` scope.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The webhook signing secret is returned `,_jsx(_components.strong,{children:`only once`}),` in the response to this request. Store it securely in your application’s secret management system immediately. If you lose the secret, you must call this endpoint again to rotate it — all existing payloads signed with the old secret will fail verification from that point forward.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`webhookUrl`,type:`string`,required:true,id:`param-webhook-url`,children:_jsx(_components.p,{children:`The HTTPS URL that Idem will POST event payloads to. Must be a non-empty, publicly reachable URL. URLs pointing to private IP ranges, localhost, or known disallowed domains will be rejected.`})}),`\n`,_jsx(Heading,{level:`2`,id:`request-example`,children:`Request Example`}),`\n`,_jsx(CodeBlock,{filename:``,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:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_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:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.your-domain.com/api/v1/tenant/webhook`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003capi-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:` --header`}),_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:` --data`}),_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:` \"webhookUrl\": \"https://example.com/webhooks/idem\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`webhookUrl`,type:`string`,required:true,id:`param-webhook-url-1`,children:_jsx(_components.p,{children:`The webhook URL that was registered, as provided in the request.`})}),`\n`,_jsx(ResponseField,{name:`webhookSecret`,type:`string`,required:true,id:`param-webhook-secret`,children:_jsxs(_components.p,{children:[`The raw signing secret for this webhook configuration — a 64-character hex string with no prefix. `,_jsx(_components.strong,{children:`Shown only once.`}),` Use this value to validate the `,_jsx(_components.code,{children:`X-Idem-Signature`}),` header on incoming webhook requests.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response-example`,children:`Response Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"webhookUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/webhooks/idem\"`}),_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:` \"webhookSecret\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Validate every incoming webhook by computing an HMAC-SHA256 signature over the raw request body using your stored secret and comparing it to the `,_jsx(_components.code,{children:`X-Idem-Signature`}),` header. Reject any request where the signatures do not match.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`error-codes`,children:`Error Codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`webhookUrl`}),` is missing, empty, or points to a blocked or invalid destination.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Missing or invalid API key.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsxs(_components.td,{children:[`The provided API key does not have `,_jsx(_components.code,{children:`WEBHOOK_MANAGE`}),` scope.`]})]})]})]})]})}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":"Register or Update Your Tenant Webhook URL and Secret","sidebarTitle":"Update Webhook","description":"PUT /api/v1/tenant/webhook — registers or updates the webhook URL. A new secret is issued and shown once. Requires WEBHOOK_MANAGE scope.","href":"/api-reference/admin/update-webhook"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Authorization","slug":"authorization","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"Request Example","slug":"request-example","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Response Example","slug":"response-example","depth":2,"children":[]},{"title":"Error Codes","slug":"error-codes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"idemfinance","siteName":"Idem","title":"Register or Update Your Tenant Webhook URL and Secret - Idem","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-18T02:16:14.072Z","originalFileLocation":"api-reference/admin/update-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=\"PUT /api/v1/tenant/webhook — registers or updates the webhook URL. A new secret is issued and shown once. Requires WEBHOOK_MANAGE scope.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Idem\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/idemfinance/F9G5QXrjJgY4h0Rb/_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/idemfinance/F9G5QXrjJgY4h0Rb/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/idemfinance/F9G5QXrjJgY4h0Rb/_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/idemfinance/F9G5QXrjJgY4h0Rb/_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/idemfinance/F9G5QXrjJgY4h0Rb/_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/idemfinance/F9G5QXrjJgY4h0Rb/_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/idemfinance/F9G5QXrjJgY4h0Rb/_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/idemfinance/F9G5QXrjJgY4h0Rb/_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/idemfinance/F9G5QXrjJgY4h0Rb/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Register or Update Your Tenant Webhook URL and Secret - Idem\">\u003cmeta data-mint-head property=\"og:description\" content=\"PUT /api/v1/tenant/webhook — registers or updates the webhook URL. A new secret is issued and shown once. Requires WEBHOOK_MANAGE scope.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Idem\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.idem.finance/api-reference/admin/update-webhook\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://idemfinance.mintlify.site/_mintlify/api/og/v2?division=Administration\u0026amp;title=Register+or+Update+Your+Tenant+Webhook+URL+and+Secret\u0026amp;description=PUT+%2Fapi%2Fv1%2Ftenant%2Fwebhook+%E2%80%94+registers+or+updates+the+webhook+URL.+A+new+secret+is+issued+and+shown+once.+Requires+WEBHOOK_MANAGE+scope.\u0026amp;theme=20058cba77ad131756a5ef33\u0026amp;signature=6292c58be616666c0f1efdaeba1a8a38302673c4e24899786227d8f42ace5726\">\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=\"Register or Update Your Tenant Webhook URL and Secret - Idem\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"PUT /api/v1/tenant/webhook — registers or updates the webhook URL. A new secret is issued and shown once. Requires WEBHOOK_MANAGE scope.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://idemfinance.mintlify.site/_mintlify/api/og/v2?division=Administration\u0026amp;title=Register+or+Update+Your+Tenant+Webhook+URL+and+Secret\u0026amp;description=PUT+%2Fapi%2Fv1%2Ftenant%2Fwebhook+%E2%80%94+registers+or+updates+the+webhook+URL.+A+new+secret+is+issued+and+shown+once.+Requires+WEBHOOK_MANAGE+scope.\u0026amp;theme=20058cba77ad131756a5ef33\u0026amp;signature=6292c58be616666c0f1efdaeba1a8a38302673c4e24899786227d8f42ace5726\">\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/idemfinance/F9G5QXrjJgY4h0Rb/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Idem\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1FB8AC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.idem.finance/api-reference/admin/update-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/admin/update-webhook.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.idem.finance/#organization\",\"name\":\"Idem\",\"url\":\"https://docs.idem.finance\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/idemfinance/CGXusX9PnQe9rEky/images/instagram-avatar-1080.png?fit=max\u0026auto=format\u0026n=CGXusX9PnQe9rEky\u0026q=85\u0026s=62f3c072ca9b2e2c9ad7960fa7f48b23\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.idem.finance#website\",\"name\":\"Idem\",\"url\":\"https://docs.idem.finance\",\"publisher\":{\"@id\":\"https://docs.idem.finance/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.idem.finance/api-reference/admin/update-webhook#webpage\",\"url\":\"https://docs.idem.finance/api-reference/admin/update-webhook\",\"name\":\"Register or Update Your Tenant Webhook URL and Secret\",\"description\":\"PUT /api/v1/tenant/webhook — registers or updates the webhook URL. A new secret is issued and shown once. Requires WEBHOOK_MANAGE scope.\",\"dateModified\":\"2026-08-18T02:16:14.072Z\",\"isPartOf\":{\"@id\":\"https://docs.idem.finance#website\"},\"breadcrumb\":{\"@id\":\"https://docs.idem.finance/api-reference/admin/update-webhook#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.idem.finance/api-reference/admin/update-webhook#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Administration\",\"item\":\"https://docs.idem.finance/api-reference/admin/list-api-keys\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Register or Update Your Tenant Webhook URL and Secret\",\"item\":\"https://docs.idem.finance/api-reference/admin/update-webhook\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.idem.finance/api-reference/admin/update-webhook#article\",\"headline\":\"Register or Update Your Tenant Webhook URL and Secret\",\"name\":\"Register or Update Your Tenant Webhook URL and Secret\",\"description\":\"PUT /api/v1/tenant/webhook — registers or updates the webhook URL. A new secret is issued and shown once. Requires WEBHOOK_MANAGE scope.\",\"url\":\"https://docs.idem.finance/api-reference/admin/update-webhook\",\"mainEntityOfPage\":{\"@id\":\"https://docs.idem.finance/api-reference/admin/update-webhook#webpage\"},\"dateModified\":\"2026-08-18T02:16:14.072Z\",\"publisher\":{\"@id\":\"https://docs.idem.finance/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.idem.finance#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Idem\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Idem\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/admin/update-webhook.md","siteName":"Idem","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Accounts","pages":[{"title":"List All Ledger Accounts for Your Tenant — Overview","sidebarTitle":"List Accounts","href":"/api-reference/accounts/list-accounts"},{"title":"Create a Ledger Account With Currency, Type, and Name","sidebarTitle":"Create Account","href":"/api-reference/accounts/create-account"},{"title":"Get Account Balance — Current or Point in Time Query","sidebarTitle":"Get Balance","href":"/api-reference/accounts/get-balance"},{"title":"Retrieve All Paginated Journal Entries for an Account","sidebarTitle":"List Entries","href":"/api-reference/accounts/list-entries"},{"title":"Generate an Account Statement for a Custom Date Range","sidebarTitle":"Account Statement","href":"/api-reference/accounts/get-statement"}]},{"group":"Transactions","pages":[{"title":"POST /api/v1/transactions — Post a Balanced Transaction","sidebarTitle":"Post Transaction","href":"/api-reference/transactions/post-transaction"}]},{"group":"Settlements","pages":[{"title":"List Settlements with Filtering and Pagination","sidebarTitle":"List Settlements","href":"/api-reference/settlements/list-settlements"},{"title":"Register a Settlement Expectation for Wallet Watching","sidebarTitle":"Register Settlement","href":"/api-reference/settlements/register-settlement"},{"title":"Retrieve Settlement Details and Current Status by ID","sidebarTitle":"Get Settlement","href":"/api-reference/settlements/get-settlement"},{"title":"Cancel a Pending Settlement and Stop Transfer Watching","sidebarTitle":"Cancel Settlement","href":"/api-reference/settlements/cancel-settlement"}]},{"group":"Reconciliation","pages":[{"title":"Trigger Batch Reconciliation for Multiple Transactions","sidebarTitle":"Batch Reconcile","href":"/api-reference/reconciliation/batch-reconcile"}]},{"group":"Compliance","pages":[{"title":"Export Tenant Compliance Audit Log as NDJSON Stream","sidebarTitle":"Audit Export","href":"/api-reference/compliance/audit-export"}]},{"group":"Administration","pages":[{"title":"List All API Keys and Their Scopes for Your Tenant","sidebarTitle":"List API Keys","href":"/api-reference/admin/list-api-keys"},{"title":"Create a Scoped API Key with Least-Privilege Permissions","sidebarTitle":"Create API Key","href":"/api-reference/admin/create-api-key"},{"title":"Revoke an API Key and Immediately Invalidate Access","sidebarTitle":"Revoke API Key","href":"/api-reference/admin/revoke-api-key"},{"title":"List All Agent Policy Rules Configured for Your Tenant","sidebarTitle":"List Policy Rules","href":"/api-reference/admin/list-policy-rules"},{"title":"Create an Agent Policy Rule to Restrict Transactions","sidebarTitle":"Create Policy Rule","href":"/api-reference/admin/create-policy-rule"},{"title":"Delete a Policy Rule and Revoke Agent Authorization","sidebarTitle":"Delete Policy Rule","href":"/api-reference/admin/delete-policy-rule"},{"title":"Retrieve the Current Webhook Configuration for Your Tenant","sidebarTitle":"Get Webhook","description":"GET /api/v1/tenant/webhook — retrieves the current webhook URL for your tenant. The webhook secret is always masked in this response for security.","href":"/api-reference/admin/get-webhook"},{"title":"Register or Update Your Tenant Webhook URL and Secret","sidebarTitle":"Update Webhook","href":"/api-reference/admin/update-webhook"}]}]}]},"basePath":"","title":"Register or Update Your Tenant Webhook URL and Secret - Idem","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":[],"chunks":[]}