Skip to main content
GET
/
accounts
/
{account_id}
/
emails
List emails
curl --request GET \
  --url https://www.useroulette.com/api/v1/accounts/{account_id}/emails \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "emails": [
      {
        "id": "email-uuid-1",
        "account_id": "account-uuid",
        "from_email": "founder@startup.com",
        "subject": "Investment Opportunity - AI Platform",
        "content_preview": "Hi, I wanted to reach out about our Series A...",
        "tags": [
          "warm-intro"
        ],
        "processed": false,
        "attachments_count": 1,
        "created_at": "2024-01-15T10:30:00Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 20,
      "has_next": true,
      "has_prev": false
    }
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

account_id
string<uuid>
required

Query Parameters

page
integer
default:1
Required range: x >= 1
limit
integer
default:20
Required range: 1 <= x <= 100
sort_order
enum<string>
default:desc
Available options:
asc,
desc
Required string length: 1 - 500
sort_by
enum<string>
default:created_at
Available options:
created_at,
updated_at
from_email
string<email>
company_id
string<uuid>
processed
boolean
tag
string

Response

success
boolean
required
data
object
required