List received emails
GET /emails/receiving
Every message sent to this team, newest first.
Query parameters
limitintegerHow many items to return, 1–100. Defaults to 20.
afterstringReturn the page that follows this item ID. Mutually exclusive with
before.beforestringReturn the page that precedes this item ID. Mutually exclusive with
after.searchstringCase-insensitive substring of the subject, the sender's address or name, or any recipient.
%and_match literally. 1–200 characters.start_datestringISO 8601, inclusive. Messages received before this are excluded.
end_datestringISO 8601, inclusive. Messages received after this are excluded.
Request
curl -X GET "https://api.rasket.com/emails/receiving?limit=20" \
-H "Authorization: Bearer $RASKET_API_KEY" \
-H "User-Agent: acme-billing/1.0"const response = await fetch("https://api.rasket.com/emails/receiving?limit=20", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.RASKET_API_KEY}`,
"User-Agent": "acme-billing/1.0",
},
});
const data = await response.json();import os
import requests
response = requests.get(
"https://api.rasket.com/emails/receiving?limit=20",
headers={
"Authorization": f"Bearer {os.environ['RASKET_API_KEY']}",
"User-Agent": "acme-billing/1.0",
},
)
print(response.json())Response 200
{
"object": "list",
"has_more": false,
"data": [
{
"id": "4ef9a417-02e9-4d39-ad75-9611e0fcc33c",
"to": ["support@inbound.acme.example"],
"from": "Ronald Williams <ronald.williams@example.com>",
"subject": "Order #1042 arrived damaged",
"message_id": "<CAF1042.damaged@mail.example.com>",
"bcc": [],
"cc": ["billing@example.com"],
"reply_to": [],
"dropped_reason": null,
"created_at": "2026-09-09T10:16:44.902Z",
"attachments": [
{
"id": "660e8400-e29b-41d4-a716-446655440000",
"filename": "damage-report.pdf",
"content_type": "application/pdf",
"content_disposition": "attachment",
"size": 20481
}
]
}
]
}- Cursors are received-email IDs. A row carries no
html,text,headersorreceived_for; retrieve the message for those. - A message we recorded but would not store carries a
dropped_reasonand an emptyattachmentsarray.