Triggered when a client workspace uses up its credit limit or budget
This event fires when one of your client workspaces uses up its monthly limit (MONTHLY) or its budget (FIXED).
Where it is sent
To the agency owner’s personal workspace, not to the client workspace. workspaceId is your personal workspace; data.clientWorkspaceId is the client workspace that ran out.
Owner only: only the owner of the personal workspace can see, subscribe to or test this event. Other members, admins included, cannot subscribe to it.
When this event fires
Spending reaches the workspace’s monthly limit or fixed budget.
A job is refused because it needs more credits than the workspace has left. remaining can then be above 0.
Once per run-out. It fires again only after the workspace has credits again (a top-up, a higher limit or a new billing cycle) and then runs out again.
Workspaces with no limit (NONE) never send this event.
Give every endpoint an explicit event list. While any enabled endpoint in your personal workspace has no event filter (subscribed to everything), this event is not delivered to any endpoint in that workspace. A run-out that happens during that time is not delivered later either.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sendler API","colors":{"primary":"#1756EB","light":"#5C8EFC","dark":"#1248CF"},"favicon":"https://mintcdn.com/sendpilotai/W5HjQMeCGa4DNG_5/favicon.svg?fit=max\u0026auto=format\u0026n=W5HjQMeCGa4DNG_5\u0026q=85\u0026s=97c48bf1b338b7da3f07a9f7c6fffb70","api":{"openapi":"api-reference/openapi.yaml","playground":{}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sendpilotai","hasAudioNarration":false,"actualSubdomain":"sendpilotai","customDomains":["docs.sendler.ai"],"gitSource":{"type":"github","owner":"sendpilot","repo":"sendpilot-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10d5ce9ffae5051c40d0c3"},"entitlements":{},"buildId":"6b098fa73b904bd701dc01b9","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"Webhook Events","count":13},{"language":"default","tag":"Client Workspaces","count":8},{"language":"default","tag":"Inbox and Senders","count":7},{"language":"default","tag":"MCP and OAuth","count":4},{"language":"default","tag":"Getting Started","count":4},{"language":"default","tag":"Leads","count":4},{"language":"default","tag":"Lead Database","count":4},{"language":"default","tag":"Use Cases","count":4},{"language":"default","tag":"Campaigns","count":3},{"language":"default","tag":"Lead Extractor","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"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":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"webhooks/events/workspace-credits-exhausted","slug":"/webhooks/events/workspace-credits-exhausted","pageMetadata":{"title":"workspace.credits_exhausted","description":"Triggered when a client workspace uses up its credit limit or budget","href":"/webhooks/events/workspace-credits-exhausted"},"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: \"Triggered when a client workspace uses up its credit limit or budget\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This event fires when one of your client workspaces uses up its monthly limit (`,_jsx(_components.code,{children:`MONTHLY`}),`) or its budget (`,_jsx(_components.code,{children:`FIXED`}),`).`]}),`\n`,_jsx(Heading,{level:`2`,id:`where-it-is-sent`,children:`Where it is sent`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`To the agency owner’s `,_jsx(_components.strong,{children:`personal workspace`}),`, not to the client workspace. `,_jsx(_components.code,{children:`workspaceId`}),` is your personal workspace; `,_jsx(_components.code,{children:`data.clientWorkspaceId`}),` is the client workspace that ran out.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Owner only:`}),` only the owner of the personal workspace can see, subscribe to or test this event. Other members, admins included, cannot subscribe to it.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`when-this-event-fires`,children:`When this event fires`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Spending reaches the workspace’s monthly limit or fixed budget.`}),`\n`,_jsxs(_components.li,{children:[`A job is refused because it needs more credits than the workspace has left. `,_jsx(_components.code,{children:`remaining`}),` can then be above 0.`]}),`\n`,_jsx(_components.li,{children:`Once per run-out. It fires again only after the workspace has credits again (a top-up, a higher limit or a new billing cycle) and then runs out again.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Workspaces with no limit (`,_jsx(_components.code,{children:`NONE`}),`) never send this event.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Give every endpoint an explicit event list.`}),` While any enabled endpoint in your personal workspace has no event filter (subscribed to everything), this event is not delivered to any endpoint in that workspace. A run-out that happens during that time is not delivered later either.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`payload`,children:`Payload`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"eventId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ws_client_abc123_1763388192000\"`}),_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:` \"eventType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"workspace.credits_exhausted\"`}),_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:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-17T14:03:30.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workspaceId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ws_personal_xyz789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"clientWorkspaceId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ws_client_abc123\"`}),_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:` \"clientWorkspaceName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Corp\"`}),_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:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FIXED\"`}),_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:` \"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`500`}),_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:` \"used\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`480`}),_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:` \"remaining\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`}),_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:` \"exhaustedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-17T14:03:12.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`payload-fields`,children:`Payload Fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`eventId`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`{clientWorkspaceId}_{epochMs}`}),`, where epochMs is `,_jsx(_components.code,{children:`exhaustedAt`}),` in milliseconds. Every delivery of one run-out has the same id; use it to drop duplicates`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`eventType`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Always `,_jsx(_components.code,{children:`workspace.credits_exhausted`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`ISO 8601 time the event was sent`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`workspaceId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Your personal (agency) workspace, not the client workspace`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.clientWorkspaceId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The client workspace that ran out`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.clientWorkspaceName`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Its name when the event was sent`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.mode`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`MONTHLY`}),` or `,_jsx(_components.code,{children:`FIXED`}),`; the same value as `,_jsx(_components.code,{children:`creditMode`}),` in the `,_jsx(_components.a,{href:`/api-reference/endpoint/get-client-workspaces`,children:`client workspaces API`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.limit`})}),_jsx(_components.td,{children:`number`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`MONTHLY`}),`: credits per cycle. `,_jsx(_components.code,{children:`FIXED`}),`: budget granted so far, top-ups included`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.used`})}),_jsx(_components.td,{children:`number`}),_jsxs(_components.td,{children:[`Credits spent this cycle (`,_jsx(_components.code,{children:`MONTHLY`}),`) or since the budget began (`,_jsx(_components.code,{children:`FIXED`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.remaining`})}),_jsx(_components.td,{children:`number`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`max(0, limit - used)`}),`; can be above 0 (see above)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.exhaustedAt`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`ISO 8601 time the workspace ran out`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`use-cases`,children:`Use Cases`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Bill the client, or `,_jsx(_components.a,{href:`/api-reference/endpoint/post-client-workspace-top-up`,children:`top up its budget`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/endpoint/patch-client-workspace-limits`,children:`Raise its limit`}),`.`]}),`\n`,_jsx(_components.li,{children:`Tell the account manager.`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"workspace.credits_exhausted","description":"Triggered when a client workspace uses up its credit limit or budget","href":"/webhooks/events/workspace-credits-exhausted"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Where it is sent","slug":"where-it-is-sent","depth":2,"children":[]},{"title":"When this event fires","slug":"when-this-event-fires","depth":2,"children":[]},{"title":"Payload","slug":"payload","depth":2,"children":[]},{"title":"Payload Fields","slug":"payload-fields","depth":2,"children":[]},{"title":"Use Cases","slug":"use-cases","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"sendpilotai","siteName":"Sendler API","title":"workspace.credits_exhausted - Sendler API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-27T13:48:20.851Z","originalFileLocation":"webhooks/events/workspace-credits-exhausted.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=\"Triggered when a client workspace uses up its credit limit or budget\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sendler API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sendpilotai/gSk-sb_MzebIuVzB/_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/sendpilotai/gSk-sb_MzebIuVzB/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sendpilotai/gSk-sb_MzebIuVzB/_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/sendpilotai/gSk-sb_MzebIuVzB/_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/sendpilotai/gSk-sb_MzebIuVzB/_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/sendpilotai/gSk-sb_MzebIuVzB/_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/sendpilotai/gSk-sb_MzebIuVzB/_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/sendpilotai/gSk-sb_MzebIuVzB/_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/sendpilotai/gSk-sb_MzebIuVzB/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"workspace.credits_exhausted - Sendler API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Triggered when a client workspace uses up its credit limit or budget\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sendler API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sendler.ai/webhooks/events/workspace-credits-exhausted\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sendpilotai.mintlify.site/_mintlify/api/og/v2?division=Webhook+Events\u0026amp;title=workspace.credits_exhausted\u0026amp;description=Triggered+when+a+client+workspace+uses+up+its+credit+limit+or+budget\u0026amp;theme=313db76f899b9de6fd1a8f8f\u0026amp;signature=f02008699ed2fc2533ff531bbb7eda680433d0b2946201dc4efe38fc3bec8931\">\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=\"workspace.credits_exhausted - Sendler API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Triggered when a client workspace uses up its credit limit or budget\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sendpilotai.mintlify.site/_mintlify/api/og/v2?division=Webhook+Events\u0026amp;title=workspace.credits_exhausted\u0026amp;description=Triggered+when+a+client+workspace+uses+up+its+credit+limit+or+budget\u0026amp;theme=313db76f899b9de6fd1a8f8f\u0026amp;signature=f02008699ed2fc2533ff531bbb7eda680433d0b2946201dc4efe38fc3bec8931\">\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/sendpilotai/gSk-sb_MzebIuVzB/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sendler API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1756EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sendler.ai/webhooks/events/workspace-credits-exhausted\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/webhooks/events/workspace-credits-exhausted.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sendler.ai/#organization\",\"name\":\"Sendler API\",\"url\":\"https://docs.sendler.ai\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sendler.ai#website\",\"name\":\"Sendler API\",\"url\":\"https://docs.sendler.ai\",\"publisher\":{\"@id\":\"https://docs.sendler.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sendler.ai/webhooks/events/workspace-credits-exhausted#webpage\",\"url\":\"https://docs.sendler.ai/webhooks/events/workspace-credits-exhausted\",\"name\":\"workspace.credits_exhausted\",\"description\":\"Triggered when a client workspace uses up its credit limit or budget\",\"dateModified\":\"2026-11-27T13:48:20.851Z\",\"isPartOf\":{\"@id\":\"https://docs.sendler.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sendler.ai/webhooks/events/workspace-credits-exhausted#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sendler.ai/webhooks/events/workspace-credits-exhausted#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhook Events\",\"item\":\"https://docs.sendler.ai/webhooks/events/message-sent\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"workspace.credits_exhausted\",\"item\":\"https://docs.sendler.ai/webhooks/events/workspace-credits-exhausted\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.sendler.ai/webhooks/events/workspace-credits-exhausted#article\",\"headline\":\"workspace.credits_exhausted\",\"name\":\"workspace.credits_exhausted\",\"description\":\"Triggered when a client workspace uses up its credit limit or budget\",\"url\":\"https://docs.sendler.ai/webhooks/events/workspace-credits-exhausted\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sendler.ai/webhooks/events/workspace-credits-exhausted#webpage\"},\"dateModified\":\"2026-11-27T13:48:20.851Z\",\"publisher\":{\"@id\":\"https://docs.sendler.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sendler.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sendler API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sendler API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/webhooks/events/workspace-credits-exhausted.md","siteName":"Sendler API","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"Sendler API and MCP","href":"/index"},{"title":"API Reference","href":"/api-reference/introduction"},{"title":"Authentication and permissions","href":"/api-reference/authentication"},{"title":"Limits, pagination, and retries","href":"/api-reference/behavior"}]},{"group":"MCP and OAuth","pages":[{"title":"MCP Server","href":"/ai/mcp"},{"title":"Supported clients and setup","href":"/ai/mcp-clients"},{"title":"OAuth connections","href":"/ai/mcp-oauth"},{"title":"MCP tool reference","href":"/ai/mcp-tools"}]},{"group":"Workspace","pages":[{"title":"Get Workspace and Key","openapi":"GET /v1/me","href":"/api-reference/endpoint/get-me"}]},{"group":"Credits","pages":[{"title":"Get Credit Balance","openapi":"GET /v1/credits","href":"/api-reference/endpoint/get-credits"}]},{"group":"Client Workspaces","pages":[{"title":"List Client Workspaces","openapi":"GET /v1/client-workspaces","href":"/api-reference/endpoint/get-client-workspaces"},{"title":"Get Client Workspace","openapi":"GET /v1/client-workspaces/{id}","href":"/api-reference/endpoint/get-client-workspace"},{"title":"Create Client Workspace","openapi":"POST /v1/client-workspaces","href":"/api-reference/endpoint/post-client-workspace"},{"title":"Set Client Workspace Limits","openapi":"PATCH /v1/client-workspaces/{id}/limits","href":"/api-reference/endpoint/patch-client-workspace-limits"},{"title":"Top Up Client Workspace","openapi":"POST /v1/client-workspaces/{id}/credits/top-up","href":"/api-reference/endpoint/post-client-workspace-top-up"},{"title":"List Client Workspace Invitations","openapi":"GET /v1/client-workspaces/{id}/invitations","href":"/api-reference/endpoint/get-client-workspace-invitations"},{"title":"Invite to Client Workspace","openapi":"POST /v1/client-workspaces/{id}/invitations","href":"/api-reference/endpoint/post-client-workspace-invitation"},{"title":"Revoke Client Workspace Invitation","openapi":"DELETE /v1/client-workspaces/{id}/invitations/{invitationId}","href":"/api-reference/endpoint/delete-client-workspace-invitation"}]},{"group":"Campaigns","pages":[{"title":"List Campaigns","openapi":"GET /v1/campaigns","href":"/api-reference/endpoint/get-campaigns"},{"title":"Get Campaign","openapi":"GET /v1/campaigns/{id}","href":"/api-reference/endpoint/get-campaign-by-id"},{"title":"Pause or Resume Campaign","openapi":"PATCH /v1/campaigns/{id}","href":"/api-reference/endpoint/patch-campaign"}]},{"group":"Leads","pages":[{"title":"List Campaign Leads","openapi":"GET /v1/leads","href":"/api-reference/endpoint/get-leads"},{"title":"Get Lead","openapi":"GET /v1/leads/{id}","href":"/api-reference/endpoint/get-lead-by-id"},{"title":"Add Leads","openapi":"POST /v1/leads","href":"/api-reference/endpoint/post-add-leads"},{"title":"Update Lead Status","openapi":"PATCH /v1/leads/{id}/status","href":"/api-reference/endpoint/patch-lead-status"}]},{"group":"Inbox and Senders","pages":[{"title":"List Active Senders","openapi":"GET /v1/inbox/senders","href":"/api-reference/endpoint/get-senders"},{"title":"Get Sender Quotas","openapi":"GET /v1/senders/quotas","href":"/api-reference/endpoint/get-sender-quotas"},{"title":"List Conversations","openapi":"GET /v1/inbox/conversations","href":"/api-reference/endpoint/get-conversations"},{"title":"Get Conversation Messages","openapi":"GET /v1/inbox/conversations/{conversationId}/messages","href":"/api-reference/endpoint/get-messages"},{"title":"Send LinkedIn Message","openapi":"POST /v1/inbox/send","href":"/api-reference/endpoint/post-send-message"},{"title":"Send Message to Lead","openapi":"POST /v1/inbox/send/lead/{leadId}","href":"/api-reference/endpoint/post-send-to-lead"},{"title":"Send Connection Request","openapi":"POST /v1/inbox/connect","href":"/api-reference/endpoint/post-connect"}]},{"group":"Lead Database","pages":[{"title":"Discover Lead Filters","openapi":"GET /v1/lead-database/filters","href":"/api-reference/endpoint/get-lead-filters"},{"title":"Start Lead Database Search","openapi":"POST /v1/lead-database/searches","href":"/api-reference/endpoint/post-lead-database-search"},{"title":"Get Search Status","openapi":"GET /v1/lead-database/searches/{id}/status","href":"/api-reference/endpoint/get-lead-database-search-status"},{"title":"Get Search Results","openapi":"GET /v1/lead-database/searches/{id}/results","href":"/api-reference/endpoint/get-lead-database-search-results"}]},{"group":"Lead Extractor","pages":[{"title":"Start Lead Extraction","openapi":"POST /v1/lead-extractor/campaigns","href":"/api-reference/endpoint/post-lead-extractor-campaign"},{"title":"Get Extraction Status","openapi":"GET /v1/lead-extractor/campaigns/{id}/status","href":"/api-reference/endpoint/get-lead-extractor-campaign-status"},{"title":"Get Extracted Leads","openapi":"GET /v1/lead-extractor/campaigns/{id}/results","href":"/api-reference/endpoint/get-lead-extractor-campaign-results"}]},{"group":"Webhooks","pages":[{"title":"Webhooks overview","href":"/webhooks/overview"},{"title":"Set up webhooks","href":"/webhooks/setup"}]},{"group":"Webhook Events","pages":[{"title":"message.sent","href":"/webhooks/events/message-sent"},{"title":"reply.received","href":"/webhooks/events/reply-received"},{"title":"connection_request.sent","href":"/webhooks/events/connection-request-sent"},{"title":"connection_request.accepted","href":"/webhooks/events/connection-request-accepted"},{"title":"lead.updated","href":"/webhooks/events/lead-updated"},{"title":"Lead tag updated","href":"/webhooks/events/lead-tag-updated"},{"title":"campaign.started","href":"/webhooks/events/campaign-started"},{"title":"campaign.paused","href":"/webhooks/events/campaign-paused"},{"title":"campaign.resumed","href":"/webhooks/events/campaign-resumed"},{"title":"Campaign finished","href":"/webhooks/events/campaign-finished"},{"title":"lead_database.search.completed","href":"/webhooks/events/lead-database-search-completed"},{"title":"lead_extractor.job.completed","description":"Triggered when a Lead Extractor campaign completes","href":"/webhooks/events/lead-extractor-job-completed"},{"title":"workspace.credits_exhausted","href":"/webhooks/events/workspace-credits-exhausted"}]},{"group":"Use Cases","pages":[{"title":"Use Cases","description":"Integrate Sendler with your favorite automation tools","href":"/use-cases/overview"},{"title":"Zapier integration","href":"/use-cases/zapier"},{"title":"n8n integration","href":"/use-cases/n8n"},{"title":"Make.com integration","href":"/use-cases/make"}]}]},"basePath":"","title":"workspace.credits_exhausted - Sendler API","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":[],"chunks":[]}