Lead Fetch Developer API
POST/GET Add Lead via API
Endpoint:
https://v1app.borgerp.com/api/leadAdd.php
API Fields and Variable Details
| Parameter | Required | Description |
|---|---|---|
| userid | Yes | Login ID of Borg Desk ERP |
| apikey | Yes | Unique API key provided by Borg Desk ERP |
| company_name | Yes | Name of Lead's Company |
| mobile | Yes | Lead's mobile number |
| person_name | No | Lead's Contact Person |
| Yes | Lead's email ID | |
| lead_source | Yes | Source of Lead (as configured in crm) |
| city | No | City Name |
| address | No | Address of Lead |
| remark | No | Lead remarks |
| auto_assign_distributor | No | Set to 'true' to auto-assign distributor |
| succ_url | No | Redirect URL after lead save |
Example Request
curl --location --request POST 'https://v1app.borgerp.com/api/leadAdd.php'\
--data 'userid=your_userid&apikey=your_apikey&company_name=ExampleCorp&mobile=9876543210'
--data 'userid=your_userid&apikey=your_apikey&company_name=ExampleCorp&mobile=9876543210'
Example Response
{
"message": "Lead added successfully"
}
Did this page
help you?
LikeYes
DislikeNo
Admin