MngAddLead¶
Creates a lead.
Access Control¶
Requires CRM access and set_customers. Lead brand and desk must be inside the manager scope. If the request sets email or phone, set_customer_contacts is also required. If the manager does not have see_customer_contacts, contact fields in the response are masked.
Request¶
{
"command": "MngAddLead",
"extID": "1",
"data": {
"brand": "default",
"full_name": "Anna Test",
"email": "[email protected]",
"phone": "+442000000000",
"source_type": 1,
"lead_source": "web"
}
}
Response Data¶
{
"lead": {
"lead_id": 1,
"brand": "default",
"full_name": "Anna Test",
"email": "[email protected]",
"phone": "+442000000000",
"source_type": 1,
"status": 0
}
}