GET
GET /inboxes/{inbox_id}/threads/{thread_id}/emails — Resend API
Resend APIRetrieve a list of thread emails
- Base URL
- https://api.resend.com
- Auth
- Authorization: Bearer <RESEND_API_KEY>
- Last verified
- 2026-10-20 · upstream hash matched
Actions Try in browser→
Agents: curl -H "Accept: text/markdown" this URL
→ 211 tokens · Vary: Accept
→ 211 tokens · Vary: Accept
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/thread-id/emails?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 address, such as `[email protected]`. A value that contains `@` must be a valid email address, and any other value must be a UUID, or the request returns a 422. The address match is case-insensitive and never falls back to the inbox `name`. An address that matches no inbox returns a 404. |
| thread_id | path | string | Yes | The Thread ID. |
| limit | query | integer | No | Number of items to return. |
| after | query | string | No | Return items after this cursor. |
| before | query | string | No | Return items before this cursor. |
Response 200 OK
{
"object": "list",
"has_more": false,
"data": [
{
"id": "5b1a9f47-2c8d-4e6f-9a03-1d2e3f4a5b60",
"direction": "inbound",
"from": "Ada Lovelace <[email protected]>",
"to": [
"[email protected]"
],
"cc": [],
"bcc": [],
"reply_to": [
"[email protected]"
],
"subject": "Refund for order 1041",
"message_id": "<[email protected]>",
"html": "<p>Could I get a refund for order 1041?</p>",
"text": "Could I get a refund for order 1041?",
"attachments": [
{
"id": "9d4f2b81-6c3a-4e7d-8b12-0a5c6d7e8f90",
"filename": "receipt.pdf",
"size": 20841
}
],
"read": false,
"received_at": "2026-08-05T14:03:11.229Z"
}
]
} Get a free Resend API key → sponsored Affiliate link - we may earn a commission, at no extra cost to you.