Skip to main content
GET
/
api
/
inbox
/
{name}
Fetch emails for an inbox
curl --request GET \
  --url https://zerodrop.dev/api/inbox/{name}
{
  "emails": [
    {
      "id": "<CALMkwzNSLxzko58@mail.gmail.com>",
      "from": "noreply@yourapp.com",
      "to": "swift-x7k2m@zerodrop-sandbox.online",
      "subject": "Verify your email",
      "body": "Click here to verify your email: https://yourapp.com/verify?token=abc123",
      "rawBody": "...",
      "receivedAt": "2026-06-17T10:23:30.356Z",
      "otp": null,
      "magicLink": "https://yourapp.com/verify?token=abc123"
    }
  ],
  "count": 1
}

Path Parameters

name
string
required

The inbox name (without the domain). Example: swift-x7k2m for swift-x7k2m@zerodrop-sandbox.online

Example:

"swift-x7k2m"

Query Parameters

source
enum<string>
default:browser

Identifies the client making the request. Use sdk for programmatic access.

Available options:
browser,
sdk

Response

Emails fetched successfully

emails
object[]

Array of emails, sorted by most recent first.

count
integer

Total number of emails in the inbox.

Example:

1