Skip to main content
GET
Fetch emails for an inbox

Authorizations

Authorization
string
header
required

Free API key from https://zerodrop.dev/keys, in the form zd_<prefix>_<32 letters and digits>. Needed only to read inboxes whose name starts with the key's prefix (k7x2-…); other inboxes need no authentication.

Path Parameters

name
string
required

The inbox name (without the domain). Example: swift-x7k2m for swift-x7k2m@zerodrop-sandbox.online. Names that start with a registered key prefix (k7x2-…) can be read only with that key.

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