Push leads through API

After setting up the authentication key, please follow the instructions below to push the lead to the system via the API.

Requirement: Make sure to set up the authentication key

Method: POST

URL: https://<your Nobita domain>/public-api/leads/createLead

Headers:

- Content-Type : application/json
 - ApiKey: key(key tạo ở key xác thực)

Body:

{
      "model":{
          "LastName": "họ",
          "FirstName": "tên",
          "Phone": "0987654321",
          "Address": "xyz"
      },
      "metas":[],
      "queryString":{
          "link":"https://yourwebsite.com/link/chien/dich"
      }
}

In which the fields:

LastName: Lastname (required field): string type

FirstName: name (required field): string type

Phone: Phone number (required field): string type

Address: Address of leads

metas: (Optional)

link: string type to assign the campaign to leads

Last updated

Was this helpful?