Skip to main content
GET
/
api
/
v1
/
master-inbox
/
:id
curl -X GET "https://server.smartlead.ai/api/v1/master-inbox/2433664091?api_key=YOUR_KEY"
{
  "id": "msg_abc123",
  "campaign_lead_map_id": "2433664091",
  "lead": {
    "email": "john@company.com",
    "first_name": "John",
    "last_name": "Doe",
    "company": "ACME Corp"
  },
  "campaign": {
    "id": 12345,
    "name": "Q1 Outreach"
  },
  "message_history": [
    {
      "subject": "Partnership Opportunity",
      "direction": "outbound",
      "sent_at": "2025-01-15T10:00:00Z"
    },
    {
      "subject": "Re: Partnership Opportunity",
      "direction": "inbound",
      "received_at": "2025-01-20T14:00:00Z"
    }
  ],
  "email_status": "Replied",
  "category": {"id": 1, "name": "Interested"}
}
Retrieve detailed information about a single email thread including all messages, lead data, and metadata. Essential for deep linking and detailed conversation views.

Overview

Fetches a specific master inbox item by ID. Returns complete thread information without needing complex filters. Use Cases:
  • Direct navigation to specific conversation
  • Deep linking from notifications/emails
  • Conversation detail views
  • Share specific threads with team

Path Parameters

id
number
required
The unique identifier of the master inbox item. This is the campaign_lead_map_id from other inbox endpoints.

Query Parameters

api_key
string
required
Your SmartLead API key
curl -X GET "https://server.smartlead.ai/api/v1/master-inbox/2433664091?api_key=YOUR_KEY"

Response Example

{
  "id": "msg_abc123",
  "campaign_lead_map_id": "2433664091",
  "lead": {
    "email": "john@company.com",
    "first_name": "John",
    "last_name": "Doe",
    "company": "ACME Corp"
  },
  "campaign": {
    "id": 12345,
    "name": "Q1 Outreach"
  },
  "message_history": [
    {
      "subject": "Partnership Opportunity",
      "direction": "outbound",
      "sent_at": "2025-01-15T10:00:00Z"
    },
    {
      "subject": "Re: Partnership Opportunity",
      "direction": "inbound",
      "received_at": "2025-01-20T14:00:00Z"
    }
  ],
  "email_status": "Replied",
  "category": {"id": 1, "name": "Interested"}
}