Event triggered whenever a draft is discarded.Note: The draft is already gone, so the payload has no draft object.
Response Body Parameters
All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.
string
The event type that triggered the webhook (e.g., inbox.draft.deleted).
string
ISO 8601 timestamp when the webhook event was created.
object
Event-specific data containing detailed information about the event. The data object for the inbox.draft.deleted event contains the following parameters:
Hide object parameters
api | dashboard | agent | system
What made the change
string
The ID of the inbox
string
The ID of the thread. Only on reply drafts
string
The ID of the draft
object
The thread, as it is when the webhook is sent. Absent when the thread no longer exists. Only on reply drafts
Hide thread object
string
Always inbox_thread
string
The ID of the thread
string | null
The subject of the thread
inbox | archive | spam | sent | trash
The folder the thread lives in
array
The labels attached to the thread, each with an id, name, and color
boolean
True only when every message in the thread is read
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Resend","description":"Resend is the email API for developers. The documentation covers the REST API, official SDKs, the CLI, the MCP server, webhooks, deliverability guides, and step-by-step quickstarts for every major language and framework.","colors":{"primary":"#000000","light":"#EBECED","dark":"#0A0C10"},"logo":{"light":"https://mintcdn.com/resend/w4S5Jr48MiquhhSH/logo-black.svg?fit=max\u0026auto=format\u0026n=w4S5Jr48MiquhhSH\u0026q=85\u0026s=630be7deea6ea94cc7fc4560ea60a5ac","dark":"https://mintcdn.com/resend/w4S5Jr48MiquhhSH/logo-white.svg?fit=max\u0026auto=format\u0026n=w4S5Jr48MiquhhSH\u0026q=85\u0026s=3843916235739ffb9cb1d24683221341","href":"https://resend.com"},"favicon":"https://mintcdn.com/resend/ABWmVTZIHGIFNTFD/favicon.png?fit=max\u0026auto=format\u0026n=ABWmVTZIHGIFNTFD\u0026q=85\u0026s=cdbec1c9eedb30488e99d94d84999c24","api":{"playground":{"display":"simple"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.resend.com"}},"background":{"color":{"dark":"#000000"}},"navbar":{"links":[{"href":"https://resend.com/login","label":"Sign In"}],"primary":{"type":"button","label":"Get Started","href":"https://resend.com/signup"}},"footer":{"socials":{"x":"https://x.com/resend","github":"https://github.com/resend","youtube":"https://www.youtube.com/@resendlabs","website":"https://resend.com/"}},"seo":{"indexing":"all"},"fonts":{"heading":{"family":"Inter","weight":700},"body":{"family":"Inter","weight":400}},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light","dark":"vesper"}},"latex":false},"integrations":{"posthog":{"apiKey":"phc_AgEBpcQTRsBl3UgQX2U8XvimTlgdXG6YEhfvJl2cUfc","sessionRecording":false}},"contextual":{"options":["copy",{"title":"llms-full.txt","description":"View all docs as Markdown for LLMs","icon":"markdown","href":"https://resend.com/docs/llms-full.txt"},"add-mcp","cursor","vscode"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"resend","hasAudioNarration":false,"actualSubdomain":"resend","customDomains":["resend.com","resend-staging.com"],"gitSource":{"type":"github","owner":"resend","repo":"resend-docs","deployBranch":"main","contentDirectory":"","mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af6f73e8995c8cbf2f52db3","clientVersion":"0.0.4128","searchFilterCounts":[{"language":"default","tag":"Documentation","count":172},{"language":"default","tag":"API Reference","count":150},{"language":"default","tag":"Learn","count":109},{"language":"default","tag":"Guides","count":103},{"language":"default","tag":"Get started","count":57},{"language":"default","tag":"Webhooks","count":54},{"language":"default","tag":"Sending examples","count":52},{"language":"default","tag":"Domains","count":38},{"language":"default","tag":"Events reference","count":37},{"language":"default","tag":"Sending","count":32}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html:not(.dark) ::selection{background-color:#0000001a}html.dark ::selection{background-color:#ffffff33}html:not(.dark) .codeblock-light .line-highlight:after,html:not(.dark) .codeblock-light .line-highlight{background:#00cc9937}html:not(.dark) .codeblock-light .line-highlight:after,html:not(.dark) .codeblock-light .line-highlight:before{background:#00cc9937}html.dark .line-highlight,html:not(.dark) .codeblock-dark .line-highlight{background:#00fff61d}html.dark .line-highlight:after,html.dark .line-highlight:before,html:not(.dark) .codeblock-dark .line-highlight:after,html:not(.dark) .codeblock-dark .line-highlight:before{background:#00fff61d}html.dark .line-highlight:before,html:not(.dark) .codeblock-dark .line-highlight:before{border-color:#4cd7b8}html:not(.dark) .codeblock-light .line-highlight:before{border-color:#55d799}#page-context-menu-button{padding-block:8px}#page-context-menu-button span{display:none}.nav-logo{width:80px;@media (max-width: 1024px){width:90px;padding-left:0.2rem}}@media (min-width: 1024px){#navbar .flex-1:has(>a .nav-logo){flex:none!important;width:15rem}#navbar .ustify-end:has(.nav-tabs){justify-content:space-between!important;margin-left:0!important}#navbar .flex:has(>.ustify-end){flex:1!important}#navbar .nav-tabs{white-space:nowrap}}#footer{a[href*='mintlify.com'] {\n display: none;\n }}svg[aria-roledescription=\"flowchart-v2\"]{--flow-node-fill: #fcfcfc;--flow-node-stroke: rgba(0, 0, 0, 0.12);--flow-text: #1c2024;--flow-edge: rgba(0, 0, 0, 0.35);.node rect {\n fill: var(--flow-node-fill) !important;\n stroke: var(--flow-node-stroke) !important;\n rx: 8px;\n ry: 8px;\n }\n\n .nodeLabel,\n .nodeLabel p {\n color: var(--flow-text) !important;\n }\n\n .flowchart-link {\n stroke: var(--flow-edge) !important;\n }\n\n .marker {\n fill: var(--flow-edge) !important;\n stroke: var(--flow-edge) !important;\n }}html.dark svg[aria-roledescription=\"flowchart-v2\"]{--flow-node-fill: #0a0a0a;--flow-node-stroke: rgba(255, 255, 255, 0.12);--flow-text: #ededed;--flow-edge: rgba(255, 255, 255, 0.4)}"}],"page":{"pagePath":"webhooks/inboxes/draft-deleted","slug":"/webhooks/inboxes/draft-deleted","pageMetadata":{"title":"inbox.draft.deleted","description":"Received when a draft is discarded.","og:image":"https://resend.com/static/cover-docs.png","icon":"/icons/dot-red.svg","href":"/webhooks/inboxes/draft-deleted"},"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: \"Received when a draft is discarded.\"\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];const ResponseBodyParameters=({type,children})=>{const{Expandable,ParamField}=_provideComponents()||{};if(!Expandable)_missingMdxReference(`Expandable`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(`div`,{children:[_jsx(`h2`,{children:`Response Body Parameters`}),_jsxs(`p`,{children:[`All webhook payloads follow a consistent top-level structure with event-specific data nested within the `,_jsx(`code`,{children:`data`}),` object.`]}),_jsxs(ParamField,{body:`type`,type:`string`,children:[`The event type that triggered the webhook (e.g., `,_jsx(`code`,{children:type}),`).`]}),_jsx(ParamField,{body:`created_at`,type:`string`,children:`ISO 8601 timestamp when the webhook event was created.`}),_jsxs(ParamField,{body:`data`,type:`object`,children:[`Event-specific data containing detailed information about the event. The data object for the `,_jsx(`code`,{children:type}),` event contains the following parameters:`,_jsx(Expandable,{defaultOpen:true,title:`object parameters`,children})]})]})};function _createMdxContent(props){const _components={code:`code`,em:`em`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Expandable,ParamField,_MdxComponentBoundary}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Event triggered whenever a `,_jsx(_components.strong,{children:`draft is discarded`}),`.`]}),`\n`,_jsx(_components.p,{children:_jsxs(_components.em,{children:[`Note: The draft is already gone, so the payload has no `,_jsx(_components.code,{children:`draft`}),` object.`]})}),`\n`,_jsx(_MdxComponentBoundary,{name:`ResponseBodyParameters`,children:_jsxs(ResponseBodyParameters,{type:`inbox.draft.deleted`,children:[_jsx(ParamField,{body:`source`,type:`api | dashboard | agent | system`,id:`param-source`,children:_jsx(_components.p,{children:`What made the change`})}),_jsx(ParamField,{body:`inbox_id`,type:`string`,id:`param-inbox-id`,children:_jsx(_components.p,{children:`The ID of the inbox`})}),_jsx(ParamField,{body:`thread_id`,type:`string`,id:`param-thread-id`,children:_jsx(_components.p,{children:`The ID of the thread. Only on reply drafts`})}),_jsx(ParamField,{body:`draft_id`,type:`string`,id:`param-draft-id`,children:_jsx(_components.p,{children:`The ID of the draft`})}),_jsxs(ParamField,{body:`thread`,type:`object`,id:`param-thread`,children:[_jsx(_components.p,{children:`The thread, as it is when the webhook is sent. Absent when the thread no longer exists. Only on reply drafts`}),_jsxs(Expandable,{title:`thread object`,defaultOpen:true,children:[_jsx(ParamField,{body:`object`,type:`string`,id:`param-object`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`inbox_thread`})]})}),_jsx(ParamField,{body:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`The ID of the thread`})}),_jsx(ParamField,{body:`subject`,type:`string | null`,id:`param-subject`,children:_jsx(_components.p,{children:`The subject of the thread`})}),_jsx(ParamField,{body:`folder`,type:`inbox | archive | spam | sent | trash`,id:`param-folder`,children:_jsx(_components.p,{children:`The folder the thread lives in`})}),_jsx(ParamField,{body:`labels`,type:`array`,id:`param-labels`,children:_jsxs(_components.p,{children:[`The labels attached to the thread, each with an `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`name`}),`, and `,_jsx(_components.code,{children:`color`})]})}),_jsx(ParamField,{body:`read`,type:`boolean`,id:`param-read`,children:_jsx(_components.p,{children:`True only when every message in the thread is read`})})]})]})]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{ResponseBodyParameters,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":{"theme":{"light":"github-light","dark":"vesper"}},"config":{},"pageMetadata":{"title":"inbox.draft.deleted","description":"Received when a draft is discarded.","og:image":"https://resend.com/static/cover-docs.png","icon":"/icons/dot-red.svg","href":"/webhooks/inboxes/draft-deleted"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const ResponseBodyParameters=({type,children})=>{const{Expandable,ParamField}=_provideComponents()||{};if(!Expandable)_missingMdxReference(`Expandable`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(`div`,{children:[_jsx(`h2`,{children:`Response Body Parameters`}),_jsxs(`p`,{children:[`All webhook payloads follow a consistent top-level structure with event-specific data nested within the `,_jsx(`code`,{children:`data`}),` object.`]}),_jsxs(ParamField,{body:`type`,type:`string`,children:[`The event type that triggered the webhook (e.g., `,_jsx(`code`,{children:type}),`).`]}),_jsx(ParamField,{body:`created_at`,type:`string`,children:`ISO 8601 timestamp when the webhook event was created.`}),_jsxs(ParamField,{body:`data`,type:`object`,children:[`Event-specific data containing detailed information about the event. The data object for the `,_jsx(`code`,{children:type}),` event contains the following parameters:`,_jsx(Expandable,{defaultOpen:true,title:`object parameters`,children})]})]})};function _createMdxContent(props){const _components={code:`code`,em:`em`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Expandable,ParamField,ResponseExample,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Event triggered whenever a `,_jsx(_components.strong,{children:`draft is discarded`}),`.`]}),`\n`,_jsx(_components.p,{children:_jsxs(_components.em,{children:[`Note: The draft is already gone, so the payload has no `,_jsx(_components.code,{children:`draft`}),` object.`]})}),`\n`,_jsx(_MdxComponentBoundary,{name:`ResponseBodyParameters`,children:_jsxs(ResponseBodyParameters,{type:`inbox.draft.deleted`,children:[_jsx(ParamField,{body:`source`,type:`api | dashboard | agent | system`,id:`param-source`,children:_jsx(_components.p,{children:`What made the change`})}),_jsx(ParamField,{body:`inbox_id`,type:`string`,id:`param-inbox-id`,children:_jsx(_components.p,{children:`The ID of the inbox`})}),_jsx(ParamField,{body:`thread_id`,type:`string`,id:`param-thread-id`,children:_jsx(_components.p,{children:`The ID of the thread. Only on reply drafts`})}),_jsx(ParamField,{body:`draft_id`,type:`string`,id:`param-draft-id`,children:_jsx(_components.p,{children:`The ID of the draft`})}),_jsxs(ParamField,{body:`thread`,type:`object`,id:`param-thread`,children:[_jsx(_components.p,{children:`The thread, as it is when the webhook is sent. Absent when the thread no longer exists. Only on reply drafts`}),_jsxs(Expandable,{title:`thread object`,defaultOpen:true,children:[_jsx(ParamField,{body:`object`,type:`string`,id:`param-object`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`inbox_thread`})]})}),_jsx(ParamField,{body:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`The ID of the thread`})}),_jsx(ParamField,{body:`subject`,type:`string | null`,id:`param-subject`,children:_jsx(_components.p,{children:`The subject of the thread`})}),_jsx(ParamField,{body:`folder`,type:`inbox | archive | spam | sent | trash`,id:`param-folder`,children:_jsx(_components.p,{children:`The folder the thread lives in`})}),_jsx(ParamField,{body:`labels`,type:`array`,id:`param-labels`,children:_jsxs(_components.p,{children:[`The labels attached to the thread, each with an `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`name`}),`, and `,_jsx(_components.code,{children:`color`})]})}),_jsx(ParamField,{body:`read`,type:`boolean`,id:`param-read`,children:_jsx(_components.p,{children:`True only when every message in the thread is read`})})]})]})]})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"inbox.draft.deleted\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"2026-09-29T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"source\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"dashboard\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"inbox_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"thread_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"7c1f0a2e-5d3b-4e8a-9f61-2b8d4c6e1a90\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"draft_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"9a2b7c4d-1e3f-4a5b-8c6d-0e1f2a3b4c5d\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"thread\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"object\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"inbox_thread\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"7c1f0a2e-5d3b-4e8a-9f61-2b8d4c6e1a90\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"subject\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Question about my invoice\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"folder\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"inbox\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"labels\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"read\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{ResponseBodyParameters,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":{"theme":{"light":"github-light","dark":"vesper"}},"config":{},"pageMetadata":{"title":"inbox.draft.deleted","description":"Received when a draft is discarded.","og:image":"https://resend.com/static/cover-docs.png","icon":"/icons/dot-red.svg","href":"/webhooks/inboxes/draft-deleted"}}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"18\">\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"type\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"inbox.draft.deleted\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"2026-09-29T12:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"data\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"source\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"dashboard\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"inbox_id\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"thread_id\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"7c1f0a2e-5d3b-4e8a-9f61-2b8d4c6e1a90\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"draft_id\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"9a2b7c4d-1e3f-4a5b-8c6d-0e1f2a3b4c5d\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"thread\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"object\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"inbox_thread\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"id\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"7c1f0a2e-5d3b-4e8a-9f61-2b8d4c6e1a90\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"subject\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Question about my invoice\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"folder\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"inbox\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"labels\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"read\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">false\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/docs/_mintlify/custom/resend/34a103d44dce6f34/resend.js","/docs/_mintlify/custom/resend/b0fac65f85cb29e7/reo.dev.js"],"subdomain":"resend","siteName":"Resend","title":"inbox.draft.deleted - Resend","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-20T22:28:50.132Z","originalFileLocation":"webhooks/inboxes/draft-deleted.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=\"Received when a draft is discarded.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Resend\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/resend/nAzNk0iRWkZBBJ91/_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=\"/docs/mintlify-assets/_mintlify/favicons/resend/nAzNk0iRWkZBBJ91/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/resend/nAzNk0iRWkZBBJ91/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/resend/nAzNk0iRWkZBBJ91/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/resend/nAzNk0iRWkZBBJ91/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/resend/nAzNk0iRWkZBBJ91/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/resend/nAzNk0iRWkZBBJ91/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/resend/nAzNk0iRWkZBBJ91/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/resend/nAzNk0iRWkZBBJ91/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"inbox.draft.deleted - Resend\">\u003cmeta data-mint-head property=\"og:description\" content=\"Received when a draft is discarded.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Resend\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://resend.com/docs/webhooks/inboxes/draft-deleted\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://resend.com/static/cover-docs.png\">\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=\"inbox.draft.deleted - Resend\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Received when a draft is discarded.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://resend.com/static/cover-docs.png\">\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=\"/docs/mintlify-assets/_mintlify/favicons/resend/nAzNk0iRWkZBBJ91/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Resend\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://resend.com/docs/webhooks/inboxes/draft-deleted\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/webhooks/inboxes/draft-deleted.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://resend.com/#organization\",\"name\":\"Resend\",\"url\":\"https://resend.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/resend/w4S5Jr48MiquhhSH/logo-black.svg?fit=max\u0026auto=format\u0026n=w4S5Jr48MiquhhSH\u0026q=85\u0026s=630be7deea6ea94cc7fc4560ea60a5ac\"}},{\"@type\":\"WebSite\",\"@id\":\"https://resend.com/docs#website\",\"name\":\"Resend\",\"url\":\"https://resend.com/docs\",\"publisher\":{\"@id\":\"https://resend.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://resend.com/docs/webhooks/inboxes/draft-deleted#webpage\",\"url\":\"https://resend.com/docs/webhooks/inboxes/draft-deleted\",\"name\":\"inbox.draft.deleted\",\"description\":\"Received when a draft is discarded.\",\"dateModified\":\"2026-10-20T22:28:50.132Z\",\"isPartOf\":{\"@id\":\"https://resend.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://resend.com/docs/webhooks/inboxes/draft-deleted#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://resend.com/docs/webhooks/inboxes/draft-deleted#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Learn\",\"item\":\"https://resend.com/docs/dashboard/domains/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Webhooks\",\"item\":\"https://resend.com/docs/webhooks/introduction\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Events reference\",\"item\":\"https://resend.com/docs/webhooks/emails/bounced\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"inbox.draft.deleted\",\"item\":\"https://resend.com/docs/webhooks/inboxes/draft-deleted\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://resend.com/docs/webhooks/inboxes/draft-deleted#article\",\"headline\":\"inbox.draft.deleted\",\"name\":\"inbox.draft.deleted\",\"description\":\"Received when a draft is discarded.\",\"url\":\"https://resend.com/docs/webhooks/inboxes/draft-deleted\",\"mainEntityOfPage\":{\"@id\":\"https://resend.com/docs/webhooks/inboxes/draft-deleted#webpage\"},\"image\":\"https://resend.com/static/cover-docs.png\",\"dateModified\":\"2026-10-20T22:28:50.132Z\",\"publisher\":{\"@id\":\"https://resend.com/#organization\"},\"isPartOf\":{\"@id\":\"https://resend.com/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/webhooks/inboxes/draft-deleted.md","siteName":"Resend","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book","groups":[{"group":"Get started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Create an API key","sidebarTitle":"Create API key","href":"/create-an-api-key"},{"title":"Add and verify a domain","sidebarTitle":"Add domain","href":"/add-a-domain"},{"title":"Sending emails with Resend","sidebarTitle":"Email types","href":"/email-types"},{"title":"AI onboarding","sidebarTitle":"AI onboarding","href":"/ai-onboarding"},{"group":"Sending examples","pages":[{"group":"Node.js","pages":[{"title":"Send emails with Node.js","sidebarTitle":"Introduction","href":"/send-with-nodejs"},{"title":"Send emails with Next.js","sidebarTitle":"Next.js","href":"/send-with-nextjs"},{"title":"Send emails with Remix","sidebarTitle":"Remix","href":"/send-with-remix"},{"title":"Send emails with Nuxt","sidebarTitle":"Nuxt","href":"/send-with-nuxt"},{"title":"Send emails with TanStack Start","sidebarTitle":"TanStack Start","href":"/send-with-tanstack-start"},{"title":"Send emails with SvelteKit","sidebarTitle":"SvelteKit","href":"/send-with-sveltekit"},{"title":"Send emails with Express","sidebarTitle":"Express","href":"/send-with-express"},{"title":"Send emails with RedwoodJS","sidebarTitle":"RedwoodJS","href":"/send-with-redwoodjs"},{"title":"Send emails with Hono","sidebarTitle":"Hono","href":"/send-with-hono"},{"title":"Send emails with Bun","sidebarTitle":"Bun","href":"/send-with-bun"},{"title":"Send emails with Astro","sidebarTitle":"Astro","href":"/send-with-astro"},{"title":"Send emails with Railway","sidebarTitle":"Railway","href":"/send-with-railway"},{"title":"Send emails with Encore","sidebarTitle":"Encore","href":"/send-with-encore-ts"},{"title":"Send Better Auth emails with Resend","sidebarTitle":"Better Auth","href":"/send-with-better-auth"}]},{"group":"Serverless","pages":[{"title":"Send emails with Vercel Functions","sidebarTitle":"Vercel Functions","href":"/send-with-vercel-functions"},{"title":"Send emails with Supabase Edge Functions","sidebarTitle":"Supabase Edge Functions","href":"/send-with-supabase-edge-functions"},{"title":"Send emails with Cloudflare Workers","sidebarTitle":"Cloudflare Workers","href":"/send-with-cloudflare-workers"},{"title":"Send emails with Deno Deploy","sidebarTitle":"Deno Deploy","href":"/send-with-deno-deploy"},{"title":"Send emails with AWS Lambda","sidebarTitle":"AWS Lambda","href":"/send-with-aws-lambda"}]},{"group":"PHP","pages":[{"title":"Send emails with PHP","sidebarTitle":"Introduction","href":"/send-with-php"},{"title":"Send emails with Laravel","sidebarTitle":"Laravel","href":"/send-with-laravel"},{"title":"Send emails with Symfony","sidebarTitle":"Symfony","href":"/send-with-symfony"}]},{"group":"Ruby","pages":[{"title":"Send emails with Ruby","sidebarTitle":"Introduction","href":"/send-with-ruby"},{"title":"Send emails with Rails","sidebarTitle":"Rails","href":"/send-with-rails"},{"title":"Send emails with Sinatra","sidebarTitle":"Sinatra","href":"/send-with-sinatra"}]},{"group":"Python","pages":[{"title":"Send emails with Python","sidebarTitle":"Introduction","href":"/send-with-python"},{"title":"Send emails with Flask","sidebarTitle":"Flask","href":"/send-with-flask"},{"title":"Send emails with FastAPI","sidebarTitle":"FastAPI","href":"/send-with-fastapi"},{"title":"Send emails with Django","sidebarTitle":"Django","href":"/send-with-django"}]},{"group":"Go","pages":[{"title":"Send emails with Go","sidebarTitle":"Introduction","href":"/send-with-go"},{"title":"Send emails with Encore","sidebarTitle":"Encore","href":"/send-with-encore-go"}]},{"group":"Rust","pages":[{"title":"Send emails with Rust","sidebarTitle":"Introduction","href":"/send-with-rust"},{"title":"Send emails with Axum","sidebarTitle":"Axum","href":"/send-with-axum"}]},{"group":"Elixir","pages":[{"title":"Send emails with Elixir","sidebarTitle":"Introduction","href":"/send-with-elixir"},{"title":"Send emails with Phoenix","sidebarTitle":"Phoenix","href":"/send-with-phoenix"}]},{"group":"Java","pages":[{"title":"Send emails with Java","sidebarTitle":"Introduction","href":"/send-with-java"}]},{"group":".NET","pages":[{"title":"Send emails with .NET","sidebarTitle":"Introduction","href":"/send-with-dotnet"}]},{"group":"SMTP","pages":[{"title":"Send emails with SMTP","sidebarTitle":"Introduction","href":"/send-with-smtp"},{"title":"Send Auth0 transactional emails with Resend","sidebarTitle":"Auth0","href":"/send-with-auth0"},{"title":"Send emails using Customer.io with SMTP","sidebarTitle":"Customer.io","href":"/send-with-customer-io-smtp"},{"title":"Send emails using Django with SMTP","sidebarTitle":"Django","href":"/send-with-django-smtp"},{"title":"Send emails using Laravel with SMTP","sidebarTitle":"Laravel","href":"/send-with-laravel-smtp"},{"title":"Send emails using Liferay with SMTP","sidebarTitle":"Liferay","href":"/send-with-liferay-smtp"},{"title":"Send emails using Nodemailer with SMTP","sidebarTitle":"Nodemailer","href":"/send-with-nodemailer-smtp"},{"title":"Send emails using PHPMailer with SMTP","sidebarTitle":"PHPMailer","href":"/send-with-phpmailer-smtp"},{"title":"Send emails using Rails with SMTP","sidebarTitle":"Rails","href":"/send-with-rails-smtp"},{"title":"Send emails using Retool with SMTP","sidebarTitle":"Retool","href":"/send-with-retool-smtp"},{"title":"Send emails using Supabase with SMTP","sidebarTitle":"Supabase","href":"/send-with-supabase-smtp"},{"title":"Send emails using WordPress with SMTP","sidebarTitle":"WordPress","href":"/send-with-wordpress-smtp"},{"title":"Send emails using NextAuth with SMTP","sidebarTitle":"NextAuth","href":"/send-with-nextauth-smtp"},{"title":"Send emails using Metabase with SMTP","sidebarTitle":"Metabase","href":"/send-with-metabase-smtp"}]},{"title":"Send emails with Resend CLI","sidebarTitle":"CLI","href":"/cli-quickstart"}]}]},{"group":"Learn","pages":[{"group":"Domains","pages":[{"title":"Verified Domains","sidebarTitle":"Introduction","href":"/dashboard/domains/introduction"},{"title":"Managing Domains","sidebarTitle":"Manage Domains","href":"/dashboard/domains/manage-domains"},{"title":"Implementing DMARC","sidebarTitle":"DMARC","href":"/dashboard/domains/dmarc"},{"title":"Implementing BIMI","sidebarTitle":"BIMI","href":"/dashboard/domains/bimi"},{"title":"Open and Click Tracking","sidebarTitle":"Tracking","href":"/dashboard/domains/tracking"},{"title":"Configure Transport Layer Security (TLS)","sidebarTitle":"TLS","href":"/dashboard/domains/tls"},{"title":"Configure a custom Return Path","sidebarTitle":"Return Path","href":"/dashboard/domains/custom-return-path"},{"title":"Choosing a Region","sidebarTitle":"Regions","href":"/dashboard/domains/regions"},{"title":"Claiming a domain","sidebarTitle":"Claim domain","href":"/dashboard/domains/claim"}]},{"group":"Sending","pages":[{"title":"Sending Emails","sidebarTitle":"Introduction","href":"/dashboard/emails/introduction"},{"title":"View and manage emails","sidebarTitle":"Manage Emails","href":"/dashboard/emails/manage-emails"},{"title":"Batch Sending","sidebarTitle":"Batch Sending","href":"/dashboard/emails/batch-sending"},{"title":"Attachments","href":"/dashboard/emails/attachments"},{"title":"Embed Inline Images","sidebarTitle":"Embed Images","href":"/dashboard/emails/embed-inline-images"},{"title":"Schedule Email","href":"/dashboard/emails/schedule-email"},{"title":"Send Test Emails","href":"/dashboard/emails/send-test-emails"},{"title":"Custom Headers","href":"/dashboard/emails/custom-headers"},{"title":"Idempotency Keys","href":"/dashboard/emails/idempotency-keys"},{"title":"Email Bounces","href":"/dashboard/emails/email-bounces"},{"title":"Email Suppressions","href":"/dashboard/emails/email-suppressions"},{"title":"Deliverability Insights","href":"/dashboard/emails/deliverability-insights"},{"title":"Add an unsubscribe link to transactional emails","sidebarTitle":"Unsubscribe Link","href":"/dashboard/emails/add-unsubscribe-to-transactional-emails"},{"title":"Managing Tags","sidebarTitle":"Tags","href":"/dashboard/emails/tags"}]},{"group":"Receiving","pages":[{"title":"Receiving Emails","sidebarTitle":"Introduction","href":"/dashboard/receiving/introduction"},{"title":"Managing Emails","sidebarTitle":"Managing Emails","href":"/dashboard/receiving/manage-emails"},{"title":"Custom Receiving Domains","sidebarTitle":"Custom Domains","href":"/dashboard/receiving/custom-domains"},{"title":"Create a receiving Webhook","sidebarTitle":"Configure webhook","href":"/dashboard/receiving/create-receiving-webhook"},{"title":"Process Receiving Attachments","sidebarTitle":"Attachments","href":"/dashboard/receiving/attachments"},{"title":"Get Email Content","sidebarTitle":"Email Content","href":"/dashboard/receiving/get-email-content"},{"title":"Forward Received Emails","sidebarTitle":"Forward Emails","href":"/dashboard/receiving/forward-emails"},{"title":"Reply to Receiving Emails","sidebarTitle":"Reply to Emails","href":"/dashboard/receiving/reply-to-emails"}]},{"title":"Inboxes","href":"/dashboard/inboxes/introduction"},{"group":"Broadcasts","pages":[{"title":"Sending Broadcasts","sidebarTitle":"Introduction","href":"/dashboard/broadcasts/introduction"},{"title":"Manage Broadcasts","sidebarTitle":"Manage Broadcasts","href":"/dashboard/broadcasts/manage-broadcasts"},{"title":"Compose and send with the Broadcast editor","sidebarTitle":"Broadcast editor","href":"/dashboard/broadcasts/editor"},{"title":"Compose and send Broadcasts with the API","sidebarTitle":"Send with API","href":"/dashboard/broadcasts/send-broadcast-with-api"},{"title":"Performance Tracking","href":"/dashboard/broadcasts/performance-tracking"}]},{"group":"Contacts","pages":[{"title":"Contacts","sidebarTitle":"Introduction","href":"/dashboard/contacts/introduction"},{"title":"Add Contacts","sidebarTitle":"Add Contacts","href":"/dashboard/contacts/add-contacts"},{"title":"Managing Contacts","sidebarTitle":"Manage Contacts","href":"/dashboard/contacts/manage-contacts"},{"title":"Contact properties","sidebarTitle":"Contact Properties","href":"/dashboard/contacts/properties"},{"title":"Managing Segments","sidebarTitle":"Manage Segments","href":"/dashboard/contacts/manage-segments"},{"title":"Topics","sidebarTitle":"Manage Topics","href":"/dashboard/contacts/manage-topics"},{"title":"Managing unsubscribed Contacts","sidebarTitle":"Managing unsubscribes","href":"/dashboard/contacts/managing-unsubscribe-list"},{"title":"Migrating from Audiences to Segments","sidebarTitle":"Migrate from Audiences","href":"/dashboard/contacts/migrating-from-audiences-to-segments"}]},{"group":"Automations","pages":[{"title":"Automations","sidebarTitle":"Introduction","href":"/dashboard/automations/introduction"},{"title":"Create Automations","sidebarTitle":"Create Automations","href":"/dashboard/automations/create-automation"},{"title":"Custom Events","sidebarTitle":"Custom Events","href":"/dashboard/automations/custom-events"},{"title":"Connections","href":"/dashboard/automations/connections"},{"title":"Runs","sidebarTitle":"Runs","href":"/dashboard/automations/runs"},{"group":"Steps","pages":[{"title":"Steps","sidebarTitle":"Steps Reference","href":"/dashboard/automations/steps"},{"title":"Trigger","sidebarTitle":"Trigger","href":"/dashboard/automations/trigger"},{"title":"Condition","sidebarTitle":"Condition","href":"/dashboard/automations/condition"},{"title":"Delay","sidebarTitle":"Delay","href":"/dashboard/automations/delay"},{"title":"Wait for Event","sidebarTitle":"Wait for Event","href":"/dashboard/automations/wait-for-event"},{"title":"Send Email","sidebarTitle":"Send Email","href":"/dashboard/automations/send-email"},{"title":"Add to Segment","sidebarTitle":"Add to Segment","href":"/dashboard/automations/add-to-segment"},{"title":"Contact Update","sidebarTitle":"Contact Update","href":"/dashboard/automations/contact-update"},{"title":"Contact Delete","sidebarTitle":"Contact Delete","href":"/dashboard/automations/contact-delete"}]}]},{"group":"Templates","pages":[{"title":"Using Templates","sidebarTitle":"Introduction","href":"/dashboard/templates/introduction"},{"title":"Create a Template","sidebarTitle":"Create Template","href":"/dashboard/templates/create-template"},{"title":"Compose with the Template editor","sidebarTitle":"Template Editor","href":"/dashboard/templates/template-editor"},{"title":"Working with Variables","sidebarTitle":"Template Variables","href":"/dashboard/templates/template-variables"},{"title":"Version History","sidebarTitle":"Version History","href":"/dashboard/templates/version-history"}]},{"group":"Logs","pages":[{"title":"Introduction","href":"/dashboard/logs/introduction"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","sidebarTitle":"Introduction","href":"/webhooks/introduction"},{"title":"Create a Webhook","sidebarTitle":"Create Webhook","href":"/webhooks/create-webhook"},{"title":"Verify Webhooks Requests","sidebarTitle":"Verify Webhooks Requests","href":"/webhooks/verify-webhooks-requests"},{"title":"Retries and Replays","sidebarTitle":"Retries and Replays","href":"/webhooks/retries-and-replays"},{"title":"Webhook Ingester","sidebarTitle":"Webhook Ingester","href":"/webhooks/ingester"},{"title":"How to Store Webhooks Data","sidebarTitle":"Storing Webhooks Data","href":"/webhooks/how-to-store-webhooks-data"},{"title":"Event Types","href":"/webhooks/event-types"},{"group":"Events reference","pages":[{"title":"email.bounced","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-red.svg","href":"/webhooks/emails/bounced"},{"title":"email.clicked","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-violet.svg","href":"/webhooks/emails/clicked"},{"title":"email.complained","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-amber.svg","href":"/webhooks/emails/complained"},{"title":"email.delivered","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-green.svg","href":"/webhooks/emails/delivered"},{"title":"email.delivery_delayed","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-sand.svg","href":"/webhooks/emails/delivery-delayed"},{"title":"email.failed","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-red.svg","href":"/webhooks/emails/failed"},{"title":"email.opened","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-blue.svg","href":"/webhooks/emails/opened"},{"title":"email.received","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-cyan.svg","href":"/webhooks/emails/received"},{"title":"email.scheduled","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-mauve.svg","href":"/webhooks/emails/scheduled"},{"title":"email.sent","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-sand.svg","href":"/webhooks/emails/sent"},{"title":"email.suppressed","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-bronze.svg","href":"/webhooks/emails/suppressed"},{"title":"domain.created","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-green.svg","href":"/webhooks/domains/created"},{"title":"domain.updated","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-blue.svg","href":"/webhooks/domains/updated"},{"title":"domain.deleted","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-red.svg","href":"/webhooks/domains/deleted"},{"title":"contact.created","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-green.svg","href":"/webhooks/contacts/created"},{"title":"contact.updated","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-blue.svg","href":"/webhooks/contacts/updated"},{"title":"contact.deleted","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-red.svg","href":"/webhooks/contacts/deleted"},{"title":"contact.topics.updated","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-blue.svg","href":"/webhooks/contacts/topics-updated"},{"title":"suppression.added","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-green.svg","href":"/webhooks/suppressions/added"},{"title":"suppression.removed","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-red.svg","href":"/webhooks/suppressions/removed"},{"title":"topic.created","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-green.svg","href":"/webhooks/topics/created"},{"title":"topic.updated","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-blue.svg","href":"/webhooks/topics/updated"},{"title":"topic.deleted","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-red.svg","href":"/webhooks/topics/deleted"},{"title":"inbox.created","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-green.svg","href":"/webhooks/inboxes/created"},{"title":"inbox.updated","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-blue.svg","href":"/webhooks/inboxes/updated"},{"title":"inbox.deleted","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-red.svg","href":"/webhooks/inboxes/deleted"},{"title":"inbox.thread.created","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-green.svg","href":"/webhooks/inboxes/thread-created"},{"title":"inbox.thread.folder.updated","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-blue.svg","href":"/webhooks/inboxes/thread-folder-updated"},{"title":"inbox.thread.assigned","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-violet.svg","href":"/webhooks/inboxes/thread-assigned"},{"title":"inbox.thread.unassigned","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-mauve.svg","href":"/webhooks/inboxes/thread-unassigned"},{"title":"inbox.thread.labels.updated","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-blue.svg","href":"/webhooks/inboxes/thread-labels-updated"},{"title":"inbox.email.received","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-cyan.svg","href":"/webhooks/inboxes/email-received"},{"title":"inbox.email.sent","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-sand.svg","href":"/webhooks/inboxes/email-sent"},{"title":"inbox.draft.created","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-green.svg","href":"/webhooks/inboxes/draft-created"},{"title":"inbox.draft.updated","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-blue.svg","href":"/webhooks/inboxes/draft-updated"},{"title":"inbox.draft.sent","description":"Received when a draft is sent.","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-sand.svg","href":"/webhooks/inboxes/draft-sent"},{"title":"inbox.draft.deleted","icon":"https://mintlify.s3.us-west-1.amazonaws.com/resend/icons/dot-red.svg","href":"/webhooks/inboxes/draft-deleted"}]}]}]},{"group":"Resources","pages":[{"title":"Resend Forge","description":"Send and receive your email through Resend's new infrastructure.","href":"/forge"},{"title":"Official SDKs","sidebarTitle":"SDKs","href":"/sdks"},{"title":"Resend CLI","sidebarTitle":"CLI","href":"/cli"},{"title":"MCP Server","href":"/mcp-server"},{"title":"Integrations","href":"/integrations"},{"title":"Examples","href":"/examples"}]}]},{"tab":"Guides","icon":"books","pages":[{"title":"Guides","href":"/knowledge-base/introduction"}]},{"tab":"API Reference","icon":"rectangle-terminal","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"inbox.draft.deleted - Resend","buildId":"dpl_4UDxC3erAcBDHX8QT9FjyxxnLZSQ","deploymentId":"dpl_4UDxC3erAcBDHX8QT9FjyxxnLZSQ","dynamics":["2b790eda92"],"chunks":["ApiExamples-DTFiS5AN.js","utils-DRi8JwoB.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","cloneDeep-izs3Hzxb.js","utils-D6b6ny2H.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DuAEpWYt.js","shallow-BzqLj4xC.js","snippetPresets-u4Are-mZ.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","getApiPlaygroundDisplay-CKb7GIdu.js","CodeSnippet-BaOQDoQh.js","CodeSnippets-CNRiM0PE.js"]}