Skip to main content
POST
/
api
/
v1
/
master-inbox
/
archived
curl -X POST "https://server.smartlead.ai/api/v1/master-inbox/archived?api_key=YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"filters": {"campaignId": 12345}, "limit": 20}'
Access archived emails for historical reference and reporting. Maintains clean inbox while preserving complete email history.

Overview

Retrieves emails that have been archived. Archiving removes conversations from active inbox while maintaining searchable history. Archive Triggers:
  • Manual user archival
  • Auto-archive after campaign completion
  • Lead status change to closed/lost
  • Bulk archive operations

Query Parameters

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

Request Body

offset
number
default:"0"
Pagination offset
limit
number
default:"20"
Records per page (1-20)
filters
object
Standard inbox filters - campaignId max 5, emailAccountId max 10
sortBy
string
REPLY_TIME_DESC or SENT_TIME_DESC
curl -X POST "https://server.smartlead.ai/api/v1/master-inbox/archived?api_key=YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"filters": {"campaignId": 12345}, "limit": 20}'