# GET /inboxes/{inbox_id}/threads/search (Resend API)
Base URL: https://api.resend.com
Auth: Authorization: Bearer <RESEND_API_KEY>
Last verified: 2026-10-20

> Search the threads of an inbox

## Critical Gotchas
* All requests must include a `User-Agent` header (e.g. `User-Agent: my-app/1.0`) or the API returns HTTP 403.

## cURL
curl -X GET 'https://api.resend.com/inboxes/inbox-id/threads/search?query=example-query&from=Acme+%3Conboarding%40resend.dev%3E&to=delivered%40resend.dev&cc=example&bcc=example&has_attachment=true&start_date=example-start-date&end_date=example-end-date&folders=example&labels=example&read=true&limit=10&after=example-after&before=example-before' \
  -H "Authorization: Bearer $RESEND_API_KEY" \
  -H 'User-Agent: my-app/1.0'

## Parameters
| Name | In | Type | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| inbox_id | path | string | Yes | The Inbox ID or the inbox email addre... |
| query | query | string | No | Free text to search for in the subjec... |
| from | query | string[] | No | Comma-separated senders. Each value m... |
Other params: to, cc, bcc, has_attachment, start_date, end_date, folders, labels, read, limit, after, before

## Response (200 OK)
{"object":"list","has_more":true}

---
Need an API key? Get one at https://resend.com/signup