Skip to main content
GET
/
api
/
inbox
/
{name}
/
stream
Stream emails via SSE
curl --request GET \
  --url https://zerodrop.dev/api/inbox/{name}/stream
": connected\n\n: keepalive\n\ndata: {\"id\":\"...\",\"from\":\"...\",\"subject\":\"...\"}\n\n"

Path Parameters

name
string
required

The inbox name (without the domain).

Example:

"swift-x7k2m"

Response

200 - text/event-stream

SSE stream opened successfully

Server-Sent Events stream. Each event is separated by double newlines.

Example:

": connected\n\n: keepalive\n\ndata: {\"id\":\"...\",\"from\":\"...\",\"subject\":\"...\"}\n\n"