> ## Documentation Index
> Fetch the complete documentation index at: https://api.smartlead.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Inbox Item by ID

> Fetch a specific master inbox item by its unique identifier

<Note>
  Retrieve detailed information about a single email thread including all messages, lead data, and metadata. Essential for deep linking and detailed conversation views.
</Note>

## 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

<ParamField path="id" type="number" required>
  The unique identifier of the master inbox item. This is the `campaign_lead_map_id` from other inbox endpoints.
</ParamField>

## Query Parameters

<ParamField query="api_key" type="string" required>
  Your SmartLead API key
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://server.smartlead.ai/api/v1/master-inbox/2433664091?api_key=YOUR_KEY"
  ```

  ```python Python theme={null}
  import requests

  API_KEY = "YOUR_API_KEY"
  inbox_item_id = 2433664091

  response = requests.get(
      f"https://server.smartlead.ai/api/v1/master-inbox/{inbox_item_id}",
      params={"api_key": API_KEY}
  )

  item = response.json()
  print(f"Lead: {item['lead']['email']}")
  print(f"Campaign: {item['campaign']['name']}")
  print(f"Status: {item['email_status']}")
  ```

  ```javascript JavaScript theme={null}
  const API_KEY = 'YOUR_API_KEY';
  const inboxItemId = 2433664091;

  const response = await fetch(
    `https://server.smartlead.ai/api/v1/master-inbox/${inboxItemId}?api_key=${API_KEY}`
  );

  const item = await response.json();
  console.log(`Conversation with ${item.lead.email}`);
  ```
</RequestExample>

## Response Example

<ResponseExample>
  ```json 200 - Success theme={null}
  {
    "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"}
  }
  ```

  ```json 404 - Not Found theme={null}
  {
    "error": "Inbox item not found with ID 2433664091"
  }
  ```
</ResponseExample>

## Related Endpoints

* [Get Inbox Messages](/api-reference/inbox/get-messages)
* [Reply to Message](/api-reference/inbox/reply)
