List Emails

List sent emails with filtering and pagination

GET/v1/send/emails

List emails with optional filtering by status, sender, recipient, and date range.

Requires:send:read

Query Parameters

limitinteger
Results per page (max 100)Defaults to 50
offsetinteger
Number of results to skipDefaults to 0
statusstring
Filter by status
queuedprocessingsentdeliveredfailedbounced
fromstring
Filter by sender email
tostring
Filter by recipient email
startDatestring
Filter by date range start (ISO 8601)
endDatestring
Filter by date range end (ISO 8601)
List recent emails
curl "https://api.do.dev/v1/send/emails?limit=10&status=sent" \
-H "Authorization: Bearer YOUR_API_KEY"
Response200
{
"emails": [
  {
    "id": "msg_abc123",
    "from": { "email": "hello@example.com" },
    "to": ["user@example.com"],
    "subject": "Welcome!",
    "status": "sent"
  }
],
"pagination": {
  "limit": 10,
  "offset": 0,
  "total": 142
}
}