DATA PUSHERS

add leads to your companies

Example

await anxios.post('https://leadcombo.com/api/v1/lead/create_lead', {
  lead: {
    full_name: "FirstName LastName",
    email: "Email",
    mobile_number: "0901234567",
    field_data: [{
      name: "bussiness",
      values: "Value of bussiness"
    }, {
      name: "message",
      values: "value of message"
    }]
  }
}, {
  headers: {
    'API-KEY': 'Your api key'
  }
}).then(res => {
  console.log(res)
}).catch(err => {})

POST https://leadcombo.com/api/v1/lead/create_lead

Headers

Name
Type
Description

API-KEY

string

Authentication private key to checking access management.

Request Body

Name
Type
Description

lead

object

List of files and their sources to add to dataset.

{
    "success": true,
    "message": "NEW_SUCCESS",
    "data": {
        "id": 130771,
        "reference": "Test Lead form_1_0902761182",
        "first_name": "name",
        "last_name": "last",
        "mobile_number": "0901234567",
        "email": "email@email.com",
        "line": null,
        "address": null,
        "source": "Pusher::Website#1",
        "signed_up_at": "2021-05-18T17:20:46.283+07:00",
        "synced_at": null,
        "status": "pending",
        "created_at": "2021-05-18T17:20:46.328+07:00",
        "updated_at": "2021-05-18T17:20:46.328+07:00",
        "followup": null,
        "agent_id": null,
        "remark_store": {
            "raw_data": {
                "full_name": "name last",
                "email": "email@email.com",
                "mobile_number": "0902761182",
                "field_data": [
                    {
                        "name": "bussiness",
                        "values": "Test B1"
                    },
                    {
                        "name": "bussiness 2",
                        "values": "Test B2"
                    }
                ]
            },
            "custom_properties": {
                "bussiness": "T",
                "bussiness 2": "T"
            }
        },
        "reschedule_to": null,
        "extended_status": null,
        "company_id": 81,
        "date_of_birth": null,
        "source_detail": "hotel & resorts",
        "branch": null,
        "customer_channel": null,
        "parent_lead": null,
        "attribute_field_1": null,
        "attribute_field_2": null,
        "attribute_field_3": null,
        "form_id": null,
        "nickname": "name",
        "value": 0,
        "links": [],
        "tags": [],
        "extended_status_key": null
    }
}

The lead object contains the following keys:

Name

Type

Description

full_name

String

First name and Last name

email

String

Email

mobile_number

String

Phone number

field_data

Array

Extra parameter for leads. Object in array with name and value

[{ "name": "field name", "values": "Value of field" }]

How to get API KEY

URL https://leadcombo.com/data_pushers

Create data pushers

Click + New Data Pushers

Enter Name, select Type and trigger Enabled checkbox After you enter all information click Create Data pusher button

Click Edit button in column Action on table you need to use API.

You will see private key

private key is your API-KEY for request Headers

Last updated