api_uId
*
api_key
*
groupId
*
leads_array(max Size)
*
Minimum one field required(email and/or phone and/or mobile )
*
Method
*
|
System user api_uId
System user api_key
Id of group where lead is added
Maximum leads array limit is 100
Default fields are first_name,last_name,email,mobile,phone,country_code,city,state,zip,address,company,website,additional_Info . Field other then above default fields will consider as custom field/s
To add single lead in provided group post Method property with value AddSingleLead
Example Request:
{
"api_uId": "your_api_uId",
"api_key": "your_api_key",
"groupId": "5656",
"leads_array": [
{
"first_name": "Support",
"last_name": "Team1",
"email": "support1@xyz.com",
"phone": "3465656111",
"mobile": "3465656111",
"country_code": "+1",
"website": "http://www.leaddomain.com",
"company": "Courtyard by Marriott New York",
"zip": "35000",
"address": "152 W 10th St New York NY",
"Sample Custom Field": "Sample Value"
},
{
"first_name": "Support",
"last_name": "Team2",
"email": "support1@xyz.com",
"phone": "3465656222",
"mobile": "3465656222",
"country_code": "+1",
"website": "http://www.leaddomain.com",
"company": "Courtyard by Marriott New York",
"zip": "35000",
"address": "152 W 10th St New York NY",
"Sample Custom Field": "Sample Value"
}
],
"Method": "AddMultipleLeads"
Example Response:
{
"response": "true",
"AddedleadIdsString": "6036,6036",
"GroupId": "5656",
"message": "Leads has been added successfully"
}
|