curl -X POST "https://server.smartlead.ai/api/v1/master-inbox/create-task?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"email_lead_map_id": 2433664091,
"name": "Schedule demo call",
"description": "Lead interested in enterprise plan",
"priority": "HIGH",
"due_date": "2025-01-25T14:00:00Z"
}'
{
"success": true,
"message": "Task created successfully",
"data": {
"task_id": 789,
"email_lead_map_id": 2433664091,
"name": "Schedule demo call",
"priority": "HIGH",
"due_date": "2025-01-25T14:00:00Z"
}
}
Create a task associated with a lead for follow-up management
curl -X POST "https://server.smartlead.ai/api/v1/master-inbox/create-task?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"email_lead_map_id": 2433664091,
"name": "Schedule demo call",
"description": "Lead interested in enterprise plan",
"priority": "HIGH",
"due_date": "2025-01-25T14:00:00Z"
}'
{
"success": true,
"message": "Task created successfully",
"data": {
"task_id": 789,
"email_lead_map_id": 2433664091,
"name": "Schedule demo call",
"priority": "HIGH",
"due_date": "2025-01-25T14:00:00Z"
}
}
LOW, MEDIUM, or HIGHcurl -X POST "https://server.smartlead.ai/api/v1/master-inbox/create-task?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"email_lead_map_id": 2433664091,
"name": "Schedule demo call",
"description": "Lead interested in enterprise plan",
"priority": "HIGH",
"due_date": "2025-01-25T14:00:00Z"
}'
{
"success": true,
"message": "Task created successfully",
"data": {
"task_id": 789,
"email_lead_map_id": 2433664091,
"name": "Schedule demo call",
"priority": "HIGH",
"due_date": "2025-01-25T14:00:00Z"
}
}