Skip to main content
PATCH
/
api
/
v1
/
master-inbox
/
update-revenue
curl -X PATCH "https://server.smartlead.ai/api/v1/master-inbox/update-revenue?api_key=YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email_lead_map_id": 2433664091, "revenue": 50000}'
{
  "success": true,
  "message": "Revenue updated successfully",
  "data": {
    "email_lead_map_id": 2433664091,
    "revenue": 50000,
    "updated_at": "2025-01-20T15:30:00Z"
  }
}
Track deal values and revenue per lead. Essential for calculating campaign ROI and measuring sales performance.

Overview

Updates the revenue value for a lead. Critical for ROI calculations, performance tracking, and determining high-value leads.

Query Parameters

api_key
string
required
Your SmartLead API key

Request Body

email_lead_map_id
number
required
Lead-campaign mapping ID
revenue
number
required
Revenue amount (must be non-negative). Currency based on account settings.
curl -X PATCH "https://server.smartlead.ai/api/v1/master-inbox/update-revenue?api_key=YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email_lead_map_id": 2433664091, "revenue": 50000}'

Response Example

{
  "success": true,
  "message": "Revenue updated successfully",
  "data": {
    "email_lead_map_id": 2433664091,
    "revenue": 50000,
    "updated_at": "2025-01-20T15:30:00Z"
  }
}