Skip to main content
POST
Access emails using your custom saved views/filters. Create complex filter combinations and save them for quick access to specific inbox segments.

Overview

Retrieves emails based on custom saved views. This endpoint allows you to create and access sophisticated filter combinations for segmenting your inbox. Key Features:
  • Save complex filter combinations as reusable views
  • Quick access to frequently used inbox segments
  • Additional subsequence filtering capability
  • All standard inbox filtering options available
Common Custom Views:
  • “Hot Leads”: Replied + High Priority + Assigned to Me
  • “Follow-up Needed”: Not Replied + Sent > 3 days ago
  • “Campaign X VIPs”: Specific campaign + Important flag
  • “Subsequence Tracking”: Leads in specific subsequence

Query Parameters

string
required
Your SmartLead API key
boolean
default:"false"
Include full email thread history

Request Body

number
default:"0"
Number of records to skip for pagination
number
default:"20"
Number of records per page (1-20)
object
Custom view filter configuration
string
default:"REPLY_TIME_DESC"
Sort order: REPLY_TIME_DESC or SENT_TIME_DESC

Response Codes

Success
Custom view emails retrieved successfully
Unauthorized
Invalid API key
Validation Error
Invalid filter parameters
Internal Server Error
Server error

Predefined View Examples

Hot Leads View

Needs Follow-up View

Subsequence Performance View

VIP Campaign View

Subsequence Filtering

The subSequenceId filter is unique to this endpoint and allows tracking leads that have been pushed to child campaigns:

Building Effective Views

1. Start Specific, Then Broaden

2. Combine Time and Status

3. Multi-Dimension Filtering

Performance Optimization

  1. Single values preferred: Use single IDs instead of arrays when possible
  2. Limit subsequence queries: Subsequence filtering is more intensive
  3. Paginate properly: Use offset/limit for large result sets
  4. Cache views: Save frequently used filter combinations client-side