Matches emails sent on or before this date. Same formats as start_date. A
date covers that whole day, so start_date=2026-09-01&end_date=2026-09-30
covers all of September.
query matches when every word appears somewhere in the email. A quoted
phrase like "late fee" must appear word for word, and -word or
-"a phrase" excludes emails that contain it. query=invoice -draft finds
emails that mention invoice but not draft.
A comma means any of: from=isabella@example.com,carolina@example.com
matches emails from either. Different parameters combine, so a thread must
match all of them.
folders, labels, and read apply to the thread. query, from, to,
cc, bcc, has_attachment, start_date, and end_date must all match
the same email in the thread.
When any of these email filters is set, the matching email must itself be in
one of folders. For sent, that means an email the inbox sent.
When more than 10,000 threads match, search covers the 10,000 with the
newest matching email.
The folder the thread lives in. Every thread sits in exactly one folder
within its inbox. You can move a thread to inbox, archive, spam, or
trash. sent is assigned automatically.
inbox: The default. The thread holds at least one received message.
archive: The thread was archived.
spam: The thread was marked as spam.
trash: The thread is scheduled for deletion in 30 days.
Identifies the email in the thread that matched the search. When query
has words or phrases, it’s the most relevant match. Otherwise, it’s the
newest. Retrieve Thread Email,
reply, and forward accept it as email_id. It is the same id that
List Thread Emails returns.
null when the search index returns no matched email for the thread.
{"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":""},"chroma":{"liveDeploymentHistoryId":"6adfd21bcdf925bb10cac6e1","collectionId":"28ede25c-a2a8-489c-a122-ecc8959f711f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adfd21bcdf925bb10cac6e1"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adfd21bcdf925bb10cac6e1","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"Documentation","count":178},{"language":"default","tag":"API Reference","count":150},{"language":"default","tag":"Learn","count":115},{"language":"default","tag":"Guides","count":96},{"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":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":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,html:not(.dark) .codeblock-light .line-highlight:after,html:not(.dark) .codeblock-light .line-highlight:before{background:#00cc9937}html.dark .line-highlight,html.dark .line-highlight:after,html.dark .line-highlight:before,html:not(.dark) .codeblock-dark .line-highlight,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}.nav-logo{width:80px}@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}}"}],"page":{"pagePath":"api-reference/inboxes/search-threads","slug":"/api-reference/inboxes/search-threads","pageMetadata":{"title":"Search Threads","description":"Find threads in an inbox by text, people, attachments, and dates.","api":"GET /inboxes/:inbox_id/threads/search","href":"/api-reference/inboxes/search-threads"},"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: \"Find threads in an inbox by text, people, attachments, and dates.\"\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 ResendParamField=({children,body,path,...props})=>{const{ParamField}=_provideComponents()||{};if(!ParamField)_missingMdxReference(`ParamField`,true);const[lang,setLang]=useState(()=>{return localStorage.getItem(`code`)||`\"Node.js\"`});useEffect(()=>{const onStorage=event=>{const key=event.detail.key;if(key===`code`){setLang(event.detail.value)}};document.addEventListener(`mintlify-localstorage`,onStorage);return()=>{document.removeEventListener(`mintlify-localstorage`,onStorage)}},[]);const toCamelCase=str=>typeof str===`string`?str.replace(/[_-](\\w)/g,(_,c)=>c.toUpperCase()):str;const resolvedBody=useMemo(()=>{const value=JSON.parse(lang);return value===`Node.js`?toCamelCase(body):body},[body,lang]);const resolvedPath=useMemo(()=>{const value=JSON.parse(lang);return value===`Node.js`?toCamelCase(path):path},[path,lang]);return _jsx(ParamField,{body:resolvedBody,path:resolvedPath,...props,children})};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,Table,_MdxComponentBoundary}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Search finds threads by the text of their emails, who sent or received them,\nwhether they have attachments, and their dates.`}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(_MdxComponentBoundary,{name:`ResendParamField`,children:_jsx(ResendParamField,{path:`inbox_id`,type:`string`,required:true,children:_jsxs(_components.p,{children:[`The Inbox ID or the inbox email address, such as `,_jsx(_components.code,{children:`support@example.com`}),`.`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`query`,type:`string`,id:`param-query`,children:_jsx(_components.p,{children:`Free text to search for in the subject, body, sender, recipients, and\nattachment names. Max 256 characters and 32 words.`})}),`\n`,_jsx(ParamField,{query:`from`,type:`string`,id:`param-from`,children:_jsxs(_components.p,{children:[`Comma-separated senders. Up to `,_jsx(_components.code,{children:`20`}),` values.`]})}),`\n`,_jsx(ParamField,{query:`to`,type:`string`,id:`param-to`,children:_jsxs(_components.p,{children:[`Comma-separated recipients. Up to `,_jsx(_components.code,{children:`20`}),` values.`]})}),`\n`,_jsx(ParamField,{query:`cc`,type:`string`,id:`param-cc`,children:_jsxs(_components.p,{children:[`Comma-separated CC recipients. Up to `,_jsx(_components.code,{children:`20`}),` values.`]})}),`\n`,_jsx(ParamField,{query:`bcc`,type:`string`,id:`param-bcc`,children:_jsxs(_components.p,{children:[`Comma-separated BCC recipients. Up to `,_jsx(_components.code,{children:`20`}),` values.`]})}),`\n`,_jsx(ParamField,{query:`has_attachment`,type:`boolean`,id:`param-has-attachment`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` matches emails with an attachment. `,_jsx(_components.code,{children:`false`}),` matches emails without one.`]})}),`\n`,_jsx(ParamField,{query:`start_date`,type:`string`,id:`param-start-date`,children:_jsxs(_components.p,{children:[`Matches emails sent on or after this date. Accepts a date like `,_jsx(_components.code,{children:`2026-09-01`}),` or\nan ISO 8601 timestamp, in UTC unless the timestamp has an offset.`]})}),`\n`,_jsx(ParamField,{query:`end_date`,type:`string`,id:`param-end-date`,children:_jsxs(_components.p,{children:[`Matches emails sent on or before this date. Same formats as `,_jsx(_components.code,{children:`start_date`}),`. A\ndate covers that whole day, so `,_jsx(_components.code,{children:`start_date=2026-09-01\u0026end_date=2026-09-30`}),`\ncovers all of September.`]})}),`\n`,_jsxs(ParamField,{query:`folders`,type:`string`,id:`param-folders`,children:[_jsxs(_components.p,{children:[`Comma-separated folders to search. Defaults to `,_jsx(_components.code,{children:`inbox`}),`, or to\n`,_jsx(_components.code,{children:`inbox,archive,sent`}),` when `,_jsx(_components.code,{children:`labels`}),` is set.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`inbox`}),`: The default. The thread holds at least one received message.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`archive`}),`: The thread was archived.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spam`}),`: The thread was marked as spam.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`trash`}),`: The thread is scheduled for deletion in 30 days.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`sent`}),`: Threads whose messages are all outbound.`]}),`\n`]})]}),`\n`,_jsx(ParamField,{query:`labels`,type:`string`,id:`param-labels`,children:_jsxs(_components.p,{children:[`Comma-separated label IDs. Returns threads with any of these labels. Up to\n`,_jsx(_components.code,{children:`50`}),` IDs.`]})}),`\n`,_jsx(ParamField,{query:`read`,type:`boolean`,id:`param-read`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` returns threads where every email is read. `,_jsx(_components.code,{children:`false`}),` returns threads with\nat least one unread email.`]})}),`\n`,_jsx(ParamField,{query:`limit`,type:`number`,id:`param-limit`,children:_jsxs(_components.p,{children:[`Number of threads to return. Default is `,_jsx(_components.code,{children:`20`}),`, maximum is `,_jsx(_components.code,{children:`100`}),`, minimum is\n`,_jsx(_components.code,{children:`1`}),`.`]})}),`\n`,_jsx(ParamField,{query:`after`,type:`string`,id:`param-after`,children:_jsx(_components.p,{children:`The ID of the last thread on the current page. Returns the next, older page.\nMust be a thread ID.`})}),`\n`,_jsx(ParamField,{query:`before`,type:`string`,id:`param-before`,children:_jsxs(_components.p,{children:[`The ID of the first thread on the current page. Returns the previous, newer\npage. Cannot be combined with `,_jsx(_components.code,{children:`after`}),`. Must be a thread ID.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-matching-works`,children:`How matching works`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`query`}),` matches when every word appears somewhere in the email. A quoted\nphrase like `,_jsx(_components.code,{children:`\"late fee\"`}),` must appear word for word, and `,_jsx(_components.code,{children:`-word`}),` or\n`,_jsx(_components.code,{children:`-\"a phrase\"`}),` excludes emails that contain it. `,_jsx(_components.code,{children:`query=invoice -draft`}),` finds\nemails that mention `,_jsx(_components.code,{children:`invoice`}),` but not `,_jsx(_components.code,{children:`draft`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`A comma means any of: `,_jsx(_components.code,{children:`from=isabella@example.com,carolina@example.com`}),`\nmatches emails from either. Different parameters combine, so a thread must\nmatch all of them.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`folders`}),`, `,_jsx(_components.code,{children:`labels`}),`, and `,_jsx(_components.code,{children:`read`}),` apply to the thread. `,_jsx(_components.code,{children:`query`}),`, `,_jsx(_components.code,{children:`from`}),`, `,_jsx(_components.code,{children:`to`}),`,\n`,_jsx(_components.code,{children:`cc`}),`, `,_jsx(_components.code,{children:`bcc`}),`, `,_jsx(_components.code,{children:`has_attachment`}),`, `,_jsx(_components.code,{children:`start_date`}),`, and `,_jsx(_components.code,{children:`end_date`}),` must all match\nthe same email in the thread.`]}),`\n`,_jsxs(_components.li,{children:[`When any of these email filters is set, the matching email must itself be in\none of `,_jsx(_components.code,{children:`folders`}),`. For `,_jsx(_components.code,{children:`sent`}),`, that means an email the inbox sent.`]}),`\n`,_jsx(_components.li,{children:`When more than 10,000 threads match, search covers the 10,000 with the\nnewest matching email.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ParamField,{body:`object`,type:`string`,id:`param-object`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`list`}),`.`]})}),`\n`,_jsx(ParamField,{body:`has_more`,type:`boolean`,id:`param-has-more`,children:_jsxs(_components.p,{children:[`Whether more threads exist beyond this page. Pass the last thread’s `,_jsx(_components.code,{children:`id`}),` as\n`,_jsx(_components.code,{children:`after`}),` to continue.`]})}),`\n`,_jsxs(ParamField,{body:`data`,type:`array`,id:`param-data`,children:[_jsx(_components.p,{children:`The matching threads, most recently active first.`}),_jsxs(Expandable,{defaultOpen:`true`,title:`properties`,children:[_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:`from`,type:`string | null`,id:`param-from-1`,children:_jsx(_components.p,{children:`Sender email address. Can include the display name.`})}),_jsx(ParamField,{body:`to`,type:`string[]`,id:`param-to-1`,children:_jsxs(_components.p,{children:[`The recipients of the most recent message. For a received email, these\nare the addresses it was delivered to, not the full `,_jsx(_components.code,{children:`To`}),` header.`]})}),_jsx(ParamField,{body:`cc`,type:`string[]`,id:`param-cc-1`,children:_jsx(_components.p,{children:`The CC recipients of the most recent message.`})}),_jsx(ParamField,{body:`bcc`,type:`string[]`,id:`param-bcc-1`,children:_jsx(_components.p,{children:`The BCC recipients of the most recent message. Always empty for a\nreceived email.`})}),_jsxs(ParamField,{body:`labels`,type:`array`,id:`param-labels-1`,children:[_jsx(_components.p,{children:`The labels attached to the thread.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`The ID of the label.`})}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the label.`})}),_jsx(ParamField,{body:`color`,type:`string`,id:`param-color`,children:_jsxs(_components.p,{children:[`The color of the label as an uppercase `,_jsx(_components.code,{children:`#RRGGBB`}),` hex code.`]})})]})]}),_jsx(ParamField,{body:`email_count`,type:`number`,id:`param-email-count`,children:_jsx(_components.p,{children:`The number of emails in the thread.`})}),_jsx(ParamField,{body:`has_attachment`,type:`boolean`,id:`param-has-attachment-1`,children:_jsx(_components.p,{children:`Whether the most recent message in the thread has an attachment.`})}),_jsx(ParamField,{body:`has_draft`,type:`boolean`,id:`param-has-draft`,children:_jsx(_components.p,{children:`Whether the thread has an unsent draft.`})}),_jsx(ParamField,{body:`read`,type:`boolean`,id:`param-read-1`,children:_jsx(_components.p,{children:`True only when every message in the thread is read.`})}),_jsx(ParamField,{body:`received_at`,type:`string`,id:`param-received-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the thread was last active.`})}),_jsxs(ParamField,{body:`folder`,type:`string`,id:`param-folder`,children:[_jsxs(_components.p,{children:[`The folder the thread lives in. Every thread sits in exactly one folder\nwithin its inbox. You can move a thread to `,_jsx(_components.code,{children:`inbox`}),`, `,_jsx(_components.code,{children:`archive`}),`, `,_jsx(_components.code,{children:`spam`}),`, or\n`,_jsx(_components.code,{children:`trash`}),`. `,_jsx(_components.code,{children:`sent`}),` is assigned automatically.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`inbox`}),`: The default. The thread holds at least one received message.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`archive`}),`: The thread was archived.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spam`}),`: The thread was marked as spam.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`trash`}),`: The thread is scheduled for deletion in 30 days.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`sent`}),`: Threads whose messages are all outbound.`]}),`\n`]})]}),_jsx(ParamField,{body:`matched_email_id`,type:`string | null`,id:`param-matched-email-id`,children:_jsxs(_components.p,{children:[`Identifies the email in the thread that matched the search. When `,_jsx(_components.code,{children:`query`}),`\nhas words or phrases, it’s the most relevant match. Otherwise, it’s the\nnewest. `,_jsx(_components.a,{href:`/api-reference/inboxes/get-thread-email`,children:`Retrieve Thread Email`}),`,\nreply, and forward accept it as `,_jsx(_components.code,{children:`email_id`}),`. It is the same `,_jsx(_components.code,{children:`id`}),` that\n`,_jsx(_components.a,{href:`/api-reference/inboxes/list-thread-emails`,children:`List Thread Emails`}),` returns.\n`,_jsx(_components.code,{children:`null`}),` when the search index returns no matched email for the thread.`]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Validation errors return `,_jsx(_components.code,{children:`422`}),` with the name `,_jsx(_components.code,{children:`validation_error`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Message`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `query` parameter must be at most 256 characters, but received 300.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`query`}),` is longer than `,_jsx(_components.code,{children:`256`}),` characters.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `query` parameter must contain at most 32 words, but received 40.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`query`}),` has more than `,_jsx(_components.code,{children:`32`}),` words.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `from` parameter must contain at most 20 values, but received 25.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`from`}),`, `,_jsx(_components.code,{children:`to`}),`, `,_jsx(_components.code,{children:`cc`}),`, or `,_jsx(_components.code,{children:`bcc`}),` has more than `,_jsx(_components.code,{children:`20`}),` values.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `start_date` must be a valid ISO 8601 date.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`start_date`}),` or `,_jsx(_components.code,{children:`end_date`}),` isn’t a date or timestamp.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `start_date` must be on or before the `end_date`.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`end_date`}),` is before `,_jsx(_components.code,{children:`start_date`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:'The `folders` value \"drafts\" must be one of: inbox, archive, spam, sent, trash.'})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`folders`}),` has an unknown folder.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:'The `labels` value \"billing\" must be a valid UUID.'})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`labels`}),` has a value that isn’t a label ID.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `labels` parameter must contain at most 50 label IDs, but received 60.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`labels`}),` has more than `,_jsx(_components.code,{children:`50`}),` IDs.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`The pagination limit must be a number between 1 and 100. See https://resend.com/docs/api-reference/pagination for more information.`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`limit`}),` is out of range.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `read` parameter must be `true` or `false`.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`read`}),` or `,_jsx(_components.code,{children:`has_attachment`}),` isn’t `,_jsx(_components.code,{children:`true`}),` or `,_jsx(_components.code,{children:`false`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `after` parameter must be a thread ID. To filter by date, use `GET /inboxes/:id/threads/search` with `start_date`.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`before`}),` is a date. For `,_jsx(_components.code,{children:`before`}),`, the message names `,_jsx(_components.code,{children:`end_date`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"You can only pass one of `before` or `after` for pagination. See https://resend.com/docs/api-reference/pagination for more information.\"})}),_jsxs(_components.td,{children:[`Both `,_jsx(_components.code,{children:`after`}),` and `,_jsx(_components.code,{children:`before`}),` are set.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Inbox not found.`})}),_jsx(_components.td,{children:`The inbox doesn’t exist.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Label \"7f9c1d2e-4a6b-4c3d-8e15-9b0a7c6d5e34\" not found.`})}),_jsxs(_components.td,{children:[`A label ID in `,_jsx(_components.code,{children:`labels`}),` doesn’t exist in the inbox.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`The pagination cursor references an object that does not exist. See https://resend.com/docs/api-reference/pagination for more information.`})}),_jsxs(_components.td,{children:[`The thread in `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`before`}),` isn’t in the results.`]})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{ResendParamField,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":"Search Threads","description":"Find threads in an inbox by text, people, attachments, and dates.","api":"GET /inboxes/:inbox_id/threads/search","href":"/api-reference/inboxes/search-threads"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const ResendParamField=()=>null;function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,Table,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missingMdxReference(`Table`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Search finds threads by the text of their emails, who sent or received them,\nwhether they have attachments, and their dates.`}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(_MdxComponentBoundary,{name:`ResendParamField`,children:_jsx(ResendParamField,{path:`inbox_id`,type:`string`,required:true,children:_jsxs(_components.p,{children:[`The Inbox ID or the inbox email address, such as `,_jsx(_components.code,{children:`support@example.com`}),`.`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`query`,type:`string`,id:`param-query`,children:_jsx(_components.p,{children:`Free text to search for in the subject, body, sender, recipients, and\nattachment names. Max 256 characters and 32 words.`})}),`\n`,_jsx(ParamField,{query:`from`,type:`string`,id:`param-from`,children:_jsxs(_components.p,{children:[`Comma-separated senders. Up to `,_jsx(_components.code,{children:`20`}),` values.`]})}),`\n`,_jsx(ParamField,{query:`to`,type:`string`,id:`param-to`,children:_jsxs(_components.p,{children:[`Comma-separated recipients. Up to `,_jsx(_components.code,{children:`20`}),` values.`]})}),`\n`,_jsx(ParamField,{query:`cc`,type:`string`,id:`param-cc`,children:_jsxs(_components.p,{children:[`Comma-separated CC recipients. Up to `,_jsx(_components.code,{children:`20`}),` values.`]})}),`\n`,_jsx(ParamField,{query:`bcc`,type:`string`,id:`param-bcc`,children:_jsxs(_components.p,{children:[`Comma-separated BCC recipients. Up to `,_jsx(_components.code,{children:`20`}),` values.`]})}),`\n`,_jsx(ParamField,{query:`has_attachment`,type:`boolean`,id:`param-has-attachment`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` matches emails with an attachment. `,_jsx(_components.code,{children:`false`}),` matches emails without one.`]})}),`\n`,_jsx(ParamField,{query:`start_date`,type:`string`,id:`param-start-date`,children:_jsxs(_components.p,{children:[`Matches emails sent on or after this date. Accepts a date like `,_jsx(_components.code,{children:`2026-09-01`}),` or\nan ISO 8601 timestamp, in UTC unless the timestamp has an offset.`]})}),`\n`,_jsx(ParamField,{query:`end_date`,type:`string`,id:`param-end-date`,children:_jsxs(_components.p,{children:[`Matches emails sent on or before this date. Same formats as `,_jsx(_components.code,{children:`start_date`}),`. A\ndate covers that whole day, so `,_jsx(_components.code,{children:`start_date=2026-09-01\u0026end_date=2026-09-30`}),`\ncovers all of September.`]})}),`\n`,_jsxs(ParamField,{query:`folders`,type:`string`,id:`param-folders`,children:[_jsxs(_components.p,{children:[`Comma-separated folders to search. Defaults to `,_jsx(_components.code,{children:`inbox`}),`, or to\n`,_jsx(_components.code,{children:`inbox,archive,sent`}),` when `,_jsx(_components.code,{children:`labels`}),` is set.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`inbox`}),`: The default. The thread holds at least one received message.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`archive`}),`: The thread was archived.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spam`}),`: The thread was marked as spam.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`trash`}),`: The thread is scheduled for deletion in 30 days.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`sent`}),`: Threads whose messages are all outbound.`]}),`\n`]})]}),`\n`,_jsx(ParamField,{query:`labels`,type:`string`,id:`param-labels`,children:_jsxs(_components.p,{children:[`Comma-separated label IDs. Returns threads with any of these labels. Up to\n`,_jsx(_components.code,{children:`50`}),` IDs.`]})}),`\n`,_jsx(ParamField,{query:`read`,type:`boolean`,id:`param-read`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` returns threads where every email is read. `,_jsx(_components.code,{children:`false`}),` returns threads with\nat least one unread email.`]})}),`\n`,_jsx(ParamField,{query:`limit`,type:`number`,id:`param-limit`,children:_jsxs(_components.p,{children:[`Number of threads to return. Default is `,_jsx(_components.code,{children:`20`}),`, maximum is `,_jsx(_components.code,{children:`100`}),`, minimum is\n`,_jsx(_components.code,{children:`1`}),`.`]})}),`\n`,_jsx(ParamField,{query:`after`,type:`string`,id:`param-after`,children:_jsx(_components.p,{children:`The ID of the last thread on the current page. Returns the next, older page.\nMust be a thread ID.`})}),`\n`,_jsx(ParamField,{query:`before`,type:`string`,id:`param-before`,children:_jsxs(_components.p,{children:[`The ID of the first thread on the current page. Returns the previous, newer\npage. Cannot be combined with `,_jsx(_components.code,{children:`after`}),`. Must be a thread ID.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-matching-works`,children:`How matching works`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`query`}),` matches when every word appears somewhere in the email. A quoted\nphrase like `,_jsx(_components.code,{children:`\"late fee\"`}),` must appear word for word, and `,_jsx(_components.code,{children:`-word`}),` or\n`,_jsx(_components.code,{children:`-\"a phrase\"`}),` excludes emails that contain it. `,_jsx(_components.code,{children:`query=invoice -draft`}),` finds\nemails that mention `,_jsx(_components.code,{children:`invoice`}),` but not `,_jsx(_components.code,{children:`draft`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`A comma means any of: `,_jsx(_components.code,{children:`from=isabella@example.com,carolina@example.com`}),`\nmatches emails from either. Different parameters combine, so a thread must\nmatch all of them.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`folders`}),`, `,_jsx(_components.code,{children:`labels`}),`, and `,_jsx(_components.code,{children:`read`}),` apply to the thread. `,_jsx(_components.code,{children:`query`}),`, `,_jsx(_components.code,{children:`from`}),`, `,_jsx(_components.code,{children:`to`}),`,\n`,_jsx(_components.code,{children:`cc`}),`, `,_jsx(_components.code,{children:`bcc`}),`, `,_jsx(_components.code,{children:`has_attachment`}),`, `,_jsx(_components.code,{children:`start_date`}),`, and `,_jsx(_components.code,{children:`end_date`}),` must all match\nthe same email in the thread.`]}),`\n`,_jsxs(_components.li,{children:[`When any of these email filters is set, the matching email must itself be in\none of `,_jsx(_components.code,{children:`folders`}),`. For `,_jsx(_components.code,{children:`sent`}),`, that means an email the inbox sent.`]}),`\n`,_jsx(_components.li,{children:`When more than 10,000 threads match, search covers the 10,000 with the\nnewest matching email.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ParamField,{body:`object`,type:`string`,id:`param-object`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`list`}),`.`]})}),`\n`,_jsx(ParamField,{body:`has_more`,type:`boolean`,id:`param-has-more`,children:_jsxs(_components.p,{children:[`Whether more threads exist beyond this page. Pass the last thread’s `,_jsx(_components.code,{children:`id`}),` as\n`,_jsx(_components.code,{children:`after`}),` to continue.`]})}),`\n`,_jsxs(ParamField,{body:`data`,type:`array`,id:`param-data`,children:[_jsx(_components.p,{children:`The matching threads, most recently active first.`}),_jsxs(Expandable,{defaultOpen:`true`,title:`properties`,children:[_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:`from`,type:`string | null`,id:`param-from-1`,children:_jsx(_components.p,{children:`Sender email address. Can include the display name.`})}),_jsx(ParamField,{body:`to`,type:`string[]`,id:`param-to-1`,children:_jsxs(_components.p,{children:[`The recipients of the most recent message. For a received email, these\nare the addresses it was delivered to, not the full `,_jsx(_components.code,{children:`To`}),` header.`]})}),_jsx(ParamField,{body:`cc`,type:`string[]`,id:`param-cc-1`,children:_jsx(_components.p,{children:`The CC recipients of the most recent message.`})}),_jsx(ParamField,{body:`bcc`,type:`string[]`,id:`param-bcc-1`,children:_jsx(_components.p,{children:`The BCC recipients of the most recent message. Always empty for a\nreceived email.`})}),_jsxs(ParamField,{body:`labels`,type:`array`,id:`param-labels-1`,children:[_jsx(_components.p,{children:`The labels attached to the thread.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`The ID of the label.`})}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the label.`})}),_jsx(ParamField,{body:`color`,type:`string`,id:`param-color`,children:_jsxs(_components.p,{children:[`The color of the label as an uppercase `,_jsx(_components.code,{children:`#RRGGBB`}),` hex code.`]})})]})]}),_jsx(ParamField,{body:`email_count`,type:`number`,id:`param-email-count`,children:_jsx(_components.p,{children:`The number of emails in the thread.`})}),_jsx(ParamField,{body:`has_attachment`,type:`boolean`,id:`param-has-attachment-1`,children:_jsx(_components.p,{children:`Whether the most recent message in the thread has an attachment.`})}),_jsx(ParamField,{body:`has_draft`,type:`boolean`,id:`param-has-draft`,children:_jsx(_components.p,{children:`Whether the thread has an unsent draft.`})}),_jsx(ParamField,{body:`read`,type:`boolean`,id:`param-read-1`,children:_jsx(_components.p,{children:`True only when every message in the thread is read.`})}),_jsx(ParamField,{body:`received_at`,type:`string`,id:`param-received-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the thread was last active.`})}),_jsxs(ParamField,{body:`folder`,type:`string`,id:`param-folder`,children:[_jsxs(_components.p,{children:[`The folder the thread lives in. Every thread sits in exactly one folder\nwithin its inbox. You can move a thread to `,_jsx(_components.code,{children:`inbox`}),`, `,_jsx(_components.code,{children:`archive`}),`, `,_jsx(_components.code,{children:`spam`}),`, or\n`,_jsx(_components.code,{children:`trash`}),`. `,_jsx(_components.code,{children:`sent`}),` is assigned automatically.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`inbox`}),`: The default. The thread holds at least one received message.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`archive`}),`: The thread was archived.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spam`}),`: The thread was marked as spam.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`trash`}),`: The thread is scheduled for deletion in 30 days.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`sent`}),`: Threads whose messages are all outbound.`]}),`\n`]})]}),_jsx(ParamField,{body:`matched_email_id`,type:`string | null`,id:`param-matched-email-id`,children:_jsxs(_components.p,{children:[`Identifies the email in the thread that matched the search. When `,_jsx(_components.code,{children:`query`}),`\nhas words or phrases, it’s the most relevant match. Otherwise, it’s the\nnewest. `,_jsx(_components.a,{href:`/api-reference/inboxes/get-thread-email`,children:`Retrieve Thread Email`}),`,\nreply, and forward accept it as `,_jsx(_components.code,{children:`email_id`}),`. It is the same `,_jsx(_components.code,{children:`id`}),` that\n`,_jsx(_components.a,{href:`/api-reference/inboxes/list-thread-emails`,children:`List Thread Emails`}),` returns.\n`,_jsx(_components.code,{children:`null`}),` when the search index returns no matched email for the thread.`]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Validation errors return `,_jsx(_components.code,{children:`422`}),` with the name `,_jsx(_components.code,{children:`validation_error`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Message`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `query` parameter must be at most 256 characters, but received 300.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`query`}),` is longer than `,_jsx(_components.code,{children:`256`}),` characters.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `query` parameter must contain at most 32 words, but received 40.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`query`}),` has more than `,_jsx(_components.code,{children:`32`}),` words.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `from` parameter must contain at most 20 values, but received 25.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`from`}),`, `,_jsx(_components.code,{children:`to`}),`, `,_jsx(_components.code,{children:`cc`}),`, or `,_jsx(_components.code,{children:`bcc`}),` has more than `,_jsx(_components.code,{children:`20`}),` values.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `start_date` must be a valid ISO 8601 date.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`start_date`}),` or `,_jsx(_components.code,{children:`end_date`}),` isn’t a date or timestamp.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `start_date` must be on or before the `end_date`.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`end_date`}),` is before `,_jsx(_components.code,{children:`start_date`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:'The `folders` value \"drafts\" must be one of: inbox, archive, spam, sent, trash.'})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`folders`}),` has an unknown folder.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:'The `labels` value \"billing\" must be a valid UUID.'})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`labels`}),` has a value that isn’t a label ID.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `labels` parameter must contain at most 50 label IDs, but received 60.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`labels`}),` has more than `,_jsx(_components.code,{children:`50`}),` IDs.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`The pagination limit must be a number between 1 and 100. See https://resend.com/docs/api-reference/pagination for more information.`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`limit`}),` is out of range.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `read` parameter must be `true` or `false`.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`read`}),` or `,_jsx(_components.code,{children:`has_attachment`}),` isn’t `,_jsx(_components.code,{children:`true`}),` or `,_jsx(_components.code,{children:`false`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"The `after` parameter must be a thread ID. To filter by date, use `GET /inboxes/:id/threads/search` with `start_date`.\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`before`}),` is a date. For `,_jsx(_components.code,{children:`before`}),`, the message names `,_jsx(_components.code,{children:`end_date`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"You can only pass one of `before` or `after` for pagination. See https://resend.com/docs/api-reference/pagination for more information.\"})}),_jsxs(_components.td,{children:[`Both `,_jsx(_components.code,{children:`after`}),` and `,_jsx(_components.code,{children:`before`}),` are set.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Inbox not found.`})}),_jsx(_components.td,{children:`The inbox doesn’t exist.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Label \"7f9c1d2e-4a6b-4c3d-8e15-9b0a7c6d5e34\" not found.`})}),_jsxs(_components.td,{children:[`A label ID in `,_jsx(_components.code,{children:`labels`}),` doesn’t exist in the inbox.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`The pagination cursor references an object that does not exist. See https://resend.com/docs/api-reference/pagination for more information.`})}),_jsxs(_components.td,{children:[`The thread in `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`before`}),` isn’t in the results.`]})]})]})]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`11`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` { Resend } `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`from`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'resend'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`const`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:` resend`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'re_xxxxxxxxx'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`const`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` { `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`data`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`error`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` } `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` await`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend.inboxes.threads.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`search`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` inboxId: `}),_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:`#24292E`,\"--shiki-dark\":`#FFF`},children:` query: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'invoice -draft'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` from: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'isabella@example.com'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'carolina@example.com'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` startDate: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'2026-09-01'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` limit: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`2`}),_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(CodeBlock,{filename:`PHP`,numberOfLines:`8`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`$resend `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` Resend`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`client`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'re_xxxxxxxxx'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`$resend`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`->`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`inboxes`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`->`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`threads`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`->`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`search`}),_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:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'query'`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =>`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'invoice -draft'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'from'`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =>`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'isabella@example.com'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'carolina@example.com'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'start_date'`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =>`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` '2026-09-01'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'limit'`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =>`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` 2`}),_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(CodeBlock,{filename:`Python`,numberOfLines:`12`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`resend.api_key `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"re_xxxxxxxxx\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`params: resend.Inboxes.Threads.SearchParams `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"query\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"invoice -draft\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"isabella@example.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"carolina@example.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"start_date\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"2026-09-01\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"limit\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`2`}),_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`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`resend.Inboxes.Threads.search(`}),_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:`, params)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Ruby`,numberOfLines:`13`,language:`ruby`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`ruby`,children:_jsxs(_components.code,{language:`ruby`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`require`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"resend\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`api_key`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"re_xxxxxxxxx\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFF`},children:`params`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},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\":`#FFF`},children:` inbox_id:`}),_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\":`#FFF`},children:` query:`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"invoice -draft\"`}),_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\":`#FFF`},children:` from:`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"isabella@example.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"carolina@example.com\"`}),_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\":`#FFF`},children:` start_date:`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"2026-09-01\"`}),_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\":`#FFF`},children:` limit:`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` 2`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`::`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`Inboxes`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`::`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`Threads`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`search`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(params)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Go`,numberOfLines:`16`,language:`go`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`go`,children:_jsxs(_components.code,{language:`go`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`package`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` main`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`import`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`github.com/resend/resend-go/v4`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`func`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` main`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\tclient `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`:=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`NewClient`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"re_xxxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\tlimit `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`:=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` 2`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\toptions `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`:=`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` \u0026`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`SearchInboxThreadsOptions`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\t\tQuery: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"invoice -draft\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\t\tFrom: []`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`string`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"isabella@example.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"carolina@example.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\t\tStartDate: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"2026-09-01\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\t\tLimit: `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`limit,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\t}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\tclient.Inboxes.Threads.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Search`}),_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:`, options)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Rust`,numberOfLines:`26`,language:`rust`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`rust`,children:_jsxs(_components.code,{language:`rust`,numberOfLines:`26`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`use`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` resend_rs`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` list_opts`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`ListOptions`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` types`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`SearchInboxThreadsOptions`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Result`}),_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`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`#[tokio`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`main]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`async`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:` fn`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` main`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`() `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`->`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Result`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\u003c()> {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` let`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Resend`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`new`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"re_xxxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` let`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` search `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` SearchInboxThreadsOptions`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`new`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`with_query`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"invoice -draft\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`with_from`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`([`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"isabella@example.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"carolina@example.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`])`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`with_start_date`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"2026-09-01\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` let`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` _threads `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` .`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`inboxes`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`search_threads`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` search,`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` ListOptions`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`default`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`()`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`with_limit`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`2`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` .await?`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Ok`}),_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(CodeBlock,{filename:`Java`,numberOfLines:`20`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` com.resend.Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` com.resend.core.exception.ResendException`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` com.resend.services.inboxes.model.SearchInboxThreadsParams`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` com.resend.services.inboxes.model.SearchInboxThreadsResponseSuccess`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`public`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` class`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Main`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` public`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` static`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` void`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` main`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`String`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`[] `}),_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFF`},children:`args`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`) `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`throws`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` ResendException`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"re_xxxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` SearchInboxThreadsParams`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` params `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` SearchInboxThreadsParams.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`builder`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`query`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"invoice -draft\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`from`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"isabella@example.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"carolina@example.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`startDate`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"2026-09-01\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`limit`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`2`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`build`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` SearchInboxThreadsResponseSuccess`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` data `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`inboxes`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`().`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`threads`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`search`}),_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:`, params);`})]}),`\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(CodeBlock,{filename:`.NET`,numberOfLines:`15`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`using`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`IResend`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` resend`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` ResendClient.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Create`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`( `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"re_xxxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` ); `}),_jsx(_components.span,{style:{color:`#6A737D`,\"--shiki-dark\":`#8B8B8B94`},children:`// Or from DI`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`var`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` resp`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` await`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`InboxThreadSearchAsync`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Guid`}),_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:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` InboxThreadSearchQuery`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` Query `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"invoice -draft\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` From `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` [ `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"isabella@example.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"carolina@example.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` ],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` StartDate `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"2026-09-01\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` Limit `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` 2`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`Console.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`WriteLine`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`( `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Nr Threads={0}\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, resp.Content.Data.Count );`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`curl`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` --get`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'https://api.resend.com/inboxes/b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1/threads/search'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'Authorization: Bearer re_xxxxxxxxx'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'query=invoice -draft'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'from=isabella@example.com,carolina@example.com'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'start_date=2026-09-01'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'limit=2'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`resend`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` inboxes`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` threads`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` search`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` --query`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"invoice -draft\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` --from`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` isabella@example.com`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` carolina@example.com`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` --start-date`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 2026-09-01`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` --limit`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` 2`})]}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`44`,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:`44`,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:` \"object\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"list\"`}),_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:` \"has_more\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`true`}),_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`,_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"b1e7c9d2-5a4f-4c3e-8d2b-7f6a1e9c0b54\"`}),_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:`\"September 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:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Isabella \u003cisabella@example.com>\"`}),_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:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"billing@example.com\"`}),_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:` \"cc\"`}),_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:` \"bcc\"`}),_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`,_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"0c9e4b7a-3f2d-4a1c-b8e6-5d7f2a9c1e03\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Billing\"`}),_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:` \"color\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"#46A758\"`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"email_count\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`3`}),_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:` \"has_attachment\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`true`}),_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:` \"has_draft\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`false`}),_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`}),_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:` \"received_at\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"2026-09-24T14:12:08.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:` \"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:` \"matched_email_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"e8a3f1c6-2b9d-4e5a-a7c4-9d1b6f3e2a80\"`})]}),`\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`,_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:`\"7d2f8a3b-9c1e-4b6d-a5f2-3e8c0b7a9d16\"`}),_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:`\"Re: Q3 renewal\"`}),_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:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Carolina \u003ccarolina@example.com>\"`}),_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:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"billing@example.com\"`}),_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:` \"cc\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"finance@example.com\"`}),_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:` \"bcc\"`}),_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:` \"email_count\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`5`}),_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:` \"has_attachment\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`false`}),_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:` \"has_draft\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`false`}),_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:`true`}),_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:` \"received_at\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"2026-09-18T09:47:31.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:` \"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:` \"matched_email_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"3c6b9e2d-7a1f-4d8c-b3e5-0f2a8d6c4b19\"`})]}),`\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{ResendParamField,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":"Search Threads","description":"Find threads in an inbox by text, people, attachments, and dates.","api":"GET /inboxes/:inbox_id/threads/search","href":"/api-reference/inboxes/search-threads"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"How matching works","slug":"how-matching-works","depth":2,"children":[]},{"title":"Response Fields","slug":"response-fields","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Node.js","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"typescript\">\u003ccode language=\"typescript\" numberOfLines=\"11\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> { Resend } \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">from\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'resend'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">const\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\"> resend\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> new\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'re_xxxxxxxxx'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">const\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> { \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">data\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">error\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> } \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> await\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend.inboxes.threads.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">search\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> inboxId: \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:#24292E;--shiki-dark:#FFF\"> query: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'invoice -draft'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> from: [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'isabella@example.com'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'carolina@example.com'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> startDate: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'2026-09-01'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> limit: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">2\u003c/span>\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>"},{"filename":"PHP","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"php\">\u003ccode language=\"php\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">$resend \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> Resend\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">client\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'re_xxxxxxxxx'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">$resend\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">->\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">inboxes\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">->\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">threads\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">->\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">search\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:#032F62;--shiki-dark:#99FFE4\"> 'query'\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =>\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'invoice -draft'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'from'\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =>\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'isabella@example.com'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'carolina@example.com'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'start_date'\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =>\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> '2026-09-01'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'limit'\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =>\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> 2\u003c/span>\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>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">resend.api_key \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"re_xxxxxxxxx\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">params: resend.Inboxes.Threads.SearchParams \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"query\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"invoice -draft\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"from\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"isabella@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"carolina@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"start_date\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"2026-09-01\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"limit\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">2\u003c/span>\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\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">resend.Inboxes.Threads.search(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, params)\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Ruby","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"ruby\">\u003ccode language=\"ruby\" numberOfLines=\"13\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">require\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"resend\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">api_key\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"re_xxxxxxxxx\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#FFF\">params\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\"> inbox_id:\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:#FFF\"> query:\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"invoice -draft\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\"> from:\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"isabella@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"carolina@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\"> start_date:\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"2026-09-01\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\"> limit:\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> 2\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">::\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">Inboxes\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">::\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">Threads\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">search\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(params)\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Go","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"go\">\u003ccode language=\"go\" numberOfLines=\"16\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">package\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> main\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">import\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">github.com/resend/resend-go/v4\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">func\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> main\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">() {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\tclient \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">:=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">NewClient\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"re_xxxxxxxxx\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\tlimit \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">:=\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> 2\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\toptions \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">:=\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> \u0026#x26;\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">SearchInboxThreadsOptions\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\t\tQuery: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"invoice -draft\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\t\tFrom: []\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">string\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"isabella@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"carolina@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\t\tStartDate: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"2026-09-01\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\t\tLimit: \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">\u0026#x26;\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">limit,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\t}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\tclient.Inboxes.Threads.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Search\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\">, options)\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Rust","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"rust\">\u003ccode language=\"rust\" numberOfLines=\"26\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">use\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> resend_rs\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> list_opts\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">ListOptions\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> types\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">SearchInboxThreadsOptions\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Result\u003c/span>\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\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">#[tokio\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">main]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">async\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\"> fn\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> main\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">() \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">->\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Result\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\u0026#x3C;()> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> let\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Resend\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">new\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"re_xxxxxxxxx\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> let\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> search \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> SearchInboxThreadsOptions\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">new\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">with_query\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"invoice -draft\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">with_from\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">([\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"isabella@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"carolina@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">])\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">with_start_date\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"2026-09-01\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> let\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> _threads \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> .\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">inboxes\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">search_threads\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\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:#24292E;--shiki-dark:#FFF\"> search,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> ListOptions\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">default\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">()\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">with_limit\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">2\u003c/span>\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:#D73A49;--shiki-dark:#A0A0A0\"> .await?\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Ok\u003c/span>\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>"},{"filename":"Java","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"java\">\u003ccode language=\"java\" numberOfLines=\"20\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> com.resend.Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> com.resend.core.exception.ResendException\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> com.resend.services.inboxes.model.SearchInboxThreadsParams\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> com.resend.services.inboxes.model.SearchInboxThreadsResponseSuccess\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">public\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> class\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Main\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> public\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> static\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> void\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> main\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">String\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">[] \u003c/span>\u003cspan style=\"color:#E36209;--shiki-dark:#FFF\">args\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">) \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">throws\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> ResendException\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> new\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"re_xxxxxxxxx\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> SearchInboxThreadsParams\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> params \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> SearchInboxThreadsParams.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">builder\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">query\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"invoice -draft\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">from\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"isabella@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"carolina@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">startDate\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"2026-09-01\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">limit\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">2\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">build\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> SearchInboxThreadsResponseSuccess\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> data \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">inboxes\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">().\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">threads\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">search\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\">, params);\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>"},{"filename":".NET","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"csharp\">\u003ccode language=\"csharp\" numberOfLines=\"15\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">using\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">IResend\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> resend\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> ResendClient.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Create\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">( \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"re_xxxxxxxxx\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> ); \u003c/span>\u003cspan style=\"color:#6A737D;--shiki-dark:#8B8B8B94\">// Or from DI\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">var\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> resp\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> await\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">InboxThreadSearchAsync\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> new\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Guid\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:#D73A49;--shiki-dark:#A0A0A0\"> new\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> InboxThreadSearchQuery\u003c/span>\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\"> Query \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"invoice -draft\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> From \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> [ \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"isabella@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"carolina@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> StartDate \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"2026-09-01\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> Limit \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> 2\u003c/span>\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\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">Console.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">WriteLine\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">( \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Nr Threads={0}\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, resp.Content.Data.Count );\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">curl\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> --get\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'https://api.resend.com/inboxes/b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1/threads/search'\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> -H\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'Authorization: Bearer re_xxxxxxxxx'\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'query=invoice -draft'\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'from=isabella@example.com,carolina@example.com'\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'start_date=2026-09-01'\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'limit=2'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"CLI","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">resend\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> inboxes\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> threads\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> search\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> --query\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"invoice -draft\"\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> --from\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> isabella@example.com\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> carolina@example.com\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> --start-date\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 2026-09-01\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> --limit\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> 2\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","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=\"44\">\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\"> \"object\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"list\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"has_more\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">true\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:#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\">\"b1e7c9d2-5a4f-4c3e-8d2b-7f6a1e9c0b54\"\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\">\"September 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\"> \"from\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Isabella \u0026#x3C;isabella@example.com>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"to\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"billing@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"cc\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"bcc\"\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:#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\">\"0c9e4b7a-3f2d-4a1c-b8e6-5d7f2a9c1e03\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"name\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Billing\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"color\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"#46A758\"\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:#005CC5;--shiki-dark:#FFC799\"> \"email_count\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">3\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"has_attachment\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">true\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"has_draft\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">false\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>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"received_at\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"2026-09-24T14:12:08.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\"> \"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\"> \"matched_email_id\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"e8a3f1c6-2b9d-4e5a-a7c4-9d1b6f3e2a80\"\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:#005CC5;--shiki-dark:#FFC799\"> \"id\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"7d2f8a3b-9c1e-4b6d-a5f2-3e8c0b7a9d16\"\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\">\"Re: Q3 renewal\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"from\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Carolina \u0026#x3C;carolina@example.com>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"to\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"billing@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"cc\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"finance@example.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"bcc\"\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\"> \"email_count\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">5\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"has_attachment\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">false\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"has_draft\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">false\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\">true\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"received_at\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"2026-09-18T09:47:31.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\"> \"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\"> \"matched_email_id\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"3c6b9e2d-7a1f-4d8c-b3e5-0f2a8d6c4b19\"\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":[]}},"endpoint":{"title":"Search Threads","path":"/inboxes/:inbox_id/threads/search","servers":[{"url":"https://api.resend.com"}],"method":"get","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{"query":{"schema":[{"type":"string","description":"Free text to search for in the subject, body, sender, recipients, and attachment names. Max 256 characters and 32 words."}]},"from":{"schema":[{"type":"string","description":"Comma-separated senders. Up to `20` values."}]},"to":{"schema":[{"type":"string","description":"Comma-separated recipients. Up to `20` values."}]},"cc":{"schema":[{"type":"string","description":"Comma-separated CC recipients. Up to `20` values."}]},"bcc":{"schema":[{"type":"string","description":"Comma-separated BCC recipients. Up to `20` values."}]},"has_attachment":{"schema":[{"type":"boolean","description":"`true` matches emails with an attachment. `false` matches emails without one."}]},"start_date":{"schema":[{"type":"string","description":"Matches emails sent on or after this date. Accepts a date like `2026-09-01` or an ISO 8601 timestamp, in UTC unless the timestamp has an offset."}]},"end_date":{"schema":[{"type":"string","description":"Matches emails sent on or before this date. Same formats as `start_date` . A date covers that whole day, so `start_date=2026-09-01\u0026end_date=2026-09-30` covers all of September."}]},"folders":{"schema":[{"type":"string","description":"Comma-separated folders to search. Defaults to `inbox` , or to `inbox,archive,sent` when `labels` is set. `inbox` : The default. The thread holds at least one received message. `archive` : The thread was archived. `spam` : The thread was marked as spam. `trash` : The thread is scheduled for deletion in 30 days. `sent` : Threads whose messages are all outbound."}]},"labels":{"schema":[{"type":"string","description":"Comma-separated label IDs. Returns threads with any of these labels. Up to `50` IDs."}]},"read":{"schema":[{"type":"boolean","description":"`true` returns threads where every email is read. `false` returns threads with at least one unread email."}]},"limit":{"schema":[{"type":"number","description":"Number of threads to return. Default is `20` , maximum is `100` , minimum is `1` ."}]},"after":{"schema":[{"type":"string","description":"The ID of the last thread on the current page. Returns the next, older page. Must be a thread ID."}]},"before":{"schema":[{"type":"string","description":"The ID of the first thread on the current page. Returns the previous, newer page. Cannot be combined with `after` . Must be a thread ID."}]}},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"object":[{"type":"string","description":"Always `list` ."}],"has_more":[{"type":"boolean","description":"Whether more threads exist beyond this page. Pass the last thread’s `id` as `after` to continue."}],"data":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"The ID of the thread."}],"subject":[{"type":"object","properties":{},"description":"The subject of the thread."}],"from":[{"type":"object","properties":{},"description":"Sender email address. Can include the display name."}],"to":[{"type":"array","items":[{"type":"string"}],"description":"The recipients of the most recent message. For a received email, these are the addresses it was delivered to, not the full `To` header."}],"cc":[{"type":"array","items":[{"type":"string"}],"description":"The CC recipients of the most recent message."}],"bcc":[{"type":"array","items":[{"type":"string"}],"description":"The BCC recipients of the most recent message. Always empty for a received email."}],"labels":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"The ID of the label."}],"name":[{"type":"string","description":"The name of the label."}],"color":[{"type":"string","description":"The color of the label as an uppercase `#RRGGBB` hex code."}]}}],"description":"The labels attached to the thread."}],"email_count":[{"type":"number","description":"The number of emails in the thread."}],"has_attachment":[{"type":"boolean","description":"Whether the most recent message in the thread has an attachment."}],"has_draft":[{"type":"boolean","description":"Whether the thread has an unsent draft."}],"read":[{"type":"boolean","description":"True only when every message in the thread is read."}],"received_at":[{"type":"string","description":"ISO 8601 timestamp when the thread was last active."}],"folder":[{"type":"string","description":"The folder the thread lives in. Every thread sits in exactly one folder within its inbox. You can move a thread to `inbox` , `archive` , `spam` , or `trash` . `sent` is assigned automatically. `inbox` : The default. The thread holds at least one received message. `archive` : The thread was archived. `spam` : The thread was marked as spam. `trash` : The thread is scheduled for deletion in 30 days. `sent` : Threads whose messages are all outbound."}],"matched_email_id":[{"type":"object","properties":{},"description":"Identifies the email in the thread that matched the search. When `query` has words or phrases, it’s the most relevant match. Otherwise, it’s the newest. Retrieve Thread Email , reply, and forward accept it as `email_id` . It is the same `id` that List Thread Emails returns. `null` when the search index returns no matched email for the thread."}]}}],"description":"The matching threads, most recently active first."}]}}],"examples":{"example":{"value":{"object":"\u003cstring>","has_more":true,"data":[{"id":"\u003cstring>","subject":{},"from":{},"to":["\u003cstring>"],"cc":["\u003cstring>"],"bcc":["\u003cstring>"],"labels":[{"id":"\u003cstring>","name":"\u003cstring>","color":"\u003cstring>"}],"email_count":123,"has_attachment":true,"has_draft":true,"read":true,"received_at":"\u003cstring>","folder":"\u003cstring>","matched_email_id":{}}]}}}}}},"response":{},"deprecated":false}},"jsLinks":["/docs/_mintlify/custom/resend/34a103d44dce6f34/resend.js","/docs/_mintlify/custom/resend/b0fac65f85cb29e7/reo.dev.js"],"subdomain":"resend","siteName":"Resend","title":"Search Threads - Resend","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-21T13:44:03.543Z","originalFileLocation":"api-reference/inboxes/search-threads.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=\"Find threads in an inbox by text, people, attachments, and dates.\">\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=\"Search Threads - Resend\">\u003cmeta data-mint-head property=\"og:description\" content=\"Find threads in an inbox by text, people, attachments, and dates.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Resend\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://resend.com/docs/api-reference/inboxes/search-threads\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://resend.mintlify.app/_mintlify/api/og/v2?division=Inbox+Threads\u0026amp;title=Search+Threads\u0026amp;description=Find+threads+in+an+inbox+by+text%2C+people%2C+attachments%2C+and+dates.\u0026amp;theme=0453800a90f4a9b2ad9d73ea\u0026amp;signature=443ad5f93ac059d1dde84c0aa3137b1f9aa037db13e375a9c0827ca51822b3c4\">\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=\"Search Threads - Resend\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Find threads in an inbox by text, people, attachments, and dates.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://resend.mintlify.app/_mintlify/api/og/v2?division=Inbox+Threads\u0026amp;title=Search+Threads\u0026amp;description=Find+threads+in+an+inbox+by+text%2C+people%2C+attachments%2C+and+dates.\u0026amp;theme=0453800a90f4a9b2ad9d73ea\u0026amp;signature=443ad5f93ac059d1dde84c0aa3137b1f9aa037db13e375a9c0827ca51822b3c4\">\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/api-reference/inboxes/search-threads\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/inboxes/search-threads.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/api-reference/inboxes/search-threads#webpage\",\"url\":\"https://resend.com/docs/api-reference/inboxes/search-threads\",\"name\":\"Search Threads\",\"description\":\"Find threads in an inbox by text, people, attachments, and dates.\",\"dateModified\":\"2026-10-21T13:44:03.543Z\",\"isPartOf\":{\"@id\":\"https://resend.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://resend.com/docs/api-reference/inboxes/search-threads#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://resend.com/docs/api-reference/inboxes/search-threads#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Inbox Threads\",\"item\":\"https://resend.com/docs/api-reference/inboxes/list-threads\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Search Threads\",\"item\":\"https://resend.com/docs/api-reference/inboxes/search-threads\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://resend.com/docs/api-reference/inboxes/search-threads#apireference\",\"headline\":\"Search Threads\",\"name\":\"Search Threads\",\"description\":\"Find threads in an inbox by text, people, attachments, and dates.\",\"url\":\"https://resend.com/docs/api-reference/inboxes/search-threads\",\"mainEntityOfPage\":{\"@id\":\"https://resend.com/docs/api-reference/inboxes/search-threads#webpage\"},\"dateModified\":\"2026-10-21T13:44:03.543Z\",\"publisher\":{\"@id\":\"https://resend.com/#organization\"},\"isPartOf\":{\"@id\":\"https://resend.com/docs#website\"}}]}\u003c/script>","siteName":"Resend","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Guides","icon":"books","pages":[{"title":"Guides","href":"/knowledge-base/introduction"}]},{"tab":"API Reference","icon":"rectangle-terminal","groups":[{"group":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Pagination","href":"/api-reference/pagination"},{"title":"Usage Limits","href":"/api-reference/rate-limit"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Sending","pages":[{"title":"Send Email","api":"POST /emails","href":"/api-reference/emails/send-email"},{"title":"Send Batch Emails","api":"POST /emails/batch","href":"/api-reference/emails/send-batch-emails"},{"title":"Retrieve Sent Email","api":"GET /emails/:email_id","href":"/api-reference/emails/retrieve-email"},{"title":"List Sent Emails","api":"GET /emails","href":"/api-reference/emails/list-emails"},{"title":"Update Email","api":"PATCH /emails/:email_id","href":"/api-reference/emails/update-email"},{"title":"Cancel Email","api":"POST /emails/:email_id/cancel","href":"/api-reference/emails/cancel-email"},{"title":"Share Email","api":"POST /emails/:email_id/share","href":"/api-reference/emails/share-email"},{"title":"Retrieve Attachment","api":"GET /emails/:email_id/attachments/:attachment_id","href":"/api-reference/emails/retrieve-email-attachment"},{"title":"List Attachments","api":"GET /emails/:email_id/attachments","href":"/api-reference/emails/list-email-attachments"},{"title":"Retrieve Metrics","api":"GET /emails/metrics","href":"/api-reference/emails/get-metrics"}]},{"group":"Receiving","pages":[{"title":"Retrieve Received Email","api":"GET /emails/receiving/:email_id","href":"/api-reference/emails/retrieve-received-email"},{"title":"List Received Emails","api":"GET /emails/receiving","href":"/api-reference/emails/list-received-emails"},{"title":"Retrieve Attachment","api":"GET /emails/receiving/:email_id/attachments/:attachment_id","href":"/api-reference/emails/retrieve-received-email-attachment"},{"title":"List Attachments","api":"GET /emails/receiving/:email_id/attachments","href":"/api-reference/emails/list-received-email-attachments"}]},{"group":"Inboxes","pages":[{"title":"Create Inbox","api":"POST /inboxes","href":"/api-reference/inboxes/create-inbox"},{"title":"Retrieve Inbox","api":"GET /inboxes/:inbox_id","href":"/api-reference/inboxes/get-inbox"},{"title":"List Inboxes","api":"GET /inboxes","href":"/api-reference/inboxes/list-inboxes"},{"title":"Update Inbox","api":"PATCH /inboxes/:inbox_id","href":"/api-reference/inboxes/update-inbox"},{"title":"Delete Inbox","api":"DELETE /inboxes/:inbox_id","href":"/api-reference/inboxes/delete-inbox"}]},{"group":"Inbox Labels","pages":[{"title":"Create Label","api":"POST /inboxes/:inbox_id/labels","href":"/api-reference/inboxes/create-label"},{"title":"List Labels","api":"GET /inboxes/:inbox_id/labels","href":"/api-reference/inboxes/list-labels"},{"title":"Update Label","api":"PATCH /inboxes/:inbox_id/labels/:label_id","href":"/api-reference/inboxes/update-label"},{"title":"Delete Label","api":"DELETE /inboxes/:inbox_id/labels/:label_id","href":"/api-reference/inboxes/delete-label"}]},{"group":"Inbox Threads","pages":[{"title":"List Threads","description":"Retrieve the threads in an inbox, filtered by folder, label, and read status.","api":"GET /inboxes/:inbox_id/threads","href":"/api-reference/inboxes/list-threads"},{"title":"Search Threads","api":"GET /inboxes/:inbox_id/threads/search","href":"/api-reference/inboxes/search-threads"},{"title":"Retrieve Thread","description":"Retrieve a thread summary.","api":"GET /inboxes/:inbox_id/threads/:thread_id","href":"/api-reference/inboxes/get-thread"},{"title":"Update Thread","api":"PATCH /inboxes/:inbox_id/threads/:thread_id","href":"/api-reference/inboxes/update-thread"},{"title":"Delete Thread","api":"DELETE /inboxes/:inbox_id/threads/:thread_id","href":"/api-reference/inboxes/delete-thread"}]},{"group":"Inbox Thread Labels","pages":[{"title":"Add Thread Labels","api":"POST /inboxes/:inbox_id/threads/:thread_id/labels","href":"/api-reference/inboxes/add-thread-labels"},{"title":"Set Thread Labels","api":"PUT /inboxes/:inbox_id/threads/:thread_id/labels","href":"/api-reference/inboxes/set-thread-labels"},{"title":"Remove Thread Label","api":"DELETE /inboxes/:inbox_id/threads/:thread_id/labels/:label_id","href":"/api-reference/inboxes/remove-thread-label"}]},{"group":"Inbox Thread Emails","pages":[{"title":"List Thread Emails","api":"GET /inboxes/:inbox_id/threads/:thread_id/emails","href":"/api-reference/inboxes/list-thread-emails"},{"title":"Retrieve Thread Email","api":"GET /inboxes/:inbox_id/threads/:thread_id/emails/:email_id","href":"/api-reference/inboxes/get-thread-email"},{"title":"Reply to Thread Email","api":"POST /inboxes/:inbox_id/threads/:thread_id/emails/:email_id/reply","href":"/api-reference/inboxes/reply-thread-email"},{"title":"Forward Thread Email","api":"POST /inboxes/:inbox_id/threads/:thread_id/emails/:email_id/forward","href":"/api-reference/inboxes/forward-thread-email"}]},{"group":"Inbox Drafts","pages":[{"title":"Create Draft","api":"POST /inboxes/:inbox_id/drafts","href":"/api-reference/inboxes/create-draft"},{"title":"List Drafts","api":"GET /inboxes/:inbox_id/drafts","href":"/api-reference/inboxes/list-drafts"},{"title":"Retrieve Draft","api":"GET /inboxes/:inbox_id/drafts/:draft_id","href":"/api-reference/inboxes/get-draft"},{"title":"Update Draft","api":"PATCH /inboxes/:inbox_id/drafts/:draft_id","href":"/api-reference/inboxes/update-draft"},{"title":"Delete Draft","api":"DELETE /inboxes/:inbox_id/drafts/:draft_id","href":"/api-reference/inboxes/delete-draft"},{"title":"Send Draft","api":"POST /inboxes/:inbox_id/drafts/:draft_id/send","href":"/api-reference/inboxes/send-draft"}]},{"group":"Inbox Agent","pages":[{"title":"Retrieve Agent Settings","api":"GET /inboxes/:inbox_id/agent","href":"/api-reference/inboxes/get-agent"},{"title":"Update Agent Settings","api":"PATCH /inboxes/:inbox_id/agent","href":"/api-reference/inboxes/update-agent"}]},{"group":"Broadcasts","pages":[{"title":"Create Broadcast","api":"POST /broadcasts","href":"/api-reference/broadcasts/create-broadcast"},{"title":"Send Broadcast","api":"POST /broadcasts/:broadcast_id/send","href":"/api-reference/broadcasts/send-broadcast"},{"title":"Cancel Broadcast","api":"POST /broadcasts/:broadcast_id/cancel","href":"/api-reference/broadcasts/cancel-broadcast"},{"title":"Duplicate Broadcast","api":"POST /broadcasts/:broadcast_id/duplicate","href":"/api-reference/broadcasts/duplicate-broadcast"},{"title":"Retrieve Broadcast","api":"GET /broadcasts/:broadcast_id","href":"/api-reference/broadcasts/get-broadcast"},{"title":"List Broadcasts","api":"GET /broadcasts","href":"/api-reference/broadcasts/list-broadcasts"},{"title":"Update Broadcast","api":"PATCH /broadcasts/:broadcast_id","href":"/api-reference/broadcasts/update-broadcast"},{"title":"Delete Broadcast","api":"DELETE /broadcasts/:broadcast_id","href":"/api-reference/broadcasts/delete-broadcast"},{"title":"List Recipients","api":"GET /broadcasts/:broadcast_id/recipients","href":"/api-reference/broadcasts/list-broadcast-recipients"},{"title":"List Clicked Links","api":"GET /broadcasts/:broadcast_id/clicked-links","href":"/api-reference/broadcasts/list-broadcast-clicked-links"}]},{"group":"Automations","pages":[{"title":"Create Automation","api":"POST /automations","href":"/api-reference/automations/create-automation"},{"title":"Update Automation","api":"PATCH /automations/:automation_id","href":"/api-reference/automations/update-automation"},{"title":"Retrieve Automation","api":"GET /automations/:automation_id","href":"/api-reference/automations/get-automation"},{"title":"List Automations","api":"GET /automations","href":"/api-reference/automations/list-automations"},{"title":"Duplicate Automation","api":"POST /automations/:automation_id/duplicate","href":"/api-reference/automations/duplicate-automation"},{"title":"Stop Automation","api":"POST /automations/:automation_id/stop","href":"/api-reference/automations/stop-automation"},{"title":"Delete Automation","api":"DELETE /automations/:automation_id","href":"/api-reference/automations/delete-automation"},{"title":"List Automation Runs","api":"GET /automations/:automation_id/runs","href":"/api-reference/automations/list-automation-runs"},{"title":"Retrieve Automation Run","api":"GET /automations/:automation_id/runs/:run_id","href":"/api-reference/automations/get-automation-run"}]},{"group":"Events","pages":[{"title":"Create Event","api":"POST /events","href":"/api-reference/events/create-event"},{"title":"Send Event","api":"POST /events/send","href":"/api-reference/events/send-event"},{"title":"Retrieve Event","api":"GET /events/:id","href":"/api-reference/events/get-event"},{"title":"List Events","api":"GET /events","href":"/api-reference/events/list-events"},{"title":"Update Event","api":"PATCH /events/:id","href":"/api-reference/events/update-event"},{"title":"Delete Event","api":"DELETE /events/:id","href":"/api-reference/events/delete-event"}]},{"group":"Templates","pages":[{"title":"Create Template","api":"POST /templates","href":"/api-reference/templates/create-template"},{"title":"Retrieve Template","api":"GET /templates/:template_id","href":"/api-reference/templates/get-template"},{"title":"List Templates","api":"GET /templates","href":"/api-reference/templates/list-templates"},{"title":"Update Template","api":"PATCH /templates/:template_id","href":"/api-reference/templates/update-template"},{"title":"Delete Template","api":"DELETE /templates/:template_id","href":"/api-reference/templates/delete-template"},{"title":"Publish Template","api":"POST /templates/:template_id/publish","href":"/api-reference/templates/publish-template"},{"title":"Duplicate Template","api":"POST /templates/:template_id/duplicate","href":"/api-reference/templates/duplicate-template"}]},{"group":"Contacts","pages":[{"title":"Create Contact","api":"POST /contacts","href":"/api-reference/contacts/create-contact"},{"title":"Retrieve Contact","api":"GET /contacts/:contact_id","href":"/api-reference/contacts/get-contact"},{"title":"List Contacts","api":"GET /contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Update Contact","api":"PATCH /contacts/:contact_id","href":"/api-reference/contacts/update-contact"},{"title":"Delete Contact","api":"DELETE /contacts/:contact_id","href":"/api-reference/contacts/delete-contact"},{"title":"Add Contact to Segment","api":"POST /contacts/:contact_id/segments/:segment_id","href":"/api-reference/contacts/add-contact-to-segment"},{"title":"List Contact Segments","api":"GET /contacts/:contact_id/segments","href":"/api-reference/contacts/list-contact-segments"},{"title":"Delete Contact Segment","api":"DELETE /contacts/:contact_id/segments/:segment_id","href":"/api-reference/contacts/delete-contact-segment"},{"title":"Retrieve Contact Topics","api":"GET /contacts/:contact_id/topics","href":"/api-reference/contacts/get-contact-topics"},{"title":"Update Contact Topics","api":"PATCH /contacts/:contact_id/topics","href":"/api-reference/contacts/update-contact-topics"}]},{"group":"Contact Properties","pages":[{"title":"Create Contact Property","api":"POST /contact-properties","href":"/api-reference/contact-properties/create-contact-property"},{"title":"Retrieve Contact Property","api":"GET /contact-properties/:contact_property_id","href":"/api-reference/contact-properties/get-contact-property"},{"title":"List Contact Properties","api":"GET /contact-properties","href":"/api-reference/contact-properties/list-contact-properties"},{"title":"Update Contact Property","api":"PATCH /contact-properties/:contact_property_id","href":"/api-reference/contact-properties/update-contact-property"},{"title":"Delete Contact Property","api":"DELETE /contact-properties/:contact_property_id","href":"/api-reference/contact-properties/delete-contact-property"}]},{"group":"Contact Imports","pages":[{"title":"Create Contact Import","api":"POST /contacts/imports","href":"/api-reference/contacts/create-contact-import"},{"title":"Retrieve Contact Import","api":"GET /contacts/imports/:id","href":"/api-reference/contacts/get-contact-import"},{"title":"List Contact Imports","api":"GET /contacts/imports","href":"/api-reference/contacts/list-contact-imports"}]},{"group":"Segments","pages":[{"title":"Create Segment","api":"POST /segments","href":"/api-reference/segments/create-segment"},{"title":"Retrieve Segment","api":"GET /segments/:segment_id","href":"/api-reference/segments/get-segment"},{"title":"List Segments","api":"GET /segments","href":"/api-reference/segments/list-segments"},{"title":"Update Segment","api":"PATCH /segments/:segment_id","href":"/api-reference/segments/update-segment"},{"title":"Delete Segment","api":"DELETE /segments/:segment_id","href":"/api-reference/segments/delete-segment"},{"title":"List Segment Contacts","api":"GET /segments/:segment_id/contacts","href":"/api-reference/segments/list-segment-contacts"},{"title":"Retrieve Metrics","api":"GET /segments/metrics","tag":"BETA","href":"/api-reference/segments/get-segment-metrics"}]},{"group":"Topics","pages":[{"title":"Create Topic","api":"POST /topics","href":"/api-reference/topics/create-topic"},{"title":"Retrieve Topic","api":"GET /topics/:topic_id","href":"/api-reference/topics/get-topic"},{"title":"List Topics","api":"GET /topics","href":"/api-reference/topics/list-topics"},{"title":"Update Topic","api":"PATCH /topics/:topic_id","href":"/api-reference/topics/update-topic"},{"title":"Delete Topic","api":"DELETE /topics/:topic_id","href":"/api-reference/topics/delete-topic"}]},{"group":"Audiences","tag":"DEPRECATED","pages":[{"title":"Create Audience","api":"POST /audiences","href":"/api-reference/audiences/create-audience"},{"title":"Retrieve Audience","api":"GET /audiences/:audience_id","href":"/api-reference/audiences/get-audience"},{"title":"List Audiences","api":"GET /audiences","href":"/api-reference/audiences/list-audiences"},{"title":"Delete Audience","api":"DELETE /audiences/:audience_id","href":"/api-reference/audiences/delete-audience"}]},{"group":"Domains","pages":[{"title":"Create Domain","api":"POST /domains","href":"/api-reference/domains/create-domain"},{"title":"Claim Domain","api":"POST /domains/claim","href":"/api-reference/domains/claim-domain"},{"title":"Retrieve Domain Claim","api":"GET /domains/:domain_id/claim","href":"/api-reference/domains/get-domain-claim"},{"title":"Verify Domain Claim","api":"POST /domains/:domain_id/claim/verify","href":"/api-reference/domains/verify-domain-claim"},{"title":"Verify Domain","api":"POST /domains/:domain_id/verify","href":"/api-reference/domains/verify-domain"},{"title":"Retrieve Domain","api":"GET /domains/:domain_id","href":"/api-reference/domains/get-domain"},{"title":"List Domains","api":"GET /domains","href":"/api-reference/domains/list-domains"},{"title":"Update Domain","api":"PATCH /domains/:domain_id","href":"/api-reference/domains/update-domain"},{"title":"Delete Domain","api":"DELETE /domains/:domain_id","href":"/api-reference/domains/delete-domain"}]},{"group":"Logs","pages":[{"title":"Retrieve Log","api":"GET /logs/:log_id","href":"/api-reference/logs/retrieve-log"},{"title":"List Logs","api":"GET /logs","href":"/api-reference/logs/list-logs"}]},{"group":"Usage","pages":[{"title":"Retrieve Usage","api":"GET /usage","href":"/api-reference/usage/retrieve-usage"}]},{"group":"API Keys","pages":[{"title":"Create API key","api":"POST /api-keys","href":"/api-reference/api-keys/create-api-key"},{"title":"List API keys","api":"GET /api-keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Update API key","api":"PATCH /api-keys/:api_key_id","href":"/api-reference/api-keys/update-api-key"},{"title":"Delete API key","api":"DELETE /api-keys/:api_key_id","href":"/api-reference/api-keys/delete-api-key"}]},{"group":"Suppressions","pages":[{"title":"Add Suppression","api":"POST /suppressions","href":"/api-reference/suppressions/add-suppression"},{"title":"Retrieve Suppression","api":"GET /suppressions/:suppression","href":"/api-reference/suppressions/get-suppression"},{"title":"List Suppressions","api":"GET /suppressions","href":"/api-reference/suppressions/list-suppressions"},{"title":"Remove Suppression","api":"DELETE /suppressions/:suppression","href":"/api-reference/suppressions/remove-suppression"},{"title":"Add Batch Suppressions","api":"POST /suppressions/batch/add","href":"/api-reference/suppressions/add-batch-suppressions"},{"title":"Remove Batch Suppressions","api":"POST /suppressions/batch/remove","href":"/api-reference/suppressions/remove-batch-suppressions"}]},{"group":"Authorized Apps","pages":[{"title":"List Grants","api":"GET /oauth/grants","href":"/api-reference/oauth/list-grants"},{"title":"Revoke Grant","api":"DELETE /oauth/grants/:oauth_grant_id","href":"/api-reference/oauth/revoke-grant"}]},{"group":"Webhooks","pages":[{"title":"Create Webhook","api":"POST /webhooks","href":"/api-reference/webhooks/create-webhook"},{"title":"Retrieve Webhook","api":"GET /webhooks/:webhook_id","href":"/api-reference/webhooks/get-webhook"},{"title":"List Webhooks","api":"GET /webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Update Webhook","api":"PATCH /webhooks/:webhook_id","href":"/api-reference/webhooks/update-webhook"},{"title":"Delete Webhook","api":"DELETE /webhooks/:webhook_id","href":"/api-reference/webhooks/delete-webhook"},{"title":"Rotate Signing Secret","api":"POST /webhooks/:webhook_id/signing-secret/rotate","href":"/api-reference/webhooks/rotate-signing-secret"},{"title":"List Events","api":"GET /webhooks/:webhook_id/events","href":"/api-reference/webhooks/list-events"},{"title":"Retrieve Event","api":"GET /webhooks/:webhook_id/events/:event_id","href":"/api-reference/webhooks/get-event"},{"title":"Replay Event","api":"POST /webhooks/:webhook_id/events/:event_id/replay","href":"/api-reference/webhooks/replay-event"},{"title":"List Attempts","api":"GET /webhooks/:webhook_id/events/:event_id/attempts","href":"/api-reference/webhooks/list-event-attempts"}]},{"group":"OAuth","pages":[{"title":"Register Client","api":"POST /oauth/register","href":"/api-reference/oauth/register"},{"title":"Authorize","api":"GET /oauth/authorize","href":"/api-reference/oauth/authorize"},{"title":"Token","api":"POST /oauth/token","href":"/api-reference/oauth/token"},{"title":"Revoke Token","api":"POST /oauth/revoke","href":"/api-reference/oauth/revoke"}]}]}]},"title":"Search Threads - Resend","buildId":"dpl_3rfzHPCtRhDFBbetXZ3oLkN5tjmA","deploymentId":"dpl_3rfzHPCtRhDFBbetXZ3oLkN5tjmA","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DBvOZtde.js","utils-BMzGkvGb.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BYhgN8Gl.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-qDMltnin.js","snippetPresets-CABPPIq4.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Bx9dgvF5.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-EwWVpM4w.js","shallow-vGbuQTai.js","getApiPlaygroundDisplay-DP2addym.js","CodeSnippet-BG6rB_-H.js","CodeSnippets-CFVdLBFC.js","Page-B-qdInYQ.js","getPastedJson-JGlMoKBJ.js","icon-BK_uyWxF.js","MethodPill-Du3sAVkF.js","DuplicateIcon-CMq42UID.js","createIcon-RdBrtBmo.js","DynamicMarkdown-B3juXLG8.js","SectionHeading-B--QsSCa.js","axios-vUo_bRtp.js"]}