const response = await fetch('https://api.nixflex.com/v1/calls', { method: 'DELETE', headers: { Authorization: `Bearer ${process.env.NIXFLEX_API_KEY}` },});if (!response.ok) throw new Error(`HTTP ${response.status}`);const result = await response.json();// Handle the private result without logging it.
import os, jsonfrom urllib.request import Request, urlopenrequest = Request('https://api.nixflex.com/v1/calls', method='DELETE', headers={'Authorization': 'Bearer ' + os.environ['NIXFLEX_API_KEY']})with urlopen(request, timeout=30) as response: result = json.load(response)# Handle the private result without logging it.
const response = await fetch('https://api.nixflex.com/v1/calls', { method: 'DELETE', headers: { Authorization: `Bearer ${process.env.NIXFLEX_API_KEY}` },});if (!response.ok) throw new Error(`HTTP ${response.status}`);const result = await response.json();// Handle the private result without logging it.
import os, jsonfrom urllib.request import Request, urlopenrequest = Request('https://api.nixflex.com/v1/calls', method='DELETE', headers={'Authorization': 'Bearer ' + os.environ['NIXFLEX_API_KEY']})with urlopen(request, timeout=30) as response: result = json.load(response)# Handle the private result without logging it.
FIXED · accountDELETE /v1/calls covers the owning account’s calls and related recordings. It takes no number or campaign filter. Its result reports sms_deleted=0.NOT OFFERED → do this instead · number There is no bulk erase for just one customer’s number in a shared account. Resolve and verify each tenant-owned call ID, then use single-call deletion.YOU CAN CHANGE · agent New agents inherit account retention on creation. Use the agent update to change its saved call-retention policy.SCOPE · call Read availability first. Stored links expire. Distinguish pending, expired, unavailable and customer storage.Read the compact AI rulesRequest guarded cleanup of the account’s calls without deleting SMS or closing the account.
Method: DELETE ·
Success: 200 ·
Scope: Owning account
The important part
This targets every call on the account. A phone number, customer or campaign ID cannot narrow this operation. For one customer, first identify their call IDs in your own records, then use the single-call deletion endpoint for each intended call.
This affects the account’s call history; confirm the scope before sending.
A single-call cleanup rule does not automatically apply to bulk deletion.
Work or cleanup confirmation can remain pending and return 409/503. Legacy recording counters are not all-copy erasure proof. Reconcile an uncertain response before another deliberate action.
Authentication
Use Authorization: Bearer KEY_ID:KEY_SECRET for the owning account. An organisation API key has Owner authority. Personal sessions use the role rules documented in Authentication; do not treat a Member session as an API key.
Request fields
Field
Type
Required
Default and limits
Do not send a request body.Requests guarded cleanup of owned call history. The current public guard can
hold nonempty cleanup for storage/transfer-audio confirmation. This is not an
immediate account-erasure workflow and does not delete SMS messages. The
new single-call and campaign deletion flow does not replace these bulk safety checks.
Not reversible
This is destructive if allowed. SDK changes never automatically retry it;
a lost reply may follow partial progress. Check before retrying. There is no
undo through this API; no promise about customer-owned or exported copies.
What this does NOT do
This call-data request does not delete your agents, phone numbers or API keys.
Billing and invoices are unaffected. Past usage stays on your invoices; billing records are retained for tax purposes.
Account deletion is a separate dashboard-owner workflow with pending states;
this endpoint does not close an account or certify its complete erasure.
Response fields
200 returns the following shape.
Field
Type
Meaning
deleted
boolean
Optional saved value.
calls_deleted
integer
Optional saved value.
recordings_deleted
integer
Optional saved value.
sms_deleted
integer
Optional saved value.
Legacy shape; an already-empty scope can return:
Field
Type
Notes
calls_deleted
number
Call records removed.
recordings_deleted
number
Legacy requested-storage-path count, including possible whisper paths; not proof of objects found or every copy erased.
sms_deleted
number
Compatibility field; this route does not delete SMS and returns zero.
Refusals use 409 for in-progress, unsettled or pending/failed cleanup, and 503 when
safety cannot be checked. The bulk codes include call_in_progress, deletion_unsettled,
recording_cleanup_pending, cleanup_pending_confirmation and deletion_cleanup_failed. A safety refusal includes details.deleted=false and
details.safe_to_retry=false; show the reason instead of “deleted”. No completion
deadline or all-copy erasure guarantee is made by this response.
Example request
Production HTTP examples. Replace the placeholder identifiers with resources owned by the account. Set NIXFLEX_API_KEY privately; never print it.
const response = await fetch('https://api.nixflex.com/v1/calls', { method: 'DELETE', headers: { Authorization: `Bearer ${process.env.NIXFLEX_API_KEY}` },});if (!response.ok) throw new Error(`HTTP ${response.status}`);const result = await response.json();// Handle the private result without logging it.
import os, jsonfrom urllib.request import Request, urlopenrequest = Request('https://api.nixflex.com/v1/calls', method='DELETE', headers={'Authorization': 'Bearer ' + os.environ['NIXFLEX_API_KEY']})with urlopen(request, timeout=30) as response: result = json.load(response)# Handle the private result without logging it.
Branch on error.code, not the wording of error.message. The envelope includes type, code, message, doc_url and details.
Status / code
What it means
What to do
400
Invalid request - missing or malformed parameters.
Correct the named field or query using the request table before trying again.
401
Authentication failed - bad or missing API key.
Check the full account credential and API host privately; stop the retry loop.
404
Not found on your account.
Check the exact owned identifier and current resource state; do not probe another account.
429
Rate limit exceeded. Honour the Retry-After header.
Stop automatic retries; wait for the limit and reconcile state before a deliberate action.
500
Server error.
Treat the outcome as uncertain and read the affected resource before another deliberate change.
Retry and idempotency
Disable automatic write retries. A lost response leaves the result uncertain; read the affected resource before another deliberate action. No general Idempotency-Key replay guarantee applies. See retry rules.
KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.
Response
Success
deleted
boolean
calls_deleted
integer
recordings_deleted
integer
sms_deleted
integer
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Nixflex","description":"Build Nixflex voice agents and connect calls, SMS, knowledge, and business workflows with practical guides and the public API reference.","colors":{"primary":"#25D366","light":"#25D366","dark":"#1da851"},"logo":{"light":"https://mintcdn.com/nixflec/6sJ45yQymaxY5p6m/logo/light.svg?fit=max\u0026auto=format\u0026n=6sJ45yQymaxY5p6m\u0026q=85\u0026s=7497b7278ff8d360bbdd0c55c90c5f05","dark":"https://mintcdn.com/nixflec/6sJ45yQymaxY5p6m/logo/dark.svg?fit=max\u0026auto=format\u0026n=6sJ45yQymaxY5p6m\u0026q=85\u0026s=4581449b087c9ebbede8ed0ee1be1b6e"},"favicon":"https://mintcdn.com/nixflec/6sJ45yQymaxY5p6m/favicon.svg?fit=max\u0026auto=format\u0026n=6sJ45yQymaxY5p6m\u0026q=85\u0026s=e087521a364db0044fc82335cc95f3eb","navbar":{"links":[{"href":"mailto:support@nixflex.com","label":"Support"},{"href":"https://dashboard.nixflex.com/login","label":"Dashboard"}],"primary":{"type":"button","label":"Sign up","href":"https://dashboard.nixflex.com/login"}},"seo":{"metatags":{"og:type":"website","og:site_name":"Nixflex","twitter:card":"summary_large_image","canonical":"https://docs.nixflex.com"},"indexing":"all"},"styling":{"codeblocks":"dark","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode","download-spec"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nixflec","hasAudioNarration":false,"actualSubdomain":"nixflec","customDomains":["docs.nixflex.com"],"gitSource":{"type":"github","owner":"nixflex","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10e9a29ffae5051c414bec"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0c24b93f7540bc94fd0b6c","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"API reference","count":164},{"language":"default","tag":"Developer guide","count":100},{"language":"default","tag":"Business guide","count":72},{"language":"default","tag":"Knowledge","count":51},{"language":"default","tag":"Integrations","count":45},{"language":"default","tag":"Calls","count":28},{"language":"default","tag":"SMS","count":24},{"language":"default","tag":"Account","count":22},{"language":"default","tag":"Agents","count":17},{"language":"default","tag":"Voice campaigns","count":16}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"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":[{"filePath":"styles.css","content":":root{--nxf-green:#25d366;--nxf-green-ink:#0f7a40;--nxf-green-soft:#e8fbf0;--nxf-ink:#0f1720;--nxf-muted:#4b5563;--nxf-line:#e6e8ec;--nxf-soft:#f7f8fa}:root:not(.dark) #navigation-items a.text-primary,:root:not(.dark) #table-of-contents-content a.text-primary,:root:not(.dark) #header .eyebrow{color:var(--nxf-green-ink)}.nxf-audience{margin:1rem 0 1.4rem;font-size:.875rem;line-height:1.6;color:var(--nxf-muted)}.nxf-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.65rem;margin:1.25rem 0 1.5rem}.nxf-facts>div{min-width:0;background:var(--nxf-soft);border:1px solid transparent;border-radius:12px;padding:.8rem .95rem}.nxf-facts small{display:block;color:var(--nxf-muted);font-size:.75rem;line-height:1.5;margin-bottom:.3rem}.nxf-facts strong{display:block;color:var(--nxf-ink);font-size:.94rem;font-weight:600;line-height:1.45;overflow-wrap:anywhere}.nxf-sep{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.nxf-important{border:1px solid #bdefd2;background:var(--nxf-green-soft);color:var(--nxf-ink);border-radius:14px;padding:1rem 1.25rem;margin:1.5rem 0 2rem}.nxf-important>p:first-child{margin-top:0;color:var(--nxf-green-ink);font-size:.9rem}.nxf-important>span:first-child{display:block;color:var(--nxf-green-ink);font-size:.9rem}.nxf-important>span:first-child strong{color:inherit}.nxf-important>p:last-child,.nxf-important>ul:last-child{margin-bottom:0}.nxf-important ul{padding-left:1.25rem;margin-top:.5rem}.nxf-important li{margin:.3rem 0}.nxf-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:.6rem;margin:1.25rem 0}.nxf-flow>div{border:1px solid var(--nxf-line);border-radius:12px;padding:.8rem;font-size:.875rem;line-height:1.55}.nxf-flow strong{display:block;color:var(--nxf-green-ink);margin-bottom:.25rem}.nxf-conversation{background:var(--nxf-soft);border:1px solid var(--nxf-line);border-radius:14px;padding:1rem;margin:1.25rem 0}.nxf-conversation p{margin:.6rem 0;line-height:1.6}.nxf-conversation p:first-child{margin-top:0}.nxf-conversation p:last-child{margin-bottom:0}.dark{--nxf-ink:#eef2f6;--nxf-muted:#bbc4ce;--nxf-line:#34404b;--nxf-soft:#1b222b;--nxf-green-ink:#75eaa2;--nxf-green-soft:#102c20}.dark .nxf-important{border-color:#28583d}.dark .nxf-facts>div{border-color:var(--nxf-line)}@media (max-width:760px){.nxf-facts,.nxf-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.nxf-important{padding:.9rem 1rem}}@media (max-width:380px){.nxf-facts,.nxf-flow{grid-template-columns:minmax(0,1fr)}}"}]}
{"page":{"pagePath":"api-reference/calls/delete-all","slug":"/api-reference/calls/delete-all","pageMetadata":{"title":"Delete all calls","description":"Request guarded deletion of Nixflex call data for the account. Review scope, cleanup requirements and uncertain outcomes before another request.","openapi":"api-reference/public.openapi.json DELETE /calls","playground":"simple","sidebarTitle":"Delete all calls","canonical":"https://docs.nixflex.com/api-reference/calls/delete-all","href":"/api-reference/calls/delete-all"},"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: \"Request guarded deletion of Nixflex call data for the account. Review scope, cleanup requirements and uncertain outcomes before another request.\"\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`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`FIXED · account`}),` `,_jsx(_components.code,{children:`DELETE /v1/calls`}),` covers the owning account’s calls and related recordings. It takes no number or campaign filter. Its result reports sms_deleted=0.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`NOT OFFERED → do this instead · number`}),` There is no bulk erase for just one customer’s number in a shared account. Resolve and verify each tenant-owned call ID, then use single-call deletion.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`YOU CAN CHANGE · agent`}),` New agents inherit account retention on creation. Use the agent update to change its saved call-retention policy.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`SCOPE · call`}),` Read availability first. Stored links expire. Distinguish pending, expired, unavailable and customer storage.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.nixflex.com/ai-rules.md#recordings-retention`,children:`Read the compact AI rules`})}),`\n`,_jsx(_components.p,{children:`Request guarded cleanup of the account’s calls without deleting SMS or closing the account.`}),`\n`,_jsxs(`div`,{className:`nxf-facts`,children:[_jsxs(`div`,{children:[_jsxs(`small`,{children:[`Method`,_jsx(`span`,{className:`nxf-sep`,children:`: `})]}),_jsx(`strong`,{children:`DELETE`}),_jsx(`span`,{className:`nxf-sep`,children:` · `})]}),_jsxs(`div`,{children:[_jsxs(`small`,{children:[`Success`,_jsx(`span`,{className:`nxf-sep`,children:`: `})]}),_jsx(`strong`,{children:`200`}),_jsx(`span`,{className:`nxf-sep`,children:` · `})]}),_jsxs(`div`,{children:[_jsxs(`small`,{children:[`Scope`,_jsx(`span`,{className:`nxf-sep`,children:`: `})]}),_jsx(`strong`,{children:`Owning account`})]})]}),`\n`,_jsxs(`div`,{className:`nxf-important`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`The important part`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`This targets every call on the account.`}),` A phone number, customer or campaign ID cannot narrow this operation. For one customer, first identify their call IDs in your own records, then use the `,_jsx(_components.a,{href:`/api-reference/calls/delete`,children:`single-call deletion endpoint`}),` for each intended call.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`This affects the account’s call history; confirm the scope before sending.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`A single-call cleanup rule does not automatically apply to bulk deletion.`}),`\n`]}),`\n`]})]}),`\n`,_jsx(`div`,{className:`nxf-audience`,children:_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/guides/business/call-history`,children:`Business guide`}),` · `,_jsx(_components.a,{href:`/guides/developer/call-history`,children:`Developer guide`}),` · `,_jsx(_components.a,{href:`/guides/glossary`,children:`Glossary`})]})}),`\n`,_jsx(_components.p,{children:`Work or cleanup confirmation can remain pending and return 409/503. Legacy recording counters are not all-copy erasure proof. Reconcile an uncertain response before another deliberate action.`}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`Authorization: Bearer KEY_ID:KEY_SECRET`}),` for the owning account. An organisation API key has Owner authority. Personal sessions use the role rules documented in `,_jsx(_components.a,{href:`/api-reference/authentication`,children:`Authentication`}),`; do not treat a Member session as an API key.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-fields`,children:`Request fields`}),`\n`,_jsx(Table,{children:_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Default and limits`})]})})}),`\n`,_jsx(_components.p,{children:`Do not send a request body.`}),`\n`,_jsxs(_components.p,{children:[`Requests guarded cleanup of owned call history. The current public guard can\nhold nonempty cleanup for storage/transfer-audio confirmation. This is not an\nimmediate account-erasure workflow and does `,_jsx(_components.strong,{children:`not`}),` delete SMS messages. The\nnew single-call and campaign deletion flow does not replace these bulk safety checks.`]}),`\n`,_jsx(Heading,{level:`3`,id:`not-reversible`,children:`Not reversible`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This is destructive if allowed. SDK changes never automatically retry it;\na lost reply may follow partial progress. Check before retrying. There is no\nundo through this API; no promise about customer-owned or exported copies.`})}),`\n`,_jsx(Heading,{level:`3`,id:`what-this-does-not-do`,children:`What this does NOT do`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`This call-data request does not delete your agents, phone numbers or API keys.`}),`\n`,_jsx(_components.li,{children:`Billing and invoices are unaffected. Past usage stays on your invoices; billing records are retained for tax purposes.`}),`\n`,_jsx(_components.li,{children:`Account deletion is a separate dashboard-owner workflow with pending states;\nthis endpoint does not close an account or certify its complete erasure.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response fields`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`200`}),` returns the following shape.`]}),`\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:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`deleted`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Optional saved value.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`calls_deleted`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Optional saved value.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recordings_deleted`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Optional saved value.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sms_deleted`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Optional saved value.`})]})]})]}),`\n`,_jsx(_components.p,{children:`Legacy shape; an already-empty scope can return:`}),`\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:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`calls_deleted`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Call records removed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recordings_deleted`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Legacy requested-storage-path count, including possible whisper paths; not proof of objects found or every copy erased.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sms_deleted`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Compatibility field; this route does not delete SMS and returns zero.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Refusals use 409 for in-progress, unsettled or pending/failed cleanup, and 503 when\nsafety cannot be checked. The bulk codes include `,_jsx(_components.code,{children:`call_in_progress`}),`, `,_jsx(_components.code,{children:`deletion_unsettled`}),`,\n`,_jsx(_components.code,{children:`recording_cleanup_pending`}),`, `,_jsx(_components.code,{children:`cleanup_pending_confirmation`}),` and `,_jsx(_components.code,{children:`deletion_cleanup_failed`}),`. A safety refusal includes `,_jsx(_components.code,{children:`details.deleted=false`}),` and\n`,_jsx(_components.code,{children:`details.safe_to_retry=false`}),`; show the reason instead of “deleted”. No completion\ndeadline or all-copy erasure guarantee is made by this response.`]}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example request`}),`\n`,_jsxs(_components.p,{children:[`Production HTTP examples. Replace the placeholder identifiers with resources owned by the account. Set `,_jsx(_components.code,{children:`NIXFLEX_API_KEY`}),` privately; never print it.`]}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`example-response`,children:`Example response`}),`\n`,_jsx(_components.p,{children:`Illustrative response with placeholder identifiers.`}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Branch on `,_jsx(_components.code,{children:`error.code`}),`, not the wording of `,_jsx(_components.code,{children:`error.message`}),`. The envelope includes `,_jsx(_components.code,{children:`type`}),`, `,_jsx(_components.code,{children:`code`}),`, `,_jsx(_components.code,{children:`message`}),`, `,_jsx(_components.code,{children:`doc_url`}),` and `,_jsx(_components.code,{children:`details`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status / code`}),_jsx(_components.th,{children:`What it means`}),_jsx(_components.th,{children:`What to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Invalid request - missing or malformed parameters.`}),_jsx(_components.td,{children:`Correct the named field or query using the request table before trying again.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`Authentication failed - bad or missing API key.`}),_jsx(_components.td,{children:`Check the full account credential and API host privately; stop the retry loop.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`Not found on your account.`}),_jsx(_components.td,{children:`Check the exact owned identifier and current resource state; do not probe another account.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:`Rate limit exceeded. Honour the Retry-After header.`}),_jsx(_components.td,{children:`Stop automatic retries; wait for the limit and reconcile state before a deliberate action.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:`Server error.`}),_jsx(_components.td,{children:`Treat the outcome as uncertain and read the affected resource before another deliberate change.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`retry-and-idempotency`,children:`Retry and idempotency`}),`\n`,_jsxs(_components.p,{children:[`Disable automatic write retries. A lost response leaves the result uncertain; read the affected resource before another deliberate action. No general Idempotency-Key replay guarantee applies. See `,_jsx(_components.a,{href:`/api-reference/retries`,children:`retry rules`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related-endpoints`,children:`Related endpoints`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/calls/list`,children:`List calls`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/calls/get-calls-history`,children:`Get call history`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/errors#error-envelope`,children:`Errors and recovery`})}),`\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":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Delete all calls","description":"Request guarded deletion of Nixflex call data for the account. Review scope, cleanup requirements and uncertain outcomes before another request.","openapi":"api-reference/public.openapi.json DELETE /calls","playground":"simple","sidebarTitle":"Delete all calls","canonical":"https://docs.nixflex.com/api-reference/calls/delete-all","href":"/api-reference/calls/delete-all"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,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,RequestExample,ResponseExample,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`FIXED · account`}),` `,_jsx(_components.code,{children:`DELETE /v1/calls`}),` covers the owning account’s calls and related recordings. It takes no number or campaign filter. Its result reports sms_deleted=0.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`NOT OFFERED → do this instead · number`}),` There is no bulk erase for just one customer’s number in a shared account. Resolve and verify each tenant-owned call ID, then use single-call deletion.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`YOU CAN CHANGE · agent`}),` New agents inherit account retention on creation. Use the agent update to change its saved call-retention policy.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`SCOPE · call`}),` Read availability first. Stored links expire. Distinguish pending, expired, unavailable and customer storage.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.nixflex.com/ai-rules.md#recordings-retention`,children:`Read the compact AI rules`})}),`\n`,_jsx(_components.p,{children:`Request guarded cleanup of the account’s calls without deleting SMS or closing the account.`}),`\n`,_jsxs(`div`,{className:`nxf-facts`,children:[_jsxs(`div`,{children:[_jsxs(`small`,{children:[`Method`,_jsx(`span`,{className:`nxf-sep`,children:`: `})]}),_jsx(`strong`,{children:`DELETE`}),_jsx(`span`,{className:`nxf-sep`,children:` · `})]}),_jsxs(`div`,{children:[_jsxs(`small`,{children:[`Success`,_jsx(`span`,{className:`nxf-sep`,children:`: `})]}),_jsx(`strong`,{children:`200`}),_jsx(`span`,{className:`nxf-sep`,children:` · `})]}),_jsxs(`div`,{children:[_jsxs(`small`,{children:[`Scope`,_jsx(`span`,{className:`nxf-sep`,children:`: `})]}),_jsx(`strong`,{children:`Owning account`})]})]}),`\n`,_jsxs(`div`,{className:`nxf-important`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`The important part`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`This targets every call on the account.`}),` A phone number, customer or campaign ID cannot narrow this operation. For one customer, first identify their call IDs in your own records, then use the `,_jsx(_components.a,{href:`/api-reference/calls/delete`,children:`single-call deletion endpoint`}),` for each intended call.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`This affects the account’s call history; confirm the scope before sending.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`A single-call cleanup rule does not automatically apply to bulk deletion.`}),`\n`]}),`\n`]})]}),`\n`,_jsx(`div`,{className:`nxf-audience`,children:_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/guides/business/call-history`,children:`Business guide`}),` · `,_jsx(_components.a,{href:`/guides/developer/call-history`,children:`Developer guide`}),` · `,_jsx(_components.a,{href:`/guides/glossary`,children:`Glossary`})]})}),`\n`,_jsx(_components.p,{children:`Work or cleanup confirmation can remain pending and return 409/503. Legacy recording counters are not all-copy erasure proof. Reconcile an uncertain response before another deliberate action.`}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`Authorization: Bearer KEY_ID:KEY_SECRET`}),` for the owning account. An organisation API key has Owner authority. Personal sessions use the role rules documented in `,_jsx(_components.a,{href:`/api-reference/authentication`,children:`Authentication`}),`; do not treat a Member session as an API key.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-fields`,children:`Request fields`}),`\n`,_jsx(Table,{children:_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Default and limits`})]})})}),`\n`,_jsx(_components.p,{children:`Do not send a request body.`}),`\n`,_jsxs(_components.p,{children:[`Requests guarded cleanup of owned call history. The current public guard can\nhold nonempty cleanup for storage/transfer-audio confirmation. This is not an\nimmediate account-erasure workflow and does `,_jsx(_components.strong,{children:`not`}),` delete SMS messages. The\nnew single-call and campaign deletion flow does not replace these bulk safety checks.`]}),`\n`,_jsx(Heading,{level:`3`,id:`not-reversible`,children:`Not reversible`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This is destructive if allowed. SDK changes never automatically retry it;\na lost reply may follow partial progress. Check before retrying. There is no\nundo through this API; no promise about customer-owned or exported copies.`})}),`\n`,_jsx(Heading,{level:`3`,id:`what-this-does-not-do`,children:`What this does NOT do`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`This call-data request does not delete your agents, phone numbers or API keys.`}),`\n`,_jsx(_components.li,{children:`Billing and invoices are unaffected. Past usage stays on your invoices; billing records are retained for tax purposes.`}),`\n`,_jsx(_components.li,{children:`Account deletion is a separate dashboard-owner workflow with pending states;\nthis endpoint does not close an account or certify its complete erasure.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response fields`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`200`}),` returns the following shape.`]}),`\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:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`deleted`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Optional saved value.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`calls_deleted`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Optional saved value.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recordings_deleted`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Optional saved value.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sms_deleted`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Optional saved value.`})]})]})]}),`\n`,_jsx(_components.p,{children:`Legacy shape; an already-empty scope can return:`}),`\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:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`calls_deleted`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Call records removed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recordings_deleted`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Legacy requested-storage-path count, including possible whisper paths; not proof of objects found or every copy erased.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sms_deleted`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Compatibility field; this route does not delete SMS and returns zero.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Refusals use 409 for in-progress, unsettled or pending/failed cleanup, and 503 when\nsafety cannot be checked. The bulk codes include `,_jsx(_components.code,{children:`call_in_progress`}),`, `,_jsx(_components.code,{children:`deletion_unsettled`}),`,\n`,_jsx(_components.code,{children:`recording_cleanup_pending`}),`, `,_jsx(_components.code,{children:`cleanup_pending_confirmation`}),` and `,_jsx(_components.code,{children:`deletion_cleanup_failed`}),`. A safety refusal includes `,_jsx(_components.code,{children:`details.deleted=false`}),` and\n`,_jsx(_components.code,{children:`details.safe_to_retry=false`}),`; show the reason instead of “deleted”. No completion\ndeadline or all-copy erasure guarantee is made by this response.`]}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example request`}),`\n`,_jsxs(_components.p,{children:[`Production HTTP examples. Replace the placeholder identifiers with resources owned by the account. Set `,_jsx(_components.code,{children:`NIXFLEX_API_KEY`}),` privately; never print it.`]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL (Bash)`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` DELETE`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.nixflex.com/v1/calls'`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$NIXFLEX_API_KEY`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node (HTTP)`,numberOfLines:`7`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'https://api.nixflex.com/v1/calls'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'DELETE'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`process`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:`NIXFLEX_API_KEY`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` (!`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`ok`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`throw`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` Error`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:\"`HTTP \"}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`// Handle the private result without logging it.`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python (HTTP)`,numberOfLines:`8`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` os, json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` urllib.request `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` Request, urlopen`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`request = Request(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'https://api.nixflex.com/v1/calls'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`method`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'DELETE'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`={`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'Authorization'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'Bearer '`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` + os.environ[`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'NIXFLEX_API_KEY'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`]})`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`with`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` urlopen(request, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`timeout`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` response:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` result = json.load(response)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Handle the private result without logging it.`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`PowerShell (HTTP)`,numberOfLines:`3`,language:`powershell`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`powershell`,children:_jsxs(_components.code,{language:`powershell`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$headers`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`@`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$env:NIXFLEX_API_KEY`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$result`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`Invoke-RestMethod`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` -Method DELETE -Uri `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'https://api.nixflex.com/v1/calls'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` -Headers `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$headers`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` -DisableKeepAlive`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Handle $result privately.`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`example-response`,children:`Example response`}),`\n`,_jsx(_components.p,{children:`Illustrative response with placeholder identifiers.`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"deleted\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"calls_deleted\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"recordings_deleted\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"sms_deleted\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`0`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Branch on `,_jsx(_components.code,{children:`error.code`}),`, not the wording of `,_jsx(_components.code,{children:`error.message`}),`. The envelope includes `,_jsx(_components.code,{children:`type`}),`, `,_jsx(_components.code,{children:`code`}),`, `,_jsx(_components.code,{children:`message`}),`, `,_jsx(_components.code,{children:`doc_url`}),` and `,_jsx(_components.code,{children:`details`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status / code`}),_jsx(_components.th,{children:`What it means`}),_jsx(_components.th,{children:`What to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Invalid request - missing or malformed parameters.`}),_jsx(_components.td,{children:`Correct the named field or query using the request table before trying again.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`Authentication failed - bad or missing API key.`}),_jsx(_components.td,{children:`Check the full account credential and API host privately; stop the retry loop.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`Not found on your account.`}),_jsx(_components.td,{children:`Check the exact owned identifier and current resource state; do not probe another account.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:`Rate limit exceeded. Honour the Retry-After header.`}),_jsx(_components.td,{children:`Stop automatic retries; wait for the limit and reconcile state before a deliberate action.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:`Server error.`}),_jsx(_components.td,{children:`Treat the outcome as uncertain and read the affected resource before another deliberate change.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`retry-and-idempotency`,children:`Retry and idempotency`}),`\n`,_jsxs(_components.p,{children:[`Disable automatic write retries. A lost response leaves the result uncertain; read the affected resource before another deliberate action. No general Idempotency-Key replay guarantee applies. See `,_jsx(_components.a,{href:`/api-reference/retries`,children:`retry rules`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related-endpoints`,children:`Related endpoints`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/calls/list`,children:`List calls`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/calls/get-calls-history`,children:`Get call history`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/errors#error-envelope`,children:`Errors and recovery`})}),`\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":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Delete all calls","description":"Request guarded deletion of Nixflex call data for the account. Review scope, cleanup requirements and uncertain outcomes before another request.","openapi":"api-reference/public.openapi.json DELETE /calls","playground":"simple","sidebarTitle":"Delete all calls","canonical":"https://docs.nixflex.com/api-reference/calls/delete-all","href":"/api-reference/calls/delete-all"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Request fields","slug":"request-fields","depth":2,"children":[{"title":"Not reversible","slug":"not-reversible","depth":3,"children":[]},{"title":"What this does NOT do","slug":"what-this-does-not-do","depth":3,"children":[]}]},{"title":"Response fields","slug":"response-fields","depth":2,"children":[]},{"title":"Example request","slug":"example-request","depth":2,"children":[]},{"title":"Example response","slug":"example-response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Retry and idempotency","slug":"retry-and-idempotency","depth":2,"children":[]},{"title":"Related endpoints","slug":"related-endpoints","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL (Bash)","html":"\u003cpre class=\"shiki shiki-themes dark-plus dark-plus\" style=\"background-color:#0B0C0E;--shiki-dark-bg:#0B0C0E;color:#D4D4D4;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#DCDCAA;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\"> DELETE\u003c/span>\u003cspan style=\"color:#D7BA7D;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\"> 'https://api.nixflex.com/v1/calls'\u003c/span>\u003cspan style=\"color:#D7BA7D;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">$NIXFLEX_API_KEY\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Node (HTTP)","html":"\u003cpre class=\"shiki shiki-themes dark-plus dark-plus\" style=\"background-color:#0B0C0E;--shiki-dark-bg:#0B0C0E;color:#D4D4D4;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#4FC1FF;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> = \u003c/span>\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\">await\u003c/span>\u003cspan style=\"color:#DCDCAA;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">'https://api.nixflex.com/v1/calls'\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\"> 'DELETE'\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">Authorization:\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\"> `Bearer \u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">process\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">env\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#4FC1FF;--shiki-dark:#4FC1FF\">NIXFLEX_API_KEY\u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">`\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\">if\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> (!\u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">response\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">ok\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">) \u003c/span>\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\">throw\u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#DCDCAA;--shiki-dark:#DCDCAA\"> Error\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">`HTTP \u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">response\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">status\u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">`\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#4FC1FF;--shiki-dark:#4FC1FF\"> result\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> = \u003c/span>\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\">await\u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#DCDCAA;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6A9955;--shiki-dark:#6A9955\">// Handle the private result without logging it.\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python (HTTP)","html":"\u003cpre class=\"shiki shiki-themes dark-plus dark-plus\" style=\"background-color:#0B0C0E;--shiki-dark-bg:#0B0C0E;color:#D4D4D4;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> os, json\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\">from\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> urllib.request \u003c/span>\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> Request, urlopen\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">request = Request(\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">'https://api.nixflex.com/v1/calls'\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">method\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">'DELETE'\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> headers\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">={\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">'Authorization'\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">'Bearer '\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> + os.environ[\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">'NIXFLEX_API_KEY'\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">]})\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\">with\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> urlopen(request, \u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">timeout\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#B5CEA8;--shiki-dark:#B5CEA8\">30\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">) \u003c/span>\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\">as\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> response:\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> result = json.load(response)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6A9955;--shiki-dark:#6A9955\"># Handle the private result without logging it.\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"PowerShell (HTTP)","html":"\u003cpre class=\"shiki shiki-themes dark-plus dark-plus\" style=\"background-color:#0B0C0E;--shiki-dark-bg:#0B0C0E;color:#D4D4D4;--shiki-dark:#D4D4D4\" language=\"powershell\">\u003ccode language=\"powershell\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">$headers\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> = \u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">@\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">{ \u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">Authorization\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> = \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Bearer \u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">$env:NIXFLEX_API_KEY\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">$result\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> = \u003c/span>\u003cspan style=\"color:#DCDCAA;--shiki-dark:#DCDCAA\">Invoke-RestMethod\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> -Method DELETE -Uri \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">'https://api.nixflex.com/v1/calls'\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> -Headers \u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">$headers\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> -DisableKeepAlive\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6A9955;--shiki-dark:#6A9955\"># Handle $result privately.\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes dark-plus dark-plus\" style=\"background-color:#0B0C0E;--shiki-dark-bg:#0B0C0E;color:#D4D4D4;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"deleted\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"calls_deleted\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#B5CEA8;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"recordings_deleted\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#B5CEA8;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"sms_deleted\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#B5CEA8;--shiki-dark:#B5CEA8\">0\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Calls"],"summary":"Delete all calls","operationId":"deleteAllCalls","security":["43e3b18e-72bf-42dc-a27c-ce813b525fe8"],"description":"Request guarded deletion of Nixflex call data for the account. Review scope, cleanup requirements and uncertain outcomes before another request.","responses":{"200":"eba8dcd8-1846-4b4c-9503-305239d6d878","400":"ddb9a482-577b-489a-b2da-6dae4af73237","401":"3bfff97b-c4f7-44a6-a5e8-77dd406d65b9","404":"a58aa064-67fa-40f0-9cfa-a0171fd41163","429":"8b87f0b2-90e7-4f08-ab50-1a0d7721957d","500":"b9e948f9-88f2-4088-a2b2-5c489b27bbfd"},"method":"delete","type":"path","servers":["d8abe753-3be9-4c16-ad49-2cb82cc9e683"],"path":"/calls","baseUrlOptions":["https://api.nixflex.com/v1"],"title":"Delete all calls","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes dark-plus dark-plus","style":{"backgroundColor":"#0B0C0E","--shiki-dark-bg":"#0B0C0E","color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"3","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#DCDCAA","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#569CD6","--shiki-dark":"#569CD6"},"children":" --request"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":" DELETE"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D7BA7D","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#569CD6","--shiki-dark":"#569CD6"},"children":" --url"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":" 'https://api.nixflex.com/v1/calls'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D7BA7D","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#569CD6","--shiki-dark":"#569CD6"},"children":" --header"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":" \"Authorization: Bearer "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"$NIXFLEX_API_KEY"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":"\""}}]}},"\n"]}}}},"filename":"cURL (Bash)"},{"dropdown":false,"language":"javascript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes dark-plus dark-plus","style":{"backgroundColor":"#0B0C0E","--shiki-dark-bg":"#0B0C0E","color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"language":"javascript","children":{"type":"code","key":null,"ref":null,"props":{"language":"javascript","numberOfLines":"7","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#569CD6","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#4FC1FF","--shiki-dark":"#4FC1FF"},"children":" response"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" = "}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#C586C0","--shiki-dark":"#C586C0"},"children":"await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#DCDCAA","--shiki-dark":"#DCDCAA"},"children":" fetch"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"("}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":"'https://api.nixflex.com/v1/calls'"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":", {"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":" method:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":" 'DELETE'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":" headers:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" { "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"Authorization:"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":" `Bearer "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#569CD6","--shiki-dark":"#569CD6"},"children":"${"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"process"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"env"}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#4FC1FF","--shiki-dark":"#4FC1FF"},"children":"NIXFLEX_API_KEY"}},{"type":"span","key":"10","ref":null,"props":{"style":{"color":"#569CD6","--shiki-dark":"#569CD6"},"children":"}"}},{"type":"span","key":"11","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":"`"}},{"type":"span","key":"12","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" },"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"});"}}}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#C586C0","--shiki-dark":"#C586C0"},"children":"if"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" (!"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"response"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"ok"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":") "}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#C586C0","--shiki-dark":"#C586C0"},"children":"throw"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#569CD6","--shiki-dark":"#569CD6"},"children":" new"}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#DCDCAA","--shiki-dark":"#DCDCAA"},"children":" Error"}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"("}},{"type":"span","key":"10","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":"`HTTP "}},{"type":"span","key":"11","ref":null,"props":{"style":{"color":"#569CD6","--shiki-dark":"#569CD6"},"children":"${"}},{"type":"span","key":"12","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"response"}},{"type":"span","key":"13","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"14","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"status"}},{"type":"span","key":"15","ref":null,"props":{"style":{"color":"#569CD6","--shiki-dark":"#569CD6"},"children":"}"}},{"type":"span","key":"16","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":"`"}},{"type":"span","key":"17","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":");"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#569CD6","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#4FC1FF","--shiki-dark":"#4FC1FF"},"children":" result"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" = "}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#C586C0","--shiki-dark":"#C586C0"},"children":"await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":" response"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#DCDCAA","--shiki-dark":"#DCDCAA"},"children":"json"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"();"}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#6A9955","--shiki-dark":"#6A9955"},"children":"// Handle the private result without logging it."}}}},"\n"]}}}},"filename":"Node (HTTP)"},{"dropdown":false,"language":"python","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes dark-plus dark-plus","style":{"backgroundColor":"#0B0C0E","--shiki-dark-bg":"#0B0C0E","color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"language":"python","children":{"type":"code","key":null,"ref":null,"props":{"language":"python","numberOfLines":"8","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#C586C0","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" os, json"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#C586C0","--shiki-dark":"#C586C0"},"children":"from"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" urllib.request "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#C586C0","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" Request, urlopen"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"request = Request("}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":"'https://api.nixflex.com/v1/calls'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":", "}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"method"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":"'DELETE'"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":" headers"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"={"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":"'Authorization'"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":"'Bearer '"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" + os.environ["}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":"'NIXFLEX_API_KEY'"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"]})"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#C586C0","--shiki-dark":"#C586C0"},"children":"with"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" urlopen(request, "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"timeout"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#B5CEA8","--shiki-dark":"#B5CEA8"},"children":"30"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":") "}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#C586C0","--shiki-dark":"#C586C0"},"children":"as"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" response:"}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" result = json.load(response)"}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#6A9955","--shiki-dark":"#6A9955"},"children":"# Handle the private result without logging it."}}}},"\n"]}}}},"filename":"Python (HTTP)"},{"dropdown":false,"language":"powershell","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes dark-plus dark-plus","style":{"backgroundColor":"#0B0C0E","--shiki-dark-bg":"#0B0C0E","color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"language":"powershell","children":{"type":"code","key":null,"ref":null,"props":{"language":"powershell","numberOfLines":"3","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"$headers"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" = "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#569CD6","--shiki-dark":"#569CD6"},"children":"@"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"{ "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"Authorization"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" = "}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":"\"Bearer "}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"$env:NIXFLEX_API_KEY"}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":"\""}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" }"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"$result"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" = "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#DCDCAA","--shiki-dark":"#DCDCAA"},"children":"Invoke-RestMethod"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" -Method DELETE -Uri "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CE9178","--shiki-dark":"#CE9178"},"children":"'https://api.nixflex.com/v1/calls'"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" -Headers "}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":"$headers"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":" -DisableKeepAlive"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#6A9955","--shiki-dark":"#6A9955"},"children":"# Handle $result privately."}}}},"\n"]}}}},"filename":"PowerShell (HTTP)"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes dark-plus dark-plus","style":{"backgroundColor":"#0B0C0E","--shiki-dark-bg":"#0B0C0E","color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"6","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":" \"deleted\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#569CD6","--shiki-dark":"#569CD6"},"children":"true"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":" \"calls_deleted\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#B5CEA8","--shiki-dark":"#B5CEA8"},"children":"0"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":" \"recordings_deleted\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#B5CEA8","--shiki-dark":"#B5CEA8"},"children":"0"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#9CDCFE","--shiki-dark":"#9CDCFE"},"children":" \"sms_deleted\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#B5CEA8","--shiki-dark":"#B5CEA8"},"children":"0"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#D4D4D4","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"Response"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{},"responses":{"eba8dcd8-1846-4b4c-9503-305239d6d878":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"boolean","uniqueKey":"deleted","typeLabel":"boolean"},"calls_deleted":{"type":"integer","uniqueKey":"calls_deleted","typeLabel":"integer"},"recordings_deleted":{"type":"integer","uniqueKey":"recordings_deleted","typeLabel":"integer"},"sms_deleted":{"type":"integer","uniqueKey":"sms_deleted","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"deleted":true,"calls_deleted":123,"recordings_deleted":123,"sms_deleted":123}}},"exampleType":"generated"}},"exampleType":"generated"},"ddb9a482-577b-489a-b2da-6dae4af73237":{"description":"Invalid request - missing or malformed parameters.","content":{"application/json":{"schema":{"type":"object","description":"Every error uses this envelope. Branch on error.code, not on the message text.","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"3bfff97b-c4f7-44a6-a5e8-77dd406d65b9":{"description":"Authentication failed - bad or missing API key.","content":{"application/json":{"schema":{"type":"object","description":"Every error uses this envelope. Branch on error.code, not on the message text.","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"a58aa064-67fa-40f0-9cfa-a0171fd41163":{"description":"Not found on your account.","content":{"application/json":{"schema":{"type":"object","description":"Every error uses this envelope. Branch on error.code, not on the message text.","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"8b87f0b2-90e7-4f08-ab50-1a0d7721957d":{"description":"Rate limit exceeded. Honour the Retry-After header.","content":{"application/json":{"schema":{"type":"object","description":"Every error uses this envelope. Branch on error.code, not on the message text.","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"b9e948f9-88f2-4088-a2b2-5c489b27bbfd":{"description":"Server error.","content":{"application/json":{"schema":{"type":"object","description":"Every error uses this envelope. Branch on error.code, not on the message text.","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"43e3b18e-72bf-42dc-a27c-ce813b525fe8":{"bearerAuth":{"type":"http","scheme":"bearer","description":"KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"d8abe753-3be9-4c16-ad49-2cb82cc9e683":{"url":"https://api.nixflex.com/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/public.openapi.json"},"subdomain":"nixflec","siteName":"Nixflex","title":"Delete all calls - Nixflex","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-29T12:06:41.550Z","originalFileLocation":"api-reference/calls/delete-all.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=\"Request guarded deletion of Nixflex call data for the account. Review scope, cleanup requirements and uncertain outcomes before another request.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nixflex\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nixflec/wAICcolh1zpBbZRm/_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/nixflec/wAICcolh1zpBbZRm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nixflec/wAICcolh1zpBbZRm/_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/nixflec/wAICcolh1zpBbZRm/_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/nixflec/wAICcolh1zpBbZRm/_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/nixflec/wAICcolh1zpBbZRm/_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/nixflec/wAICcolh1zpBbZRm/_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/nixflec/wAICcolh1zpBbZRm/_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/nixflec/wAICcolh1zpBbZRm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Delete all calls - Nixflex\">\u003cmeta data-mint-head property=\"og:description\" content=\"Request guarded deletion of Nixflex call data for the account. Review scope, cleanup requirements and uncertain outcomes before another request.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nixflex\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nixflex.com/api-reference/calls/delete-all\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nixflec.mintlify.site/_mintlify/api/og/v2?division=Calls\u0026amp;title=Delete+all+calls\u0026amp;description=Request+guarded+deletion+of+Nixflex+call+data+for+the+account.+Review+scope%2C+cleanup+requirements+and+uncertain+outcomes+before+another+request.\u0026amp;theme=69858b6ae084feb3ced79b7e\u0026amp;signature=0f1b1c3020175e368de4c038a45b747e5dd4d95e2576d132f65cd99639dcb5e8\">\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=\"Delete all calls - Nixflex\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Request guarded deletion of Nixflex call data for the account. Review scope, cleanup requirements and uncertain outcomes before another request.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nixflec.mintlify.site/_mintlify/api/og/v2?division=Calls\u0026amp;title=Delete+all+calls\u0026amp;description=Request+guarded+deletion+of+Nixflex+call+data+for+the+account.+Review+scope%2C+cleanup+requirements+and+uncertain+outcomes+before+another+request.\u0026amp;theme=69858b6ae084feb3ced79b7e\u0026amp;signature=0f1b1c3020175e368de4c038a45b747e5dd4d95e2576d132f65cd99639dcb5e8\">\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/nixflec/wAICcolh1zpBbZRm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nixflex\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#25D366\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nixflex.com/api-reference/calls/delete-all\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/calls/delete-all.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nixflex.com/#organization\",\"name\":\"Nixflex\",\"url\":\"https://docs.nixflex.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nixflec/6sJ45yQymaxY5p6m/logo/light.svg?fit=max\u0026auto=format\u0026n=6sJ45yQymaxY5p6m\u0026q=85\u0026s=7497b7278ff8d360bbdd0c55c90c5f05\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nixflex.com#website\",\"name\":\"Nixflex\",\"url\":\"https://docs.nixflex.com\",\"publisher\":{\"@id\":\"https://docs.nixflex.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nixflex.com/api-reference/calls/delete-all#webpage\",\"url\":\"https://docs.nixflex.com/api-reference/calls/delete-all\",\"name\":\"Delete all calls\",\"description\":\"Request guarded deletion of Nixflex call data for the account. Review scope, cleanup requirements and uncertain outcomes before another request.\",\"dateModified\":\"2026-11-29T12:06:41.550Z\",\"isPartOf\":{\"@id\":\"https://docs.nixflex.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nixflex.com/api-reference/calls/delete-all#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nixflex.com/api-reference/calls/delete-all#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Calls\",\"item\":\"https://docs.nixflex.com/api-reference/calls/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Delete all calls\",\"item\":\"https://docs.nixflex.com/api-reference/calls/delete-all\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.nixflex.com/api-reference/calls/delete-all#apireference\",\"headline\":\"Delete all calls\",\"name\":\"Delete all calls\",\"description\":\"Request guarded deletion of Nixflex call data for the account. Review scope, cleanup requirements and uncertain outcomes before another request.\",\"url\":\"https://docs.nixflex.com/api-reference/calls/delete-all\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nixflex.com/api-reference/calls/delete-all#webpage\"},\"dateModified\":\"2026-11-29T12:06:41.550Z\",\"publisher\":{\"@id\":\"https://docs.nixflex.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nixflex.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nixflex\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Nixflex\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/calls/delete-all.md","siteName":"Nixflex","nav":{"global":null,"tabs":[{"tab":"Business guide","pages":[{"title":"Business guide","href":""}]},{"tab":"Developer guide","pages":[{"title":"Developer guide","href":"/guides"}]},{"tab":"API reference","icon":"code","groups":[{"group":"API basics","expanded":true,"pages":[{"title":"Use the Nixflex API","sidebarTitle":"API overview","href":"/api-reference/introduction"},{"title":"Authenticate API requests","sidebarTitle":"Authentication","href":"/api-reference/authentication"},{"title":"Handle API errors","sidebarTitle":"Errors","href":"/api-reference/errors"},{"title":"Page through API results","sidebarTitle":"Pagination","href":"/api-reference/pagination"},{"title":"Handle API rate limits","sidebarTitle":"Rate limits","href":"/api-reference/rate-limits"},{"title":"Reuse supported operation identities","sidebarTitle":"Operation identities","href":"/api-reference/idempotency"},{"title":"Retry failed API requests","sidebarTitle":"Retry rules","href":"/api-reference/retries"},{"title":"Track API versions and compatibility","sidebarTitle":"Versions","href":"/api-reference/versioning"}]},{"group":"Webhooks","expanded":true,"pages":[{"title":"Receive and verify webhook events","sidebarTitle":"Webhook events","href":"/api-reference/webhooks"},{"title":"Receive booking results: call.bookings","sidebarTitle":"Booking results event","href":"/api-reference/call-bookings"}]},{"group":"Agents","expanded":true,"pages":[{"title":"Understand agent settings and defaults","sidebarTitle":"Settings and defaults","href":"/api-reference/agents/contract"},{"title":"Create an agent","sidebarTitle":"Create agent","openapi":"api-reference/public.openapi.json POST /agents","playground":"simple","href":"/api-reference/agents/create"},{"title":"List agents","openapi":"api-reference/public.openapi.json GET /agents","playground":"simple","sidebarTitle":"List agents","href":"/api-reference/agents/list"},{"title":"Get an agent","openapi":"api-reference/public.openapi.json GET /agents/{id}","playground":"simple","sidebarTitle":"Get agent","href":"/api-reference/agents/get"},{"title":"Update an agent","sidebarTitle":"Update agent","openapi":"api-reference/public.openapi.json PUT /agents/{id}","playground":"simple","href":"/api-reference/agents/update"},{"title":"Disable an agent","openapi":"api-reference/public.openapi.json DELETE /agents/{id}","playground":"simple","sidebarTitle":"Disable agent","href":"/api-reference/agents/delete"}]},{"group":"Phone numbers","expanded":true,"pages":[{"title":"List phone numbers","openapi":"api-reference/public.openapi.json GET /phone-numbers","playground":"simple","sidebarTitle":"List phone numbers","href":"/api-reference/phone-numbers/list"},{"title":"Get a phone number","openapi":"api-reference/public.openapi.json GET /phone-numbers/{phoneNumber}","playground":"simple","sidebarTitle":"Get phone number","href":"/api-reference/phone-numbers/get"},{"title":"Import a phone number","sidebarTitle":"Import a phone number","openapi":"api-reference/public.openapi.json POST /phone-numbers","playground":"simple","href":"/api-reference/phone-numbers/import"},{"title":"Update a phone number","sidebarTitle":"Update phone number","openapi":"api-reference/public.openapi.json PATCH /phone-numbers/{phoneNumber}","playground":"simple","href":"/api-reference/phone-numbers/update"},{"title":"Get number usage","openapi":"api-reference/public.openapi.json GET /phone-numbers/{phoneNumber}/usage","playground":"simple","sidebarTitle":"Get number usage","href":"/api-reference/phone-numbers/usage"},{"title":"Update phone number credentials","openapi":"api-reference/public.openapi.json POST /phone-numbers/{phoneNumber}/credentials","playground":"simple","sidebarTitle":"Update phone number credentials","href":"/api-reference/phone-numbers/credentials"},{"title":"Remove a phone number","sidebarTitle":"Remove phone number","openapi":"api-reference/public.openapi.json DELETE /phone-numbers/{phoneNumber}","playground":"simple","href":"/api-reference/phone-numbers/delete"}]},{"group":"Calls","expanded":true,"pages":[{"title":"List calls","sidebarTitle":"List calls","openapi":"api-reference/public.openapi.json GET /calls","playground":"simple","href":"/api-reference/calls/list"},{"title":"Get call history","sidebarTitle":"Get call history","openapi":"api-reference/public.openapi.json GET /calls/history","playground":"simple","href":"/api-reference/calls/get-calls-history"},{"title":"Get a call","sidebarTitle":"Get call","openapi":"api-reference/public.openapi.json GET /calls/{id}","playground":"simple","href":"/api-reference/calls/get"},{"title":"Read call booking results","openapi":"api-reference/public.openapi.json GET /calls/{id}/bookings","playground":"simple","sidebarTitle":"Read call booking results","href":"/api-reference/calls/get-bookings"},{"title":"Get a call recording","sidebarTitle":"Get call recording","openapi":"api-reference/public.openapi.json GET /calls/{id}/recording","playground":"simple","href":"/api-reference/calls/get-calls-id-recording"},{"title":"Create an outbound call","sidebarTitle":"Create outbound call","openapi":"api-reference/public.openapi.json POST /calls/outbound","playground":"simple","href":"/api-reference/calls/create-outbound"},{"title":"Read an outbound call request","openapi":"api-reference/public.openapi.json GET /calls/outbound/requests/{request_id}","playground":"simple","sidebarTitle":"Read outbound call request","href":"/api-reference/calls/get-outbound-request"},{"title":"Handle call outcomes and safe retries","sidebarTitle":"Outcomes and retries","href":"/api-reference/calls/client-safety"},{"title":"Delete a call","sidebarTitle":"Delete call","description":"Hang up and delete an owned call, track recording cleanup and safely resume queued deletion while retaining used charges.","openapi":"api-reference/public.openapi.json DELETE /calls/{id}","playground":"simple","href":"/api-reference/calls/delete"},{"title":"Delete all calls","openapi":"api-reference/public.openapi.json DELETE /calls","playground":"simple","sidebarTitle":"Delete all calls","href":"/api-reference/calls/delete-all"}]},{"group":"Voice campaigns","expanded":true,"pages":[{"title":"List voice campaigns","sidebarTitle":"List voice campaigns","description":"List this account’s voice campaigns, newest first. This bounded list has no offset or cursor.","openapi":"api-reference/public.openapi.json GET /campaigns","playground":"simple","href":"/api-reference/voice-campaigns/get-campaigns"},{"title":"Get a voice campaign","sidebarTitle":"Get voice campaign","openapi":"api-reference/public.openapi.json GET /campaigns/{id}","playground":"simple","href":"/api-reference/voice-campaigns/get"},{"title":"Create a voice campaign","sidebarTitle":"Create voice campaign","openapi":"api-reference/public.openapi.json POST /calls/batch","playground":"simple","href":"/api-reference/calls/batch-create"},{"title":"Launch a voice campaign","sidebarTitle":"Launch a voice campaign","openapi":"api-reference/public.openapi.json POST /calls/batch/{id}/launch","playground":"simple","href":"/api-reference/calls/batch-launch"},{"title":"Cancel voice campaign","sidebarTitle":"Cancel voice campaign","openapi":"api-reference/public.openapi.json POST /calls/batch/{id}/cancel","playground":"simple","href":"/api-reference/voice-campaigns/post-calls-batch-id-cancel"},{"title":"Resume voice campaign","sidebarTitle":"Resume voice campaign","openapi":"api-reference/public.openapi.json POST /calls/batch/{id}/resume","playground":"simple","href":"/api-reference/voice-campaigns/post-calls-batch-id-resume"},{"title":"Record voice consent","sidebarTitle":"Record voice consent","openapi":"api-reference/public.openapi.json POST /calls/batch/{id}/consent","playground":"simple","href":"/api-reference/voice-campaigns/post-calls-batch-id-consent"},{"title":"Delete a voice campaign","sidebarTitle":"Delete voice campaign","openapi":"api-reference/public.openapi.json DELETE /calls/batch/{id}","playground":"simple","href":"/api-reference/voice-campaigns/delete"}]},{"group":"SMS","expanded":true,"pages":[{"title":"Send an SMS","sidebarTitle":"Send an SMS","openapi":"api-reference/public.openapi.json POST /sms","playground":"simple","href":"/api-reference/sms/send"},{"group":"SMS campaigns","expanded":true,"pages":[{"title":"List SMS campaigns","sidebarTitle":"List SMS campaigns","openapi":"api-reference/public.openapi.json GET /sms/campaigns","playground":"simple","href":"/api-reference/sms/campaigns-list"},{"title":"Create an SMS campaign","sidebarTitle":"Create SMS campaign","openapi":"api-reference/public.openapi.json POST /sms/campaigns","playground":"simple","href":"/api-reference/sms/campaigns-create"},{"title":"Get an SMS campaign","sidebarTitle":"Get SMS campaign","openapi":"api-reference/public.openapi.json GET /sms/campaigns/{id}","playground":"simple","href":"/api-reference/sms/campaigns-get"},{"title":"Update SMS reply settings","sidebarTitle":"Update SMS reply settings","openapi":"api-reference/public.openapi.json PATCH /sms/campaigns/{id}","playground":"simple","href":"/api-reference/sms-campaigns/patch-sms-campaigns-id"},{"title":"Launch an SMS campaign","sidebarTitle":"Launch an SMS campaign","openapi":"api-reference/public.openapi.json POST /sms/campaigns/{id}/launch","playground":"simple","href":"/api-reference/sms/campaigns-launch"},{"title":"Cancel SMS campaign","sidebarTitle":"Cancel SMS campaign","openapi":"api-reference/public.openapi.json POST /sms/campaigns/{id}/cancel","playground":"simple","href":"/api-reference/sms-campaigns/post-sms-campaigns-id-cancel"},{"title":"Resume SMS campaign","sidebarTitle":"Resume SMS campaign","openapi":"api-reference/public.openapi.json POST /sms/campaigns/{id}/resume","playground":"simple","href":"/api-reference/sms-campaigns/post-sms-campaigns-id-resume"},{"title":"Record SMS consent","sidebarTitle":"Record SMS consent","openapi":"api-reference/public.openapi.json POST /sms/campaigns/{id}/consent","playground":"simple","href":"/api-reference/sms-campaigns/post-sms-campaigns-id-consent"},{"title":"Delete an SMS campaign","sidebarTitle":"Delete SMS campaign","openapi":"api-reference/public.openapi.json DELETE /sms/campaigns/{id}","playground":"simple","href":"/api-reference/sms/campaigns-delete"}]}]},{"group":"Knowledge","expanded":true,"pages":[{"title":"Get knowledge capabilities","sidebarTitle":"Get capabilities","openapi":"api-reference/public.openapi.json GET /knowledge/capabilities","playground":"simple","href":"/api-reference/knowledge/get-knowledge-capabilities"},{"title":"List knowledge agents","sidebarTitle":"List agents","openapi":"api-reference/public.openapi.json GET /knowledge/targets","playground":"simple","href":"/api-reference/knowledge/get-knowledge-targets"},{"title":"Get agent knowledge","sidebarTitle":"Get agent knowledge","openapi":"api-reference/public.openapi.json GET /agents/{target}/knowledge-base","playground":"simple","href":"/api-reference/knowledge/get-agents-target-knowledge-base"},{"title":"Set agent knowledge","sidebarTitle":"Set agent knowledge","openapi":"api-reference/public.openapi.json PUT /agents/{target}/knowledge-base","playground":"simple","href":"/api-reference/knowledge/put-agents-target-knowledge-base"},{"title":"Get knowledge base","sidebarTitle":"Get base","openapi":"api-reference/public.openapi.json GET /knowledge-bases/{kb}","playground":"simple","href":"/api-reference/knowledge/get-knowledge-bases-kb"},{"title":"Get knowledge overview","sidebarTitle":"Get overview","openapi":"api-reference/public.openapi.json GET /knowledge-bases/{kb}/overview","playground":"simple","href":"/api-reference/knowledge/get-knowledge-bases-kb-overview"},{"title":"Read automatic keyterms","sidebarTitle":"Read automatic keyterms","openapi":"api-reference/public.openapi.json GET /agents/{target}/knowledge-keyterms","playground":"simple","href":"/api-reference/knowledge/get-agents-target-knowledge-keyterms"},{"title":"Get knowledge usage","sidebarTitle":"Get usage","openapi":"api-reference/public.openapi.json GET /knowledge/usage","playground":"simple","href":"/api-reference/knowledge/get-knowledge-usage"},{"title":"Read knowledge events","sidebarTitle":"Read events","openapi":"api-reference/public.openapi.json GET /knowledge/events","playground":"simple","href":"/api-reference/knowledge/get-knowledge-events"},{"title":"Measure knowledge source","sidebarTitle":"Measure source","openapi":"api-reference/public.openapi.json POST /agents/{target}/knowledge-base/source-measure","playground":"simple","href":"/api-reference/knowledge/post-agents-target-knowledge-base-source-measure"},{"title":"Import knowledge source","sidebarTitle":"Import source","openapi":"api-reference/public.openapi.json POST /knowledge-bases/{kb}/sources","playground":"simple","href":"/api-reference/knowledge/post-knowledge-bases-kb-sources"},{"title":"List knowledge sources","sidebarTitle":"List sources","openapi":"api-reference/public.openapi.json GET /knowledge-bases/{kb}/sources","playground":"simple","href":"/api-reference/knowledge/get-knowledge-bases-kb-sources"},{"title":"Rename knowledge source","sidebarTitle":"Rename source","openapi":"api-reference/public.openapi.json PATCH /knowledge-bases/{kb}/sources/{id}","playground":"simple","href":"/api-reference/knowledge/patch-knowledge-bases-kb-sources-id"},{"title":"Replace knowledge source","sidebarTitle":"Replace source","openapi":"api-reference/public.openapi.json POST /knowledge-bases/{kb}/sources/{id}/replacements","playground":"simple","href":"/api-reference/knowledge/post-knowledge-bases-kb-sources-id-replacements"},{"title":"Refresh website sources","sidebarTitle":"Refresh website sources","openapi":"api-reference/public.openapi.json POST /knowledge-bases/{kb}/sources/refresh","playground":"simple","href":"/api-reference/knowledge/post-knowledge-bases-kb-sources-refresh"},{"title":"Delete knowledge source","sidebarTitle":"Delete source","openapi":"api-reference/public.openapi.json DELETE /knowledge-bases/{kb}/sources/{id}","playground":"simple","href":"/api-reference/knowledge/delete-knowledge-bases-kb-sources-id"},{"title":"Discover website pages","sidebarTitle":"Discover website pages","openapi":"api-reference/public.openapi.json POST /knowledge-bases/{kb}/website-discoveries","playground":"simple","href":"/api-reference/knowledge/post-knowledge-bases-kb-website-discoveries"},{"title":"Import selected pages","sidebarTitle":"Import selected pages","openapi":"api-reference/public.openapi.json POST /knowledge-bases/{kb}/website-imports","playground":"simple","href":"/api-reference/knowledge/post-knowledge-bases-kb-website-imports"},{"title":"Get knowledge draft","sidebarTitle":"Get draft","openapi":"api-reference/public.openapi.json GET /knowledge-bases/{kb}/drafts/{id}","playground":"simple","href":"/api-reference/knowledge/get-knowledge-bases-kb-drafts-id"},{"title":"Edit knowledge draft","sidebarTitle":"Edit draft","openapi":"api-reference/public.openapi.json PATCH /knowledge-bases/{kb}/drafts/{id}","playground":"simple","href":"/api-reference/knowledge/patch-knowledge-bases-kb-drafts-id"},{"title":"Accept knowledge draft","sidebarTitle":"Accept draft","openapi":"api-reference/public.openapi.json POST /knowledge-bases/{kb}/drafts/{id}/accept","playground":"simple","href":"/api-reference/knowledge/post-knowledge-bases-kb-drafts-id-accept"},{"title":"Discard knowledge draft","sidebarTitle":"Discard draft","openapi":"api-reference/public.openapi.json DELETE /knowledge-bases/{kb}/drafts/{id}","playground":"simple","href":"/api-reference/knowledge/delete-knowledge-bases-kb-drafts-id"},{"title":"List knowledge topics","sidebarTitle":"List topics","openapi":"api-reference/public.openapi.json GET /knowledge-bases/{kb}/topics","playground":"simple","href":"/api-reference/knowledge/get-knowledge-bases-kb-topics"},{"title":"Get knowledge topic","sidebarTitle":"Get topic","openapi":"api-reference/public.openapi.json GET /knowledge-bases/{kb}/topics/{id}","playground":"simple","href":"/api-reference/knowledge/get-knowledge-bases-kb-topics-id"},{"title":"Create knowledge topic","sidebarTitle":"Create topic","openapi":"api-reference/public.openapi.json POST /knowledge-bases/{kb}/topics","playground":"simple","href":"/api-reference/knowledge/post-knowledge-bases-kb-topics"},{"title":"Update knowledge topic","sidebarTitle":"Update topic","openapi":"api-reference/public.openapi.json PATCH /knowledge-bases/{kb}/topics/{id}","playground":"simple","href":"/api-reference/knowledge/patch-knowledge-bases-kb-topics-id"},{"title":"Delete knowledge topic","sidebarTitle":"Delete topic","openapi":"api-reference/public.openapi.json DELETE /knowledge-bases/{kb}/topics/{id}","playground":"simple","href":"/api-reference/knowledge/delete-knowledge-bases-kb-topics-id"},{"title":"Search knowledge topics","sidebarTitle":"Search topics","openapi":"api-reference/public.openapi.json POST /knowledge-bases/{kb}/topic-search","playground":"simple","href":"/api-reference/knowledge/post-knowledge-bases-kb-topic-search"},{"title":"List unanswered questions","sidebarTitle":"List unanswered questions","openapi":"api-reference/public.openapi.json GET /knowledge-bases/{kb}/unanswered","playground":"simple","href":"/api-reference/knowledge/get-knowledge-bases-kb-unanswered"},{"title":"Update knowledge settings","sidebarTitle":"Update settings","openapi":"api-reference/public.openapi.json PATCH /knowledge-bases/{kb}/settings","playground":"simple","href":"/api-reference/knowledge/patch-knowledge-bases-kb-settings"},{"title":"Start knowledge test","sidebarTitle":"Start test","openapi":"api-reference/public.openapi.json POST /agents/{target}/knowledge-base/test-sessions","playground":"simple","href":"/api-reference/knowledge/post-agents-target-knowledge-base-test-sessions"},{"title":"Get knowledge test session","sidebarTitle":"Get test session","openapi":"api-reference/public.openapi.json GET /knowledge/test-sessions/{id}","playground":"simple","href":"/api-reference/knowledge/get-knowledge-test-sessions-id"},{"title":"Ask a knowledge test question","sidebarTitle":"Ask a test question","openapi":"api-reference/public.openapi.json POST /knowledge/test-sessions/{id}/messages","playground":"simple","href":"/api-reference/knowledge/post-knowledge-test-sessions-id-messages"},{"title":"Cancel knowledge test","sidebarTitle":"Cancel test","openapi":"api-reference/public.openapi.json POST /knowledge/test-sessions/{id}/cancel","playground":"simple","href":"/api-reference/knowledge/post-knowledge-test-sessions-id-cancel"},{"title":"Get knowledge job","sidebarTitle":"Get job","openapi":"api-reference/public.openapi.json GET /knowledge/jobs/{id}","playground":"simple","href":"/api-reference/knowledge/get-knowledge-jobs-id"},{"title":"Retry knowledge job","sidebarTitle":"Retry job","openapi":"api-reference/public.openapi.json POST /knowledge/jobs/{id}/retry","playground":"simple","href":"/api-reference/knowledge/post-knowledge-jobs-id-retry"},{"title":"Cancel knowledge job","sidebarTitle":"Cancel job","openapi":"api-reference/public.openapi.json POST /knowledge/jobs/{id}/cancel","playground":"simple","href":"/api-reference/knowledge/post-knowledge-jobs-id-cancel"},{"title":"Create knowledge export","sidebarTitle":"Create export","openapi":"api-reference/public.openapi.json POST /knowledge-bases/{kb}/exports","playground":"simple","href":"/api-reference/knowledge/post-knowledge-bases-kb-exports"},{"title":"Download knowledge export","sidebarTitle":"Download export","openapi":"api-reference/public.openapi.json GET /knowledge/exports/{id}","playground":"simple","href":"/api-reference/knowledge/get-knowledge-exports-id"},{"title":"Delete agent knowledge","sidebarTitle":"Delete agent knowledge","openapi":"api-reference/public.openapi.json DELETE /agents/{target}/knowledge-base","playground":"simple","href":"/api-reference/knowledge/delete-agents-target-knowledge-base"}]},{"group":"Web agent","expanded":true,"pages":[{"title":"Read web agent settings","sidebarTitle":"Read web agent settings","openapi":"api-reference/public.openapi.json GET /agent-web/{number}","playground":"simple","href":"/api-reference/web-agent/get-agent-web-number"},{"title":"Update web agent settings","sidebarTitle":"Update web agent settings","openapi":"api-reference/public.openapi.json PATCH /agent-web/{number}","playground":"simple","href":"/api-reference/web-agent/patch-agent-web-number"}]},{"group":"Inbox","expanded":true,"pages":[{"title":"Check inbox availability","sidebarTitle":"Check inbox availability","openapi":"api-reference/public.openapi.json GET /agent-inbox/features","playground":"simple","href":"/api-reference/agent-inbox/get-agent-inbox-features"},{"title":"List inbox numbers","sidebarTitle":"List inbox numbers","openapi":"api-reference/public.openapi.json GET /agent-inbox/numbers","playground":"simple","href":"/api-reference/agent-inbox/get-agent-inbox-numbers"},{"title":"List inbox conversations","sidebarTitle":"List inbox conversations","openapi":"api-reference/public.openapi.json GET /agent-inbox/{channel}/{number}","playground":"simple","href":"/api-reference/agent-inbox/get-agent-inbox-channel-number"},{"title":"Read an inbox thread","sidebarTitle":"Read inbox thread","openapi":"api-reference/public.openapi.json GET /agent-inbox/{channel}/{number}/thread/{thread}","playground":"simple","href":"/api-reference/agent-inbox/get-agent-inbox-channel-number-thread-thread"},{"title":"Update an inbox thread","sidebarTitle":"Update inbox thread","openapi":"api-reference/public.openapi.json PATCH /agent-inbox/{channel}/{number}/thread/{thread}","playground":"simple","href":"/api-reference/agent-inbox/patch-agent-inbox-channel-number-thread-thread"},{"title":"Read inbox retention","sidebarTitle":"Read inbox retention","openapi":"api-reference/public.openapi.json GET /agent-inbox/retention","playground":"simple","href":"/api-reference/agent-inbox/get-agent-inbox-retention"}]},{"group":"Contacts","expanded":true,"pages":[{"title":"Delete caller context","sidebarTitle":"Delete caller context","openapi":"api-reference/public.openapi.json DELETE /phone-numbers/{phoneNumber}/callers/{callerNumber}","playground":"simple","href":"/api-reference/caller-context/delete"},{"title":"Get caller context","openapi":"api-reference/public.openapi.json GET /phone-numbers/{phoneNumber}/callers/{callerNumber}","playground":"simple","sidebarTitle":"Get caller context","href":"/api-reference/caller-context/get"},{"title":"Set caller context","openapi":"api-reference/public.openapi.json PUT /phone-numbers/{phoneNumber}/callers/{callerNumber}","playground":"simple","sidebarTitle":"Set caller context","href":"/api-reference/caller-context/set"},{"title":"Import caller context","sidebarTitle":"Import caller context","openapi":"api-reference/public.openapi.json POST /phone-numbers/{phoneNumber}/callers/import","playground":"simple","href":"/api-reference/caller-context/import"},{"title":"Preview contact hours","sidebarTitle":"Preview contact hours","openapi":"api-reference/public.openapi.json POST /contact-hours/preview","playground":"simple","href":"/api-reference/contact-controls/post-contact-hours-preview"},{"title":"List contact suppressions","sidebarTitle":"List contact suppressions","openapi":"api-reference/public.openapi.json GET /contact-suppressions","playground":"simple","href":"/api-reference/contact-controls/get-contact-suppressions"},{"title":"Add contact suppressions","sidebarTitle":"Add contact suppressions","openapi":"api-reference/public.openapi.json POST /contact-suppressions","playground":"simple","href":"/api-reference/contact-controls/post-contact-suppressions"},{"title":"Remove a contact suppression","sidebarTitle":"Remove contact suppression","openapi":"api-reference/public.openapi.json DELETE /contact-suppressions","playground":"simple","href":"/api-reference/contact-controls/delete-contact-suppressions"}]},{"group":"Integrations","expanded":true,"pages":[{"group":"Cal.com","expanded":true,"pages":[{"title":"Get Cal.com settings","sidebarTitle":"Get Cal.com settings","openapi":"api-reference/public.openapi.json GET /integrations/calcom/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/get-integrations-calcom-number-phoneNumber"},{"title":"Set Cal.com settings","sidebarTitle":"Set Cal.com settings","openapi":"api-reference/public.openapi.json PUT /integrations/calcom/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/put-integrations-calcom-number-phoneNumber"},{"title":"Delete Cal.com settings","sidebarTitle":"Delete Cal.com settings","openapi":"api-reference/public.openapi.json DELETE /integrations/calcom/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/delete-integrations-calcom-number-phoneNumber"}]},{"group":"Google Calendar","expanded":true,"pages":[{"title":"Connect Google Calendar","openapi":"api-reference/public.openapi.json POST /integrations/google-calendar/number/{phoneNumber}/connect","playground":"simple","sidebarTitle":"Connect Google Calendar","href":"/api-reference/integration-settings/google-calendar"},{"title":"Get Google Calendar status","openapi":"api-reference/public.openapi.json GET /integrations/google-calendar/number/{phoneNumber}","playground":"simple","sidebarTitle":"Get Google Calendar status","href":"/api-reference/integration-settings/google-calendar-status"},{"title":"Disconnect Google Calendar","openapi":"api-reference/public.openapi.json DELETE /integrations/google-calendar/number/{phoneNumber}","playground":"simple","sidebarTitle":"Disconnect Google Calendar","href":"/api-reference/integration-settings/google-calendar-disconnect"},{"title":"Update Google Calendar settings","openapi":"api-reference/public.openapi.json PATCH /integrations/google-calendar/number/{phoneNumber}","playground":"simple","sidebarTitle":"Update Google Calendar settings","href":"/api-reference/integration-settings/google-calendar-settings"}]},{"group":"Slack","expanded":true,"pages":[{"title":"Get Slack settings","sidebarTitle":"Get Slack settings","openapi":"api-reference/public.openapi.json GET /integrations/slack/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/get-integrations-slack-number-phoneNumber"},{"title":"Set Slack settings","sidebarTitle":"Set Slack settings","openapi":"api-reference/public.openapi.json PUT /integrations/slack/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/put-integrations-slack-number-phoneNumber"},{"title":"Delete Slack settings","sidebarTitle":"Delete Slack settings","openapi":"api-reference/public.openapi.json DELETE /integrations/slack/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/delete-integrations-slack-number-phoneNumber"}]},{"group":"Zapier","expanded":true,"pages":[{"title":"Get Zapier settings","sidebarTitle":"Get Zapier settings","openapi":"api-reference/public.openapi.json GET /integrations/zapier/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/get-integrations-zapier-number-phoneNumber"},{"title":"Set Zapier settings","sidebarTitle":"Set Zapier settings","openapi":"api-reference/public.openapi.json PUT /integrations/zapier/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/put-integrations-zapier-number-phoneNumber"},{"title":"Delete Zapier settings","sidebarTitle":"Delete Zapier settings","openapi":"api-reference/public.openapi.json DELETE /integrations/zapier/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/delete-integrations-zapier-number-phoneNumber"}]},{"group":"Make","expanded":true,"pages":[{"title":"Get Make settings","sidebarTitle":"Get Make settings","openapi":"api-reference/public.openapi.json GET /integrations/make/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/get-integrations-make-number-phoneNumber"},{"title":"Set Make settings","sidebarTitle":"Set Make settings","openapi":"api-reference/public.openapi.json PUT /integrations/make/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/put-integrations-make-number-phoneNumber"},{"title":"Delete Make settings","sidebarTitle":"Delete Make settings","openapi":"api-reference/public.openapi.json DELETE /integrations/make/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/delete-integrations-make-number-phoneNumber"}]},{"group":"GoHighLevel","expanded":true,"pages":[{"title":"Get GoHighLevel settings","sidebarTitle":"Get GoHighLevel settings","openapi":"api-reference/public.openapi.json GET /integrations/gohighlevel/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/get-integrations-gohighlevel-number-phoneNumber"},{"title":"Set GoHighLevel settings","sidebarTitle":"Set GoHighLevel settings","openapi":"api-reference/public.openapi.json PUT /integrations/gohighlevel/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/put-integrations-gohighlevel-number-phoneNumber"},{"title":"Delete GoHighLevel settings","sidebarTitle":"Delete GoHighLevel settings","openapi":"api-reference/public.openapi.json DELETE /integrations/gohighlevel/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/delete-integrations-gohighlevel-number-phoneNumber"}]},{"group":"Pre-call","expanded":true,"pages":[{"title":"Get pre-call gate for number","sidebarTitle":"Get number pre-call hook","openapi":"api-reference/public.openapi.json GET /integrations/precall/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/get-integrations-precall-number-phoneNumber"},{"title":"Get pre-call gate for agent","sidebarTitle":"Get agent pre-call hook","openapi":"api-reference/public.openapi.json GET /integrations/precall/agent/{agentId}","playground":"simple","href":"/api-reference/integration-settings/get-integrations-precall-agent-agentId"},{"title":"Set pre-call gate for number","sidebarTitle":"Set number pre-call hook","openapi":"api-reference/public.openapi.json PUT /integrations/precall/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/put-integrations-precall-number-phoneNumber"},{"title":"Set pre-call gate for agent","sidebarTitle":"Set agent pre-call hook","openapi":"api-reference/public.openapi.json PUT /integrations/precall/agent/{agentId}","playground":"simple","href":"/api-reference/integration-settings/put-integrations-precall-agent-agentId"},{"title":"Clear pre-call gate for number","sidebarTitle":"Clear number pre-call hook","openapi":"api-reference/public.openapi.json DELETE /integrations/precall/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/delete-integrations-precall-number-phoneNumber"},{"title":"Clear pre-call gate for agent","sidebarTitle":"Clear agent pre-call hook","openapi":"api-reference/public.openapi.json DELETE /integrations/precall/agent/{agentId}","playground":"simple","href":"/api-reference/integration-settings/delete-integrations-precall-agent-agentId"}]},{"group":"Custom functions","expanded":true,"pages":[{"title":"List custom functions","sidebarTitle":"List custom functions","openapi":"api-reference/public.openapi.json GET /integrations/custom-functions/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/get-integrations-custom-functions-number-phoneNumber"},{"title":"Create a custom function","sidebarTitle":"Create custom function","openapi":"api-reference/public.openapi.json POST /integrations/custom-functions/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/post-integrations-custom-functions-number-phoneNumber"},{"title":"Update a custom function","sidebarTitle":"Update custom function","openapi":"api-reference/public.openapi.json PATCH /integrations/custom-functions/number/{phoneNumber}/{id}","playground":"simple","href":"/api-reference/integration-settings/patch-integrations-custom-functions-number-phoneNumber-id"},{"title":"Delete a custom function","sidebarTitle":"Delete custom function","openapi":"api-reference/public.openapi.json DELETE /integrations/custom-functions/number/{phoneNumber}/{id}","playground":"simple","href":"/api-reference/integration-settings/delete-integrations-custom-functions-number-phoneNumber-id"}]},{"group":"Webhooks","expanded":true,"pages":[{"title":"Get first webhook","sidebarTitle":"Get first webhook","openapi":"api-reference/public.openapi.json GET /integrations/webhook/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/get-integrations-webhook-number-phoneNumber"},{"title":"Get second webhook","sidebarTitle":"Get second webhook","openapi":"api-reference/public.openapi.json GET /integrations/webhook2/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/get-integrations-webhook2-number-phoneNumber"},{"title":"Set first webhook","sidebarTitle":"Set first webhook","openapi":"api-reference/public.openapi.json PUT /integrations/webhook/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/put-integrations-webhook-number-phoneNumber"},{"title":"Set second webhook","sidebarTitle":"Set second webhook","openapi":"api-reference/public.openapi.json PUT /integrations/webhook2/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/put-integrations-webhook2-number-phoneNumber"},{"title":"Clear first webhook","sidebarTitle":"Clear first webhook","openapi":"api-reference/public.openapi.json DELETE /integrations/webhook/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/delete-integrations-webhook-number-phoneNumber"},{"title":"Clear second webhook","sidebarTitle":"Clear second webhook","openapi":"api-reference/public.openapi.json DELETE /integrations/webhook2/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/delete-integrations-webhook2-number-phoneNumber"}]},{"group":"Web calls","expanded":true,"pages":[{"title":"Get web calls","sidebarTitle":"Get web calls","openapi":"api-reference/public.openapi.json GET /integrations/web-calls/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/get-integrations-web-calls-number-phoneNumber"},{"title":"Set web calls","sidebarTitle":"Set web calls","openapi":"api-reference/public.openapi.json PUT /integrations/web-calls/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/put-integrations-web-calls-number-phoneNumber"},{"title":"Clear web calls","sidebarTitle":"Clear web calls","openapi":"api-reference/public.openapi.json DELETE /integrations/web-calls/number/{phoneNumber}","playground":"simple","href":"/api-reference/integration-settings/delete-integrations-web-calls-number-phoneNumber"}]}]},{"group":"Organisation","expanded":true,"pages":[{"title":"Check organisation roles and permissions","sidebarTitle":"Roles and permissions","href":"/api-reference/organisation/roles"},{"title":"Get organisation context","sidebarTitle":"Get context","openapi":"api-reference/public.openapi.json GET /organisation","playground":"simple","href":"/api-reference/organisation/get-organisation"},{"title":"List organisation members","sidebarTitle":"List members","openapi":"api-reference/public.openapi.json GET /organisation/members","playground":"simple","href":"/api-reference/organisation/get-organisation-members"},{"title":"List organisation activity","sidebarTitle":"List activity","openapi":"api-reference/public.openapi.json GET /organisation/activity","playground":"simple","href":"/api-reference/organisation/get-organisation-activity"},{"title":"Request an owner claim","sidebarTitle":"Request an owner claim","openapi":"api-reference/public.openapi.json POST /organisation/claim-invite","playground":"simple","href":"/api-reference/organisation/post-organisation-claim-invite"},{"title":"Invite a teammate","sidebarTitle":"Invite a teammate","openapi":"api-reference/public.openapi.json POST /organisation/invites","playground":"simple","href":"/api-reference/organisation/post-organisation-invites"},{"title":"Resend a team invitation","sidebarTitle":"Resend a team invitation","openapi":"api-reference/public.openapi.json POST /organisation/invites/{id}/resend","playground":"simple","href":"/api-reference/organisation/post-organisation-invites-id-resend"},{"title":"Revoke a team invitation","sidebarTitle":"Revoke a team invitation","openapi":"api-reference/public.openapi.json DELETE /organisation/invites/{id}","playground":"simple","href":"/api-reference/organisation/delete-organisation-invites-id"},{"title":"Change an organisation role","sidebarTitle":"Change member role","openapi":"api-reference/public.openapi.json PATCH /organisation/members/{id}","playground":"simple","href":"/api-reference/organisation/patch-organisation-members-id"},{"title":"Remove an organisation member","sidebarTitle":"Remove member","openapi":"api-reference/public.openapi.json DELETE /organisation/members/{id}","playground":"simple","href":"/api-reference/organisation/delete-organisation-members-id"},{"title":"Rename an organisation","sidebarTitle":"Rename an organisation","openapi":"api-reference/public.openapi.json PATCH /organisation/name","playground":"simple","href":"/api-reference/organisation/patch-organisation-name"},{"title":"Get the signing secret","sidebarTitle":"Get the signing secret","openapi":"api-reference/public.openapi.json GET /organisation/signing-secret","playground":"none","href":"/api-reference/organisation/get-organisation-signing-secret"}]},{"group":"Account and usage","expanded":true,"pages":[{"title":"Create an API account","sidebarTitle":"Create API account","openapi":"api-reference/public.openapi.json POST /keys","playground":"simple","href":"/api-reference/account/create-key"},{"title":"Rotate the API key","sidebarTitle":"Rotate API key","openapi":"api-reference/public.openapi.json POST /keys/rotate","playground":"simple","href":"/api-reference/account/rotate-key"},{"title":"Get account usage","sidebarTitle":"Get account usage","openapi":"api-reference/public.openapi.json GET /usage","playground":"simple","href":"/api-reference/account/usage"},{"title":"Get account retention","sidebarTitle":"Get account retention","openapi":"api-reference/public.openapi.json GET /account/retention","playground":"simple","href":"/api-reference/account-and-keys/get-account-retention"},{"title":"Get key activity","sidebarTitle":"Get key activity","openapi":"api-reference/public.openapi.json GET /keys/activity","playground":"simple","href":"/api-reference/account-and-keys/get-keys-activity"}]},{"group":"Voices","expanded":true,"pages":[{"title":"List voices","sidebarTitle":"List voices","openapi":"api-reference/public.openapi.json GET /voices","playground":"simple","href":"/api-reference/voices/get-voices"},{"title":"Get a voice","sidebarTitle":"Get voice","openapi":"api-reference/public.openapi.json GET /voices/{voice_key}","playground":"simple","href":"/api-reference/voices/get-voices-voice_key"}]}]},{"tab":"SDKs \u0026 CLI","icon":"terminal","pages":[{"title":"SDKs \u0026 CLI","href":"/sdks/ecosystem"}]},{"tab":"Build with AI","icon":"diagram-project","pages":[{"title":"Build with AI","href":"/guides/developer/build-with-ai"}]}]},"basePath":"","title":"Delete all calls - Nixflex","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BD9G1WMi.js","snippetPresets-Bcqr8I2u.js","utils-BrYn4XiY.js","style-to-object-BY3JEAdk.js","utils-CYrCnchl.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CNFO66BS.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BneVo7uA.js","_Uint8Array-n4RvRzp3.js","isObject-FP1Yky1u.js","ApiExamples-C1YMsTjy.js","usePlaygroundInputsStore-DayW4kZ9.js","shallow-DDCzdKmR.js","isEqual-CBVoazy8.js","CodeSnippets-CWandYY5.js","CodeSnippet-grFP6YU_.js","use-playground-group-access-BBqHUxQK.js","Page-DBPN_x5x.js","api-description-markdown-1J-AA_Kv.js","DynamicMarkdown-Dgh_e4rL.js","SectionHeading-BP6Np9Uh.js","MethodPill-4k_Ty_Xv.js","getPastedJson-CWUNKLcr.js","Check2Icon-Cs4FQb2J.js","axios-CsQoIw0U.js","Markdown-CR8c2fXT.js","AssistantPageLink-BBR7elHb.js","dist-DjFwSv8l.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}