API URL: https://api.eductrl.com
Authentication
domain -The domain name of your EduCtrl Subscription or License
email -The email associated with your EduCtrl Subscription or License
apikey -API Key provided to you
The above 3 parameters are to be sent in the HTTP Headers.
Get Latest Leads
POST: /api/lead/get-new
Parameters
None
Sample Response:
{
"status": 1,
"message": "Latest Leads",
"data": [
{
"id": 16,
"first_name": "July",
"last_name": "Two",
"country_interested": "",
"overseas_study_level_selection": "PhD",
"overseas_course_intersted": null,
"email": "july2@test.com",
"mobile": "4564564654",
"whatsapp": null,
"city": "sdfsafasf",
"country": "India",
"created_at": "2023-07-22T05:21:30.000000Z"
}
]
}
Create New Lead
POST: /api/lead/create
Parameters
first_name First name
last_name (Optional) Last name
email Email ID
dialcode (Optional) Dialcode without + sign
mobile (Optional) Mobile No.
whatsapp (Optional) Whatsapp No.
gender (Optional) Gender (male/female)
birthday (Optional) Date of Birth (DD-MM-YYYY)
country (Optional) Country of Residence
city (Optional) City
country_interested (Optional) Country Interested To Study In
course_interested (Optional) Course Interested To Study
note (Optional) Notes
Sample Response:
{
"status": 1,
"message": "Lead Created Successfully",
"data": {
"first_name": "TestJ Three",
"last_name": "Last",
"email": "testjthree@test.com",
"mobile": "9776567889",
"whatsapp": null,
"birthday": null,
"country": "",
"city": null,
"country_interested": null,
"overseas_study_level_selection": null,
"overseas_course_intersted": null,
"id": 1784
}
}