Leads
On this page, we'll dive into the different lead endpoints you can use to manage leads programmatically. We'll look at how to query, create, update, and delete lead.
POST/api/leads/npf
Lead Transfer From NPF
This endpoint allows you to store leads in the database from NPF (No Paper Forms) platform. The API takes in lead data from NPF and stores it in the database along with some additional data required for the system.
Required attributes
- Name
application_no
- Type
- string
- Description
Unique identifier for the student.
- Name
course
- Type
- string
- Description
Name of the course for which the lead is being generated.
Request
POST
/api/leads/npfcurl --location 'https://domain.ecampusapp.com/api/leads/npf' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"application_no": "HIT/2023/01",
"course": "B.Tech",
//..
}'
Response
{
"message": "Lead Transferred Successfully"
}